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