private void barBtnDSKH_ItemClick(object sender, ItemClickEventArgs e) { TabCreating(xtraTabControl_ManHinhChinh, "System", "HeThong", FrmSystem, 0); frmSystem_ListPatient FrmHeThong_QLNhom = new frmSystem_ListPatient(); TabCreating(FrmSystem.xtraTabControl_HeThong, "List of patients", "Listofpatients", FrmHeThong_QLNhom, -1); FrmHeThong_QLNhom.Dock = DockStyle.Fill; FrmSystem.xtraTabControl_HeThong.SelectedTabPage.Image = imageCollection1.Images[1]; }