public OrderApobsView() { model = new viewmodel.OrderSrvListViewModel(""); InitializeComponent(); this.Load += new EventHandler(OrderApobsView_Load); xapFormControl1.FormCreated += xapFormControl1_FormCreated; xapFormControl1.ModelFilled += xapFormControl1_ModelFilled; xapFormControl1.DataChanged += new EventHandler <DataChangedEventArgs>(xapFormControl1_DataChanged); SheetName = "检查医疗单"; }
/// <summary> /// 获取控件相关的数据,不涉及界面(不读写界面元素)。 /// </summary> protected override void OnLoadData() { this.model = new viewmodel.OrderSrvListViewModel(""); }