//修改用户 private void tsmtUserChange_Click(object sender, EventArgs e) { userFrom puserFrom = new userFrom(); puserFrom.Text="修改用户"; puserFrom.ID = ID_m; puserFrom.ShowDialog(); }
//增加用户 private void tsmtUserCreate_Click(object sender, EventArgs e) { userFrom puserFrom = new userFrom(); puserFrom.Text = "添加用户"; puserFrom.ShowDialog(); }
//修改用户 private void tsmtUserChange_Click(object sender, EventArgs e) { userFrom puserFrom = new userFrom(); puserFrom.Text = "修改用户"; puserFrom.ID = ID_m; puserFrom.ShowDialog(); }