public FormHoleEdit(HoleCollection collection, ContraInfo contra, string axisType) { InitializeComponent(); this.bindingSourceHole.DataSource = collection.Clone(); this.bindingSource.DataSource = new HoleOperateInfo() { AxisType = axisType }; this.bindingSource2.DataSource = new HoleOperateInfo() { AxisType = axisType }; this.contra = contra; this.axisType = axisType; }
public FormJiagongTimeSet(ContraInfo contraInfo) { InitializeComponent(); this.spOverTime.Value = contraInfo.JiaGongOverTime; }