Esempio n. 1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MocapView;component/Page.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.viewport1 = ((MocapView.View.Viewport3D)(this.FindName("viewport1")));
     this.viewport2 = ((MocapView.View.Viewport3D)(this.FindName("viewport2")));
 }
Esempio n. 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MocapView;component/Page.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.viewport1  = ((MocapView.View.Viewport3D)(this.FindName("viewport1")));
     this.viewport2  = ((MocapView.View.Viewport3D)(this.FindName("viewport2")));
 }