private void BtnNewEgress_Click(object sender, EventArgs e) { action = "nuevoegreso"; frmNewCashMovement NWC = new frmNewCashMovement(action, this); NWC.ShowDialog(); }
public frmCategory(string action, frmNewCashMovement _owner) { InitializeComponent(); titulo = action; _category = new Category(); L = new Log(); action = ""; owner = _owner; }
private void BtnNewCategory_Click(object sender, EventArgs e) { if (chbIngress.Checked == true) { action3 = "catingresos"; frmNewCashMovement FNC = new frmNewCashMovement("", this); frmCategory FC = new frmCategory(action3, FNC); FC.ShowDialog(); } else { action3 = "categresos"; frmNewCashMovement FNC = new frmNewCashMovement("", this); frmCategory FC = new frmCategory(action3, FNC); FC.ShowDialog(); } }