Exemplo n.º 1
0
        protected virtual void InitializeForm()
        {
            this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
            this.DesktopLocation = new Point(DEF_UI.MAIN_POS_X, DEF_UI.MAIN_POS_Y);
            this.Size            = new Size(DEF_UI.MAIN_SIZE_WIDTH, DEF_UI.MAIN_SIZE_HEIGHT);
            this.FormBorderStyle = FormBorderStyle.None;

            TmrIO.Enabled  = true;
            TmrIO.Interval = 100;
            TmrIO.Stop();

            ResouceMapping();

            UpdateIO(0);
        }
Exemplo n.º 2
0
 private void FormIOCheck_Deactivate(object sender, EventArgs e)
 {
     TmrIO.Stop();
 }