public FormMain() { InitializeComponent(); this.Text = string.Format("{0} installer", AppInfo.Name); MayClose = false; _config = new InstallConfig(); _navigator = new Navigator(this); _pages = new UserControl[3]; _pages[0] = new Pages.PageLocation(panelMain, _config, _navigator); _pages[1] = new Pages.PageOptions(panelMain, _config, _navigator); _pages[2] = new Pages.PageInstall(panelMain, _config, _navigator); _currentNavBorderPanel = borderPanelStepOne; _currentPage = _pages[0]; FocusStep(borderPanelStepOne, _pages[0]); }
public Installer(InstallConfig config) { _config = config; }