private void numericupdown_value() { numericUpDown1.Maximum = decimal.Parse(D_Gasoline95.ToString()); numericUpDown2.Maximum = decimal.Parse(D_Gasoline97.ToString()); numericUpDown3.Maximum = decimal.Parse(D_Diesel.ToString()); numericUpDown4.Maximum = decimal.Parse(D_euroDiesel.ToString()); numericUpDown5.Maximum = decimal.Parse(D_lpg.ToString()); }
private void txt_tank_write() { label6.Text = D_Gasoline95.ToString("N"); label7.Text = D_Gasoline97.ToString("N"); label8.Text = D_Diesel.ToString("N"); label9.Text = D_euroDiesel.ToString("N"); label10.Text = D_lpg.ToString("N"); }