完整的子窗体Children2(用户密码修改窗体)的代码为:
<span style="font-size:18px;">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 WindowsForms
{
public partial class Children3 : Form
{
public Children3()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
Close();
}
}
}</span>
在登录学生信息管理系统主页面打开子窗体的界面为:
在文件中找到你所编写的程序,打开exe运行学生信息管理系统,检验是否与自己设计想象的有什么不同,不同的话进行修改调试,直到与自己预想的结果相吻合就可以了。
以上就是本文的全部内容,希望对大家的学习有所帮助。
注:相关教程知识阅读请移步到c#教程频道。











