Exemplo n.º 1
0
 private void logout_ItemClick(object sender, ItemClickEventArgs e)
 {
     try
     {
         Frm_Login frm = new Frm_Login();
         frm.Show();
         this.Hide();
     }
     catch (Exception ex)
     {
         logger.Error(ex.ToString());
     }
 }
Exemplo n.º 2
0
        private void btn_logout_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                while (xtraTabbedMdiManager1.Pages.Count > 0)
                {
                    xtraTabbedMdiManager1.Pages[0].MdiChild.Close();
                }
            }
            catch (Exception ex)
            {
                logger.Error(ex.ToString());
            }
            Frm_Login frm = new Frm_Login();

            frm.Show();
            this.Hide();
        }