Beispiel #1
0
 public void AmmterFillData(string aGaugeName, float value)
 {
     SysLog.CreateAmmeterLog(aGaugeName + "," + value.ToString());
     ((AGauge)this.Controls.Find(aGaugeName, true)[0]).BeginInvoke((MethodInvoker) delegate
     {
         ((AGauge)this.Controls.Find(aGaugeName, true)[0]).Value = value;
         ((AGauge)this.Controls.Find(aGaugeName, true)[0]).GaugeLabels.FindByName("GaugeLabel1").Text = aGaugeName + ":" + value;
     });
 }