public CreateCheckOrderForm(SampleOrder sample)
 {
     OrderItem = CheckOrder.CreateCheckOrderbySample(sample);
     InitializeComponent();
     ckbAuto.CheckState     = CheckState.Unchecked;
     GetSampleState.Text    = sample.GetSampleState;
     GetSampleState.Enabled = false;
     SampleType.Enabled     = false;
     OrderItem.CheckType    = CheckTypeEnum.Normal;
     Init();
     //调用基类的RefreshForm方法 ,从实体获取数据 刷新界面上的控件
     RefreshForm <CheckOrder>(OrderItem); //调用基类方法,刷新控件值
 }