Пример #1
0
 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++;
 }
Пример #2
0
 public WebHintPanelDecorator(View view, HintPanel hintPanel)
     : base(view,hintPanel)
 {
     this.hintPanel = hintPanel;
     hintPanel.Unload += hintPanel_Unload;
     hintPanel.Disposed += hintPanel_Disposed;
     UpdateText();
     count++;
 }
Пример #3
0
 private void hintPanel_Disposed(object sender, EventArgs e)
 {
     hintPanel = null;
     Dispose();
 }