示例#1
0
 public LaserAlignment(ZWPictureBox pictureBox) : base()
 {
     resources       = new ComponentResourceManager(typeof(LaserAlignment));
     this.pictureBox = pictureBox;
     InitializeComponent();
     helper     = new AlignInfoHelper(this);
     this.Load += LaserAlignment_Load;
     Index      = -2;
 }
示例#2
0
 public LaserAlignment() : base()
 {
     resources      = new ComponentResourceManager(typeof(LaserAlignment));
     this.ShowIndex = 6;
     this.CtrlType  = CtrlType.LaserAlignment;
     InitializeComponent();
     helper        = new AlignInfoHelper(this);
     this.Load    += LaserAlignment_Load;
     Index         = -2;
     this.KeyDown += LaserAlignment_KeyDown;
     serialPortCom = SerialPortManager.GetInstance();
 }