Example #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Debug.Assert(_logForm.InvokeRequired);
     _logForm.BeginInvoke(delegate
     {
         if (!_logForm.Visible)
         {
             _logForm.Show();
         }
         _logForm.Activate();
     });
 }