tStudents.Text += sInfo + "\r\n";Р lblMales.Text = "男生数:"+Person.males.ToString();Р lblFemales.Text = "女生数:" + Person.females.ToString();Р }Р }Р}Р(2)程序运行截图:Р4. 设计一个简单的Windows应用程序,实现本章实例3-13同样的功能;Р(1)程序源码:Рclass TestР {Р public int x;Р static public int y;Р public Test(int x)Р {Р this.x = x;Р }Р static Test()Р {Р y = 1;Р }Р }Рprivate void btnok_Click(object sender, EventArgs e)Р {Р Test t = new Test(1);Р lblshow.Text ="x="+ Convert.ToString(t.x) +','+"y="+Convert.ToString(Test.y)+"\n";Р t.x++;Р Test.y++;Р lblshow.Text += "x=" + Convert.ToString(t.x) + ',' + "y=" + Convert.ToString(Test.y)+"\n";Р t = new Test(0);Р lblshow.Text += "x=" + Convert.ToString(t.x) + ',' + "y=" + Convert.ToString(Test.y) + "\n";Р }Р(2)程序运行截图:Р三、实验小结(实验过程中遇到的问题与解决办法、实验的收获、体会等)Р Р四、教师评分Р实验过程Р30%Р实验结果Р30%Р实验报告Р40%Р总成绩