Exemplo n.º 1
0
 protected override void OnClosed(EventArgs e)
 {
     _settings.Bounds      = WindowState == FormWindowState.Normal ? Bounds : RestoreBounds;
     _settings.WindowState = WindowState;
     CrcsSettings.SaveSettingsFile(_settings);
     Settings.Default.Save();
     base.OnClosed(e);
     MessageEngine.DetachConsumer(outputWindow);
 }