jojorne - 2018-10-03

Settings.Default.LSLEditorSize = base.Size;
Settings.Default.LSLEditorLocation = base.Location;

Settings.Default.Save();

if (base.IsMdiContainer)
{
e.Cancel = this.CancelClosing;
}
else
{
e.Cancel = !this.CloseAllOpenWindows();
}

// Close (aka Save) only if the FormClosing is not canceled and SolutionExplorer is not null or disposed
if (!e.Cancel && this.SolutionExplorer != null && !this.SolutionExplorer.IsDisposed)
{
this.SolutionExplorer.CloseSolution();
}

 

Last edit: jojorne 2018-10-03