private void btnINUpdate_Click(object sender, EventArgs e) { if (inventory.SaveList(IL, "IN")) { frmReceviedReport f = new frmReceviedReport(); f.IRlist = IL; f.pn = comboBox1.Text; datalog.SubmiteLog("IN"); MessageBox.Show("Saved Successfully!", "Saved", MessageBoxButtons.OK, MessageBoxIcon.Information); f.ShowDialog(); btnINCIL_Click(sender, e); } }