public WebHintPanelDecorator(View view, HintPanelBase hintPanelBase, IAdditionalViewControlsRule controlsRule) : base(view, hintPanelBase, controlsRule) { _hintPanelBase = hintPanelBase; hintPanelBase.Unload += hintPanel_Unload; hintPanelBase.Disposed += hintPanel_Disposed; UpdateText(); }
private void hintPanel_Disposed(object sender, EventArgs e) { _hintPanelBase = null; Dispose(); }