Exemple #1
0
        public SellMedicine(User currentUser)
        {
            InitializeComponent();
            busUser = new BusUser();
            busThuoc = new BusThuoc();
            busBenhNhan = new BusBenhNhan();
            busHDX = new BusHDX();

            this.currentUser = currentUser;
            IDUser = currentUser.IDUser;

            this.ApplLoad();
        }
Exemple #2
0
 public QuanLy(User currentUser)
 {
     InitializeComponent();
     busUser = new BusUser();
     busSys = new BusSystem();
     busHDX = new BusHDX();
     busNT = new BusNhomThuoc();
     busThuoc = new BusThuoc();
     busNSX = new BusNSX();
     busDVT = new BusDVT();
     busNNP = new BusNPP();
     busHDN = new BusHDN();
     arrCTHDN = new ArrayList();
     this.currentUser = currentUser;
     IDUser = currentUser.IDUser;
 }
Exemple #3
0
        public ChiTietThuoc(Thuoc thuoc,int type)
        {
            this.thuocCurent = thuoc;
            this.type = type;
            busThuoc = new BusThuoc();
            busNT = new BusNhomThuoc();
            busNSX = new BusNSX();
            busDVT = new BusDVT();
            InitializeComponent();
            DanhSachNhomThuoc();
            DanhSachNSX();
            DanhSachDVT();
            DanhSachDongGoi();

            if (type == 2)
            {
                ViewForm();
                btn_ThemThuoc.Visible = false;
            }
            else
                btn_CapNhap.Visible = false;
            txt_TenThuoc.Focus();
            
        }