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); } }
private void Home_FormClosing(object sender, FormClosingEventArgs e) { Choice c = new Choice(); c.Show(); }