コード例 #1
0
ファイル: ZWPictureBox.cs プロジェクト: marlonnn/Cii.Lar
        public void ButtonStateHandler(bool isEnable)
        {
            LaserAlignment laserAlignment = controls[5] as LaserAlignment;

            if (laserAlignment != null)
            {
                laserAlignment.ButtonNext(isEnable);
            }
        }
コード例 #2
0
ファイル: CtrlFactory.cs プロジェクト: marlonnn/Cii.Lar
 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();
 }
コード例 #3
0
 public AlignInfoHelper(LaserAlignment laserAlignment)
 {
     this.laserAlignment = laserAlignment;
 }