Exemple #1
0
 public virtual void ListBoxScrollDown(ListBox Object)
 {
     try
     {
         if (this.InvokeRequired)
         {
             ListBoxScrollDownDelegate dele = new ListBoxScrollDownDelegate(ListBoxScrollDown2);
             this.Invoke(dele, new object[] { Object });
         }
         else
         {
             ListBoxScrollDown2(Object);
         }
     }
     catch { }
 }
Exemple #2
0
 public virtual void ListBoxScrollDown(ListBox Object)
 {
     try
     {
         if (this.InvokeRequired)
         {
             ListBoxScrollDownDelegate dele = new ListBoxScrollDownDelegate(ListBoxScrollDown2);
             this.Invoke(dele, new object[] { Object });
         }
         else
         {
             ListBoxScrollDown2(Object);
         }
     }
     catch { }
 }