private void btnUpdate_Click(object sender, EventArgs e) { DialogResult Diag = new DialogResult(); Diag = MessageBox.Show("With Shipment Document?", "Confirmation", MessageBoxButtons.YesNoCancel); if (Diag == DialogResult.Yes) { ParseComma(); UpdateTableSD(); } else if (Diag == DialogResult.No) { ParseComma(); WithoutSD(); } frm2.RefreshSD(); }
private void frmNDC_Load(object sender, EventArgs e) { frm1.RefreshSD(); RefreshListData(); }