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 // }
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 // }