Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisAnd1998 authored Mar 25, 2021
1 parent ddfd984 commit 00f762b
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 11 deletions.
39 changes: 30 additions & 9 deletions TaskbarX Configurator/TaskbarX Configurator/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,19 @@

<StackPanel Orientation="Horizontal" Grid.Row="1" Margin="0,0,0,0">
<emoji:TextBlock Text="🚥" Margin="0,0,0,0" FontSize="20" VerticalAlignment="Center" />
<TextBlock Text="Taskschedule" Margin="24,0,0,0" VerticalAlignment="Center" />
<TextBlock Text="Startup" Margin="24,0,0,0" VerticalAlignment="Center" />
</StackPanel>

<StackPanel Orientation="Horizontal" Grid.Row="1" Margin="0,0,0,0">
<emoji:TextBlock Text="⚙️" Margin="0,0,0,0" FontSize="20" VerticalAlignment="Center" />
<TextBlock Text="Extra" Margin="24,0,0,0" VerticalAlignment="Center" Width="36" />
</StackPanel>

<StackPanel Orientation="Horizontal" Grid.Row="1" Margin="0,0,0,0">
<emoji:TextBlock Text="🦾" Margin="0,0,0,0" FontSize="20" VerticalAlignment="Center" />
<TextBlock Text="Mechanics" Margin="24,0,0,0" VerticalAlignment="Center" Width="71" />
</StackPanel>

<StackPanel Orientation="Horizontal" Grid.Row="1" Margin="0,0,0,0">
<emoji:TextBlock Text="ℹ️" Margin="0,0,0,0" FontSize="20" VerticalAlignment="Center" />
<TextBlock Text="About" Margin="24,0,0,0" VerticalAlignment="Center" />
Expand All @@ -81,7 +86,7 @@
<RadioButton ToolTip="Make the taskbar background Acrylic/Fluent with a gradient color." x:Name="RadioButton4" Content="Acrylic (can flicker)" HorizontalAlignment="Left" Margin="11,274,0,0" VerticalAlignment="Top" Height="32" Width="151" />
<CheckBox ToolTip="Revert the taskbar to the default background when a window is maximized." x:Name="Checkbox10" Content="Switch back to Default on maximized window" HorizontalAlignment="Left" Margin="11,334,0,0" VerticalAlignment="Top" Width="364" Grid.ColumnSpan="2" Height="32" />
<Slider x:Name="sRed" HorizontalAlignment="Left" VerticalAlignment="Top" Width="255" Maximum="255" ValueChanged="Red_ValueChanged" Foreground="#FFD70000" Height="32" Margin="56,403,0,0" Grid.Column="1" />

<Rectangle x:Name="colorprev" Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="150" VerticalAlignment="Top" Width="150" Margin="11,400,0,0" />
<Slider x:Name="sGreen" HorizontalAlignment="Left" VerticalAlignment="Top" Width="255" Maximum="255" ValueChanged="Green_ValueChanged" Foreground="#FF29B01C" Height="32" Margin="56,440,0,0" Grid.Column="1" />
<Slider x:Name="sBlue" VerticalAlignment="Top" Maximum="255" ValueChanged="Blue_ValueChanged" Foreground="#FF0023FF" Height="32" Margin="56,477,184,0" Grid.Column="1" />
Expand Down Expand Up @@ -187,12 +192,7 @@
<CheckBox ToolTip="Only center the primary/default taskbar on your main monitor." x:Name="CheckBox2" Content="Only Center Primary Taskbar" HorizontalAlignment="Left" Margin="10,91,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="240" />
<CheckBox ToolTip="Only center the secondary taskbar(s) on your secondary monitor(s)." x:Name="CheckBox3" Content="Only Center Secondary Taskbar" HorizontalAlignment="Left" Margin="10,129,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="271" />
<CheckBox ToolTip="Do you have custom toolbars like NetSpeedMonitor? Enable this to update the toolbars position when the size of the tray changes." x:Name="CheckBox4" Content="Update Taskbar Toolbars" HorizontalAlignment="Left" Margin="10,166,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="252" IsChecked="True" />
<TextBlock HorizontalAlignment="Left" Margin="10,446,0,0" TextWrapping="Wrap" Text="Refresh Rate" VerticalAlignment="Top" Width="201" Grid.ColumnSpan="2" />
<ui:NumberBox ToolTip="TaskbarX uses a looper to detect changes in the taskbar. The delay is 400ms by default. Making it faster will make TaskbarX respond faster to a change but, will increase CPU Usage." x:Name="NumericUpDown3" Text="400" HorizontalAlignment="Left" Margin="10,468,0,0" VerticalAlignment="Top" Width="83" PreviewTextInput="NumberValidationTextBox" />
<TextBlock HorizontalAlignment="Left" Margin="98,476,0,0" TextWrapping="Wrap" Text="ms" VerticalAlignment="Top" Width="201" Grid.ColumnSpan="2" />
<TextBlock HorizontalAlignment="Left" Margin="10,520,0,0" TextWrapping="Wrap" Text="Refresh Rate OnBattery" VerticalAlignment="Top" Width="201" Grid.ColumnSpan="2" />
<ui:NumberBox ToolTip="Override the Refresh Rate when your laptop is running on battery." x:Name="NumericUpDown5" Text="400" HorizontalAlignment="Left" Margin="10,542,0,0" VerticalAlignment="Top" Width="83" PreviewTextInput="NumberValidationTextBox" />
<TextBlock HorizontalAlignment="Left" Margin="98,550,0,0" TextWrapping="Wrap" Text="ms" VerticalAlignment="Top" Width="201" Grid.ColumnSpan="2" />

<CheckBox ToolTip="Are you a gamer? Well MSAA may interfere with your game while playing. It can cause keyboard ghosting in some games. Enable this to Pause TaskbarX when you are running a game in fullscreen." x:Name="Checkbox9" Content="Pause looper when fullscreen app is running" HorizontalAlignment="Left" Margin="10,203,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" />
<CheckBox ToolTip="Hide the Primary Start button." Content="Hide Primary Start button" x:Name="Checkbox12" HorizontalAlignment="Left" Margin="10,240,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="252" />
<CheckBox ToolTip="Hide the Secondary Start button." Content="Hide Secondary Start button" HorizontalAlignment="Left" Margin="10,277,0,0" x:Name="Checkbox13" VerticalAlignment="Top" Grid.ColumnSpan="2" Width="240" />
Expand All @@ -203,6 +203,27 @@

</Grid>
</TabItem>
<TabItem>
<Grid Margin="0,0,0,-18">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="139*" />
<ColumnDefinition Width="457*" />
</Grid.ColumnDefinitions>
<TextBlock Text="Mechanics" FontSize="20" Margin="10,50,0,512" VerticalAlignment="Center" Height="32" Grid.ColumnSpan="2" />
<TextBlock HorizontalAlignment="Left" Margin="10,185,0,0" TextWrapping="Wrap" Text="Refresh Rate" VerticalAlignment="Top" Width="201" Grid.ColumnSpan="2" />
<ui:NumberBox ToolTip="TaskbarX uses a looper to detect changes in the taskbar. The delay is 400ms by default. Making it faster will make TaskbarX respond faster to a change but, will increase CPU Usage." x:Name="NumericUpDown3" Text="400" HorizontalAlignment="Left" Margin="10,207,0,0" VerticalAlignment="Top" Width="83" PreviewTextInput="NumberValidationTextBox" Minimum="100" />
<TextBlock HorizontalAlignment="Left" Margin="98,215,0,0" TextWrapping="Wrap" Text="ms" VerticalAlignment="Top" Width="201" Grid.ColumnSpan="2" />
<TextBlock HorizontalAlignment="Left" Margin="10,259,0,0" TextWrapping="Wrap" Text="Refresh Rate OnBattery" VerticalAlignment="Top" Width="201" Grid.ColumnSpan="2" />
<ui:NumberBox ToolTip="Override the Refresh Rate when your laptop is running on battery." x:Name="NumericUpDown5" Text="400" HorizontalAlignment="Left" Margin="10,281,0,0" VerticalAlignment="Top" Width="83" PreviewTextInput="NumberValidationTextBox" />
<TextBlock HorizontalAlignment="Left" Margin="98,289,0,0" TextWrapping="Wrap" Text="ms" VerticalAlignment="Top" Width="201" Grid.ColumnSpan="2" />

<emoji:TextBlock Text="🦾" Margin="442,58,10,479" FontSize="40" VerticalAlignment="Center" Grid.Column="1" Height="57" />
<RadioButton ToolTip="Use Microsoft Active Accessibility to retrieve data from the taskbar." Content="MSAA" HorizontalAlignment="Left" Margin="10,91,0,0" VerticalAlignment="Top" IsChecked="True" IsEnabled="False"/>
<RadioButton ToolTip="Use UI Automation to retrieve data from the taskbar." Content="UIAutomation" HorizontalAlignment="Left" Margin="10,128,0,0" VerticalAlignment="Top" IsEnabled="False"/>
<Button Content="?" Grid.Column="1" HorizontalAlignment="Left" Margin="10,107,0,0" VerticalAlignment="Top" Width="33" Click="Button_Click_14"/>

</Grid>
</TabItem>
<TabItem>
<Grid Margin="0,0,-27,16">
<Grid.ColumnDefinitions>
Expand All @@ -218,7 +239,7 @@
<TextBlock HorizontalAlignment="Left" FontWeight="Bold" Margin="10,347,0,0" TextWrapping="Wrap" Text="Reddit: " VerticalAlignment="Top" Width="129" Height="32" Grid.ColumnSpan="2" />
<TextBlock HorizontalAlignment="Left" FontWeight="Bold" Margin="10,245,0,0" TextWrapping="Wrap" Text="Bug Report: " VerticalAlignment="Top" Width="124" Height="32" />
<Image Grid.Column="1" HorizontalAlignment="Left" Height="32" Margin="476,128,0,0" VerticalAlignment="Top" Width="32" Source="Resources/Logo-2021-150.png" RenderTransformOrigin="1.037,1.32" />
<TextBox x:Name="versiontb" IsReadOnly="True" HorizontalAlignment="Left" Height="32" Margin="0,91,0,0" TextWrapping="Wrap" Text="1.6.7.0" VerticalAlignment="Top" Width="64" Grid.Column="1" />
<TextBox x:Name="versiontb" IsReadOnly="True" HorizontalAlignment="Left" Height="32" Margin="0,91,0,0" TextWrapping="Wrap" Text="1.6.8.0" VerticalAlignment="Top" Width="64" Grid.Column="1" />
<TextBox IsReadOnly="True" HorizontalAlignment="Left" Height="32" Margin="0,165,0,0" TextWrapping="Wrap" Text="https://chrisandriessen.nl/taskbarx" VerticalAlignment="Top" Width="447" Grid.Column="1" />
<TextBox IsReadOnly="True" HorizontalAlignment="Left" Height="32" Margin="0,128,0,0" TextWrapping="Wrap" Text="Chris Andriessen" VerticalAlignment="Top" Width="447" Grid.Column="1" />
<TextBox IsReadOnly="True" HorizontalAlignment="Left" Height="32" Margin="0,202,0,0" TextWrapping="Wrap" Text="https://github.com/ChrisAnd1998/TaskbarX" VerticalAlignment="Top" Width="447" Grid.Column="1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2256,4 +2256,8 @@ Class MainWindow
Dim val As Integer = CInt(tsop.Value)
tsopla.Text = CType(val, String) & "%"
End Sub

Private Sub Button_Click_14(sender As Object, e As RoutedEventArgs)
Process.Start("https://docs.microsoft.com/en-us/windows/win32/winauto/microsoft-active-accessibility-and-ui-automation-compared")
End Sub
End Class
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<AutorunEnabled>true</AutorunEnabled>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationRevision>2</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down Expand Up @@ -267,7 +267,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Emoji.Wpf">
<Version>0.2.5</Version>
<Version>0.3.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.Windows.SDK.Contracts">
<Version>10.0.19041.1</Version>
Expand Down

0 comments on commit 00f762b

Please sign in to comment.