Esempio n. 1
0
 public override void ProcessInput(object input, out PaintDotNet.Updates.State newState)
 {
     if (!input.Equals(UpdatesAction.Continue))
     {
         throw new ArgumentException();
     }
     newState = new CheckingState();
 }
Esempio n. 2
0
 public override void ProcessInput(object input, out State newState)
 {
     if (input.Equals(UpdatesAction.Continue))
     {
         newState = new CheckingState();
     }
     else
     {
         throw new ArgumentException();
     }
 }
Esempio n. 3
0
 public override void ProcessInput(object input, out State newState)
 {
     if (input.Equals(UpdatesAction.Continue))
     {
         newState = new CheckingState();
     }
     else
     {
         throw new ArgumentException();
     }
 }