c#-基础-1- 简单程序
1.创建project

image-20221110175704915
选择 WPF Application
2.改变背景颜色

image-20221110180220798
右下角properties下的Brush

image-20221110180321820
调节颜色

image-20221110180356317
3.添加组件
选择左侧toolbox,选择里面的 All WPF Controls

image-20221110180507649
添加完成

image-20221110180637484
4.给TextBox赋名

image-20221110180756504
5.给Button增加事件
点击,选中button

image-20221110180858819
点击右侧小闪电

image-20221110180934245
双击click

image-20221110181004203
添加信息

image-20221110181042058
6.运行程序

image-20221110181139645
点击一下按钮

image-20221110181213886