Ejemplo n.º 1
0
        public frmSolien(LibVP.AccessData v_v, string v_userid)
        {
            try
            {
                InitializeComponent();
                lan.Read_Language_to_Xml(this.Name.ToString(), this);
                lan.Changelanguage_to_English(this.Name.ToString(), this);
                lan.Read_dtgrid_to_Xml(dataGridView1, this.Name + "_" + "dataGridView1");
                lan.Change_dtgrid_HeaderText_to_English(dataGridView1, this.Name + "_" + "dataGridView1");


                m_v      = v_v;
                m_userid = v_userid;
            }
            catch
            {
            }
        }
Ejemplo n.º 2
0
        public frmChondichvuVP_bcct()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

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

            //khởi tạo các biến toàn cục
            m_v = new LibVP.AccessData();
            f_load_history();
            f_LoadDMVienPhi();
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Ejemplo n.º 3
0
        //public frmHoantract(LibVP.AccessData v_v, string v_userid)
        //{
        //    try
        //    {
        //        InitializeComponent();
        //        lan.Read_Language_to_Xml(this.Name.ToString(), this);
        //        lan.Changelanguage_to_English(this.Name.ToString(), this);
        //        lan.Read_dtgrid_to_Xml(dataGridView1, this.Name + "_" + "dataGridView1");
        //        lan.Change_dtgrid_HeaderText_to_English(dataGridView1, this.Name + "_" + "dataGridView1");
        //        m_v = v_v;
        //        m_userid = v_userid;
        //    }
        //    catch
        //    {
        //    }
        //}

        public frmHoantract(LibVP.AccessData v_v, string v_userid, string v_mabn, string v_mavaovien, string ngay)
        {
            try
            {
                InitializeComponent();
                lan.Read_Language_to_Xml(this.Name.ToString(), this);
                lan.Changelanguage_to_English(this.Name.ToString(), this);
                lan.Read_dtgrid_to_Xml(dataGridView1, this.Name + "_" + "dataGridView1");
                lan.Change_dtgrid_HeaderText_to_English(dataGridView1, this.Name + "_" + "dataGridView1");
                m_v         = v_v;
                m_userid    = v_userid;
                m_mabn      = v_mabn;
                m_mavaovien = v_mavaovien;
                m_ngay      = ngay;
            }
            catch
            {
            }
        }
Ejemplo n.º 4
0
 public frmHoantamung(LibVP.AccessData v_v, string v_mabn, string v_maql, string v_tn, string v_dn, string s_mavaovien)
 {
     try
     {
         InitializeComponent();
         lan.Read_Language_to_Xml(this.Name.ToString(), this);
         lan.Changelanguage_to_English(this.Name.ToString(), this);
         lan.Read_dtgrid_to_Xml(dataGridView1, this.Name + "_" + "dataGridView1");
         lan.Change_dtgrid_HeaderText_to_English(dataGridView1, this.Name + "_" + "dataGridView1");
         m_v         = v_v;
         m_mabn      = v_mabn;
         m_maql      = v_maql;
         m_mavaovien = s_mavaovien;
         m_tn        = v_tn;
         m_dn        = v_dn;
     }
     catch
     {
     }
 }
Ejemplo n.º 5
0
 public frmEvent_new(LibVP.AccessData acc)
 {
     InitializeComponent();
     m_v = acc;
 }