Exemple #1
0
 private void Form1_FormClosed(object sender, FormClosedEventArgs e)
 {
     //释放托盘
     GoldPrice.Dispose();
 }
Exemple #2
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     GoldPrice.Dispose();
 }
Exemple #3
0
 private void exitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     GoldPrice.Dispose();
     System.Environment.Exit(0);
 }