public ExcelSolution(ExcelManager mgr) { m_name = "新Excel文件"; m_layouts = new List<ExcelXMLLayout>(10); m_mgr = mgr; }
private void cmbAllConfig_SelectedIndexChanged(object sender, EventArgs e) { DB.ExcelManager mgr_t = new DB.ExcelManager(); if (!mgr_t.Load("user\\" + cmbAllConfig.Text)) { MessageBox.Show(this, "配置加载失败", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } mgr = mgr_t; Util_BuildExcelTV(); tvExcel.ExpandAll(); Util_ShowLayout(); Util_ShowSolution(); }