WPF 之自定义窗体

上传者: lijshuai | 上传时间: 2023-05-10 23:14:43 | 文件大小: 266KB | 文件类型: RAR

WPF自定义窗体源码(完全将WPF中Window拆开,重新定义);

项目分两部分:Florid-自定义窗体类库;FloridSamples-引用Florid类库实现自定义窗体;实现的功能:
重定义窗体样式;最小化、最大化、关闭按钮;窗体移动、改变大小;使用资源动态改变窗体风格(Silver/Black/Blue)等;

文件下载

资源详情

[{"title":"( 92 个子文件 266KB ) WPF 之自定义窗体","children":[{"title":"Florid","children":[{"title":"Florid.suo <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"Florid.sln <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"FloridSamples","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"Florid.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"FloridSamples.exe <span style='color:#111;'> 45.50KB </span>","children":null,"spread":false},{"title":"FloridSamples.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"FloridSamples.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"Florid.dll <span style='color:#111;'> 85.50KB </span>","children":null,"spread":false},{"title":"FloridSamples.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"MainWindow.g.cs <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false},{"title":"FloridSamples.exe <span style='color:#111;'> 45.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 16.18KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 13.39KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"FloridSamples.pdb <span style='color:#111;'> 33.50KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 4.65KB </span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"FloridSamples_MarkupCompile.cache <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"Window1.g.i.cs <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"FloridSamples_Content.g.i.cs <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"FloridSamples.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.21KB </span>","children":null,"spread":false},{"title":"App.baml <span style='color:#111;'> 788B </span>","children":null,"spread":false},{"title":"FloridSamples.g.resources <span style='color:#111;'> 36.49KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"FloridSamples_MarkupCompile.i.cache <span style='color:#111;'> 247B </span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 314B </span>","children":null,"spread":false},{"title":"FloridSamples.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"MainWindow.xaml <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"App.xaml <span style='color:#111;'> 648B </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"Images","children":[{"title":"TitleIcon.ico <span style='color:#111;'> 33.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"FloridSamples.csproj <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Florid","children":[{"title":"Florid.csproj <span style='color:#111;'> 5.65KB </span>","children":null,"spread":false},{"title":"Florid.csproj.user <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"FloridWindow.cs <span style='color:#111;'> 12.87KB </span>","children":null,"spread":false},{"title":"WindowHelper.cs <span style='color:#111;'> 8.47KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"Florid.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"Florid.dll <span style='color:#111;'> 85.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Florid_MarkupCompile.lref <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"Florid.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.i.cs <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"Florid_MarkupCompile.i.lref <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 5.63KB </span>","children":null,"spread":false},{"title":"Themes","children":[{"title":"Black.baml <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"Silver.baml <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"Office2010","children":[{"title":"Controls","children":[{"title":"FloridThumb.baml <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"FloridResizeGrip.baml <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"FloridButton.baml <span style='color:#111;'> 6.19KB </span>","children":null,"spread":false},{"title":"FloridWindow.baml <span style='color:#111;'> 8.48KB </span>","children":null,"spread":false}],"spread":false},{"title":"Colors","children":[{"title":"ColorsSilver.baml <span style='color:#111;'> 13.21KB </span>","children":null,"spread":false},{"title":"ColorsBlue.baml <span style='color:#111;'> 13.30KB </span>","children":null,"spread":false},{"title":"ColorsBlack.baml <span style='color:#111;'> 13.59KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Blue.baml <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false}],"spread":false},{"title":"Florid.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"Florid.g.resources <span style='color:#111;'> 65.00KB </span>","children":null,"spread":false},{"title":"Florid.dll <span style='color:#111;'> 85.50KB </span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"Florid_MarkupCompile.cache <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.12KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"Florid_MarkupCompile.i.cache <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"Florid.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"GeneratedInternalTypeHelper.g.cs <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Themes","children":[{"title":"Silver.xaml <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Blue.xaml <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Black.xaml <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Office2010","children":[{"title":"Controls","children":[{"title":"FloridThumb.xaml <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"FloridButton.xaml <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false},{"title":"FloridResizeGrip.xaml <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"FloridWindow.xaml <span style='color:#111;'> 12.33KB </span>","children":null,"spread":false}],"spread":false},{"title":"Colors","children":[{"title":"ColorsBlack.xaml <span style='color:#111;'> 14.11KB </span>","children":null,"spread":false},{"title":"ColorsBlue.xaml <span style='color:#111;'> 13.98KB </span>","children":null,"spread":false},{"title":"ColorsSilver.xaml <span style='color:#111;'> 14.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"Images","children":[{"title":"CaptionButtonMinimize.png <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"CaptionButtonClose.png <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"CaptionButtonNormalize.png <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"CaptionButtonMaximize.png <span style='color:#111;'> 238B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"IconConverter.cs <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明