コード例 #1
0
 private void StartSession(object sender, StartButtonClickedEventArgs e)
 {
     model.Initialize(e.Programmer1, e.Programmer2);
     model.Start();
     view.LockNameEntry();
     view.SetStartStopButtonsToStartedMode();
     view.DisplayIntervals(model.Intervals);
     view.StartListeningForInput();
 }
コード例 #2
0
 /// <summary>
 /// Event handler for the <see cref="IStartButtonView.OnClicked"/> event
 /// </summary>
 /// <param name="sender">A reference to the object that fired the event</param>
 /// <param name="startButtonClickedEventArgs">An instance of a <see cref="StartButtonClickedEventArgs"/> class</param>
 public void HandleOnClickedEvent(object sender, StartButtonClickedEventArgs startButtonClickedEventArgs)
 {
 }