示例#1
0
 public frmPayoutByDenom(CPayout payout, CHopper hopper, TextBox output)
 {
     InitializeComponent();
     Payout = payout;
     Hopper = hopper;
     Output = output;
 }
示例#2
0
 public frmPayoutByDenom(CPayout payout, CHopper hopper, TextBox output)
 {
     InitializeComponent();
     Payout = payout;
     Hopper = hopper;
     Output = output;
 }
示例#3
0
        /* 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;
        }
示例#4
0
        /* 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;
        }
示例#5
0
 public frmSetLevel(CHopper validator)
 {
     InitializeComponent();
     m_Validator = validator;
 }
示例#6
0
 public frmSetLevel(CHopper hop)
 {
     InitializeComponent();
     m_Hopper = hop;
 }
示例#7
0
 public frmSetLevel(CHopper validator)
 {
     InitializeComponent();
     m_Validator = validator;
 }
示例#8
0
        /* 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;
        }
示例#9
0
 public frmSetLevel(CHopper hop)
 {
     InitializeComponent();
     m_Hopper = hop;
 }