Exemple #1
0
        public void ButtonStateHandler(bool isEnable)
        {
            LaserAlignment laserAlignment = controls[5] as LaserAlignment;

            if (laserAlignment != null)
            {
                laserAlignment.ButtonNext(isEnable);
            }
        }
Exemple #2
0
 public CtrlFactory(ZWPictureBox pictureBox)
 {
     this.pictureBox          = pictureBox;
     this.laserCtrl           = new LaserCtrl(pictureBox);
     this.laserAlignment      = new LaserAlignment(pictureBox);
     this.laserAppearance     = new LaserAppearanceCtrl();
     this.laserHoleSize       = new LaserHoleSize();
     this.statisticsCtrl      = new StatisticsCtrl();
     this.rulerAppearanceCtrl = new RulerAppearanceCtrl();
     this.settingCtrl         = new SettingCtrl(pictureBox);
     serialPortCtrl           = new SerialPortConfigCtrl();
     InitializeHandler();
 }
Exemple #3
0
 public AlignInfoHelper(LaserAlignment laserAlignment)
 {
     this.laserAlignment = laserAlignment;
 }