public Dialog_KhoaHOC(int type, String ma) { InitializeComponent(); this.khoaHocBLL = new KhoaHocBLL(); this.type = type; this.ma = ma; this.CenterToParent(); }
private void Form2_Load(object sender, EventArgs e) { GiangVienBLL gvb = new GiangVienBLL(); KhoaVienBLL kvb = new KhoaVienBLL(); KhoaHocBLL khb = new KhoaHocBLL(); DataSet kh = khb.SearchKH(); DataSet kv = kvb.SearchKV(); DataSet dt = gvb.SearchGV(); cboGiangVien.DataSource = dt.Tables[0]; cboGiangVien.DisplayMember = "INSTRUCTOR_NAME"; cboKhoaVien.DataSource = kv.Tables[0]; cboKhoaVien.DisplayMember = "DEPT_NAME"; cboKhoaHoc.DataSource = kh.Tables[0]; cboKhoaHoc.DisplayMember = "TITLE"; }
public GUI_KhoaHoc() { InitializeComponent(); this.khoaHocBLL = new KhoaHocBLL(); }
public Dialog_ThongTinKhoaHoc(String ma) { InitializeComponent(); this.khoaHocBLL = new KhoaHocBLL(); this.ma = ma; }