private void button2_Click(object sender, EventArgs e) { Finance childForm = new Finance(); childForm.TopLevel = true; childForm.Owner = this; childForm.Show(); }
public AddFinance(Finance prntForm, FinanceModel c = null) { InitializeComponent(); pForm = prntForm; finance = c; if (c != null) { initForm(); } }