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"))); }