Save size of window and position of window at close. Oops. Had removed that on accident.
This commit is contained in:
		| @@ -1434,6 +1434,14 @@ namespace EduNetworkBuilder | |||||||
|         private void BuilderWindow_FormClosing(object sender, FormClosingEventArgs e) |         private void BuilderWindow_FormClosing(object sender, FormClosingEventArgs e) | ||||||
|         { |         { | ||||||
|             //The values in the settings are all up-to-date.  Just tell them to save. |             //The values in the settings are all up-to-date.  Just tell them to save. | ||||||
|  |             if (WindowState == FormWindowState.Normal) | ||||||
|  |             { | ||||||
|  |                 OurSettings.MainWindowHeight = Height; | ||||||
|  |                 OurSettings.MainWindowWidth = Width; | ||||||
|  |                 OurSettings.MainWindowX = Location.X; | ||||||
|  |                 OurSettings.MainWindowY = Location.Y; | ||||||
|  |             } | ||||||
|  |  | ||||||
|             OurSettings.Save(NB.IsRunningOnMono()); |             OurSettings.Save(NB.IsRunningOnMono()); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user