public Roles() { InitializeComponent(); PageAnimation.SetObject(front, back); viewModel = new RolesViewModel(); this.Loaded += (s, e) => { this.DataContext = this.viewModel; }; }
public PhieuNhapThuocList() { InitializeComponent(); PageAnimation.SetObject(front, back); viewModel = new PhieuNhapThuocViewModel(); this.Loaded += (s, e) => { this.DataContext = this.viewModel; }; }
public AllCodeList() { InitializeComponent(); PageAnimation.SetObject(front, back); this.Loaded += (s, e) => { this.DataContext = new AllCodeViewModel(); }; }
public BaoCaoTonKho() { InitializeComponent(); PageAnimation.SetObject(front, back); this.Loaded += (s, e) => { this.DataContext = new QuanLyThuocTonKho(); }; }