private void 注册ToolStripMenuItem_Click(object sender, EventArgs e) { // Form formRegistry = new Form(); // formRegistry.ShowDialog(); RegistryForm formRegistry = new RegistryForm(); formRegistry.ShowDialog(); }
private void buttonRegistry_Click(object sender, EventArgs e) { RegistryForm registryform = new RegistryForm(); registryform.ShowDialog(); }