Пример #1
0
 public void DisableDebugger()
 {
     if (InvokeRequired)
     {
         new Thread(() =>
         {
             var del = new DisableDebuggerDelegate(DisableDebugger);
             Invoke(del, null);
         }).Start();
     }
     else
     {
         StackView.Enabled      = false;
         ObjectDataGrid.Enabled = false;
     }
 }
Пример #2
0
 public void DisableDebugger()
 {
     if (InvokeRequired)
     {
         new Thread(() =>
         {
             var del = new DisableDebuggerDelegate(DisableDebugger);
             Invoke(del, null);
         }).Start();
     }
     else
     {
         StackView.Enabled = false;
         ObjectDataGrid.Enabled = false;
     }
 }