Torna al Thread

private void WindowEvents_WindowClosing(object sender, System.ComponentModel.CancelEventArgs e) { MinimizeBox = false; DialogResult result; MessageBox.Show("Hello World. This a tray icon application. Bye!"); if (result == DialogResult.OK) {e.Cancel = true;} }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5