Пример #1
0
        private void adviserButton_Click(object sender, EventArgs e)
        {
            if (adminPanel.Visible == true)
            {
                adminLogoutWindow = new adminLogoutForm(this);
                if (adminLogoutWindow.ShowDialog() == DialogResult.OK)
                {
                    hidePanels();
                    bunifuTransition1.ShowSync(adviserPanel);
                }
            }

            else if (adviserPanel.Visible == false)
            {
                hidePanels();
                bunifuTransition1.ShowSync(adviserPanel);
            }
        }
Пример #2
0
 private void adviserLogoutButton_Click(object sender, EventArgs e)
 {
     adminLogoutWindow = new adminLogoutForm(this);
     adminLogoutWindow.ShowDialog();
 }