private void button2_Click(object sender, EventArgs e) { richTextBox1.AppendText("\n" + DateTime.Now + " ::- " + "Start split ..."); int count = int.Parse(textBox3.Text); XmlProcessorUtil.split(count, pList.productCollection, outputXmlLocation); richTextBox1.AppendText("\n" + DateTime.Now + " ::- " + "Split complete"); }
private void button4_Click(object sender, EventArgs e) { richTextBox1.AppendText("\n" + DateTime.Now + " ::- " + "Loading xml file.\n\nPlease wait ...\n"); List <ProductDetail> pl = XmlProcessorUtil.processXml(inputXmlFileName); richTextBox1.AppendText("\n" + DateTime.Now + " ::- " + "Loading Complete"); textBox2.Text = "" + pl.Count; pList.productCollection = pl; }