Esempio n. 1
0
 public UCDeductMaintain(string deductSysNo)
 {
     this.getLoadDeductSysNo = deductSysNo;
     InitializeComponent();
     deductVM      = new DeductQueryVM();
     serviceFacade = new DeductFacade(CPApplication.Current.CurrentPage);
     this.Loaded  += new RoutedEventHandler(UCDeductMaintain_Loaded);
 }
Esempio n. 2
0
        public override void OnPageLoad(object sender, EventArgs e)
        {
            deductQueryVM = new DeductQueryVM();
            deductFacade  = new DeductFacade(this);

            InitComBoxData();

            this.SearchCondition.DataContext = deductQueryVM;

            base.OnPageLoad(sender, e);
        }
Esempio n. 3
0
        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();
            }
        }
Esempio n. 4
0
 void UCDeductList_Loaded(object sender, RoutedEventArgs e)
 {
     this.Loaded  -= UCDeductList_Loaded;
     serviceFacade = new DeductFacade(CPApplication.Current.CurrentPage);
     this.dgDeductInfo.Bind();
 }