Beispiel #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((WpfApplication1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.leftBttn = ((System.Windows.Controls.Button)(target));
     
     #line 21 "..\..\..\MainWindow.xaml"
     this.leftBttn.Click += new System.Windows.RoutedEventHandler(this.leftBttn_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.rightBttn = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\..\MainWindow.xaml"
     this.rightBttn.Click += new System.Windows.RoutedEventHandler(this.rightBttn_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Profil = ((WpfApplication1.Controls.User)(target));
     return;
     case 5:
     this.LeftRectangleContainer = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.RightRectangleContainer = ((System.Windows.Controls.StackPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.PostElement = ((WpfApplication1.Controls.Post)(target));
     
     #line 9 "..\..\..\..\Controls\Post.xaml"
     this.PostElement.Loaded += new System.Windows.RoutedEventHandler(this.Post_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.userCtrl = ((WpfApplication1.Controls.User)(target));
     return;
     case 3:
     this.EditBtn = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }