Exemple #1
0
 private void ClearLog()
 {
     this.Invoke((MethodInvoker) delegate
     {
         ArhivLog.Clear();
     });
 }
Exemple #2
0
 private void AddLineToLog(string text)
 {
     this.Invoke((MethodInvoker) delegate
     {
         ArhivLog.Text          += text + "\n";
         ArhivLog.SelectionStart = ArhivLog.Text.Length; //Set the current caret position at the end
         ArhivLog.ScrollToCaret();                       //Now scroll it automatically
     });
 }