private void bRoofing_Click(object sender, System.EventArgs e) { if (m_Roofing == null) { m_Roofing = new TheBox.Roofing.RoofingForm(); m_Roofing.Closed += new EventHandler(m_Roofing_Closed); } m_Roofing.Show(); }
private void m_Roofing_Closed(object sender, EventArgs e) { m_Roofing.Dispose(); m_Roofing = null; }
private void bRoofing_Click(object sender, System.EventArgs e) { if ( m_Roofing == null ) { m_Roofing = new TheBox.Roofing.RoofingForm(); m_Roofing.Closed += new EventHandler(m_Roofing_Closed); } m_Roofing.Show(); }
private void m_Roofing_Closed(object sender, EventArgs e) { m_Roofing.Dispose(); m_Roofing = null; }