private void Frm_TableAttribute_FormClosed(object sender, FormClosedEventArgs e) { FrmQueryPipelineBySQL frm = new FrmQueryPipelineBySQL(globeControl1); frm = this.Owner as FrmQueryPipelineBySQL; if (frm != null) { if (!frm.Visible) { frm.Dispose(); frm.Close(); } } }
private void 管线高级查询ToolStripMenuItem_Click(object sender, EventArgs e) { FrmQueryPipelineBySQL sqlQuery = new FrmQueryPipelineBySQL(globeControl1); sqlQuery.Show(this); }