Пример #1
0
 private void BunifuButton1_Click(object sender, EventArgs e)
 {
     if (logins())
     {
         MessageBox.Show("Succesfully Login", "Login Success", MessageBoxButtons.OK, MessageBoxIcon.Information);
         this.Hide();
         Choice dash = new Choice();
         dash.Show();
     }
     else
     {
         MessageBox.Show("Login Failed", "Login Failed", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error);
     }
 }
Пример #2
0
        private void Home_FormClosing(object sender, FormClosingEventArgs e)
        {
            Choice c = new Choice();

            c.Show();
        }