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