Exemplo n.º 1
0
 public abstract override void MessageBox(MessageBox action);
Exemplo n.º 2
0
        public override void MessageBox(MessageBox action)
        {
            VerifyAction(typeof(MessageBox));

            base.MessageBox(action);
        }
Exemplo n.º 3
0
 public virtual void MessageBox(MessageBox action)
 {
 }
Exemplo n.º 4
0
            public override void MessageBox(MessageBox action)
            {
                _form.Invoke(new Action(() =>
                {
                    var result = System.Windows.Forms.MessageBox.Show(
                        _form,
                        Runner.ParseTemplate(action.Text),
                        UILabels.NuGetSetup,
                        Enum<System.Windows.Forms.MessageBoxButtons>.Parse(action.Buttons.ToString()),
                        Enum<System.Windows.Forms.MessageBoxIcon>.Parse(action.Icon.ToString())
                    );

                    if (action.Result != null)
                        Runner.Variables.AddOrSet(action.Result, result);
                }));
            }