public frmPayoutByDenom(CPayout payout, CHopper hopper, TextBox output) { InitializeComponent(); Payout = payout; Hopper = hopper; Output = output; }
/* Events handling section */ private void Form1_Load(object sender, EventArgs e) { // Create an instance of the validator info class Hopper = new CHopper(); btnHalt.Enabled = false; // Load settings logTickBox.Checked = Properties.Settings.Default.Comms; // Position comms window Point p = Location; p.X += this.Width; Hopper.Comms.Location = p; }
/* Events handling section */ private void Form1_Load(object sender, EventArgs e) { // Create instances of the validator classes Hopper = new CHopper(); NV11 = new CNV11(); if (Hopper == null || NV11 == null) { MessageBox.Show("Error with memory allocation, exiting", "ERROR"); Application.Exit(); } // Load settings logTickBox.Checked = Properties.Settings.Default.Comms; // Position comms windows Point p = Location; p.Y += this.Height; Hopper.Comms.Location = p; p.X += Hopper.Comms.Width; NV11.CommsLog.Location = p; }
public frmSetLevel(CHopper validator) { InitializeComponent(); m_Validator = validator; }
public frmSetLevel(CHopper hop) { InitializeComponent(); m_Hopper = hop; }