public Keypad(string units, int Value, frmMain Parent) { InitializeComponent(); frmMain = Parent; lblUnit.Text = units; txtResponse.Text = Value.ToString(); this.TopMost = true; }
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; }