Esempio n. 1
0
 private static void OpenForm()
 {
     if (_frmCycloMediaOptions == null)
     {
         _frmCycloMediaOptions = new FrmCycloMediaOptions();
         var          application = ArcMap.Application;
         int          hWnd        = application.hWnd;
         IWin32Window parent      = new WindowWrapper(hWnd);
         _frmCycloMediaOptions.Show(parent);
     }
 }
Esempio n. 2
0
 private void FrmCycloMediaOptions_FormClosed(object sender, FormClosedEventArgs e)
 {
     GsExtension.OpenDocumentEvent -= LoginReload;
     _frmCycloMediaOptions          = null;
 }