implemented auto reload from api #11
This commit is contained in:
parent
4ee53f2fda
commit
8a22d68fb2
@ -35,7 +35,7 @@
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="imagesFromAPI" serializeAs="String">
|
||||
<value>500</value>
|
||||
<value>100</value>
|
||||
</setting>
|
||||
</Mk0.Software.Bildduplikate.Properties.Settings>
|
||||
</userSettings>
|
||||
|
@ -255,13 +255,18 @@ namespace Mk0.Software.Bildduplikate
|
||||
}
|
||||
else
|
||||
{
|
||||
UIElementsVisible(false);
|
||||
if (api)
|
||||
{
|
||||
MessageBox.Show("Alle Duplikate von API abgearbeitet", "Fertig!", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
ButtonAPILoad_Click(null, null);
|
||||
if (Duplicates.Count > lineDup)
|
||||
{
|
||||
UIElementsVisible(false);
|
||||
MessageBox.Show("Alle Duplikate von API abgearbeitet", "Fertig!", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
UIElementsVisible(false);
|
||||
MessageBox.Show("Alle Duplikate in CSV abgearbeitet", "Fertig!", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ namespace Mk0.Software.Bildduplikate.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("500")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("100")]
|
||||
public int imagesFromAPI {
|
||||
get {
|
||||
return ((int)(this["imagesFromAPI"]));
|
||||
|
@ -27,7 +27,7 @@
|
||||
<Value Profile="(Default)">False</Value>
|
||||
</Setting>
|
||||
<Setting Name="imagesFromAPI" Type="System.Int32" Scope="User">
|
||||
<Value Profile="(Default)">500</Value>
|
||||
<Value Profile="(Default)">100</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
Loading…
Reference in New Issue
Block a user