Compare commits
3 Commits
1a5611cc60
...
8bc123ff85
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8bc123ff85 | ||
|
|
9b38adfd5f | ||
|
|
6558ac6512 |
@@ -6,7 +6,10 @@
|
||||
xmlns:local="clr-namespace:AutoBidder"
|
||||
xmlns:wv2="clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf"
|
||||
mc:Ignorable="d"
|
||||
Title="AutoBidder - Bidoo Auto Bid" Height="700" Width="1100" Background="#101219" Foreground="#E6EDF3">
|
||||
Title="AutoBidder - Bidoo Auto Bid"
|
||||
Height="700" Width="1100"
|
||||
MinHeight="600" MinWidth="900"
|
||||
Background="#101219" Foreground="#E6EDF3">
|
||||
<Window.Resources>
|
||||
<Style x:Key="PrimaryButtonStyle" TargetType="Button">
|
||||
<Setter Property="Foreground" Value="White" />
|
||||
@@ -67,6 +70,15 @@
|
||||
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||
<Setter Property="FontWeight" Value="SemiBold" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="AddressBarStyle" TargetType="TextBox">
|
||||
<Setter Property="Background" Value="#0B1220" />
|
||||
<Setter Property="Foreground" Value="#E6EDF3" />
|
||||
<Setter Property="BorderBrush" Value="#263143" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="Padding" Value="8,6" />
|
||||
<Setter Property="FontSize" Value="13" />
|
||||
</Style>
|
||||
</Window.Resources>
|
||||
|
||||
<Grid>
|
||||
@@ -84,26 +96,24 @@
|
||||
<RowDefinition Height="Auto" /> <!-- Pause -->
|
||||
<RowDefinition Height="Auto" /> <!-- Stop -->
|
||||
<RowDefinition Height="Auto" /> <!-- Back/Refresh/Clear -->
|
||||
<RowDefinition Height="Auto" /> <!-- Site -->
|
||||
<RowDefinition Height="Auto" /> <!-- Stats -->
|
||||
<RowDefinition Height="Auto" /> <!-- Settings -->
|
||||
<RowDefinition Height="Auto" /> <!-- Price -->
|
||||
<RowDefinition Height="Auto" /> <!-- Smart bid control -->
|
||||
<RowDefinition Height="Auto" /> <!-- Settings Row 1 -->
|
||||
<RowDefinition Height="Auto" /> <!-- Settings Row 2 -->
|
||||
<RowDefinition Height="Auto" /> <!-- Advanced timing control -->
|
||||
<RowDefinition Height="Auto" /> <!-- Bidders label -->
|
||||
<RowDefinition Height="Auto" /> <!-- Bidders label with clear button -->
|
||||
<RowDefinition Height="Auto" /> <!-- Bidders grid -->
|
||||
<RowDefinition Height="Auto" /> <!-- Log label -->
|
||||
<RowDefinition Height="Auto" /> <!-- Log label with clear button -->
|
||||
<RowDefinition Height="*" /> <!-- Log box expands -->
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Button x:Name="StartButton" Grid.Row="0" Style="{StaticResource StartButtonStyle}" Click="StartButton_Click" Margin="12,12,12,0">Avvia</Button>
|
||||
|
||||
<Button x:Name="PauseBidButton" Grid.Row="1" Style="{StaticResource PauseButtonStyle}" Click="PauseBidButton_Click" Margin="12,8,12,0">Pausa</Button>
|
||||
<Button x:Name="PauseBidButton" Grid.Row="1" Style="{StaticResource PauseButtonStyle}" Click="PauseBidButton_Click" Margin="12,6,12,0">Pausa</Button>
|
||||
|
||||
<Button x:Name="StopButton" Grid.Row="2" Style="{StaticResource StopButtonStyle}" Click="StopButton_Click" IsEnabled="False" Margin="12,8,12,0">Stop</Button>
|
||||
<Button x:Name="StopButton" Grid.Row="2" Style="{StaticResource StopButtonStyle}" Click="StopButton_Click" IsEnabled="False" Margin="12,6,12,0">Stop</Button>
|
||||
|
||||
<!-- Back / Refresh / ClearStats on same line -->
|
||||
<Grid Grid.Row="3" Margin="12,8,12,0">
|
||||
<Grid Grid.Row="3" Margin="12,6,12,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="8" />
|
||||
@@ -112,79 +122,124 @@
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Button x:Name="BackButton" Grid.Column="0" Style="{StaticResource RefreshButtonStyle}" Click="BackButton_Click" Height="40">Indietro</Button>
|
||||
<Button x:Name="RefreshButton" Grid.Column="2" Style="{StaticResource RefreshButtonStyle}" Click="RefreshButton_Click" Height="40">Aggiorna</Button>
|
||||
<Button x:Name="ClearStatsButton" Grid.Column="4" Style="{StaticResource RefreshButtonStyle}" Click="ClearStatsButton_Click" Height="40">Pulisci</Button>
|
||||
<Button x:Name="BackButton" Grid.Column="0" Style="{StaticResource RefreshButtonStyle}" Click="BackButton_Click" Height="36">Indietro</Button>
|
||||
<Button x:Name="RefreshButton" Grid.Column="2" Style="{StaticResource RefreshButtonStyle}" Click="RefreshButton_Click" Height="36">Aggiorna</Button>
|
||||
<Button x:Name="ClearStatsButton" Grid.Column="4" Style="{StaticResource RefreshButtonStyle}" Click="ClearStatsButton_Click" Height="36">Pulisci</Button>
|
||||
</Grid>
|
||||
|
||||
<StackPanel Grid.Row="4" Orientation="Vertical" Margin="12,12,12,0">
|
||||
<TextBlock Text="Sito:" />
|
||||
<TextBlock x:Name="SiteLinkText" Text="https://it.bidoo.com" TextWrapping="Wrap" FontWeight="Bold" />
|
||||
</StackPanel>
|
||||
<!-- Stats con prezzo corrente e Multi-Click -->
|
||||
<Grid Grid.Row="4" Margin="12,8,12,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<StackPanel Grid.Row="5" Orientation="Horizontal" Margin="12,8,12,0">
|
||||
<TextBlock Text="Auto-click:" Margin="0,0,8,0" />
|
||||
<TextBlock x:Name="ClickCountText" Text="0" FontWeight="Bold" Margin="0,0,12,0" />
|
||||
<TextBlock Text="Resets:" Margin="0,0,8,0" />
|
||||
<TextBlock x:Name="ResetCountText" Text="0" FontWeight="Bold" />
|
||||
<TextBlock Text="Prezzo corrente:" Margin="12,0,6,0" VerticalAlignment="Center" />
|
||||
<TextBlock x:Name="CurrentPriceText" Text="-" FontWeight="Bold" VerticalAlignment="Center" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Row="6" Orientation="Horizontal" Margin="12,8,12,0">
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock>Max Clicks</TextBlock>
|
||||
<TextBox x:Name="MaxClicksBox" Style="{StaticResource NumericBoxStyle}" Text="0" ToolTip="0 = nessun limite" TextChanged="MaxClicksBox_TextChanged" />
|
||||
<!-- Stats a sinistra -->
|
||||
<StackPanel Grid.Column="0" Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Auto-click:" Margin="0,0,8,0" />
|
||||
<TextBlock x:Name="ClickCountText" Text="0" FontWeight="Bold" Margin="0,0,16,0" />
|
||||
<TextBlock Text="Resets:" Margin="0,0,8,0" />
|
||||
<TextBlock x:Name="ResetCountText" Text="0" FontWeight="Bold" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" Margin="0,6,0,0">
|
||||
<TextBlock Text="Prezzo corrente:" Margin="0,0,8,0" VerticalAlignment="Center" />
|
||||
<TextBlock x:Name="CurrentPriceText" Text="-" FontWeight="Bold" FontSize="14" Foreground="#10B981" VerticalAlignment="Center" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Vertical" Margin="12,0,0,0">
|
||||
<TextBlock>Max Resets</TextBlock>
|
||||
<TextBox x:Name="MaxResetsBox" Style="{StaticResource NumericBoxStyle}" Text="0" ToolTip="0 = nessun limite" TextChanged="MaxResetsBox_TextChanged" />
|
||||
<!-- Multi-Click a destra -->
|
||||
<StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Center">
|
||||
<CheckBox x:Name="MultiClickCheckBox" IsChecked="False" VerticalAlignment="Center" ToolTip="Click multipli per maggiore affidabilità" />
|
||||
<TextBlock Text="Multi-Click" FontSize="11" Margin="6,0,0,0" VerticalAlignment="Center" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<!-- Move price as its own row under settings -->
|
||||
<StackPanel Grid.Row="7" Orientation="Horizontal" Margin="12,8,12,0">
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock>Min Price</TextBlock>
|
||||
<TextBox x:Name="MinPriceBox" Style="{StaticResource NumericBoxStyle}" Text="0" ToolTip="0 = nessun limite" TextChanged="MinPriceBox_TextChanged" />
|
||||
<!-- Settings Row 1: Max Clicks, Max Resets, Min Price, Max Price -->
|
||||
<Grid Grid.Row="5" Margin="12,8,12,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="8" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="8" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Max Clicks -->
|
||||
<StackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
|
||||
<TextBlock Text="Max Clicks" FontSize="11" />
|
||||
<TextBox x:Name="MaxClicksBox" Style="{StaticResource NumericBoxStyle}" Text="0" Width="Auto" ToolTip="0 = nessun limite" TextChanged="MaxClicksBox_TextChanged" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Vertical" Margin="12,0,0,0">
|
||||
<TextBlock>Max Price</TextBlock>
|
||||
<TextBox x:Name="MaxPriceBox" Style="{StaticResource NumericBoxStyle}" Text="0" ToolTip="0 = nessun limite" TextChanged="MaxPriceBox_TextChanged" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
<!-- 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>
|
||||
|
||||
<!-- 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" />
|
||||
<!-- Max Resets -->
|
||||
<StackPanel Grid.Row="0" Grid.Column="2" Orientation="Vertical">
|
||||
<TextBlock Text="Max Resets" FontSize="11" />
|
||||
<TextBox x:Name="MaxResetsBox" Style="{StaticResource NumericBoxStyle}" Text="0" Width="Auto" ToolTip="0 = nessun limite" TextChanged="MaxResetsBox_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" />
|
||||
<!-- Min Price -->
|
||||
<StackPanel Grid.Row="2" Grid.Column="0" Orientation="Vertical">
|
||||
<TextBlock Text="Min Price €" FontSize="11" />
|
||||
<TextBox x:Name="MinPriceBox" Style="{StaticResource NumericBoxStyle}" Text="0" Width="Auto" ToolTip="0 = nessun limite" TextChanged="MinPriceBox_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à" />
|
||||
<!-- Max Price -->
|
||||
<StackPanel Grid.Row="2" Grid.Column="2" Orientation="Vertical">
|
||||
<TextBlock Text="Max Price €" FontSize="11" />
|
||||
<TextBox x:Name="MaxPriceBox" Style="{StaticResource NumericBoxStyle}" Text="0" Width="Auto" ToolTip="0 = nessun limite" TextChanged="MaxPriceBox_TextChanged" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<TextBlock Grid.Row="10" Margin="12,12,12,6" Text="Elenco utenti (per numero puntate):" />
|
||||
<!-- Settings Row 2: Timer Click, Ritardo, Multi-Click -->
|
||||
<Grid Grid.Row="6" Margin="12,6,12,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="8" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="8" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<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">
|
||||
<!-- Timer Click -->
|
||||
<StackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
|
||||
<TextBlock Text="Timer Click" FontSize="11" />
|
||||
<TextBox x:Name="ClickTimerBox" Style="{StaticResource NumericBoxStyle}" Text="0" Width="Auto" ToolTip="Secondo del timer per il click (0-3)" TextChanged="ClickTimerBox_TextChanged" />
|
||||
</StackPanel>
|
||||
|
||||
<!-- Ritardo -->
|
||||
<StackPanel Grid.Row="0" Grid.Column="2" Orientation="Vertical">
|
||||
<TextBlock Text="Ritardo (ms)" FontSize="11" />
|
||||
<TextBox x:Name="ClickDelayBox" Style="{StaticResource NumericBoxStyle}" Text="100" Width="Auto" ToolTip="Ritardo aggiuntivo in millisecondi" TextChanged="ClickDelayBox_TextChanged" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<!-- Bidders section header with clear button -->
|
||||
<Grid Grid.Row="8" Margin="12,8,12,4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="Elenco utenti (per numero puntate)" VerticalAlignment="Center" FontSize="12" />
|
||||
<Button x:Name="ClearBiddersButton" Grid.Column="1" Content="Pulisci" Click="ClearBiddersButton_Click"
|
||||
Background="#0EA5E9" Foreground="White" Padding="24,6" BorderThickness="0"
|
||||
FontSize="12" MinWidth="80" Height="30" VerticalAlignment="Center" FontWeight="SemiBold">
|
||||
<Button.Template>
|
||||
<ControlTemplate TargetType="Button">
|
||||
<Border Background="{TemplateBinding Background}" CornerRadius="5" SnapsToDevicePixels="True">
|
||||
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Button.Template>
|
||||
</Button>
|
||||
</Grid>
|
||||
|
||||
<DataGrid x:Name="BiddersGrid" Grid.Row="9" Margin="12,0,12,0" AutoGenerateColumns="False" HeadersVisibility="Column" CanUserAddRows="False" IsReadOnly="True" Height="90" Background="#091018" RowBackground="#0B1220" AlternatingRowBackground="#081016" Foreground="#E6EDF3" GridLinesVisibility="None">
|
||||
<DataGrid.Resources>
|
||||
<Style TargetType="DataGridColumnHeader">
|
||||
<Setter Property="Background" Value="#0F1720" />
|
||||
@@ -203,18 +258,65 @@
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
|
||||
<TextBlock Grid.Row="12" Margin="12,12,12,6" Text="Log operazioni:" />
|
||||
<Grid Grid.Row="10" Margin="12,6,12,4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Column="0" Text="Log operazioni" VerticalAlignment="Center" FontSize="12" />
|
||||
<Button x:Name="ClearLogButton" Grid.Column="1" Content="Pulisci" Click="ClearLogButton_Click"
|
||||
Background="#0EA5E9" Foreground="White" Padding="24,6" BorderThickness="0"
|
||||
FontSize="12" MinWidth="80" Height="30" VerticalAlignment="Center" FontWeight="SemiBold">
|
||||
<Button.Template>
|
||||
<ControlTemplate TargetType="Button">
|
||||
<Border Background="{TemplateBinding Background}" CornerRadius="5" SnapsToDevicePixels="True">
|
||||
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Button.Template>
|
||||
</Button>
|
||||
</Grid>
|
||||
|
||||
<TextBox x:Name="LogBox" Grid.Row="13" Margin="12" IsReadOnly="True" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap" AcceptsReturn="True" Style="{StaticResource LogBoxStyle}" />
|
||||
<TextBox x:Name="LogBox" Grid.Row="11" Margin="12,0,12,12" IsReadOnly="True" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap" AcceptsReturn="True" Style="{StaticResource LogBoxStyle}" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- GridSplitter to allow resizing the left panel (only width) -->
|
||||
<GridSplitter Grid.Column="1" Width="6" HorizontalAlignment="Center" VerticalAlignment="Stretch" Background="#1f2937" ShowsPreview="True" ResizeDirection="Columns" ResizeBehavior="PreviousAndNext" Cursor="SizeWE" />
|
||||
|
||||
<!-- Right: webview -->
|
||||
<!-- Right: webview with address bar -->
|
||||
<Grid Grid.Column="2">
|
||||
<Border Margin="12" CornerRadius="8" Background="#0B1015">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Address bar -->
|
||||
<Grid Grid.Row="0" Margin="12,12,12,6">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<TextBox x:Name="AddressBar" Grid.Column="0" Style="{StaticResource AddressBarStyle}"
|
||||
Text="https://it.bidoo.com" KeyDown="AddressBar_KeyDown"
|
||||
ToolTip="Inserisci URL di Bidoo (es: https://it.bidoo.com/asta/...)" />
|
||||
|
||||
<Button x:Name="NavigateButton" Grid.Column="1" Content="Vai" Click="NavigateButton_Click"
|
||||
Background="#16A34A" Foreground="White" Padding="38,10" Margin="8,0,0,0"
|
||||
BorderThickness="0" FontWeight="Bold" FontSize="14" MinWidth="90">
|
||||
<Button.Template>
|
||||
<ControlTemplate TargetType="Button">
|
||||
<Border Background="{TemplateBinding Background}" CornerRadius="6" SnapsToDevicePixels="True">
|
||||
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Button.Template>
|
||||
</Button>
|
||||
</Grid>
|
||||
|
||||
<!-- WebView -->
|
||||
<Border Grid.Row="1" Margin="12,0,12,12" CornerRadius="8" Background="#0B1015">
|
||||
<wv2:WebView2 x:Name="webView" Source="https://it.bidoo.com" Margin="2" />
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -9,7 +9,7 @@
|
||||
<Identity
|
||||
Name="AutoBidder"
|
||||
Publisher="CN=balbo"
|
||||
Version="1.0.1.0" />
|
||||
Version="1.0.2.0" />
|
||||
|
||||
<Properties>
|
||||
<DisplayName>AutoBidder</DisplayName>
|
||||
|
||||
Reference in New Issue
Block a user