/// <summary>
 /// Initializes a new instance of the <see cref="TransportationDataInputView"/> class.
 /// Creates the window for the first time when Transportation U.I is selected from the home screen.
 /// </summary>
 public TransportationDataInputView()
 {
     InitializeComponent();
     _transportationDataModel = new TransportationDataModel();
     DataContext = _transportationDataModel;
 }// end constructor
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransportationDataConfirmView"/> class.
 /// </summary>
 /// <param name="transportationDataModelModel">Class for passing the data from the input window to this window.</param>
 public TransportationDataConfirmView(TransportationDataModel transportationDataModelModel)
 {
     InitializeComponent();
     _transportationDataModel = transportationDataModelModel;
     DataContext = _transportationDataModel;
 }// end constructor