Refer to this video to complete the simple Program, just an interface of WinForm, flat design, without any other functions, can be used as a template to develop some simple Forms. The icon uses FontAwesome.Sharp . For more information, please visit my blog
It is just a WinForm interface.
-
Open the solution.
-
Add the nuget installation package in the package manager: FontAwesome.Sharp.
-
Generate the solution and run it.
-
Add your own functions on this basis.
-
To change the button icon, just change IconChar.
-
You can check the name of the icon in [fontawesome] (https://fontawesome.com/icons?d=gallery&m=free) and then change IconChar to make it faster.
- Click the button to change the icon color
- The form adaptively changes the size, the form supports dragging, maximize and minimize operation
- The child form is embedded in the panel in the main form
介绍 English
参考视频 https://youtu.be/K2lgEPdhGcg 完成的一个小程序,仅仅是一个界面,扁平化设计,没有任何其它功能,可作为开发一些简单窗体的模板。图标使用的是 FontAwesome.Sharp 。更多资讯请访问我的博客查阅
仅仅是一个 WinForm 窗体界面。
- 打开解决方案。
- 在包管理器中添加 nuget 安装包 : FontAwesome.Sharp 。
- 生成解决方案,运行即可。
- 在此基础上加入自己的功能。
- 更改按钮图标请更改 IconChar 即可。
- 可以在 fontawesome中查看图标的名称,然后更改 IconChar ,这样更加快捷。
-
点击按钮可改变图标颜色
-
窗体自适应更改大小,窗体支持拖动,最大化最小化操作
-
子窗体嵌入主窗体中的pannel