示例#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();
        }