Exemplo n.º 1
0
 private void barBtnAddPatient_ItemClick(object sender, ItemClickEventArgs e)
 {
     TabCreating(xtraTabControl_ManHinhChinh, "System", "HeThong", FrmSystem, 0);
     frmSystem_AddPatient_v2 FrmHeThong_QLNhom = new frmSystem_AddPatient_v2();
     TabCreating(FrmSystem.xtraTabControl_HeThong, "Patient management", "QLNhomNguoiDung", FrmHeThong_QLNhom, -1);
     FrmHeThong_QLNhom.Dock = DockStyle.Fill;
     FrmSystem.xtraTabControl_HeThong.SelectedTabPage.Image = imageCollection1.Images[1];
 }
Exemplo n.º 2
0
 private void frmMainForm_Load(object sender, EventArgs e)
 {
     NgayThangNamGio();
     TabCreating(xtraTabControl_ManHinhChinh, "System", "HeThong", FrmSystem, 0);
     frmSystem_AddPatient_v2 FrmHeThong_QLNhom = new frmSystem_AddPatient_v2();
     TabCreating(FrmSystem.xtraTabControl_HeThong, "Patient management", "QLNhomNguoiDung", FrmHeThong_QLNhom, -1);
     FrmHeThong_QLNhom.Dock = DockStyle.Fill;
     FrmSystem.xtraTabControl_HeThong.SelectedTabPage.Image = imageCollection1.Images[1];
 }