示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._wizard = ((Xceed.Wpf.Toolkit.Wizard)(target));

            #line 11 "..\..\..\..\..\src\ReportWizard\Dialog\ReportWizard.xaml"
                this._wizard.Finish += new System.Windows.RoutedEventHandler(this._wizard_Finish);

            #line default
            #line hidden

            #line 13 "..\..\..\..\..\src\ReportWizard\Dialog\ReportWizard.xaml"
                this._wizard.Next += new Xceed.Wpf.Toolkit.Wizard.NextRoutedEventHandler(this._wizard_Next);

            #line default
            #line hidden
                return;

            case 2:
                this.WelcomePage = ((ICSharpCode.Reporting.Addin.ReportWizard.Dialog.WelcomePage)(target));
                return;

            case 3:
                this.BaseSettingsPage = ((ICSharpCode.Reporting.Addin.ReportWizard.Dialog.BaseSettingsPage)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WizardWindow = ((Xceed.Wpf.Toolkit.Wizard)(target));

            #line 13 "..\..\RefillDBWizard.xaml"
                this.WizardWindow.Next += new Xceed.Wpf.Toolkit.Wizard.NextRoutedEventHandler(this.Wizard_Next);

            #line default
            #line hidden
                return;

            case 2:
                this.IntroPage = ((Xceed.Wpf.Toolkit.WizardPage)(target));
                return;

            case 3:
                this.Page1 = ((Xceed.Wpf.Toolkit.WizardPage)(target));
                return;

            case 4:
                this.CostOfWaterTextBox = ((System.Windows.Controls.TextBox)(target));

            #line 37 "..\..\RefillDBWizard.xaml"
                this.CostOfWaterTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.CostOfWaterTextBox_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.Page2 = ((Xceed.Wpf.Toolkit.WizardPage)(target));
                return;

            case 6:
                this.AuthorOfCottageTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.SquareTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.AddCottagerButton = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\RefillDBWizard.xaml"
                this.AddCottagerButton.Click += new System.Windows.RoutedEventHandler(this.AddCottagerButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.AuthorsDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 10:

            #line 76 "..\..\RefillDBWizard.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteCottagerFromList_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.Page3 = ((Xceed.Wpf.Toolkit.WizardPage)(target));
                return;

            case 12:
                this.DeleteAllFromTablesCheckBox = ((System.Windows.Controls.CheckBox)(target));

            #line 100 "..\..\RefillDBWizard.xaml"
                this.DeleteAllFromTablesCheckBox.Checked += new System.Windows.RoutedEventHandler(this.DeleteAllFromTablesCheckBox_Checked);

            #line default
            #line hidden

            #line 100 "..\..\RefillDBWizard.xaml"
                this.DeleteAllFromTablesCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.DeleteAllFromTablesCheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 13:
                this.LastPage = ((Xceed.Wpf.Toolkit.WizardPage)(target));
                return;

            case 14:
                this.costTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.countCottagersTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }