Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_4);

            #line default
            #line hidden
                return;

            case 2:

            #line 16 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_5);

            #line default
            #line hidden
                return;

            case 3:

            #line 17 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_6);

            #line default
            #line hidden
                return;

            case 4:

            #line 19 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 5:

            #line 22 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

            case 6:

            #line 23 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

            case 7:

            #line 25 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.textBox1 = ((CodeBoxControl.CodeBox)(target));
                return;

            case 9:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RootTabControl = ((System.Windows.Controls.TabControl)(target));
     return;
     case 2:
     this.ContentTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 3:
     this.DocIdTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.HeadLineTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.DateLineTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.ContentTextBox = ((CodeBoxControl.CodeBox)(target));
     return;
     case 7:
     this.ShowFeaturesButton = ((System.Windows.Controls.Button)(target));
     
     #line 97 "..\..\..\DocumentWindow.xaml"
     this.ShowFeaturesButton.Click += new System.Windows.RoutedEventHandler(this.ShowFeaturesButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.VectorTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 9:
     this.VectorDataListView = ((System.Windows.Controls.ListView)(target));
     return;
     }
     this._contentLoaded = true;
 }