Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\OculusUI.xaml"
     ((MainUI.OculusUI)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     
     #line 5 "..\..\..\OculusUI.xaml"
     ((MainUI.OculusUI)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.ucPageSwitcher = ((MainUI.Page)(target));
     return;
     case 4:
     this.ucHeading = ((MainUI.UserControls.Heading)(target));
     return;
     case 5:
     this.ucBytes = ((MainUI.UserControls.InfoBytes)(target));
     return;
     case 6:
     this.ucPopup = ((MainUI.Popup)(target));
     return;
     case 7:
     this.ButtonGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.image = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MainUI.Page)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.videoControl = ((MainUI.VideoControl)(target));
     return;
     case 4:
     this.PauseMenu = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.heading1 = ((MainUI.UserControls.Heading)(target));
     return;
     case 2:
     this.page = ((MainUI.Page)(target));
     return;
     }
     this._contentLoaded = true;
 }