public frmKh123(AccessData acc, string hoten, int userid, int mabv) { // // 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); } s_userid = hoten; i_userid = userid; i_mabv = mabv; this.Text += "//" + s_userid; // // TODO: Add any constructor code after InitializeComponent call // }
public frmVpkhoa_th(LibMedi.AccessData acc, string ngay, string mabn, long mavaovien, long maql, long 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 // }
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 // }
public Dsach_bn(string hoten, string namsinh) { InitializeComponent(); lan.Read_Language_to_Xml(this.Name.ToString(), this); lan.Changelanguage_to_English(this.Name.ToString(), this); if (m.bBogo) { tv.GanBogo(this, textBox111); } // b=acc; if (hoten != "") { b_hoten = hoten; int i = hoten.LastIndexOf(" "); b_ten = hoten.Substring(i + 1); b_hoten = hoten.Substring(0, i); b_namsinh = namsinh; txtHoten.Text = b_hoten; txtTen.Text = b_ten; txtnamsinh.Text = namsinh; } }