Error 1 Inconsistent accessibility: parameter type 'Liquid_User.User' is less accessible than method 'Liquid_User.LoginForm.LoginForm(Liquid_User.User)' LoginForm.cs 17 16 Liquid-User
public static User Current; [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new LoginForm(Current)); }
static User current; public LoginForm(User Current) { current = Current; InitializeComponent(); MySqlConnection mysqlCon = new MySqlConnection(strProvider); mysqlCon.Open(); }