public WebHintPanelDecorator(View view, HintPanel hintPanel, IAdditionalViewControlsRule controlsRule)
     : base(view,hintPanel,controlsRule)
 {
     this.hintPanel = hintPanel;
     hintPanel.Unload += hintPanel_Unload;
     hintPanel.Disposed += hintPanel_Disposed;
     UpdateText();
     count++;
 }
Example #2
0
 public WebHintPanelDecorator(View view, HintPanel hintPanel)
     : base(view,hintPanel)
 {
     this.hintPanel = hintPanel;
     hintPanel.Unload += hintPanel_Unload;
     hintPanel.Disposed += hintPanel_Disposed;
     UpdateText();
     count++;
 }
 private void hintPanel_Disposed(object sender, EventArgs e)
 {
     hintPanel = null;
     Dispose();
 }