在我的 wpf 應用程序中發生了一些奇怪的事情,我有一個主窗口,其中包含一些用戶可以在它們之間導航的頁面。該應用程序在我的 windows 10 操作系統上運行良好,但是當我在 windows server 2012 上運行它時,如果我在窗口大小上玩了一下,應用程序就會崩潰。這里的主窗口xaml:<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:fa="http://schemas.fontawesome.io/icons/" xmlns:local="clr-namespace:myApp" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" xmlns:UserControls="clr-namespace:myApp.View.UserControls" xmlns:Helpers="clr-namespace:myApp.Helpers" x:Class="myApp.MainWindow" mc:Ignorable="d" ResizeMode="CanResizeWithGrip" MinWidth="900" MinHeight="600" Background="#FFDEDEDE" Title="Preparatio Tool" Height="600" Width="900" Icon="..\Resources\S_icon.ico" Foreground="White" WindowStyle="None">
- 1 回答
- 0 關注
- 124 瀏覽
添加回答
舉報
0/150
提交
取消