private void Load_firstPageContent(ISmartSession smartSession) { _firstPageContent = new frmGeoCorrection(smartSession); // _firstPageContent.ProjectionFinished += new EventHandler(_firstPageContent_CorrectionFinished); _firstPageContent.Dock = DockStyle.Fill; this.Text = _firstPageContent.Text; this.Controls.Add(_firstPageContent); }
public new void Free() { if (_firstPageContent != null) { _firstPageContent.Free(); _firstPageContent = null; } if (_onWindowClosed != null) { _onWindowClosed(this, null); } }