forked from KSP-CKAN/CKAN
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request KSP-CKAN#60 from AlexanderDzhoganov/remember_windo…
…w_pos Remember window position + size on close
- Loading branch information
Showing
5 changed files
with
115 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<configuration> | ||
<configSections> | ||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > | ||
<section name="CKAN.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> | ||
</sectionGroup> | ||
</configSections> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> | ||
</startup> | ||
<runtime> | ||
<loadFromRemoteSources enabled="true" /> | ||
</runtime> | ||
<userSettings> | ||
<CKAN.Properties.Settings> | ||
<setting name="MainWindowPos" serializeAs="String"> | ||
<value>0, 0</value> | ||
</setting> | ||
<setting name="MainWindowSize" serializeAs="String"> | ||
<value>1024, 500</value> | ||
</setting> | ||
</CKAN.Properties.Settings> | ||
</userSettings> | ||
</configuration> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)"> | ||
<Profiles> | ||
<Profile Name="(Default)" /> | ||
</Profiles> | ||
<Settings /> | ||
</SettingsFile> | ||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="CKAN.Properties" GeneratedClassName="Settings"> | ||
<Profiles /> | ||
<Settings> | ||
<Setting Name="MainWindowPos" Type="System.Drawing.Point" Scope="User"> | ||
<Value Profile="(Default)">0, 0</Value> | ||
</Setting> | ||
<Setting Name="MainWindowSize" Type="System.Drawing.Size" Scope="User"> | ||
<Value Profile="(Default)">1024, 500</Value> | ||
</Setting> | ||
</Settings> | ||
</SettingsFile> |