Ejemplo n.º 1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     dc = new QLKTXDataContext();
     xl = new CXulyHopdong();
     cmbManv.ItemsSource   = dc.NHANVIENs.ToList();
     dgHopdong.ItemsSource = xl.getDSHopdong();
 }
Ejemplo n.º 2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            dpNgaysinh.SelectedDate = DateTime.Now;
            xl = new CXulySinhvien();
            dc = new QLKTXDataContext();


            cmbMaphong.ItemsSource = dc.PHONGs.ToList();
            xl.kiemtra();
            dgDSSVDango.ItemsSource = xl.getDSSinhienViewDango();
            dgDSSVDao.ItemsSource   = xl.getDSSinhienViewDao();
        }
Ejemplo n.º 3
0
 public CTruycapdulieu()
 {
     dc = new QLKTXDataContext();
 }