用户管理 userms = new 用户管理(this); userms.Show(); }
private void 系统信息ToolStripMenuItem_Click(object sender, EventArgs e) {
系统信息 sysinfo = new 系统信息(this); sysinfo.Show(); }
private void 退出系统ToolStripMenuItem_Click(object sender, EventArgs e) {
if (MessageBox.Show("确实要退出系统吗?", "确定", MessageBoxButtons.YesNo) == DialogResult.Yes) {
this.Close(); } } }
}
用户管理模块:
using System;
using System.Collections.Generic; using http://www.77cn.com.cnponentModel; using System.Data; using System.Drawing; using System.Text;
using System.Windows.Forms; using System.Data.SqlClient; namespace 用户 {
public partial class 用户管理 : Form {
SqlDataAdapter thisAdapter;
DataSet thisDataSet = new DataSet(); public 用户管理(info parent) {
InitializeComponent(); this.MdiParent = parent; userload(); }
public void userload() {