Пример #1
0
 public WttSubcDtViewModel()
 {
     this.LoadedCommand = new DelegateCommand <object>(OnLoaded);
     this.SaveCommand   = new DelegateCommand <object>(OnSave);
     this.DeleteCommand = new DelegateCommand <object>(OnDelete);
     //행추가
     this.AddCommand = new DelegateCommand <object>(delegate(object obj) {
         WttSubcDt addrow = new WttSubcDt();
         GrdLst.Add(addrow);
         addrow.CHK = "Y";
     });
 }
Пример #2
0
 public PdjtStockViewModel()
 {
     this.LoadedCommand = new DelegateCommand <object>(OnLoaded);
     this.SaveCommand   = new DelegateCommand <object>(OnSave);
     this.DelCommand    = new DelegateCommand <object>(OnDelete);
     //행추가
     this.AddCommand = new DelegateCommand <object>(delegate(object obj) {
         PdjtInDtl addrow = new PdjtInDtl();
         GrdLst.Add(addrow);
         addrow.CHK = "Y";
     });
 }
Пример #3
0
        public PdjtHtViewModel()
        {
            this.LoadedCommand = new DelegateCommand <object>(OnLoaded);
            this.SaveCommand   = new DelegateCommand <object>(OnSave);
            this.DelCommand    = new DelegateCommand <object>(OnDelete);
            //행추가
            this.AddCommand = new DelegateCommand <object>(delegate(object obj) {
                PdjtHtDtl row = new PdjtHtDtl();
                row.SCL_NUM   = Convert.ToInt16(SCL_NUM);
                row.FTR_CDE   = FTR_CDE;
                row.FTR_IDN   = Convert.ToInt16(FTR_IDN);
                row.SEQ       = Convert.ToInt16(SEQ);

                GrdLst.Add(row);
                row.CHK = "Y";
            });
        }