void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ControlBase = ((DataModifier.AddDeleteButton)(target));
                return;

            case 2:
                this.Add = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\AddDeleteButton.xaml"
                this.Add.Click += new System.Windows.RoutedEventHandler(this.Add_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.Delete = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\AddDeleteButton.xaml"
                this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PageBase = ((DataModifier.VocabularyModifier.VocabularyModifierPage)(target));
                return;

            case 2:
                this.openFile = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.saveFile = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.saveAs = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.createFile = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.sortWords = ((System.Windows.Controls.MenuItem)(target));

            #line 33 "..\..\..\VocabularyModifier\VocabularyModifierPage.xaml"
                this.sortWords.Click += new System.Windows.RoutedEventHandler(this.sortWords_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.sortByPaging = ((System.Windows.Controls.MenuItem)(target));

            #line 34 "..\..\..\VocabularyModifier\VocabularyModifierPage.xaml"
                this.sortByPaging.Click += new System.Windows.RoutedEventHandler(this.sortByPaging_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.rename = ((System.Windows.Controls.MenuItem)(target));

            #line 35 "..\..\..\VocabularyModifier\VocabularyModifierPage.xaml"
                this.rename.Click += new System.Windows.RoutedEventHandler(this.rename_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.vocabularyName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.overallList = ((System.Windows.Controls.ListView)(target));
                return;

            case 11:
                this.WordsAddDelete = ((DataModifier.AddDeleteButton)(target));
                return;

            case 12:
                this.wordInspector = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 13:
                this.wordField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.pageField = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.MeaningList = ((System.Windows.Controls.ListView)(target));
                return;

            case 16:

            #line 112 "..\..\..\VocabularyModifier\VocabularyModifierPage.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.saveFile_Execute);

            #line default
            #line hidden
                return;

            case 17:

            #line 113 "..\..\..\VocabularyModifier\VocabularyModifierPage.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.saveAs_Execute);

            #line default
            #line hidden
                return;

            case 18:

            #line 114 "..\..\..\VocabularyModifier\VocabularyModifierPage.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.openFile_Execute);

            #line default
            #line hidden
                return;

            case 19:

            #line 115 "..\..\..\VocabularyModifier\VocabularyModifierPage.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.createFile_Execute);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }