private void ClickBtn1(object sender, EventArgs a) { if (form.checkBox1.Checked) { PotrebnaDopunaIstrazivanja.Set(ActContext, "Da"); ZavrsenElaborat.Set(ActContext, "Ne"); form.Close(); } else { form.button2.Visible = true; form.checkBox2.Visible = true; form.label2.Visible = true; } }
private void ClickBtn2(object sender, EventArgs a) { PotrebnaDopunaIstrazivanja.Set(ActContext, "Ne"); ZavrsenElaborat.Set(ActContext, form.checkBox2.Checked ? "Da" : "Ne"); form.Close(); }