1.编写程序在窗体上放置1个Text Box控件和4个Button控件。分别按下这4个按钮,可以把文本框的背景色分别设置为红色、蓝色、黑色和绿色。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Colors
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Redbutton_Click(object sender, EventArgs e)