Exemplo n.º 1
0
        public void SetCore(GrblCore core)
        {
            Core = core;
            Core.OnFileLoaded += OnFileLoaded;
            CmdLog.SetCom(core);

            PB.Bars.Add(new LaserGRBL.UserControls.DoubleProgressBar.Bar(Color.LightSkyBlue));
            PB.Bars.Add(new LaserGRBL.UserControls.DoubleProgressBar.Bar(Color.Pink));

            InitSpeedCB();
            InitPortCB();
            TimerUpdate();
        }
Exemplo n.º 2
0
        public void SetCore(GrblCore core)
        {
            Core = core;
            Core.OnFileLoaded      += OnFileLoaded;
            Core.OnLoopCountChange += OnLoopCountChanged;

            CmdLog.SetCom(core);

            PB.Bars.Add(new PrintekLaserFoam.UserControls.DoubleProgressBar.Bar(Color.LightSkyBlue));
            PB.Bars.Add(new PrintekLaserFoam.UserControls.DoubleProgressBar.Bar(Color.Pink));

            InitSpeedCB();
            InitPortCB();

            RestoreConf();

            TimerUpdate();
        }