public QuizEditor(bool new_quiz, int uid, QuizEditorHost parent) { InitializeComponent(); this.new_quiz = new_quiz; this.parent = parent; this.uid = uid; }
private void edit_kalut_btn_Click(object sender, EventArgs e) { try { QuizEditorHost editor = new QuizEditorHost(int.Parse(((KalutInfo)my_kaluts_lst.SelectedItem).UID)); editor.ShowDialog(); } catch { } }