How to create buttons in taskbar menu Windows 7 C#?

给你一囗甜甜゛ 提交于 2019-12-06 05:38:12

You should look at the Windows API Code Pack, this will give you what you require.

The feature is called 'Thumbnail Toolbar'. There are some icons you can use on your buttons in the SystemIcons class.

ThumbnailToolbarButton infoButton = new ThumbnailToolbarButton(SystemIcons.Information, "Information");
infoButton.Click += delegate {
    // Action
};

TaskbarManager.Instance.ThumbnailToolbars.AddButtons(this.Handle, infoButton);
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!