Esempio n. 1
0
 //--linh
 public frmDsgiuong(LibMedi.AccessData acc, string _makp, int _madoituong, bool badmin)
 {
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this); tv.GanBogo(this, textBox111);
     m = acc; s_makp = _makp; i_madoituong = _madoituong;
 }//--end
 public frmChonchinhanhthuchiencls(LibMedi.AccessData _m, int _ichinhanh)
 {
     InitializeComponent();
     m             = _m;
     i_chinhanhtmp = _ichinhanh;
     s_user        = m.user;
 }
Esempio n. 3
0
 public frmReport(LibMedi.AccessData acc, DataSet dset, string report, string mabenhan, string khoa, string giuong, string soluutru, string mayt, string hoten, string ngaysinh, string tuoi, string gioitinh, string tennghenghiep, string manghenghiep, string tendantoc, string madantoc, string tenngoaikieu, string mangoaikieu,
                  string sonha, string thonpho, string xaphuong, string tenquanhuyen, string maquanhuyen, string tentinhthanh, string matinhthanh, string cholam, string madoituong, string ngaybhyt, string sothebhyt, string quanhe, string dienthoai, string thoigianbibong, string ngayvaovien, string tructiepvao, string noigioithieu, string lanvaovien,
                  string vaokhoa, string ngayvaokhoa, string songaydieutrivaokhoa, string chuyenkhoa1, string ngaychuyenkhoa1, string songaydieutrichuyenkhoa1, string chuyenkhoa2, string ngaychuyenkhoa2, string songaydieutrichuyenkhoa2, string chuyenkhoa3, string ngaychuyenkhoa3, string songaydieutrichuyenkhoa3, string chuyenvien,
                  string chuyenden, string ngayravien, string tinhtranglucravien, string tongngaydieutri, string chandoannoichuyen, string icdchandoannoichuyen, string chandoankhoakhambenhcapcuu, string icdchandoankhoakhambenhcapcuu, string chandoanvaokhoa, string icdchandoanvaokhoa, string cothuthuat, string cophauthuat, string chandoanravienbenhchinh,
                  string icdchandoanravienbenhchinh, string chandoanravienbenhkemtheo, string icdchandoanravienbenhkemtheo, string cotaibien, string cobienchung, string ketquadieutri, string giaiphaubenh, string ngaytuvong, string tinhtrangtuvong, string thoidiemtuvong, string nguyennhantuvong, string icdnguyennhantuvong, string cokhamnghiemtuthi,
                  string chandoantuthi, string icdchandoantuthi, string nguyennhantaibienbienchung, string tongsongaydieutrisauphauthuat, string tongsolanphauthuat, string chandoanravienbenhchinhnguyennhan, string icdchandoanravienbenhchinhnguyennhan, string chandoantruocphauthuat, string icdchandoantruocphauthuat, string chandoansauphauthuat, string icdchandoansauphauthuat, string tinhtrangphauthuat, string trinhdovanhoa, string hotenbo, string nghenghiepbo,
                  string trinhdovanhoabo, string hotenme, string nghenghiepme, string trinhdovanhoame, string ngaysinhme, string manghenghiepme, string delanmay, string ngaysinhbo, string manghenghiepbo, string nhommaume, string tienthai, string ngayde, string ngoithai, string cachthucde, string cokiemsoattucung, string kiemsoattucung, string phuongphapphauthuat, string loaithai,
                  string gioitinhtre, string treconsong, string trecoditat, string treditat, string trecannang, string chandoanvaokhoat, string chandoanvaokhoan, string chandoanvaokhoam, string chandoanvaokhoagiaidoan, string chandoanravienbenhchinht, string chandoanravienbenhchinhn, string chandoanravienbenhchinhm, string chandoanravienbenhchinhgiaidoan)
 {
     InitializeComponent();
     m               = acc;
     ds              = dset;
     ReportFile      = report;
     b_benhan        = true;
     MaBenhAn        = mabenhan; Khoa = khoa; Giuong = giuong; SoLuuTru = soluutru; MaYT = mayt; HoTen = hoten; NgaySinh = ngaysinh; Tuoi = tuoi; GioiTinh = gioitinh; TenNgheNghiep = tennghenghiep; MaNgheNghiep = manghenghiep; TenDanToc = tendantoc; MaDanToc = madantoc; TenNgoaiKieu = tenngoaikieu; MaNgoaiKieu = mangoaikieu;
     SoNha           = sonha; ThonPho = thonpho; XaPhuong = xaphuong; TenQuanHuyen = tenquanhuyen; MaQuanHuyen = maquanhuyen; TenTinhThanh = tentinhthanh; MaTinhThanh = matinhthanh; ChoLam = cholam; MaDoiTuong = madoituong; NgayBHYT = ngaybhyt; SoTheBHYT = sothebhyt; QuanHe = quanhe; DienThoai = dienthoai; ThoiGianBiBong = thoigianbibong; NgayVaoVien = ngayvaovien; TrucTiepVao = tructiepvao;
     NoiGioiThieu    = noigioithieu; LanVaoVien = lanvaovien; VaoKhoa = vaokhoa; NgayVaoKhoa = ngayvaokhoa; SoNgayDieuTriVaoKhoa = songaydieutrivaokhoa; ChuyenKhoa1 = chuyenkhoa1; NgayChuyenKhoa1 = ngaychuyenkhoa1; SoNgayDieuTriChuyenKhoa1 = songaydieutrichuyenkhoa1; ChuyenKhoa2 = chuyenkhoa2; NgayChuyenKhoa2 = ngaychuyenkhoa2; SoNgayDieuTriChuyenKhoa2 = songaydieutrichuyenkhoa2;
     ChuyenKhoa3     = chuyenkhoa3; NgayChuyenKhoa3 = ngaychuyenkhoa3; SoNgayDieuTriChuyenKhoa3 = songaydieutrichuyenkhoa3; ChuyenVien = chuyenvien; ChuyenDen = chuyenden; NgayRaVien = ngayravien; TinhTrangLucRaVien = tinhtranglucravien; TongNgayDieuTri = tongngaydieutri; ChanDoanNoiChuyen = chandoannoichuyen; ICDChanDoanNoiChuyen = icdchandoannoichuyen; ChanDoanKhoaKhamBenhCapCuu = chandoankhoakhambenhcapcuu; ICDChanDoanKhoaKhamBenhCapCuu = icdchandoankhoakhambenhcapcuu;
     ChanDoanVaoKhoa = chandoanvaokhoa; ICDChanDoanVaoKhoa = icdchandoanvaokhoa; CoThuThuat = cothuthuat; CoPhauThuat = cophauthuat; ChanDoanRaVienBenhChinh = chandoanravienbenhchinh; ICDChanDoanRaVienBenhChinh = icdchandoanravienbenhchinh; ChanDoanRaVienBenhKemTheo = chandoanravienbenhkemtheo; ICDChanDoanRaVienBenhKemTheo = icdchandoanravienbenhkemtheo; CoTaiBien = cotaibien; CoBienChung = cobienchung; KetQuaDieuTri = ketquadieutri; GiaiPhauBenh = giaiphaubenh; NgayTuVong = ngaytuvong;
     TinhTrangTuVong = tinhtrangtuvong; ThoiDiemTuVong = thoidiemtuvong; NguyenNhanTuVong = nguyennhantuvong; ICDNguyenNhanTuVong = icdnguyennhantuvong; CoKhamNghiemTuThi = cokhamnghiemtuthi; ChanDoanTuThi = chandoantuthi; ICDChanDoanTuThi = icdchandoantuthi; NguyenNhanTaiBienBienChung = nguyennhantaibienbienchung; TongSoNgayDieuTriSauPhauThuat = tongsongaydieutrisauphauthuat; TongSoLanPhauThuat = tongsolanphauthuat; ChanDoanRaVienBenhChinhNguyenNhan = chandoanravienbenhchinhnguyennhan;
     ICDChanDoanRaVienBenhChinhNguyenNhan = icdchandoanravienbenhchinhnguyennhan; ChanDoanTruocPhauThuat = chandoantruocphauthuat; ICDChanDoanTruocPhauThuat = icdchandoantruocphauthuat; ChanDoanSauPhauThuat = chandoansauphauthuat; ICDChanDoanSauPhauThuat = icdchandoansauphauthuat; TinhTrangPhauThuat = tinhtrangphauthuat; TrinhDoVanHoa = trinhdovanhoa; HoTenBo = hotenbo; NgheNghiepBo = nghenghiepbo; TrinhDoVanHoaBo = trinhdovanhoabo; HoTenMe = hotenme; NgheNghiepMe = nghenghiepme; TrinhDoVanHoaMe = trinhdovanhoame; NgaySinhMe = ngaysinhme; MaNgheNghiepMe = manghenghiepme; DeLanMay = delanmay; NgaySinhBo = ngaysinhbo;
     MaNgheNghiepBo           = manghenghiepbo; NhomMauMe = nhommaume; TienThai = tienthai; NgayDe = ngayde; NgoiThai = ngoithai; CachThucDe = cachthucde; CoKiemSoatTuCung = cokiemsoattucung; KiemSoatTuCung = kiemsoattucung; PhuongPhapPhauThuat = phuongphapphauthuat; LoaiThai = loaithai; GioiTinhTre = gioitinhtre; TreConSong = treconsong; TreCoDiTat = trecoditat; TreDiTat = treditat; TreCanNang = trecannang; ChanDoanVaoKhoaT = chandoanvaokhoat; ChanDoanVaoKhoaN = chandoanvaokhoan; ChanDoanVaoKhoaM = chandoanvaokhoam; ChanDoanVaoKhoaGiaiDoan = chandoanvaokhoagiaidoan;
     ChanDoanRaVienBenhChinhT = chandoanravienbenhchinht; ChanDoanRaVienBenhChinhN = chandoanravienbenhchinhn; ChanDoanRaVienBenhChinhM = chandoanravienbenhchinhm; ChanDoanRaVienBenhChinhGiaiDoan = chandoanravienbenhchinhgiaidoan;
     this.Text = report;
 }
Esempio n. 4
0
 public frmChonkham(LibMedi.AccessData acc, string makp, int userid)
 {
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = acc; s_makp = makp; i_userid = userid;
 }
Esempio n. 5
0
 public frmReport(LibMedi.AccessData acc, DataSet dset, string mMsg, string report)
 {
     InitializeComponent();
     m          = acc;
     ds         = dset;
     msg        = mMsg;
     ReportFile = report;
     this.Text  = report;
 }
Esempio n. 6
0
 public frmBieudo(AccessData acc)
 {
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = acc; if (m.bBogo)
     {
         tv.GanBogo(this, textBox111);
     }
 }
Esempio n. 7
0
 public frmXemdieutri(LibMedi.AccessData acc, decimal _idkhoa, string _ngayvv, string _ngayrv)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     m = acc; l_idkhoa = _idkhoa; s_ngayvv = _ngayvv; s_ngayrv = _ngayrv;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 8
0
 public frmTtkcb(string _makp)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     m = new AccessData(); s_makp = _makp;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 9
0
 public frmReport(LibMedi.AccessData acc, System.Data.DataTable ta, string report, string s1, string s2, string s3, string s4, string s5, string s6, string s7, string s8, string s9, string s10)
 {
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m          = acc; dt = ta; c1 = s1; c2 = s2;
     c3         = s3; c4 = s4; c5 = s5; c6 = s6;
     c7         = s7; c8 = s8; c9 = s9; c10 = s10;
     b_baohiem  = true;
     ReportFile = report;
     this.Text  = report;
 }
Esempio n. 10
0
        public frmCongnoMabn(LibMedi.AccessData acc, string _mabn, decimal _maql, string _tu, string _den)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            m = acc; mabn = _mabn; maql = _maql; tu = _tu.Substring(0, 10); den = _den.Substring(0, 10);

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Esempio n. 11
0
 public frmChiphiDT(string _makp, string _madoituong)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = new AccessData(); s_makp = _makp; s_madoituong = _madoituong;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 12
0
 public frmThuoc_ts_pttt()
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = new AccessData();
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 13
0
 public frmKhambenhchupctcocq(LibMedi.AccessData _m, string _mabn, decimal _mavaovien, decimal _maql, string _ngay, DataSet _ds, string _smaicd, int _iuserid)
 {
     InitializeComponent();
     m            = _m;
     s_mabn       = _mabn;
     l_mavaovien  = _mavaovien;
     l_maql       = _maql;
     s_ngay       = _ngay;
     ds_ctscanner = _ds;
     i_userid     = _iuserid;
     s_icd10      = _smaicd;
     s_user       = m.user;
 }
Esempio n. 14
0
 public frmChonthongso(LibMedi.AccessData acc, int thuoc, int loai, int benhnhan, string makp, bool thua, string _nhomkho, int i_UserID)
 {
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m      = acc; i_thuoc = thuoc; s_nhomkho = _nhomkho;
     i_loai = loai; i_benhnhan = benhnhan;
     s_makp = makp; bThua = thua; if (m.bBogo)
     {
         tv.GanBogo(this, textBox111);
     }
     this.iUserID = i_UserID;
 }
Esempio n. 15
0
 public frmTuchoi(LibMedi.AccessData acc, int userid)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = acc; i_userid = userid;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 16
0
        /// <summary>
        /// Required designer variable.
        /// </summary>

        public frmChonthongsotu(LibMedi.AccessData acc, string makp, int userid, int loaibn)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            m = acc; s_makp = makp; i_userid = userid; i_loaibn = loaibn;
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Esempio n. 17
0
 public frmDoichieu(LibMedi.AccessData acc, string makp)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = acc; s_makp = makp;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 18
0
 public frmTHSDThuoc(string makp, string _nhomkho)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     _makp = makp; s_nhomkho = _nhomkho;
     m     = new AccessData();
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 19
0
 public frmReport(LibMedi.AccessData acc, DataSet dset, string mMsg, string report, bool doc, int done)
 {
     InitializeComponent();
     m                       = acc;
     ds                      = dset;
     msg                     = mMsg;
     ReportFile              = report;
     bDoc                    = doc;
     this.Text               = report;
     Report.ShowPrintButton  = done == 0;
     butIn.Enabled           = done == 0;
     Report.ShowExportButton = done == 0;
     butExcel.Enabled        = done == 0;
 }
Esempio n. 20
0
        public frmCDVPCLS(LibMedi.AccessData acc, string makp, string title, string dk)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            m = acc; s_makp = makp; cont = dk;
            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            this.Text = lan.Change_language_MessageText(title);

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Esempio n. 21
0
        /// <summary>
        /// Required designer variable.
        /// </summary>

        public frmChonthongso(LibMedi.AccessData acc, int thuoc, int loai, int benhnhan, string makp, bool thua, string _nhomkho)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            m      = acc; i_thuoc = thuoc; s_nhomkho = _nhomkho;
            i_loai = loai; i_benhnhan = benhnhan;
            s_makp = makp; bThua = thua;
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Esempio n. 22
0
 public frmReport(LibMedi.AccessData acc, DataSet dset, string report, string s1, string s2, string s3, string s4, string s5, string s6)
 {
     InitializeComponent();
     m          = acc;
     ds         = dset;
     c1         = s1;
     c2         = s2;
     c3         = s3;
     c4         = s4;
     c5         = s5;
     c6         = s6;
     bia        = true;
     ReportFile = report;
     this.Text  = report;
 }
Esempio n. 23
0
 //Tu:25/05/2011
 public frmDiungthuoc(LibMedi.AccessData acc, string s_mabn, string s_hoten, string s_tuoi, string s_diachi, bool _badt)
 {
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = acc; if (m.bBogo)
     {
         tv.GanBogo(this, textBox111);
     }
     d           = new LibDuoc.AccessData();
     mabn.Text   = s_mabn;
     hoten.Text  = s_hoten;
     tuoi.Text   = s_tuoi;
     diachi.Text = s_diachi;
     bbadt       = _badt;
 }
Esempio n. 24
0
        /// <summary>
        /// Required designer variable.
        /// </summary>

        public frmChonkham(LibMedi.AccessData acc, string makp, int userid, int loaiba)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this); i_loaiba = loaiba;
            m = acc; s_makp = makp; i_userid = userid; if (m.bBogo)
            {
                tv.GanBogo(this, textBox111);
            }
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Esempio n. 25
0
 public frmDmbhyt(LibMedi.AccessData acc)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = acc; if (m.bBogo)
     {
         tv.GanBogo(this, textBox111);
     }
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 26
0
        private void tongcong(LibMedi.AccessData m, string exp, int ma, int k)
        {
            decimal l_tong = 0M;

            DataRow[] r1   = vds1.Tables[0].Select(exp);
            short     iRec = Convert.ToInt16(r1.Length);

            for (int j = k; j < vds1.Tables[0].Columns.Count; j++)
            {
                l_tong = 0M;
                for (short i = 0; i < iRec; i = (short)(i + 1))
                {
                    l_tong += decimal.Parse(r1[i][j].ToString());
                }
                updrec_145(vds1.Tables[0], ma, j, l_tong);
            }
        }
Esempio n. 27
0
 public frmDiungthuoc(LibMedi.AccessData acc, string s_mabn, string s_hoten, string s_tuoi, string s_diachi)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m           = acc;
     d           = new LibDuoc.AccessData();
     mabn.Text   = s_mabn;
     hoten.Text  = s_hoten;
     tuoi.Text   = s_tuoi;
     diachi.Text = s_diachi;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 28
0
 public frmChonvpk(LibMedi.AccessData acc, string mabn, string hoten, string tuoi, string ngay, string makp, string tenkp, int madoituong, decimal mavaovien, decimal maql, decimal idkhoa, int userid, string table, int buoi, string thebhyt)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = acc; if (m.bBogo)
     {
         tv.GanBogo(this, textBox111);
     }
     v            = new LibVienphi.AccessData(); i_buoi = buoi;
     s_mabn       = mabn; s_hoten = hoten; s_tuoi = tuoi; s_ngay = ngay; s_makp = makp; s_tenkp = tenkp; s_table = table; l_mavaovien = mavaovien;
     i_madoituong = madoituong; l_maql = maql; l_idkhoa = idkhoa; i_userid = userid; sothe.Text = thebhyt;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Esempio n. 29
0
 public frmReport(LibMedi.AccessData acc, DataSet dset, string mMsg, string report, int i01, int i02, int i03, int i04, int i05, int i06, int i07, int i08, int i09, int i10)
 {
     InitializeComponent();
     m          = acc;
     ds         = dset;
     msg        = mMsg;
     d01        = i01;
     d02        = i02;
     d03        = i03;
     d04        = i04;
     d05        = i05;
     d06        = i06;
     d07        = i07;
     d08        = i08;
     d09        = i09;
     d10        = i10;
     b_145      = true;
     ReportFile = report;
     this.Text  = report;
 }
Esempio n. 30
0
 public frmVpkhoa_th(LibMedi.AccessData acc, string ngay, string mabn, decimal mavaovien, decimal maql, decimal idkhoa, int kp, string makp, int userid, int madoituong, int buoi)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m = acc; if (m.bBogo)
     {
         tv.GanBogo(this, textBox111);
     }
     v        = new LibVienphi.AccessData();
     d        = new LibDuoc.AccessData();
     s_ngay   = ngay; s_mabn = mabn; o_madoituong = madoituong;
     l_maql   = maql; l_idkhoa = idkhoa; s_makp = makp; l_mavaovien = mavaovien;
     i_userid = userid; i_makp = kp; i_buoi = buoi;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }