예제 #1
0
 private void frmQuanLi_Load(object sender, EventArgs e)
 {
     //dataCongTac.SelectAll = true;
     dataCongTac.Update();
     dataCongTac.Refresh();
     dataCongTac.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
     dataCongTac.DataSource          = em.LoadDataLich();
 }
예제 #2
0
 private void frmLichCongTac_Load(object sender, EventArgs e)
 {
     gridViewLich.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
     gridViewLich.DataSource          = emloy.LoadDataLich(EmployeeManagement.UserID, list);
     //label1.Text = DateTime.Now.ToString();
 }