示例#1
0
 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();
 }
示例#2
0
 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();
 }
示例#3
0
 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();
 }
示例#4
0
 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();
 }
示例#5
0
 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();
 }
示例#6
0
        /// <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());
        }