private void AddPagesToForm(SsdsDestinationForm form) { form.Text = @"SSDS Destination"; SsdsDestinationConnectionPage connPage = new SsdsDestinationConnectionPage(); connPage.ServiceProvider = this.ServiceProvider; this.HookupEvents(connPage); form.AddPage("Connection Manager", connPage); //add others pages... this.AddCloudDBChooseColumnsPage(form); }
private SsdsDestinationChooseColumnsPage AddCloudDBChooseColumnsPage(SsdsDestinationForm form, string pageName) { SsdsDestinationChooseColumnsPage page = new SsdsDestinationChooseColumnsPage(); //hook up events //... #region Hook up events for Choosing Columns page.GetAvailableColumns += new GetAvailableColumnsEventHandler(choosecolumnspage_GetAvailableColumns); page.GetSelectedInputOutputColumns += new GetSelectedInputOutputColumnsEventHandler(choosecolumnspage_GetSelectedInputOutputColumns); page.SetInputOutputColumns += new ChangeInputOutputColumnsEventHandler(choosecolumnspage_SetInputOutputColumns); page.DeleteInputOutputColumns += new ChangeInputOutputColumnsEventHandler(choosecolumnspage_DeleteInputOutputColumns); page.ChangeOutputColumnName += new ChangeOutputColumnNameEventHandler(choosecolumnspage_ChangeOutputColumnName); #endregion form.AddPage(pageName, page); return(page); }
private SsdsDestinationChooseColumnsPage AddCloudDBChooseColumnsPage(SsdsDestinationForm form, string pageName) { SsdsDestinationChooseColumnsPage page = new SsdsDestinationChooseColumnsPage(); //hook up events //... #region Hook up events for Choosing Columns page.GetAvailableColumns += new GetAvailableColumnsEventHandler(choosecolumnspage_GetAvailableColumns); page.GetSelectedInputOutputColumns += new GetSelectedInputOutputColumnsEventHandler(choosecolumnspage_GetSelectedInputOutputColumns); page.SetInputOutputColumns += new ChangeInputOutputColumnsEventHandler(choosecolumnspage_SetInputOutputColumns); page.DeleteInputOutputColumns += new ChangeInputOutputColumnsEventHandler(choosecolumnspage_DeleteInputOutputColumns); page.ChangeOutputColumnName += new ChangeOutputColumnNameEventHandler(choosecolumnspage_ChangeOutputColumnName); #endregion form.AddPage(pageName, page); return page; }