private void saveToolStripMenuItem_Click(object sender, EventArgs e) { Bank.WriteToXML(); }
private void BranchForm_FormClosing(object sender, FormClosingEventArgs e) { Bank.WriteToXML(); Application.Exit(); }