Miglioramenti UI e logica automazione, versione 1.0.1.0

- Aggiornamento alla versione 1.0.1.0.
- Migliorata la gestione del layout in `MainWindow.xaml`.
- Aggiunti controlli avanzati per timer e click multipli.
- Introdotte strategie multiple per click affidabili.
- Migliorata gestione di errori e timeout con log dettagliati.
- Aggiunto supporto per il recupero del nome utente dalla pagina.
- Aggiornati i metadati dell'app con nuovo nome e autore.
- Abilitata la firma del pacchetto e configurazioni di build.
- Ottimizzazioni generali per stabilità e responsività.
This commit is contained in:
Alberto Balbo
2025-10-02 09:34:35 +02:00
parent c910117171
commit 1a5611cc60
5 changed files with 1189 additions and 302 deletions

View File

@@ -71,9 +71,9 @@
<Grid> <Grid>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="360" MinWidth="220" /> <ColumnDefinition Width="1*" MinWidth="260" />
<ColumnDefinition Width="6" /> <ColumnDefinition Width="6" />
<ColumnDefinition Width="*" /> <ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<!-- Left panel: fixed height, resizable width --> <!-- Left panel: fixed height, resizable width -->
@@ -88,6 +88,8 @@
<RowDefinition Height="Auto" /> <!-- Stats --> <RowDefinition Height="Auto" /> <!-- Stats -->
<RowDefinition Height="Auto" /> <!-- Settings --> <RowDefinition Height="Auto" /> <!-- Settings -->
<RowDefinition Height="Auto" /> <!-- Price --> <RowDefinition Height="Auto" /> <!-- Price -->
<RowDefinition Height="Auto" /> <!-- Smart bid control -->
<RowDefinition Height="Auto" /> <!-- Advanced timing control -->
<RowDefinition Height="Auto" /> <!-- Bidders label --> <RowDefinition Height="Auto" /> <!-- Bidders label -->
<RowDefinition Height="Auto" /> <!-- Bidders grid --> <RowDefinition Height="Auto" /> <!-- Bidders grid -->
<RowDefinition Height="Auto" /> <!-- Log label --> <RowDefinition Height="Auto" /> <!-- Log label -->
@@ -154,9 +156,35 @@
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
<TextBlock Grid.Row="8" Margin="12,12,12,6" Text="Elenco scommettitori (per numero scommesse):" /> <!-- New row for Smart Bid Control -->
<StackPanel Grid.Row="8" Orientation="Horizontal" Margin="12,8,12,0">
<TextBlock Text="Controllo intelligente:" Margin="0,0,8,0" VerticalAlignment="Center" />
<CheckBox x:Name="SmartBidControlCheckBox" Content="Attivo" IsChecked="True" Margin="0,0,12,0" VerticalAlignment="Center" />
<TextBlock Text="Minima differenza prezzo:" Margin="12,0,6,0" VerticalAlignment="Center" />
<TextBox x:Name="MinPriceDifferenceBox" Style="{StaticResource NumericBoxStyle}" Text="0" ToolTip="0 = disabilitato" TextChanged="MinPriceDifferenceBox_TextChanged" />
</StackPanel>
<DataGrid x:Name="BiddersGrid" Grid.Row="9" Margin="12,0,12,0" AutoGenerateColumns="False" HeadersVisibility="Column" CanUserAddRows="False" IsReadOnly="True" Height="120" Background="#091018" RowBackground="#0B1220" AlternatingRowBackground="#081016" Foreground="#E6EDF3" GridLinesVisibility="None"> <!-- New row for Advanced Timing Control -->
<StackPanel Grid.Row="9" Orientation="Horizontal" Margin="12,8,12,0">
<StackPanel Orientation="Vertical">
<TextBlock>Timer Click</TextBlock>
<TextBox x:Name="ClickTimerBox" Style="{StaticResource NumericBoxStyle}" Text="1" ToolTip="Secondo del timer per il click (0-3)" TextChanged="ClickTimerBox_TextChanged" />
</StackPanel>
<StackPanel Orientation="Vertical" Margin="12,0,0,0">
<TextBlock>Ritardo (ms)</TextBlock>
<TextBox x:Name="ClickDelayBox" Style="{StaticResource NumericBoxStyle}" Text="200" ToolTip="Ritardo aggiuntivo in millisecondi" TextChanged="ClickDelayBox_TextChanged" />
</StackPanel>
<StackPanel Orientation="Vertical" Margin="12,0,0,0">
<TextBlock>Multi-Click</TextBlock>
<CheckBox x:Name="MultiClickCheckBox" Content="Attivo" IsChecked="False" Margin="0,6,0,0" VerticalAlignment="Center" ToolTip="Click multipli per maggiore affidabilità" />
</StackPanel>
</StackPanel>
<TextBlock Grid.Row="10" Margin="12,12,12,6" Text="Elenco utenti (per numero puntate):" />
<DataGrid x:Name="BiddersGrid" Grid.Row="11" Margin="12,0,12,0" AutoGenerateColumns="False" HeadersVisibility="Column" CanUserAddRows="False" IsReadOnly="True" Height="120" Background="#091018" RowBackground="#0B1220" AlternatingRowBackground="#081016" Foreground="#E6EDF3" GridLinesVisibility="None">
<DataGrid.Resources> <DataGrid.Resources>
<Style TargetType="DataGridColumnHeader"> <Style TargetType="DataGridColumnHeader">
<Setter Property="Background" Value="#0F1720" /> <Setter Property="Background" Value="#0F1720" />
@@ -175,9 +203,9 @@
</DataGrid.Columns> </DataGrid.Columns>
</DataGrid> </DataGrid>
<TextBlock Grid.Row="10" Margin="12,12,12,6" Text="Log operazioni:" /> <TextBlock Grid.Row="12" Margin="12,12,12,6" Text="Log operazioni:" />
<TextBox x:Name="LogBox" Grid.Row="11" Margin="12" IsReadOnly="True" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap" AcceptsReturn="True" Style="{StaticResource LogBoxStyle}" /> <TextBox x:Name="LogBox" Grid.Row="13" Margin="12" IsReadOnly="True" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap" AcceptsReturn="True" Style="{StaticResource LogBoxStyle}" />
</Grid> </Grid>
</Border> </Border>

File diff suppressed because it is too large Load Diff

View File

@@ -12,6 +12,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.3530-prerelease" /> <PackageReference Include="Microsoft.Web.WebView2" Version="1.0.3530-prerelease" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.6584" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -7,13 +7,13 @@
IgnorableNamespaces="uap rescap"> IgnorableNamespaces="uap rescap">
<Identity <Identity
Name="55384605-a0dd-4668-b437-24b02ffdb719" Name="AutoBidder"
Publisher="CN=balbo" Publisher="CN=balbo"
Version="1.0.0.0" /> Version="1.0.1.0" />
<Properties> <Properties>
<DisplayName>Template</DisplayName> <DisplayName>AutoBidder</DisplayName>
<PublisherDisplayName>balbo</PublisherDisplayName> <PublisherDisplayName>Alberto Balbo</PublisherDisplayName>
<Logo>Images\StoreLogo.png</Logo> <Logo>Images\StoreLogo.png</Logo>
</Properties> </Properties>
@@ -31,13 +31,16 @@
Executable="$targetnametoken$.exe" Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$"> EntryPoint="$targetentrypoint$">
<uap:VisualElements <uap:VisualElements
DisplayName="Template" DisplayName="AutoBidder"
Description="Template" Description="Programma per puntare nelle aste di Bidoo in automatico"
BackgroundColor="transparent" BackgroundColor="transparent"
Square150x150Logo="Images\Square150x150Logo.png" Square150x150Logo="Images\Square150x150Logo.png"
Square44x44Logo="Images\Square44x44Logo.png"> Square44x44Logo="Images\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" /> <uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" />
<uap:SplashScreen Image="Images\SplashScreen.png" /> <uap:SplashScreen Image="Images\SplashScreen.png" />
<uap:InitialRotationPreference>
<uap:Rotation Preference="landscape"/>
<uap:Rotation Preference="landscapeFlipped"/></uap:InitialRotationPreference>
</uap:VisualElements> </uap:VisualElements>
</Application> </Application>
</Applications> </Applications>

View File

@@ -54,9 +54,47 @@
<TargetPlatformVersion>10.0.26100.0</TargetPlatformVersion> <TargetPlatformVersion>10.0.26100.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion> <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<DefaultLanguage>it-IT</DefaultLanguage> <DefaultLanguage>it-IT</DefaultLanguage>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled> <AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<NoWarn>$(NoWarn);NU1702</NoWarn> <NoWarn>$(NoWarn);NU1702</NoWarn>
<EntryPointProjectUniqueName>..\Mimante\Mimante.csproj</EntryPointProjectUniqueName> <EntryPointProjectUniqueName>..\Mimante\Mimante.csproj</EntryPointProjectUniqueName>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<PackageCertificateThumbprint>D5FEC70BCE9E14BFEE2C9ABEFA81AA4FEE3A851A</PackageCertificateThumbprint>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
<AppxPackageDir>C:\Setup\</AppxPackageDir>
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<AppxBundlePlatforms>x86|x64|arm|arm64</AppxBundlePlatforms>
<HoursBetweenUpdateChecks>24</HoursBetweenUpdateChecks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<AppxManifest Include="Package.appxmanifest"> <AppxManifest Include="Package.appxmanifest">
@@ -71,10 +109,12 @@
<Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" /> <Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Images\StoreLogo.png" /> <Content Include="Images\StoreLogo.png" />
<Content Include="Images\Wide310x150Logo.scale-200.png" /> <Content Include="Images\Wide310x150Logo.scale-200.png" />
<None Include="Template_TemporaryKey.pfx" />
</ItemGroup> </ItemGroup>
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" /> <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" PrivateAssets="all" /> <PackageReference Include="Microsoft.Web.WebView2" Version="1.0.3530-prerelease" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.6584" PrivateAssets="all" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Mimante\Mimante.csproj" /> <ProjectReference Include="..\Mimante\Mimante.csproj" />