Beispiel #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         _toolTipController.Dispose();
     }
 }
Beispiel #2
0
 protected override void OnDeactivated()
 {
     _gridView = null;
     if (_toolTipController != null)
     {
         _toolTipController.Dispose();
     }
     _toolTipController            = null;
     View.Editor.SelectionChanged -= Editor_SelectionChanged;
     base.OnDeactivated();
 }
 protected override void OnDeactivated()
 {
     base.OnDeactivated();
     if (GridView != null)
     {
         GridView.TopRowChanged += GridViewTopRowChanged;
         GridView.ShownEditor   += HideHint;
         GridControl gridControl = GridView.GridControl;
         if (gridControl != null)
         {
             gridControl.MouseMove  += GridControl_MouseMove;
             gridControl.MouseDown  += HideHint;
             gridControl.MouseLeave += HideHint;
         }
     }
     if (_toolTipController != null)
     {
         _toolTipController.Dispose();
     }
 }