Example #1
0
 private void OnConfirmDialogComplete(CommandSelected command, string buttontext, int id)
 {
     if (ConfirmDialogComplete != null)
     {
         ConfirmDialogComplete.Invoke(null, new ConfirmDialogResult(command, buttontext, id));
     }
 }
Example #2
0
 public SimpleListDialogResult(CommandSelected command, string textbutton, int id, string elementselected)
 {
     CommandSelected    = command;
     ButtonTextSelected = textbutton;
     ItemSelected       = elementselected;
     IdDialog           = id;
 }
Example #3
0
 public SliderDialogResult(CommandSelected command, string textbutton, int id, int value)
 {
     CommandSelected    = command;
     ButtonTextSelected = textbutton;
     IdDialog           = id;
     Value = value;
 }
Example #4
0
 public ConfirmDialogResult(CommandSelected command, string textbutton, int id)
 {
     CommandSelected    = command;
     ButtonTextSelected = textbutton;
     IdDialog           = id;
 }