private void 设置MenuItem_Click(object sender, EventArgs e) { if (!isSttingsFormExist) { isSttingsFormExist = true; settingsForm.ShowDialog(); isSttingsFormExist = false; } else { settingsForm.Activate(); } }