Пример #1
0
        private void _trayIcon_ExitOnClick(object sender, ExitOnClickEventArgs e)
        {
            var result = MessageBox.Show(_translation.GetMessageBoxExitText(), "AnAusAutomat", MessageBoxButtons.YesNo);

            if (result == DialogResult.Yes)
            {
                ApplicationExit?.Invoke(this, new ApplicationExitEventArgs(""));
            }
        }