/// <summary> /// Handle close of the culture select window /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private static void OnCultureSelectWindowClosed(object sender, EventArgs e) { _cultureSelectWindow = null; }
/// <summary> /// Display the CultureSelectWindow to allow the user to select the UICulture /// </summary> private static void DisplayCultureSelectWindow() { if (_cultureSelectWindow == null) { _cultureSelectWindow = new CultureSelectWindow(); _cultureSelectWindow.Title = _cultureNotifyIcon.Text; _cultureSelectWindow.Closed += new EventHandler(OnCultureSelectWindowClosed); _cultureSelectWindow.Show(); } }