private void whjl_Click(object sender, EventArgs e) { add_weihujilu whjl = new add_weihujilu(); whjl.username = username; whjl.ID1 = ID1; whjl.StartPosition = FormStartPosition.CenterScreen; whjl.Show(); }
private void 新增维护记录ToolStripMenuItem_Click(object sender, EventArgs e) { add_weihujilu whjl = new add_weihujilu(); whjl.username = username; whjl.StartPosition = FormStartPosition.CenterScreen; whjl.ID1 = select_ID; whjl.Show(); }