private void toolStripButton5_Click(object sender, EventArgs e) { updata_taizhang up = new updata_taizhang(); up.ID1 = ID1; up.username = username; up.Show(); }
private void 修改台账ToolStripMenuItem_Click(object sender, EventArgs e) { if (select_ID != null) { updata_taizhang up = new updata_taizhang(); up.ID1 = select_ID; up.StartPosition = FormStartPosition.CenterScreen; up.username = username; up.Show(); } else { MessageBox.Show("未选择台账!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); } }