private void 关于本软件ToolStripMenuItem_Click(object sender, EventArgs e) { FormAbout fa = new FormAbout(Resource.StringResouce.SoftName, UserClient.CurrentVersion, 2017, Resource.StringResouce.SoftCopyRight); fa.ShowDialog(); fa.Dispose(); }
private void TsmiClick(object sender, EventArgs e) { if (sender.Equals(tsmiExit)) { Application.Exit(); } else if (sender.Equals(tsmiAbout)) { FormAbout aboutForm = new FormAbout(); aboutForm.ShowDialog(); aboutForm.Dispose(); } else if (sender.Equals(TsmiSettings)) { FormOptions settingsForm = new FormOptions(); settingsForm.ShowDialog(); settingsForm.Dispose(); } }