Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\MainWindow.xaml"
     ((Studienarbeit.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Maler = ((System.Windows.Controls.ListView)(target));
     return;
     case 3:
     this.Malarten = ((System.Windows.Controls.ListBox)(target));
     return;
     case 4:
     this.MalEig = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\MainWindow.xaml"
     this.MalEig.Click += new System.Windows.RoutedEventHandler(this.MalEig_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.BewArten = ((System.Windows.Controls.ListBox)(target));
     return;
     case 6:
     this.BewEig = ((System.Windows.Controls.Button)(target));
     
     #line 49 "..\..\MainWindow.xaml"
     this.BewEig.Click += new System.Windows.RoutedEventHandler(this.BewEig_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.Name = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.XPos = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.YPos = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.NeuerMaler = ((System.Windows.Controls.Button)(target));
     
     #line 67 "..\..\MainWindow.xaml"
     this.NeuerMaler.Click += new System.Windows.RoutedEventHandler(this.NeuerMaler_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.DrawingCanvas = ((Studienarbeit.Canvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((Studienarbeit.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Maler = ((System.Windows.Controls.ListView)(target));
                return;

            case 3:
                this.Malarten = ((System.Windows.Controls.ListBox)(target));
                return;

            case 4:
                this.MalEig = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.MalEig.Click += new System.Windows.RoutedEventHandler(this.MalEig_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.BewArten = ((System.Windows.Controls.ListBox)(target));
                return;

            case 6:
                this.BewEig = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.BewEig.Click += new System.Windows.RoutedEventHandler(this.BewEig_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.XPos = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.YPos = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.NeuerMaler = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\MainWindow.xaml"
                this.NeuerMaler.Click += new System.Windows.RoutedEventHandler(this.NeuerMaler_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.DrawingCanvas = ((Studienarbeit.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }