public AdminViewModel() { QLVCommand = new RelayCommand <object>((p) => { return(true); }, (p) => { QuanLyVideo wd = new QuanLyVideo(); wd.ShowDialog(); }); AccountCommand = new RelayCommand <object>((p) => { return(true); }, (p) => { AccountManagement wd = new AccountManagement(); wd.ShowDialog(); }); tkCommand = new RelayCommand <object>((p) => { return(true); }, (p) => { ThongKe wd = new ThongKe(); wd.ShowDialog(); }); }
public AdminViewModel() { QLVCommand = new RelayCommand <object>((p) => { return(true); }, (p) => { QuanLyVideo wd = new QuanLyVideo(); wd.ShowDialog(); }); AccountCommand = new RelayCommand <object>((p) => { return(true); }, (p) => { AccountManagement wd = new AccountManagement(); wd.ShowDialog(); }); QLTLCommand = new RelayCommand <object>((p) => { return(true); }, (p) => { QuanLyTheLoai wd = new QuanLyTheLoai(); wd.ShowDialog(); }); MainCommand = new RelayCommand <object>((p) => { return(true); }, (p) => { MainWindow wd = new MainWindow(); wd.ShowDialog(); }); TTCommand = new RelayCommand <object>((p) => { return(true); }, (p) => { QuanLyThanhToan wd = new QuanLyThanhToan(); wd.ShowDialog(); }); }