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