Example #1
0
 public frmReport(LibDuoc.AccessData acc, System.Data.DataTable ta, int _userid, string report, string s1, string s2, string s3, string s4, string s5, string s6, string s7, string s8, string s9, string s10)
 {
     InitializeComponent();
     d          = acc; dt = ta;
     c1         = s1; c2 = s2; c3 = s3; c4 = s4; c5 = s5;
     c6         = s6; c7 = s7; c8 = s8; c9 = s9; c10 = s10;
     ReportFile = report; this.Text = report;
     d_userid   = _userid;
 }
Example #2
0
 public frmReport(LibDuoc.AccessData acc, DataSet dset, int _userid, string mMsg, string report)
 {
     InitializeComponent();
     d          = acc;
     ds         = dset; bDs = true;
     msg        = mMsg;
     ReportFile = report;
     this.Text  = report;
     d_userid   = _userid;
 }
Example #3
0
 public frmReport(LibDuoc.AccessData acc, System.Data.DataTable ta, int _userid, string s1, string s2, string report)
 {
     InitializeComponent();
     d          = acc;
     dt         = ta;
     c1         = s1; c2 = s2;
     b_bienlai  = true;
     ReportFile = report;
     this.Text  = report;
     d_userid   = _userid;
 }
Example #4
0
 public frmReport(LibDuoc.AccessData acc, System.Data.DataTable ta, int _userid, string mMsg, string report, decimal soban)
 {
     InitializeComponent();
     dt          = ta; d = acc;
     msg         = mMsg;
     ReportFile  = report;
     this.Text   = report;
     banin.Value = soban;
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     d_userid = _userid;
 }
Example #5
0
 public frmTreoduyet(LibDuoc.AccessData acc, DataTable tkp, int iNhom, int iMakp, int iLoai, int iPhieu, string ngay, bool congdon, bool thua, string makho, bool tutrucchung, string mmyy)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     d      = acc; i_nhom = iNhom; i_makp = iMakp;
     i_loai = iLoai; i_phieu = iPhieu;
     dtkp   = tkp; bThua = thua; s_makho = makho; s_mmyy = mmyy;
     s_ngay = ngay; bCongdon = congdon; bTutrucchung = tutrucchung;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Example #6
0
 public frmDonthuoc_bacsy(LibDuoc.AccessData acc, int nhom)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     // Language lan = new Language(); Bogotiengviet tv = new Bogotiengviet(); private System.Windows.Forms.TextBox textBox111 = new System.Windows.Forms.TextBox();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     d = acc; i_nhom = nhom;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }
Example #7
0
        public frmDuocbv(LibDuoc.AccessData acc, int nhom, int userid)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            d = acc; i_nhom = nhom; i_userid = userid;

            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Example #8
0
        public rptChiphidon(LibDuoc.AccessData acc, int nhom, string kho, int madoituong)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            d      = acc;
            i_nhom = nhom; s_makho = kho; i_madoituong = madoituong;

            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Example #9
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;
 }
Example #10
0
        public frmThuhoi(LibDuoc.AccessData acc, DataTable dtl, DataTable dtc, DataTable kp, DataTable phieu, int imakp, int iphieu, string ngay, string mmyy, int nhom, int loai, bool buhaophi, bool thua, int thuoc, string makho, int userid)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            d       = acc;
            dtphieu = phieu; dtkp = kp; dtll = dtl; dtct = dtc;
            i_makp  = imakp; i_phieu = iphieu; bBuhaophi = buhaophi; bThua = thua; i_userid = userid;
            s_ngay  = ngay; s_mmyy = mmyy; i_nhom = nhom; i_loai = loai; i_thuoc = thuoc; s_makho = makho;

            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Example #11
0
        public frmTuden(LibDuoc.AccessData acc, DataTable tkp, DataTable tphieu, int iNhom, int iMakp, int iLoai, int iPhieu, string ngay, bool congdon, bool thua, string makho, string mmyy, int iuserid)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            d       = acc; i_nhom = iNhom; i_makp = iMakp; i_loai = iLoai;
            i_phieu = iPhieu; dtphieu = tphieu; dtkp = tkp; bThua = thua; s_makho = makho;
            s_ngay  = ngay; bCongdon = congdon; s_mmyy = mmyy;

            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            i_userid = iuserid;//gam 07/01/2011
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Example #12
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
     //
 }
Example #13
0
 public frmNhap_hepa(LibDuoc.AccessData acc, string loai, string mmyy, string ngay, int nhom, int userid, string kho, string title, bool ban, bool admin, string _manhom, int _khudt, int _chinhanh)
 {
     InitializeComponent();
     base.init();
     base.iNhom       = nhom;
     base.sManhom     = _manhom;
     base.sKho        = kho;
     base.iUserid     = userid;
     base.sMmyy       = mmyy;
     base.sNgay       = ngay;
     base.sLoai       = loai;
     base.bBan        = ban;
     base.b_Admin     = admin;
     base.sTitle      = title;
     base.iKhudt      = _khudt;
     base.iChinhanh   = _chinhanh;
     base.iSuasoluong = 60;
 }
Example #14
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
     //
 }
Example #15
0
 public frmDoiTuongBoDoi(LibMedi.AccessData acc, string s_mabn, string s_hoten, string s_tuoi, string s_diachi, decimal mavaovien, bool _xemlai)
 {
     //
     // 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);
     }
     d           = new LibDuoc.AccessData();
     mabn.Text   = s_mabn;
     hoten.Text  = s_hoten;
     tuoi.Text   = s_tuoi;
     diachi.Text = s_diachi;
     d_mavaovien = mavaovien;
     bxemlai     = _xemlai;
     //
     // TODO: Add any constructor code after InitializeComponent call
     //
 }