/// <summary>
 /// Causes the dialog to swap when the button is clicked.
 /// </summary>
 public override void OnClick()
 {
     if (Source.IsShown)
     {
         Source.SwapTo(Target);
     }
 }
Example #2
0
 /// <summary>
 /// Causes the dialog to swap as a result of a click or tap
 /// </summary>
 public override void RunMethod()
 {
     if (Source.IsShown)
     {
         Source.SwapTo(Target);
     }
 }