public UFrm_Exist(Frm_Edit form, HObject ho_Image)//构造函数 { InitializeComponent(); this.form = form; this.ho_Image = ho_Image; EditMode = false; }
public Ufrm_MultipleDistance(Frm_Edit form, HObject ho_Image)//构造函数 { InitializeComponent(); this.form = form; this.ho_Image = ho_Image; EditMode = false; }
public UFrm_Exist(Frm_Edit form, HObject ho_Image, MeasuringUnit data)//编辑模式 { InitializeComponent(); this.form = form; this.ho_Image = ho_Image; this.data = data; oldData = (MeasuringUnit)data.Clone(); EditMode = true; }
/// <summary> /// 添加编辑窗体 /// </summary> private void AddEditForm() { for (int i = 0; i < cameraManager.listCamera.Count; i++) { Frm_Edit edit = new Frm_Edit(tabControl1.TabPages[1 + i], configManager.ExecutionManager.listMeasureManager[i]); edit.Show(); edits.Add(edit); } }