예제 #1
0
        private void quảnLýThểLoạiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            QuanLyTheLoai f = new QuanLyTheLoai();

            f.MdiParent = this;
            f.Show();
        }
예제 #2
0
        private void Button_Click_4(object sender, RoutedEventArgs e)
        {
            QuanLyTheLoai quanLyTheLoai = new QuanLyTheLoai();

            quanLyTheLoai.myEvent    += new EventHandler(OnClosedQuanLyTheLoaiWindow);
            BtQuanLyTheLoai.IsEnabled = false;
            quanLyTheLoai.Show();
        }
 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(); });
 }