- 点击新增按钮弹出新增小窗体,弹出样式效果如下:
新建窗口作为弹出,在XAML页面的样式代码如下:
<Window x:Class="WPF_Client.Views.SystemInformation.WD_InsertStaffAccountManage"
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:local="clr-namespace:WPF_Client.Views.SystemInformation"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Height="400" Width="560"
Style="{StaticResource NormalShadowWinStyle}">
<Window.Resources>
<Style x:Key="textBox" TargetType="{x:Type TextBox}">
<Setter Property="T