Esempio n. 1
0
        public FormLaserMaint()
        {
            InitializeComponent();

            scannerIndex = 0;

            InitTabControl();

            InitializeForm();

            TmrScannerTest.Enabled  = true;
            TmrScannerTest.Interval = 100;
            TmrScannerTest.Stop();
        }
Esempio n. 2
0
        private void TabCtlLaserMaint_Click(object sender, EventArgs e)
        {
            int nIndex = 0;

            TabControlAdv Tab = sender as TabControlAdv;

            nIndex = Tab.SelectedTab.TabIndex;

            if (nIndex == 1)
            {
                BtnConfigureSave.Show();
                TmrScannerTest.Stop();
            }
            else if (nIndex == 2)
            {
                BtnConfigureSave.Hide();
                TmrScannerTest.Start();
            }
        }