Example #1
0
        public CalibrationForm(ControlForm form1)
        {
            InitializeComponent();

            this.form1 = form1;
            this.Shown += new EventHandler(calibrationFormShown);
            this.FormClosing += new FormClosingEventHandler(calibrationFormClose);
            this.FormBorderStyle = FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.MinimizeBox = false;

            update_delagate = new UpdateDelagate(updateForm);
            cleanup_delagate = new CleanupDelagate(cleanupForm);
            update_thread = new Thread(updateThread);
        }
Example #2
0
        public ControlForm()
        {
            InitializeComponent();

            this.Shown += new EventHandler(controlFormShown);
            this.FormClosing += new FormClosingEventHandler(controlFormClose);
            this.FormBorderStyle = FormBorderStyle.FixedSingle;
            this.MaximizeBox = false;
            this.MinimizeBox = false;

            update_delagate = new UpdateDelagate(updateForm);
            cleanup_delagate = new CleanupDelagate(cleanupForm);
            log_file_dialog = new SaveFileDialog();
        }