Пример #1
0
 private void ReloadViewForm()
 {
     if (_viewFrm != null && !_viewFrm.IsDisposed)
     {
         _viewFrm.Close();
         _viewFrm       = new ViewForm(_rec.Gestures);
         _viewFrm.Owner = this;
         _viewFrm.Show();
     }
 }
Пример #2
0
 private void ViewGesture_Click(object sender, System.EventArgs e)
 {
     if (_viewFrm != null && !_viewFrm.IsDisposed)
     {
         _viewFrm.Close();
         _viewFrm = null;
     }
     else
     {
         _viewFrm       = new ViewForm(_rec.Gestures);
         _viewFrm.Owner = this;
         _viewFrm.Show();
     }
 }