Пример #1
0
 void eRelativeBalanceWeightChange(WeightValue wv)
 {
     try
     {
         //display ingredient relative value
         ctrl2ValuesDisplay1.LblValue2.Text = wv.FormatKg();
     }
     catch (Exception ex)
     {
         SimpleLogger.Logger.Log("eRelativeBalanceWeightChange", ex);
         throw;
     }
 }
Пример #2
0
 void eTargetWeightChange(WeightValue wv)
 {
     try
     {
         //display target value
         ctrl2ValuesDisplay1.LblValue1.Text = wv.FormatKg();
     }
     catch (Exception ex)
     {
         SimpleLogger.Logger.Log("eTargetWeightChange", ex);
         throw;
     }
 }
Пример #3
0
 void eNewWeightChange(WeightValue wv)
 {
     //this.lblNewValue.Text = wv.FormatKg();
     ctrl2ValuesDisplay1.LblValue2.Text = wv.FormatKg();
 }
Пример #4
0
 void eOldWeightChange(WeightValue wv)
 {
     //this.lblOldValue.Text = wv.FormatKg();
     ctrl2ValuesDisplay1.LblValue1.Text = wv.FormatKg();
 }
Пример #5
0
 void eTargetWeightChange(WeightValue wv)
 {
     //display target value
     ctrl2ValuesDisplay1.LblValue1.Text = wv.FormatKg();
 }
Пример #6
0
 void SetBalanceValueDisplayed()
 {
     //Set balance value
     ctrl2ValuesDisplay1.LblValue2.Text = _relativeBalanceWeight.FormatKg();
 }
Пример #7
0
        void eWeightChange(WeightValue wv)
        {
            string strWeight = wv.FormatKg() + Environment.NewLine;
//			this.InvokeIfRequired( c => { c.textBox1.Text += strWeight; } );
        }