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