private void ConvertTagXML() { for (int i = 0; i < listXLS.CheckedItems.Count; ++i) { ConvertXML convertXML = new ConvertXML(pgbCurrent, lbCurrent); convertXML.LoadXLS(listXLS.CheckedItems[i].Text); convertXML.ConvertTagXML(); } bReadyWork = false; }
private void btConvertNoneTagXML_Click(object sender, EventArgs e) { if (listXLS.CheckedItems.Count == 0) { MessageBox.Show("Check 1 more files!"); return; } for (int i = 0; i < listXLS.CheckedItems.Count; ++i) { ConvertXML convertXML = new ConvertXML(pgbCurrent, lbCurrent); convertXML.LoadXLS(listXLS.CheckedItems[i].Text); convertXML.ConvertNoneTagXML(); } }