/// <summary> /// connect event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button1_Click(object sender, EventArgs e) { this.readCnt = 0; this.mvFile = new MachineVision.File( this.SaveAviCheckBox.Checked, this.ReadAviCheckBox.Checked, Convert.ToInt32(this.IntervalTxtBox.Text) ); if (this.CutEdgeCheckBox.Checked == true) { this.eaef = new Eaef(ZgcGraph1); } this.MachineVisionTimer.Interval = Convert.ToInt32(this.IntervalTxtBox.Text); this.MachineVisionTimer.Enabled = true; }