摘要: 示例: <Window x:Class="MyWpf.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2021-10-24 23:14 安静点-- 阅读(66) 评论(0) 推荐(0)
摘要: 看下面代码: <Window x:Class="MyWpf.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winf 阅读全文
posted @ 2021-10-24 22:53 安静点-- 阅读(30) 评论(0) 推荐(0)
摘要: <Window x:Class="MyWpf.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/ 阅读全文
posted @ 2021-10-24 22:39 安静点-- 阅读(469) 评论(0) 推荐(0)
摘要: 1 阅读全文
posted @ 2021-10-24 21:28 安静点-- 阅读(31) 评论(0) 推荐(0)
摘要: X:Name 这个可以创建实例的引用变量。 比如下面代码: <Window x:Class="MyWpf.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://sch 阅读全文
posted @ 2021-10-24 20:44 安静点-- 阅读(41) 评论(0) 推荐(0)
摘要: 导入程序集和引用其中的空间名称 比如说做一个计算工资的组件,然后可以在程序中的其它地方也可以进行调用。 新建: 创建一个简单的计算工资的界面: <UserControl x:Class="MyControlLibrary.UserControl1" xmlns="http://schemas.mic 阅读全文
posted @ 2021-10-24 17:18 安静点-- 阅读(53) 评论(0) 推荐(0)