public ObjectDataSourceWizardForm(IServiceProvider serviceProvider, ObjectDataSourceDesigner objectDataSourceDesigner) : base(serviceProvider)
 {
     base.Glyph = new Bitmap(typeof(SqlDataSourceWizardForm), "datasourcewizard.bmp");
     this._objectDataSourceDesigner = objectDataSourceDesigner;
     this._objectDataSource = (ObjectDataSource) this._objectDataSourceDesigner.Component;
     this.Text = System.Design.SR.GetString("ConfigureDataSource_Title", new object[] { this._objectDataSource.ID });
     ObjectDataSourceChooseTypePanel panel = new ObjectDataSourceChooseTypePanel(this._objectDataSourceDesigner);
     ObjectDataSourceChooseMethodsPanel panel2 = new ObjectDataSourceChooseMethodsPanel(this._objectDataSourceDesigner);
     base.SetPanels(new WizardPanel[] { panel, panel2 });
     this._parametersPanel = new ObjectDataSourceConfigureParametersPanel(this._objectDataSourceDesigner);
     base.RegisterPanel(this._parametersPanel);
     base.Size += new Size(0, 40);
     this.MinimumSize = base.Size;
 }
        public ObjectDataSourceWizardForm(IServiceProvider serviceProvider, ObjectDataSourceDesigner objectDataSourceDesigner) : base(serviceProvider)
        {
            base.Glyph = new Bitmap(typeof(SqlDataSourceWizardForm), "datasourcewizard.bmp");
            this._objectDataSourceDesigner = objectDataSourceDesigner;
            this._objectDataSource         = (ObjectDataSource)this._objectDataSourceDesigner.Component;
            this.Text = System.Design.SR.GetString("ConfigureDataSource_Title", new object[] { this._objectDataSource.ID });
            ObjectDataSourceChooseTypePanel    panel  = new ObjectDataSourceChooseTypePanel(this._objectDataSourceDesigner);
            ObjectDataSourceChooseMethodsPanel panel2 = new ObjectDataSourceChooseMethodsPanel(this._objectDataSourceDesigner);

            base.SetPanels(new WizardPanel[] { panel, panel2 });
            this._parametersPanel = new ObjectDataSourceConfigureParametersPanel(this._objectDataSourceDesigner);
            base.RegisterPanel(this._parametersPanel);
            base.Size       += new Size(0, 40);
            this.MinimumSize = base.Size;
        }