Пример #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;
 }