public QuestionView <Choice> BeginQuestion(string title, string context, Action onYes, Action onNo)
 {
     View           = new QuestionView <Choice>(title, context, onYes, onNo).AddTo(this);
     View.Container = this;
     Queue.Add(View);
     return(View);
 }
 public QuestionView <Choice> BeginQuestion()
 {
     View           = new QuestionView <Choice>().AddTo(this);
     View.Container = this;
     View.Queue     = Queue;
     Queue.Add(View);
     return(View);
 }
Esempio n. 3
0
        public QuestionView <ProcessSystem> BeginQuestion(string title, string context, Action onYes,
                                                          Action onNo)
        {
            var view = new QuestionView <ProcessSystem>(title, context, onYes, onNo);

            queue.Add(view);
            view.Container = this;
            return(view);
        }
Esempio n. 4
0
        public QuestionView <ProcessSystem> BeginQuestion()
        {
            var view = new QuestionView <ProcessSystem>();

            queue.Add(view);
            view.Container = this;
            view.Queue     = queue;
            return(view);
        }