public UCDeductMaintain(string deductSysNo) { this.getLoadDeductSysNo = deductSysNo; InitializeComponent(); deductVM = new DeductQueryVM(); serviceFacade = new DeductFacade(CPApplication.Current.CurrentPage); this.Loaded += new RoutedEventHandler(UCDeductMaintain_Loaded); }
public override void OnPageLoad(object sender, EventArgs e) { deductQueryVM = new DeductQueryVM(); deductFacade = new DeductFacade(this); InitComBoxData(); this.SearchCondition.DataContext = deductQueryVM; base.OnPageLoad(sender, e); }
public override void OnPageLoad(object sender, EventArgs e) { base.OnPageLoad(sender, e); deductVm = new DeductQueryVM(); deductFacade = new DeductFacade(this); getLoadDeductSysNo = this.Request.Param; if (null != getLoadDeductSysNo) { LoadDeductInfo(); } }
void UCDeductList_Loaded(object sender, RoutedEventArgs e) { this.Loaded -= UCDeductList_Loaded; serviceFacade = new DeductFacade(CPApplication.Current.CurrentPage); this.dgDeductInfo.Bind(); }