Exemple #1
0
 /// <summary>
 /// Ends the process.
 /// </summary>
 public void Terminate()
 {
     dataContext          = null;
     gtTransactionManager = null;
     UnsubscribeEvents();
     customCommandHelper = null;
     if (featurePlacementService != null)
     {
         featurePlacementService.Dispose();
         featurePlacementService = null;
     }
     if (featureExplorerService != null)
     {
         featureExplorerService.Clear();
         featureExplorerService.Dispose();
         featureExplorerService = null;
     }
     m_gtApp.EndWaitCursor();
 }
Exemple #2
0
 public void m_oGTExplorerService_CancelClick(object sender, EventArgs e)
 {
     if (m_oGTTransactionManager.TransactionInProgress)
     {
         m_oGTTransactionManager.Rollback();
     }
     m_oGTExplorerService.Clear();
     if (sender != null)
     {
         ExitCommand();
     }
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gtFeatureExplorerSrvc_CancelClick(object sender, EventArgs e)
 {
     _gtFeatureExplorerSrvc.Clear();
     _gtFeatureExplorerSrvc.Visible = false;
     EnableButtonCtrls(true);
 }