Skip to content

Commit

Permalink
Add Reset all setting to their default button Fix #812
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorBanai committed Jan 9, 2021
1 parent b8b13cb commit 6ac4639
Show file tree
Hide file tree
Showing 9 changed files with 175 additions and 139 deletions.
2 changes: 1 addition & 1 deletion Analogy/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
<value>True</value>
</setting>
<setting name="FontSettings" serializeAs="String">
<value>{"GridFontSize":8.5,"FontName":"Tahoma","FontSize":8.25,"MenuFontName":"Segoe UI","MenuFontSize":12.0}</value>
<value />
</setting>
<setting name="RibbonStyle" serializeAs="String">
<value>0</value>
Expand Down
1 change: 1 addition & 0 deletions Analogy/CommonChangeLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public static IEnumerable<AnalogyChangeLog> GetChangeLog()
{
return new List<AnalogyChangeLog>
{
new AnalogyChangeLog("V4.4.1 - Add Reset all setting to their default button #812",AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2021,01,09)),
new AnalogyChangeLog("V4.4.1 - [UI] Make all elements in the log windows floatable #781",AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2021,01,02)),
new AnalogyChangeLog("V4.4.1 - Add button to go selected message in grid #729",AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2021,01,02)),
new AnalogyChangeLog("V4.4.1 - Add Import button to import existing logs into already loaded file #787",AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2021,01,01)),
Expand Down
3 changes: 2 additions & 1 deletion Analogy/DataTypes/DataTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ public class FontSettings

public FontSettings()
{
GridFontSize = 8.5f;
SetFontSelectionType(FontSelectionType.Default);
SetMenuFontSelectionType(FontSelectionType.Default);
SetMenuFontSelectionType(FontSelectionType.Normal);
}

public void SetFontSelectionType(FontSelectionType mode)
Expand Down
116 changes: 64 additions & 52 deletions Analogy/Forms/UserSettingsForm.Designer.cs

Large diffs are not rendered by default.

17 changes: 16 additions & 1 deletion Analogy/Forms/UserSettingsForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,21 @@ void logGrid_MouseDown(object sender, MouseEventArgs e)
}
private void SetupEventsHandlers()
{
sbtnResetSettings.Click += (s, e) =>
{
var result = XtraMessageBox.Show("Are you sure you want to reset all settings to their defaults", @"Reset settings", MessageBoxButtons.YesNo,
MessageBoxIcon.Information);
if (result == DialogResult.Yes)
{
var owner = this.Owner;
this.FormClosing -= UserSettingsForm_FormClosing;
Hide();
Close();
Settings.ResetSettings();
UserSettingsForm user = new UserSettingsForm();
user.ShowDialog(owner);
}
};
tsAutoComplete.IsOnChanged += (s, e) => { Settings.RememberLastSearches = tsAutoComplete.IsOn; };
nudAutoCompleteCount.ValueChanged += (s, e) =>
{
Expand Down Expand Up @@ -357,7 +372,7 @@ private void SaveSetting()
{
Settings.FontSettings.SetFontSelectionType(FontSelectionType.VeryLarge);
}

if (rbMenuFontSizeDefault.Checked)
{
Settings.FontSettings.SetMenuFontSelectionType(FontSelectionType.Default);
Expand Down
162 changes: 81 additions & 81 deletions Analogy/Forms/UserSettingsForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -162,16 +162,6 @@
IbDeRv026reGwHyDP7sNXxWid1FnsCyw65TVczaT4Z0a8Rca2Sn2zFLPzOn7vXr/H7l4EdhA9PMOAAAA
AElFTkSuQmCC
</value>
</data>
<data name="lblExplaination.Text" xml:space="preserve">
<value>All texts are using the same rules are the search window:
For text (include/exclude) use + for "and" and | for "Or" operations.
For source/modules use , as seperator and - for exclusion. for example: "test, -test2" wll exclude test 2 and wil show all that has text in them.</value>
</data>
<data name="label5.Text" xml:space="preserve">
<value>All texts are using the same rules are the search window:
For text (include/exclue) use + for "and" and | for "Or" operations.
For source/modules use , as seperator and - for exclusion. for example: "test, -test2" wll exclude test 2 and wil show all that has text in them.</value>
</data>
<data name="xtraTabPagePreDefined.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
Expand Down Expand Up @@ -379,77 +369,6 @@ For source/modules use , as seperator and - for exclusion. for example: "test, -
L/S2uU/Ab1iGg9sOjmvCDQOTVoXlVIRsK6AQdqVg4QkWWs2TVofn0+qtjC35FLwlj4KAzYxNfE03H6OV
HIEVYbkKoUcpcCNwhAK5/QtHwYYjtBxYnyP4KTj1PGvL1xD/muOnEe4kqhKAs1fBW6+Atxl4hsX9xv4D
V66B9LmnOSkAAAAASUVORK5CYII=
</value>
</data>
<data name="sBtnMoveUp.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAA90RVh0VGl0
bGUAVXA7QXJyb3c7yF4oFAAABsxJREFUWEfFlnlQVVUcxy+YSzVqaWrTTH9Y/zRNNfWHU6YVOmmrOuVW
tuiIOFqYwgNUkE0EXNLRAQxBDUFkeayyyL7IDspm7Pv62LfHA2Tp1+/3u/fRvUaO9od9Z75z7u++c36f
c37n3DNPAID/1TO+fJJWBo8nA5kfWXIeMxWBJNeQUsFFTS4RnPUORgcVCyeCSqiLgb1f/ganwGJQXcrY
gLGh1eVcwdI7W7DwyhZU2KqovZQlmHuK1kvOY6YikESw4ck/ZzTKYJ/LjYUuQcXtGu0YWP+e275d5f4c
vR+amBLIg5IHxkUf9MigcSw5j5mKQJITrlQO1UpGUbln2frmn08t64Aa3QTEFbXBQY90N3pPv+uh/exJ
of/+pGDqdpvGsuQ8ZioCSY43ihCIq5EZRXBDc/f4FW5RZVOakQnI7xuDJt04uAQWTu1xjViBv/MkCNqH
7h0Tvf9CGo1nyXnMVASS7K8XimCppGSU4VsffDnP5lpBUYVGC8X99yGjexRyesagpG0QTN3SSl992+hp
6qcH945OCj3ovedSaDxLzmOmIpB0zPeOuI9YRjKKVv+UxW/pZuqsBqjRjkN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jBLzmOmIhC3gA4MdZ6PXohehH7pa+toCMVTry+v3sciq8Emogqs0Z4ZLQzE/i+jX0A/j6ZD+CyaLyY5
j5mKQBR/BWiaCHkeevFGqygILupAYBXYSCaodXglHCWHVYJ7ejOs+VlNiZag6eARlHJM3wVyHjMVgaRN
h6OEojYtPfKhRC/63CISAu52iDD0kfAqOILQw6EV6EqwCqmEC/gZfrgviBItlsYZZDcOCqtNAvFRlJzH
TEUg6QuLCOFuyxAbRStYRPvql6+ZBlJrhbYMKQcLNbkCzuJnunpvICWi8vMEMhsGhPf3BOCjKDmPmYpA
EsKEguYhNooSLaa9vYaXjh7GbXA5qCSbB5XzBYQwSkRbwBPIqBsQVhrfwEdRch4zFYGkdQdDhbymITaK
J7DWVM2fmHlQGZgHo6lFm5EDy+AQ+iTeCyuNlRNIq+0X3tv9mBNYaxoi5ODeoabPgNFPavDGb5tWeQpv
PzJdTCdv4eVExjvhBBphlGh6C9Jq/sMEVuGhIaP0X8SCd3f6pNLqsJy8SrG9wUC5V/xwlf6B0udLZ8eA
4GS95DxmKoKZRZcTXaML0LSyZZJffMD0jkpPcP5HhP6H5DxmKoKZRVWgZLQiKitN5mGmftSfv/sHJecx
UxE8XJTwUf2vkvOY+eCLJ2sQ/gJv1yXMMTZttwAAAABJRU5ErkJggg==
</value>
</data>
<data name="sBtnMoveDown.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABF0RVh0VGl0
bGUARG93bjtBcnJvdzu9/IJYAAAHFklEQVRYR8WWaVAUVxDHH94HUdGK8YulleSDpcYyWsYkWsZoacUj
HkkZ4q0xYlAUPBEVFFjPEqNyClEiEmC5BTlkVUAFFOUUkEMBEUF2FwSRQ5F0untmk5mqeH1J/lX/2umZ
N/3r916/3RUA8L/6X2/+l1YHby+z1/i1UvKYqQpeLUrcR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LRWnpkasiBo+bssZq0NgSGT7alMz9Qvm82eoGHMHmUwiYpecxUBW8WFUANSd8N9I/H9M+H/4aj6flr
peQxUxW8nQhCpmajWXPTyX6jlDxmqoJ3kwn6VmCTlDwAEH8Bw46xpnnOmBcAAAAASUVORK5CYII=
</value>
</data>
<data name="xtraTabPageUpdates.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
Expand Down Expand Up @@ -536,6 +455,87 @@ For source/modules use , as seperator and - for exclusion. for example: "test, -
3dUmcQiiZ2AC9740nNu6wIXzprinCEz0NPm2YC6nVvt4AtwXcxwlfYSfJzERDKyLsbPsRGBtlZX4aQL7
scr6POt0bNWs3fJlf5jjYb6HZslp7cxslkIYCavKQ7ANy8atNtuv2X84wf0bGXQmFUwPzCsAAAAASUVO
RK5CYII=
</value>
</data>
<data name="lblExplaination.Text" xml:space="preserve">
<value>All texts are using the same rules are the search window:
For text (include/exclude) use + for "and" and | for "Or" operations.
For source/modules use , as seperator and - for exclusion. for example: "test, -test2" wll exclude test 2 and wil show all that has text in them.</value>
</data>
<data name="label5.Text" xml:space="preserve">
<value>All texts are using the same rules are the search window:
For text (include/exclue) use + for "and" and | for "Or" operations.
For source/modules use , as seperator and - for exclusion. for example: "test, -test2" wll exclude test 2 and wil show all that has text in them.</value>
</data>
<data name="sBtnMoveUp.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAA90RVh0VGl0
bGUAVXA7QXJyb3c7yF4oFAAABsxJREFUWEfFlnlQVVUcxy+YSzVqaWrTTH9Y/zRNNfWHU6YVOmmrOuVW
tuiIOFqYwgNUkE0EXNLRAQxBDUFkeayyyL7IDspm7Pv62LfHA2Tp1+/3u/fRvUaO9od9Z75z7u++c36f
c37n3DNPAID/1TO+fJJWBo8n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ecx
UxE8XJTwUf2vkvOY+eCLJ2sQ/gJv1yXMMTZttwAAAABJRU5ErkJggg==
</value>
</data>
<data name="sBtnMoveDown.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAABF0RVh0VGl0
bGUARG93bjtBcnJvdzu9/IJYAAAHFklEQVRYR8WWaVAUVxDHH94HUdGK8YulleSDpcYyWsYkWsZoacUj
HkkZ4q0xYlAUPBEVFFjPEqNyClEiEmC5BTlkVUAFFOUUkEMBEUF2FwSRQ5F0untmk5mqeH1J/lX/2umZ
N/3r916/3RUA8L/6X2/+l1YHby+z1/i1UvKYqQpeLUrcRXbXN5jGvLIQJY+ZqkDWwfB8cSCMnCf2o1Fd
NNrcxP3aXNBo89C54Boi2YWdAy7BOeAclA12nlcv4ngqxMzO65qw9ZRskpLHTFUga39onmh7+adoRaNo
Nl1dtTmAsexOaEE/61C7GY0wStSd3mt6/lI0om1OplIelpLHTFUgy1Wby3AEUUgFdN8XlAPG9peQ8riF
nVzTApfRlx49A111M1ysaoaChjawcU+lRD3RXRrbsQC09fEUysNS8pipCmQ5B+UInBEbRQX0cArMgrq2
l3Cl5hlcRuilR82Q9BDB6MQHTyG+sgnyjW1gfSKFEvVCd2lo7xD1bR3Cyu0K5WEpecxUBbL2BmYrC6Cm
6rkn4DbUtnYwlMFVT2XwU4grb4LY+42QpW8BK7dkStSb3jMi3NDaIdYc0VEelpLHTFUgC2EC91M0v/i7
gF4O/plQ0/KCoQk427iKJrhQ3ggxCD5/7wlElz6BzNpn8PMRHSXqg+ZGfNzyQqw6kISXkpQ8ZqoCSbTk
ZNOx64buY3/6JlQ1P0eoNNvzMjiqtAEiShogvLge0nFbEEaJ3kNTI5qOJZlyqnjMVAXSIHqpB5qWkWZi
jrbYeioDyhufQ3RZA0QiNJKhDRB2tx5Ci4wQUm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TVp5wXed+HRyjS2EbQreF
FsFWNC2/pWsSjPlWcxDHDZLHm8UWGkRMgUF8tuQMhpKUPGaqAllztkUL2juTUXwse5oPHDrDJrhoZ0g+
F7BFW8gFbPTPgglLvEu69+4/jMbR+PMIjkZH5uvFOEtfysFS8pipCmR9szlK6Eoa2Em4h7SPKGrI/iOn
b5i3cHdcJ22DbUgB7MBCpq0P6hw2YdkCfD4Azb96BI7IQ+fqxdhFPnhLkpLHTFUga4ZthKD9I8cVofET
RVtBjfXBxKXugatPXIfNIYVgeUAHI2dr6JwNkZ+bhSE0HK3NkTzmey+8LUnJY6YqkDXNJlxcKDSK2AIj
72HMHQPdpgL4WFoMHTN6qnWwYVNgPoy39DaaDx7xCd2Xn5tJ4DoRki159MJ3LGDq+lDxlXUYGj9/0Yop
60LRWnpkasiBo+bssZq0NgSGT7alMz9Qvm82eoGHMHmUwiYpecxUBW8WFUANSd8N9I/H9M+H/4aj6flr
peQxUxW8nQhCpmajWXPTyX6jlDxmqoJ3kwn6VmCTlDwAEH8Bw46xpnnOmBcAAAAASUVORK5CYII=
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
Expand Down
8 changes: 8 additions & 0 deletions Analogy/Managers/UserSettingsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,14 @@ public Image GetImage()
public IEnumerable<(Guid ID, string Path)> GetRecentFolders(Guid offlineAnalogyId) =>
RecentFolders.Where(itm => itm.ID == offlineAnalogyId);

public void ResetSettings()
{
Settings.Default.Reset();
Settings.Default.UpgradeRequired = false;
Settings.Default.Save();
ShowWhatIsNewAtStartup = true;
Load();
}
}

[Serializable]
Expand Down
3 changes: 1 addition & 2 deletions Analogy/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Analogy/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="FontSettings" Type="System.String" Scope="User">
<Value Profile="(Default)">{"GridFontSize":8.5,"FontName":"Tahoma","FontSize":8.25,"MenuFontName":"Segoe UI","MenuFontSize":12.0}</Value>
<Value Profile="(Default)" />
</Setting>
<Setting Name="RibbonStyle" Type="System.Int32" Scope="User">
<Value Profile="(Default)">0</Value>
Expand Down

0 comments on commit 6ac4639

Please sign in to comment.