예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }
예제 #4
0
        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;
                    }