예제 #1
0
        private void loginPage_Click(object sender, EventArgs e)
        {
            loginPage l = new loginPage();

            this.Hide();
            l.Show();
        }
예제 #2
0
        private void backButton_Click(object sender, EventArgs e)
        {
            loginPage loginPage = new loginPage();

            loginPage.Show();
            this.Hide();
        }
예제 #3
0
        private void logOut_Click(object sender, EventArgs e)
        {
            DialogResult res = MessageBox.Show("Are you sure?", "Warning", MessageBoxButtons.YesNo);

            if (res.Equals(DialogResult.Yes))
            {
                loginPage loginPage = new loginPage();
                loginPage.Show();
                this.Hide();
            }
        }