public LaserAlignment(ZWPictureBox pictureBox) : base() { resources = new ComponentResourceManager(typeof(LaserAlignment)); this.pictureBox = pictureBox; InitializeComponent(); helper = new AlignInfoHelper(this); this.Load += LaserAlignment_Load; Index = -2; }
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(); }