Example #1
0
 protected override void CloseTarget()
 {
     if (CreatedForm)
     {
         TargetForm.Invoke((FormCloseDelegate)TargetForm.Close);
         TargetForm = null;
     }
 }
        private void RunTask()
        {
            Action action = () => EnsureTopMost();

            TargetForm.Invoke(action);
        }