Example #1
0
 private void btnQuyenNhanVien_Click(object sender, RoutedEventArgs e)
 {
     if (lvData.SelectedItems.Count > 0)
     {
         Data.QUYEN item             = (Data.QUYEN)lvData.SelectedItems[0];
         WindowThemQuyenNhanVien win = new WindowThemQuyenNhanVien(item, mTransit);
         win.ShowDialog();
     }
 }
 private void btnQuyenNhanVien_Click(object sender, RoutedEventArgs e)
 {
     if (lvData.SelectedItems.Count > 0)
     {
         Data.QUYEN item = (Data.QUYEN)lvData.SelectedItems[0];
         WindowThemQuyenNhanVien win = new WindowThemQuyenNhanVien(item, mTransit);
         win.ShowDialog();
     }
 }