Exemple #1
0
 public void AddVarEvent1(object sender, TVar Var)
 {
     if (this.fastColoredTextBox1.InvokeRequired)
     {
         try
         {
             InsTextCallback d = new InsTextCallback(InsText);
             this.Invoke(d, new object[] { Var.ToStr() + ";\n" });
         }
         catch (System.ObjectDisposedException) { }
     }
     else
     {
         AppendText(Var.FName);
     }
 }
Exemple #2
0
 public void AddVarEvent1(object sender, TVar Var)
 {
     if (this.fastColoredTextBox1.InvokeRequired)
     {
         try
         {
             InsTextCallback d = new InsTextCallback(InsText);
             this.Invoke(d, new object[] { Var.ToStr() + ";\n" });
         }
         catch (System.ObjectDisposedException) { }
     }
     else
     {
         AppendText(Var.FName);
     }
 }