public startup(Form parent_form, startup_step[] xStep, NavigationButtons.Navigation xnav, Icon xFormIconQuestion) { sbd = new SampleDB(); m_parent_form = parent_form; Step = xStep; nav = xnav; m_usrc_Startup = new usrc_Startup(this); nav.web_Help = m_usrc_Startup.usrc_web_Help1; m_FormIconQuestion = xFormIconQuestion; }
public void RemoveControl() { m_parent_form.Controls.Remove(m_usrc_Startup); m_usrc_Startup.Dispose(); m_usrc_Startup = null; }