public void ShowMetainfoEditor() { try { OpenMetaInfoEditorCommand cmd = new OpenMetaInfoEditorCommand(); cmd.Execute(); ModelEdit frm = m_dbtoolsform; if (frm != null) { frm.Visible = true; frm.BringToFront(); return; } try { frm = new ModelEdit(); frm.Show(); m_dbtoolsform = frm; } catch { throw; } } catch (Exception ex) { MessageBox.Show(ex.Message, "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }