Exemple #1
0
 private void OnLoginClicked(object sender, EventArgs e)
 {
     //Console.WriteLine("Login Clicked...");
     LoginArgs oArgs = new LoginArgs(LoginName, Password);
     OnLogin(this, oArgs);
 }
Exemple #2
0
 void OnLoginSuccessfull(object a, LoginArgs e)
 {
     HideActivePanel();
     menuItemLogin.Text = "Logout";
     EnableMenuItems(true);
     ShowPanel(m_panelCompanies);
 }