예제 #1
0
 private void btnLogIn_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     MDIForms.frmLogin login = new MDIForms.frmLogin();
     login.ShowDialog();
     setAuthority();
     UnLoadForm();
 }
예제 #2
0
 public frmMain()
 {
     InitializeComponent();
     loadSkin("Style.txt");
     MDIForms.frmLogin login = new MDIForms.frmLogin();
     login.ShowDialog();
     setAuthority();
     UnLoadForm();
     if (btnReceipt.Enabled)
         btnReceipt_ItemClick(null, null);
 }
예제 #3
0
 private void btnLogOut_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     Program.isLogin   = false;
     Program.userLevel = Level.Guest;
     Program.username  = "******";
     Program.password  = "******";
     MDIForms.frmLogin login = new MDIForms.frmLogin();
     login.ShowDialog();
     setAuthority();
     UnLoadForm();
 }
예제 #4
0
 public frmMain()
 {
     InitializeComponent();
     loadSkin("Style.txt");
     MDIForms.frmLogin login = new MDIForms.frmLogin();
     login.ShowDialog();
     setAuthority();
     UnLoadForm();
     if (btnReceipt.Enabled)
     {
         btnReceipt_ItemClick(null, null);
     }
 }
예제 #5
0
 private void btnLogOut_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     Program.isLogin = false;
     Program.userLevel = Level.Guest;
     Program.username = "******";
     Program.password = "******";
     MDIForms.frmLogin login = new MDIForms.frmLogin();
     login.ShowDialog();
     setAuthority();
     UnLoadForm();
 }
예제 #6
0
 private void btnLogIn_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     MDIForms.frmLogin login = new MDIForms.frmLogin();
     login.ShowDialog();
     setAuthority();
     UnLoadForm();
 }