예제 #1
0
        public Keypad(string units, int Value, frmMain Parent)
        {
            InitializeComponent();

            frmMain = Parent;
            lblUnit.Text = units;

            txtResponse.Text = Value.ToString();

            this.TopMost = true;
        }
예제 #2
0
        public Keypad(string units, frmMain Parent, int Min, int Max)
        {
            InitializeComponent();

            frmMain = Parent;
            lblUnit.Text = units;
            intMax = Max;
            intMin = Min;

            txtResponse.Text = intMin.ToString();

            this.TopMost = true;
        }