/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="ui">the UIHandler of the UI</param>
 public BallotCPRRequestWindow(UiHandler ui)
 {
     _ui = ui;
     _ui.BallotCPRRequestWindow = this;
     InitializeComponent();
     doneButton.IsEnabled = false;
     WaitingLabel.Content = "";
     Focus();
     Title = "CPR";
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TypeChoicePage"/> class.
 /// Constructor
 /// </summary>
 /// <param name="parent">
 /// the frame in which this page is displayed
 /// </param>
 /// <param name="ui">
 /// the UIhandler of this UI
 /// </param>
 public TypeChoicePage(Frame parent, UiHandler ui)
 {
     _parent = parent;
     _ui     = ui;
     InitializeComponent();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StationWindow"/> class.
 /// Constructor
 /// </summary>
 public StationWindow()
 {
     InitializeComponent();
     _ui = new UiHandler(this);
     MainFrame.Navigate(new TypeChoicePage(MainFrame, _ui));
 }