添加开机自启动

This commit is contained in:
liufei
2021-07-21 11:15:51 +08:00
parent 7bab664283
commit 81f3ad0fdc
12 changed files with 251 additions and 88 deletions

View File

@@ -103,6 +103,21 @@
/>
</hc:SideMenuItem.Icon>
</hc:SideMenuItem>
<hc:SideMenuItem Header="其它"
Tag="Other"
Selected="MemuClick">
<hc:SideMenuItem.Icon>
<Button Background="Transparent"
IsEnabled="False"
Opacity="1"
BorderThickness="0"
hc:IconElement.Geometry="{StaticResource Other}"
hc:IconElement.Height="18"
hc:IconElement.Width="18"
HorizontalAlignment="Right"
/>
</hc:SideMenuItem.Icon>
</hc:SideMenuItem>
</hc:SideMenu>
</hc:Card>
<hc:ScrollViewer Grid.Row="0" Grid.Column="1">

View File

@@ -18,6 +18,7 @@ namespace GeekDesk.Control.Windows
private static AboutControl about = new AboutControl();
private static ThemeControl theme = new ThemeControl();
private static MotionControl motion = new MotionControl();
private static OtherControl other = new OtherControl();
public MainWindow mainWindow;
private ConfigWindow(AppConfig appConfig, MainWindow mainWindow)
@@ -64,6 +65,9 @@ namespace GeekDesk.Control.Windows
case "Theme":
RightCard.Content = theme;
break;
case "Other":
RightCard.Content = other;
break;
default:
RightCard.Content = about;
break;