public FormAddAcc(FormCuentas parent) { InitializeComponent(); this.Icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath); this.parent = parent; con = new SQLiteConnector(); isEditing = false; }
public FormAddAcc(FormCuentas parent, string idUs, string accType) { InitializeComponent(); con = new SQLiteConnector(); idUser = idUs; this.parent = parent; isEditing = true; accountType = accType; fillFields(); }
private void cuentasToolStripMenuItem_Click(object sender, EventArgs e) { if (!isCuentasOpen) { isCuentasOpen = true; FormCuentas fc = new FormCuentas(this); fc.MdiParent = this; fc.Show(); } }