Ejemplo n.º 1
0
        void reviewWin_Closed(object sender, EventArgs e)
        {
            CranReviewWindow win = sender as CranReviewWindow;

            GlobalStatus.Current.IsBusy = true;
            IsOperating = false;
            CurrentTask = null;
            CransContext.Single.Client.getCranTasksAsync(CurrentFilter);
        }
Ejemplo n.º 2
0
        private void btnCheck_Click(object sender, RoutedEventArgs e)
        {
            if (CurrentTask == null)
            {
                return;
            }
            CurrentTask.TaskAction = CranTaskAction.review;
            CurrentTask.TaskState  = CranTaskState.reviewed;
            CranReviewWindow reviewWin = new CranReviewWindow();

            reviewWin.init(CurrentTask, CranUsers);
            reviewWin.Closed += reviewWin_Closed;
            IsOperating       = true;
            reviewWin.Show();
        }
Ejemplo n.º 3
0
		private void btnCheck_Click(object sender, RoutedEventArgs e) {
			if (CurrentTask == null)
				return;
			CranReviewWindow reviewWin = new CranReviewWindow();
			reviewWin.init(CurrentTask);
			reviewWin.Closed += reviewWin_Closed;
			reviewWin.Show();
		}