public ImportWizardDialog(string filePath) { Assert(!string.IsNullOrWhiteSpace(filePath)); InitializeComponent(); m_filePath = filePath; m_configPage = new ConfigPage(filePath, this) { Parent = m_clientPanel, Dock = DockStyle.Fill }; m_previewPage = new PreviewPage(this) { Parent = m_clientPanel, Dock = DockStyle.Fill, Visible = false }; m_endPage = new EndPage { Parent = m_clientPanel, Dock = DockStyle.Fill, Visible = false }; }
public CountryProvider(PreviewPage owner) { m_owner = owner; m_dpCountries = AppContext.TableManager.Countries.RowProvider; }