From 0ea5d40c7982dd24fc6c66eae83f8580b9b26748 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Tue, 24 Jan 2023 17:06:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8B=A5=E5=B9=B2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/MainWindow.xaml.cs | 7 +++- .../VPet-Simulator.Windows.csproj | 2 +- .../WinDesign/winGameSetting.xaml | 33 ++++++++++++------- .../WinDesign/winGameSetting.xaml.cs | 11 +++++++ .../WinDesign/winReport.xaml | 2 +- .../WinDesign/winReport.xaml.cs | 18 +++++----- 6 files changed, 50 insertions(+), 23 deletions(-) diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index 9999fb0..0744ec2 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -63,7 +63,10 @@ namespace VPet_Simulator.Windows } else Set = new Setting("Setting#VPET:|\n"); - + //this.Width = 400 * ZoomSlider.Value; + //this.Height = 450 * ZoomSlider.Value; + this.Height = 500 * Set.ZoomLevel; + this.Width = 500 * Set.ZoomLevel; InitializeComponent(); //不存在就关掉 @@ -145,6 +148,7 @@ namespace VPet_Simulator.Windows Main.SetLogicInterval((int)(Set.LogicInterval * 1000)); //加载图标 notifyIcon = new NotifyIcon(); + notifyIcon.Text = "虚拟桌宠模拟器"; ContextMenu m_menu; m_menu = new ContextMenu(); @@ -197,6 +201,7 @@ namespace VPet_Simulator.Windows { Save(); Main?.Dispose(); + notifyIcon.Visible = false; notifyIcon?.Dispose(); System.Environment.Exit(0); } diff --git a/VPet-Simulator.Windows/VPet-Simulator.Windows.csproj b/VPet-Simulator.Windows/VPet-Simulator.Windows.csproj index b38e268..ac6b825 100644 --- a/VPet-Simulator.Windows/VPet-Simulator.Windows.csproj +++ b/VPet-Simulator.Windows/VPet-Simulator.Windows.csproj @@ -37,7 +37,7 @@ true bin\x64\Debug\ - DEBUG;TRACE + TRACE;DEBUG;X64 full x64 7.3 diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml index 9752d29..221dfa0 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml @@ -484,18 +484,6 @@ 已通过Steam[uid]激活服务注册 - - 游戏策划 - UI&程序 - 动画绘制 - 开源项目 - 项目页面 - - Power By - exLB.net - - LBGame - 杨远洛里斯, 广大MOD作者 洛里斯杨远, トニーちゃん Git贡献名单 @@ -512,6 +500,27 @@ + + + 游戏策划 + UI&程序 + 动画绘制 + 开源项目 + 项目页面 + + Power By + exLB.net + + LBGame + + 相关链接 + 虚拟主播模拟器 + 相关群 + + diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs index 33929bc..50b4dad 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs @@ -482,6 +482,15 @@ namespace VPet_Simulator.Windows { Process.Start("https://www.exlb.net/"); } + private void VUP_Click(object sender, RoutedEventArgs e) + { + Process.Start("https://store.steampowered.com/app/1352140/_/"); + } + + private void Group_Click(object sender, RoutedEventArgs e) + { + Process.Start("https://jq.qq.com/?_wv=1027&k=zmeWNHyI"); + } #endregion private void sDesktopAlignment_Checked_1(object sender, RoutedEventArgs e) { @@ -525,5 +534,7 @@ namespace VPet_Simulator.Windows { mw.Main.SetMoveMode(mw.Set.AllowMove, mw.Set.SmartMove, mw.Set.SmartMoveInterval * 1000); } + + } } diff --git a/VPet-Simulator.Windows/WinDesign/winReport.xaml b/VPet-Simulator.Windows/WinDesign/winReport.xaml index 806ab20..bdb005a 100644 --- a/VPet-Simulator.Windows/WinDesign/winReport.xaml +++ b/VPet-Simulator.Windows/WinDesign/winReport.xaml @@ -38,7 +38,7 @@ -