private void ClickBtnYes(object sender, EventArgs a) { ClickIt("Da"); MentorSprecen.Set(ActContext, ""); BrojSprecenihClanovaKomisije.Set(ActContext, -1); form.Close(); }
private void Submit(object sender, EventArgs a) { MentorSprecen.Set(ActContext, form.checkBox1.Checked ? "Da" : "Ne"); BrojSprecenihClanovaKomisije.Set(ActContext, string.IsNullOrEmpty(form.textBox1.Text) ? 0 : int.Parse(form.textBox1.Text)); form.Close(); }