Exemple #1
0
        public void OnButtonClicked(object sender, EventArgs e)
        {
            ctrl.Feedback();

            // Remove dialog from screen
            ctrl.RemoveScreen(this);

            // Execute callback if there is one
            if (sender is Button)
            {
                messageBox.GiveResult(sender.Equals(btnView1) ? MessageBoxResult.FirstButton : MessageBoxResult.SecondButton);
            }
        }
 void OnButtonClicked(object sender, ButtonClickEventArgs e)
 {
     ctrl.Feedback();
     ctrl.InitController(true);
 }