Beispiel #1
0
 public LoginForm(BusinessLayer business, bool debug)
 {
     _business = business;
     _debug    = debug;
     InitializeComponent();
     WarningLogin.Visible    = false;
     WarningPassword.Visible = false;
     LoginTextBox.Select();
     if (debug)
     {
         LoginTextBox.Text    = "admin";
         PasswordTextBox.Text = "admin";
     }
 }