private void 我的信息ToolStripMenuItem_Click(object sender, EventArgs e) { using (FormAccountDetails form = new FormAccountDetails()) { form.ShowDialog(); } }
private void MenuItem我的信息_Click(object sender, RoutedEventArgs e) { using (FormAccountDetails form = new FormAccountDetails(SoftUserPortrait)) { form.ShowDialog(); } }