예제 #1
0
 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;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public FormJiagongTimeSet(ContraInfo contraInfo)
 {
     InitializeComponent();
     this.spOverTime.Value = contraInfo.JiaGongOverTime;
 }
예제 #4
0
 public FormJiagongTimeSet(ContraInfo contraInfo)
 {
     InitializeComponent();
     this.spOverTime.Value = contraInfo.JiaGongOverTime;
 }