public static void OnSuccessLogin(object sender, SuccessLoginEventArgs e) { if (SuccessLogin != null) { SuccessLogin(sender, e); ApplicationContext.Username = e.Username; } }
private void Login_SuccessLogin(object sender, Core.Events.SuccessLoginEventArgs e) { statusUserName.Text = e.Username; }
private void Login_SuccessLogin(object sender, Core.Events.SuccessLoginEventArgs e) { statusUserName.Text = e.Username; menuMainGeneral.Enabled = true; menuMainConfiguration.Enabled = true; }