随笔分类 -  C# / WPF

摘要:public partial class index : INotifyPropertyChanged { public index() { InitializeComponent(); DataContext = this; } private string _userName; public s 阅读全文
posted @ 2024-11-20 10:39 长安626 阅读(6) 评论(0) 推荐(0) 编辑
摘要:<Style x:Key="TransparentButton" TargetType="Button"> <Setter Property="Background" Value="Transparent"/> <Setter Property="BorderThickness" Value="0" 阅读全文
posted @ 2024-11-11 11:37 长安626 阅读(27) 评论(0) 推荐(0) 编辑
摘要:WindowStartupLocation="CenterScreen" 添加此段代码即可 阅读全文
posted @ 2024-10-07 16:50 长安626 阅读(41) 评论(0) 推荐(0) 编辑
摘要:在 App.xaml配置HandyControl,一个是皮肤资源,一个是主题资源 完整代码: ` <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDiction 阅读全文
posted @ 2024-08-28 13:49 长安626 阅读(55) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示