private void Button1_Click(object sender, EventArgs e) { var rpf = new RecentQuestions(user); rpf.Show(); this.Close(); }
private void Recentquestionsbtn_Click_1(object sender, EventArgs e) { var rpF = new RecentQuestions(user); rpF.Show(); this.Close(); }
private void Recentquestionsbtn_Click(object sender, EventArgs e) { var rpf = new RecentQuestions(userData); rpf.Show(); this.Close(); }
void button_click(object sender, EventArgs e) { var btn = sender as Button; var rpf = new RecentQuestions(user); this.Close(); rpf.Show(); }
private void SaveBtn_Click(object sender, EventArgs e, List <Question> questionList) { var profileDB = new ProfileDB(); profileDB.db.InsertIntoQuestions(new Question(0, 0, 0, 0, questiontxt.Text, questiontxt.Text, DateTime.Now, user.userID)); var rpf = new RecentQuestions(user); rpf.Show(); this.Close(); }
private void Button2_Click(object sender, EventArgs e) { var vuLogin = new vuLoginForm(); vuLogin.ShowDialog(); if (vuLogin.isOK) { var rpf = new RecentQuestions(vuLogin.user); rpf.Show(); this.Hide(); } else { MessageBox.Show("Please complete your login", "Bad Login", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }