Beispiel #1
0
        private void uudCOLow_MouseDown(object sender, MouseEventArgs e)
        {
            UIDoubleUpDown uIIntegerUpDown = (UIDoubleUpDown)sender;
            NumberBord     numberBord      = new NumberBord();

            numberBord.InputNumber = Convert.ToDecimal(uIIntegerUpDown.Value);
            if (numberBord.ShowDialog(this) == DialogResult.OK)
            {
                uIIntegerUpDown.Value = Convert.ToDouble(numberBord.InputNumber);
            }
        }
Beispiel #2
0
        private void uiIntegerUpDown1_Click(object sender, EventArgs e)
        {
            UIIntegerUpDown uIIntegerUpDown = (UIIntegerUpDown)sender;
            NumberBord      numberBord      = new NumberBord();

            numberBord.InputNumber = uIIntegerUpDown.Value;
            if (numberBord.ShowDialog(this) == DialogResult.OK)
            {
                uIIntegerUpDown.Value = numberBord.InputNumber;
            }
        }
Beispiel #3
0
        private void uddWriteTimeout_Click(object sender, EventArgs e)
        {
            UIDoubleUpDown uIIntegerUpDown = (UIDoubleUpDown)sender;
            NumberBord     numberBord      = new NumberBord();

            numberBord.InputNumber = Convert.ToDecimal(uIIntegerUpDown.Value);
            if (numberBord.ShowDialog(this) == DialogResult.OK)
            {
                uIIntegerUpDown.Value = Convert.ToDouble(numberBord.InputNumber);
            }
        }