Esempio n. 1
0
 private void setThreadedStatusLabel(String text)
 {
     if (this.statusStrip.InvokeRequired)
     {
         setThreadedStatusLabelCallback statusLabelCallback = new setThreadedStatusLabelCallback(setThreadedStatusLabel);
         this.obj.Invoke(statusLabelCallback, text);
     }
     else
     {
         this.toolStripStatusLabel1.Text = text;
     }
 }
Esempio n. 2
0
 private void setThreadedStatusLabel(String text)
 {
     if (this.statusStrip.InvokeRequired)
     {
         setThreadedStatusLabelCallback statusLabelCallback = new setThreadedStatusLabelCallback(setThreadedStatusLabel);
         this.obj.Invoke(statusLabelCallback, text);
     }
     else
     {
         this.toolStripStatusLabel1.Text = text;
     }
 }
Esempio n. 3
0
 void setThreadedStatusLabel(String info)
 {
     if (this.statusStripInfo.InvokeRequired)
     {
         setThreadedStatusLabelCallback StatusLabel = new setThreadedStatusLabelCallback(setThreadedStatusLabel);
         try {
             this.obj.Invoke(StatusLabel, info);
         } catch { }
     }
     else
     {
         statusGlowne.Text = info;
     }
 }
Esempio n. 4
0
 public void setThreadedErrorLabel(String text)
 {
     if (this.ErrorLabel.InvokeRequired)
     {
         setThreadedStatusLabelCallback statusLabelCallback = new setThreadedStatusLabelCallback(setThreadedErrorLabel);
         this.obj.Invoke(statusLabelCallback, text);
     }
     else
     {
         this.ErrorLabel.Text = text;
         this.ErrorLabel.Visible = true;
         this.changeEnabledAllItems(true);
     }
 }
Esempio n. 5
0
 public void setThreadedErrorLabel(String text)
 {
     if (this.ErrorLabel.InvokeRequired)
     {
         setThreadedStatusLabelCallback statusLabelCallback = new setThreadedStatusLabelCallback(setThreadedErrorLabel);
         this.obj.Invoke(statusLabelCallback, text);
     }
     else
     {
         this.ErrorLabel.Text    = text;
         this.ErrorLabel.Visible = true;
         this.changeEnabledAllItems(true);
     }
 }