资源简介
HandyControl是一套WPF控件库,它几乎重写了所有原生样式,同时包含80余款自定义控件
代码片段和文件信息
using System;
using System.Runtime.InteropServices;
using System.Threading;
using Microsoft.VisualStudio.Shell;
using Task = System.Threading.Tasks.Task;
namespace HandyControl_VS2019
{
///
/// This is the class that implements the package exposed by this assembly.
///
///
///
/// The minimum requirement for a class to be considered a valid package for Visual Studio
/// is to implement the IVsPackage interface and register itself with the shell.
/// This package uses the helper classes defined inside the Managed Package framework (MPF)
/// to do it: it derives from the Package class that provides the implementation of the
/// IVsPackage interface and uses the registration attributes defined in the framework to
/// register itself and its components with the shell. These attributes tell the pkgdef creation
/// utility what data to put into .pkgdef file.
///
///
/// To get loaded into VS the package must be referred by <Asset Type=“Microsoft.VisualStudio.VsPackage“ ...> in .vsixmanifest file.
///
///
[PackageRegistration(UseManagedResourcesOnly = true AllowsBackgroundLoading = true)]
[Guid(PackageGuidString)]
public sealed class HandyControl_VS2019Package : AsyncPackage
{
///
/// HandyControl_VS2019Package GUID string.
///
public const string PackageGuidString = “157ef242-83b5-47d0-8f2f-e21dc8308151“;
#region Package Members
///
/// Initialization of the package; this method is called right after the package is sited so this is the place
/// where you can put all the initialization code that rely on services provided by VisualStudio.
///
/// A cancellation token to monitor for initialization cancellation which can occur when VS is shutting down.
/// A provider for progress updates.
/// A task representing the async work of package initialization or an already completed task if there is none. Do not return null from this method.
protected override async Task InitializeAsync(CancellationToken cancellationToken IProgress progress)
{
// When initialized asynchronously the current thread may be a background thread at this point.
// Do any initialization that requires the UI thread after switching to the UI thread.
await this.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
}
#endregion
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2021-02-08 14:01 HandyControl-master\
文件 5801 2021-02-08 14:01 HandyControl-master\.editorconfig
文件 66 2021-02-08 14:01 HandyControl-master\.gitattributes
目录 0 2021-02-08 14:01 HandyControl-master\.github\
文件 724 2021-02-08 14:01 HandyControl-master\.github\FUNDING.yml
目录 0 2021-02-08 14:01 HandyControl-master\.github\ISSUE_TEMPLATE\
文件 664 2021-02-08 14:01 HandyControl-master\.github\ISSUE_TEMPLATE\bug_report.md
文件 453 2021-02-08 14:01 HandyControl-master\.github\ISSUE_TEMPLATE\config.yml
文件 126 2021-02-08 14:01 HandyControl-master\.github\ISSUE_TEMPLATE\custom.md
文件 612 2021-02-08 14:01 HandyControl-master\.github\ISSUE_TEMPLATE\feature_request.md
目录 0 2021-02-08 14:01 HandyControl-master\.github\workflows\
文件 448 2021-02-08 14:01 HandyControl-master\.github\workflows\build.yml
文件 2260 2021-02-08 14:01 HandyControl-master\.github\workflows\dotnet-format.yml
文件 208 2021-02-08 14:01 HandyControl-master\.gitignore
文件 3348 2021-02-08 14:01 HandyControl-master\CODE_OF_CONDUCT.md
目录 0 2021-02-08 14:01 HandyControl-master\Installers\
目录 0 2021-02-08 14:01 HandyControl-master\Installers\VS2019\
文件 2082 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019.sln
目录 0 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019\
文件 4904 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019\HandyControl_VS2019.csproj
文件 2734 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019\HandyControl_VS2019Package.cs
文件 1072 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019\License.txt
目录 0 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019\Properties\
文件 511 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019\Properties\AssemblyInfo.cs
文件 3575 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019\icon_100_100.png
文件 11083 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019\icon_300_300.png
文件 2275 2021-02-08 14:01 HandyControl-master\Installers\VS2019\HandyControl_VS2019\source.extension.vsixmanifest
目录 0 2021-02-08 14:01 HandyControl-master\Installers\VS2019\WpfApp\
文件 702 2021-02-08 14:01 HandyControl-master\Installers\VS2019\WpfApp\App.xaml
文件 76 2021-02-08 14:01 HandyControl-master\Installers\VS2019\WpfApp\App.xaml.cs
文件 629 2021-02-08 14:01 HandyControl-master\Installers\VS2019\WpfApp\AssemblyInfo.cs
............此处省略2185个文件信息
- 上一篇:C#计算异或和,ASCII码转十六进制
- 下一篇:WPF 隐蔽查看股票行情工具
相关资源
- C# 撤销与恢复功能实现(Command模式)
- 自定义UpDownControl
- 安卓和asp.net通过webservice上传图片到服
- WPF圆润的TabItem和TabControl
-
Pro C# 5.0 and the .NET 4.5 fr
amework - Winform通用经典快速开发CS框架-outloo
- 控件重绘 C# WinForm控件美化扩展系列之
- WPF.Util.Controls全套自定义样式
- Pro WPF and Silverlight MVVM Effective Applica
- Professional C# 7 and .NET Core 2.0 源码
-
Hands-On Typesc
ript for C# and .NET Core De - Building Enterprise Applications with WPF and
- PracticalWPFChartsandGraphics.rar
- asp.net与安卓交互项目
-
Visual C# and Databa
ses - 2321363LearnWPFMVVM-XAMLCandtheMVVMpattern.pdf
- Programming C# 8.0_ Build Cloud Web and Deskto
- 基于Handsontable的ASP.NET可编辑动态表格
- RibbonControl控件功能区控件
- WinForm第三方控件LiuZhenHong.Controls 2.0
- Chart Control :所有 35 种基本图表
- Halcon的HWindowControl控件在WinForm程序中
- TabControl重绘添加关闭按钮与Treeview导
- C#高级编程第11版(Professional C# 7 and
- Professional DevExpress ASP.NET Controls英文原
- C#与.NET3.5高级程序设计(第4版) 中文
- Dependency Injection Principles Practices and
- Professional C# 7 and .NET Core 2.0英文原版
- Professional C# 7 and .NET Core 2.0180299
- C# 8.0 and .NET Core 3.0 .pdf
评论
共有 条评论