private void OnDurationButtonTouchUpInside(object sender, EventArgs e) { // TODO: This condition is valid or not? if (ViewModel.IsRunning) { return; } var controller = new DurationChangeViewController(ViewModel.StopDate, ViewModel.StartDate, this); NavigationController.PushViewController(controller, true); }
private void OnDurationButtonTouchUpInside (object sender, EventArgs e) { var controller = new DurationChangeViewController (currentTimeEntry); parentController.NavigationController.PushViewController (controller, true); }
private void OnDurationButtonTouchUpInside (object sender, EventArgs e) { // TODO: This condition is valid or not? if (ViewModel.IsRunning) { return; } var controller = new DurationChangeViewController (ViewModel.StopDate, ViewModel.StartDate, this); NavigationController.PushViewController (controller, true); }
private void OnDurationButtonTouchUpInside(object sender, EventArgs e) { var controller = new DurationChangeViewController((TimeEntryModel)currentTimeEntry); parentController.NavigationController.PushViewController(controller, true); }