protected override void Execute(CodeActivityContext context) { ActContext = context; form = new YesNoForm(); form.btnYes.Click += new EventHandler(ClickBtnYes); form.btnNo.Click += new EventHandler(ClickBtnNo); form.labelQuestion.Text = "Da li je potrebno podneti zahtev za produzenje roka istrazivanja?"; form.ShowDialog(); }
protected override void Execute(CodeActivityContext context) { ActContext = context; form = new YesNoForm(); form.btnYes.Click += new EventHandler(ClickBtnYes); form.btnNo.Click += new EventHandler(ClickBtnNo); form.labelQuestion.Text = "Da li se odlaze odbrana?"; form.ShowDialog(); }
protected override void Execute(CodeActivityContext context) { ActContext = context; form = new YesNoForm(); form.btnYes.Click += new EventHandler(ClickBtnYes); form.btnNo.Click += new EventHandler(ClickBtnNo); form.labelQuestion.Text = "Da li je moguce ukloniti nedostatke?"; form.ShowDialog(); }
protected override void Execute(CodeActivityContext context) { ActContext = context; form = new YesNoForm(); form.btnYes.Click += new EventHandler(ClickBtnYes); form.btnNo.Click += new EventHandler(ClickBtnNo); form.labelQuestion.Text = "Da li su odobrena dodatna istrazivanja?"; form.ShowDialog(); }
protected override void Execute(CodeActivityContext context) { ActContext = context; form = new YesNoForm(); form.btnYes.Click += new EventHandler(ClickBtnYes); form.btnNo.Click += new EventHandler(ClickBtnNo); form.labelQuestion.Text = "Da li je izvestaj odobren od strane Univerziteta?"; form.ShowDialog(); }
/// <summary> /// Displays the yes/no dialog with the prompt /// </summary> /// <param name="prompt">prompt to display</param> /// <returns>yes or no</returns> private DialogResult bigMessageBox(String prompt) { var ynForm = new YesNoForm(prompt); return(ynForm.ShowDialog()); }