1.项目创建
vs2022
.NET Framework 4.5/4.6/4.7/4.72/4.8
.NET Core 3.x
.NET 5/6/7
<Window x:Class="ModbusTest.MainWindow" 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:ModbusTest" mc:Ignorable="d" WindowStartupLocation="CenterScreen" FontSize="12" FontFamily="Microsoft YaHei" ResizeMode="NoResize" FontWeight="ExtraLight" Title="ModbusRTU学习套件测试程序" Height="650" Width="1200"> <WindowChrome.WindowChrome> <WindowChrome GlassFrameThickness="1" CaptionHeight="50"/> </WindowChrome.WindowChrome> <Grid> </Grid> </Window>
1.窗口处理
2.布局
3.控件调整
4.自定义控件
5.第三方控件
标签:控件,测试程序,Modbus,套件,讲解,NET From: https://www.cnblogs.com/ZJ-CN/p/17822729.html