コード例 #1
0
        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);
        }
コード例 #2
0
 private void OnDurationButtonTouchUpInside (object sender, EventArgs e)
 {
     var controller = new DurationChangeViewController (currentTimeEntry);
     parentController.NavigationController.PushViewController (controller, true);
 }
コード例 #3
0
        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);
        }
コード例 #4
0
        private void OnDurationButtonTouchUpInside(object sender, EventArgs e)
        {
            var controller = new DurationChangeViewController((TimeEntryModel)currentTimeEntry);

            parentController.NavigationController.PushViewController(controller, true);
        }