void ReleaseDesignerOutlets()
        {
            if (AddEntryBtn != null)
            {
                AddEntryBtn.Dispose();
                AddEntryBtn = null;
            }

            if (DataTable != null)
            {
                DataTable.Dispose();
                DataTable = null;
            }

            if (FirstTabContentCntr != null)
            {
                FirstTabContentCntr.Dispose();
                FirstTabContentCntr = null;
            }

            if (LogoutBtn != null)
            {
                LogoutBtn.Dispose();
                LogoutBtn = null;
            }

            if (PasswordLbl != null)
            {
                PasswordLbl.Dispose();
                PasswordLbl = null;
            }

            if (RemoveEntryBtn != null)
            {
                RemoveEntryBtn.Dispose();
                RemoveEntryBtn = null;
            }

            if (SwitchViewSC != null)
            {
                SwitchViewSC.Dispose();
                SwitchViewSC = null;
            }

            if (UsernameLbl != null)
            {
                UsernameLbl.Dispose();
                UsernameLbl = null;
            }
        }
 public void MobileLogout()
 {
     ScreenMenu.ClickOn();
     LogoutBtn.ClickOn();
 }
Exemplo n.º 3
0
 private void LogoutRibnBtn_Click(object sender, EventArgs e)
 {
     LogoutBtn.PerformClick();
 }