Exemple #1
0
        private void avButtonWfTracking_Click(object sender, EventArgs e)
        {
            var form = new WorkflowCommentsTrackingForm(_currentAuditCheck);

            if (form.ShowDialog() == DialogResult.OK)
            {
                _animatedThreadWorker.RunWorkerAsync();
            }

            _currentCheck.AuditCheck = _currentAuditCheck;
            Focus();
        }
Exemple #2
0
 private void ToolStripMenuSendClick(object sender, EventArgs e)
 {
     if (_type == CheckListAuditType.User)
     {
         var form = new WorkflowCommentsForm(_directivesViewer.SelectedItem.AuditCheck);
         if (form.ShowDialog() == DialogResult.OK)
         {
             AnimatedThreadWorker.RunWorkerAsync();
         }
     }
     else
     {
         var form = new WorkflowCommentsTrackingForm(_directivesViewer.SelectedItem.AuditCheck);
         if (form.ShowDialog() == DialogResult.OK)
         {
             AnimatedThreadWorker.RunWorkerAsync();
         }
     }
 }