Пример #1
0
        private void ultraExplorerBar1_ItemClick(object sender, Infragistics.Win.UltraWinExplorerBar.ItemEventArgs e)
        {
            keyoks = e.Item.Key;
            switch (e.Item.Key)
            {
            case "dontiep": frmDonTiep f1 = new frmDonTiep(); active("dontiep", f1); break;

            case "quantri": QuanTri f2 = new QuanTri(); active("quantri", f2); break;

            case "benhnhandv": frmBenhNhan_DV f3 = new frmBenhNhan_DV(); active("benhnhandv", f3); break;

            case "danhsachbn": frmDanhSachBN f4 = new frmDanhSachBN(); active("danhsachbn", f4); break;

            case "baocao": ChonBaoCao f5 = new ChonBaoCao(); active("baocao", f5); break;

            case "dichvu": frmDichVu f6 = new frmDichVu(); active("dichvu", f6); break;

            case "phong": frmPhong f7 = new frmPhong(); active("phong", f7); break;

            case "bacsi": frmBacSiGui f8 = new frmBacSiGui(); active("bacsi", f8); break;
            }
        }
Пример #2
0
 private void toolStripMenuItem3_Click(object sender, EventArgs e)
 {
     QuanTri f11 = new QuanTri(); active("quantri", f11);
 }
Пример #3
0
 private void ngườiDùngToolStripMenuItem_Click(object sender, EventArgs e)
 {
     QuanTri f2 = new QuanTri(); active("quantri", f2);
 }