Beispiel #1
0
 public static void OpenCloseSwitch()
 {
     if (_frmRecordingHistory == null)
     {
         _frmRecordingHistory = new FrmRecordingHistory();
         var          application = ArcMap.Application;
         int          hWnd        = application.hWnd;
         IWin32Window parent      = new WindowWrapper(hWnd);
         _frmRecordingHistory.Show(parent);
     }
     else
     {
         _frmRecordingHistory.Close();
     }
 }
Beispiel #2
0
 private void FrmRecordingHistory_FormClosed(object sender, FormClosedEventArgs e)
 {
     _frmRecordingHistory = null;
 }