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