示例#1
0
文件: Login.cs 项目: diogomes20/MPC
 public static void OnSuccessLogin(object sender, SuccessLoginEventArgs e)
 {
     if (SuccessLogin != null)
     {
         SuccessLogin(sender, e);
         ApplicationContext.Username = e.Username;
     }
 }
示例#2
0
 private void Login_SuccessLogin(object sender, Core.Events.SuccessLoginEventArgs e)
 {
     statusUserName.Text = e.Username;
 }
示例#3
0
文件: FrmMain.cs 项目: diogomes20/MPC
 private void Login_SuccessLogin(object sender, Core.Events.SuccessLoginEventArgs e)
 {
     statusUserName.Text           = e.Username;
     menuMainGeneral.Enabled       = true;
     menuMainConfiguration.Enabled = true;
 }