private void receitaToolStripMenuItem_Click(object sender, EventArgs e) { FrmEntryExpenses form = new FrmEntryExpenses(EntryType.Revenue); form.FormClosed += Form_FormClosed; form.Show(); }
private void btnOpenEntries_Click(object sender, EventArgs e) { FrmEntries form = new FrmEntries(); if (form.ShowDialog(this) == DialogResult.OK) { FrmEntryExpenses frm = new FrmEntryExpenses(form.EntryType); frm.FormClosed += Form_FormClosed; frm.Show(); } }