private void buttonGetTaxResult_Click(object sender, EventArgs e) { formGetTaxResult frm = new formGetTaxResult(_getTaxResult); frm.Owner = this; frm.ShowDialog(); frm = null; }
private void buttonViewGetTaxResult_Click(object sender, EventArgs e) { if (gridResults.CurrentRowIndex >= 0) { GetTaxResult getTaxResult = _reconcileTaxHistoryResult.GetTaxResults[gridResults.CurrentRowIndex]; formGetTaxResult frm = new formGetTaxResult(getTaxResult); frm.Owner = this; frm.ShowDialog(); } }