private void 我的资料ToolStripMenuItem_Click(object sender, EventArgs e) { string detailInfo = login_account + ";" + myUsername + ";" + mySex + ";" + myState; Form detail = new Form_detailInfo(detailInfo); detail.ShowDialog(); }
private void rightMenu_showDetail_Click(object sender, EventArgs e) { //show detail string account = listView_friends.Items[listView_friends.SelectedIndices[0]].SubItems[2].Text; string detailInfo = getAccountDetail(account); Form detail = new Form_detailInfo(detailInfo); detail.ShowDialog(); }