private void lbox_Reviews_DoubleClick(object sender, EventArgs e) { if (lbox_Reviews.SelectedIndex != -1) { Review selectedreview = lbox_Reviews.SelectedItem as Review; Form_Review dialog = new Form_Review(selectedreview); timer_Refresh.Stop(); dialog.Show(); timer_Refresh.Start(); } }
private void btn_AddReview_Click(object sender, EventArgs e) { Form_Review dialog = new Form_Review(currentquestion); dialog.ShowDialog(); }