public void import_excel(ref bool trang_thai_buoc_hien_tai)
 {
     m_txt_path = WinFormControls.openFileDialog();
     if (m_txt_path != "")
     {
         f322_lap_hop_dong_excel v_f = new f322_lap_hop_dong_excel();
         v_f.displayToInsertExcel(m_txt_path);
         trang_thai_buoc_hien_tai = true;
     }
     load_data_2_grid();
 }
        public void import_excel()
        {
            m_txt_path = WinFormControls.openFileDialog();
            if (m_txt_path != "")
            {
                f322_lap_hop_dong_excel v_f = new f322_lap_hop_dong_excel();
                v_f.displayToInsertExcel(m_txt_path);
            }
            load_data_2_grid();
            //OpenFileDialog openFileDialog1 = new OpenFileDialog();

            //// Set filter options and filter index.
            //openFileDialog1.Filter = "xlsx Files|*.xlsx|xls Files|*.xls|All Files (*.*)|*.*";
            //openFileDialog1.Multiselect = false;
            //var userClickedOK = openFileDialog1.ShowDialog();
            //if (userClickedOK == System.Windows.Forms.DialogResult.OK)
            //{
            //    m_txt_path = openFileDialog1.FileName;
            //    f322_lap_hop_dong_excel v_f = new f322_lap_hop_dong_excel();
            //    v_f.displayToInsertExcel(m_txt_path);
            //    // WinFormControls.load_xls_to_gridview(m_txt_path, m_grc);
            //}
            //load_data_2_grid();
        }