void eRelativeBalanceWeightChange(WeightValue wv) { try { //display ingredient relative value ctrl2ValuesDisplay1.LblValue2.Text = wv.FormatKg(); } catch (Exception ex) { SimpleLogger.Logger.Log("eRelativeBalanceWeightChange", ex); throw; } }
void eTargetWeightChange(WeightValue wv) { try { //display target value ctrl2ValuesDisplay1.LblValue1.Text = wv.FormatKg(); } catch (Exception ex) { SimpleLogger.Logger.Log("eTargetWeightChange", ex); throw; } }
void eNewWeightChange(WeightValue wv) { //this.lblNewValue.Text = wv.FormatKg(); ctrl2ValuesDisplay1.LblValue2.Text = wv.FormatKg(); }
void eOldWeightChange(WeightValue wv) { //this.lblOldValue.Text = wv.FormatKg(); ctrl2ValuesDisplay1.LblValue1.Text = wv.FormatKg(); }
void eTargetWeightChange(WeightValue wv) { //display target value ctrl2ValuesDisplay1.LblValue1.Text = wv.FormatKg(); }
void SetBalanceValueDisplayed() { //Set balance value ctrl2ValuesDisplay1.LblValue2.Text = _relativeBalanceWeight.FormatKg(); }
void eWeightChange(WeightValue wv) { string strWeight = wv.FormatKg() + Environment.NewLine; // this.InvokeIfRequired( c => { c.textBox1.Text += strWeight; } ); }