Esempio n. 1
0
 public void EnableMouseClicks()
 {
     if ((this.Filter != null))
     {
         Application.RemoveMessageFilter(this.Filter);
         this.Filter = null;
     }
 }
Esempio n. 2
0
 public void DisableMouseClicks()
 {
     if (this.Filter == null)
     {
         this.Filter = new MouseClickMessageFilter();
         Application.AddMessageFilter(this.Filter);
     }
 }