Example #1
0
 public Button1Pressed(ScreensMachine screensMachine)
 {
     ScreensMachine   = screensMachine;
     statusComponents = new StatusComponents
     {
         IsActiveButton1 = true,
         IsActiveButton2 = true,
         IsActiveButton3 = false,
         IsActiveScreen1 = Visibility.Visible,
         IsActiveScreen2 = Visibility.Collapsed,
         Text            = string.Empty
     };
 }
Example #2
0
 public EnteredSetText(ScreensMachine screensMachine)
 {
     ScreensMachine   = screensMachine;
     statusComponents = new StatusComponents
     {
         IsActiveButton1 = false,
         IsActiveButton2 = false,
         IsActiveButton3 = true,
         IsActiveScreen1 = Visibility.Collapsed,
         IsActiveScreen2 = Visibility.Visible,
         Text            = "thank you"
     };
 }
Example #3
0
 public Button2Pressed(ScreensMachine screensMachine)
 {
     ScreensMachine   = screensMachine;
     statusComponents = new StatusComponents
     {
         IsActiveButton1 = false,
         IsActiveButton2 = false,
         IsActiveButton3 = true,
         IsActiveScreen1 = Visibility.Collapsed,
         IsActiveScreen2 = Visibility.Visible,
         Text            = "hi"
     };
 }
Example #4
0
 public Button3Pressed(ScreensMachine screensMachine)
 {
     ScreensMachine = screensMachine;
 }