コード例 #1
0
        public Window1()
        {
            InitializeComponent();

            cubit = new CubeVisual3D { SideLength = a * b, Fill = Brushes.SandyBrown };
            Loaded += Window1_Loaded;
        }
コード例 #2
0
ファイル: Window1.g.i.cs プロジェクト: msruzy/hydronumerics
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 16 "..\..\Window1.xaml"
     ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
     
     #line default
     #line hidden
     return;
     case 2:
     this.view2 = ((HelixToolkit.HelixView3D)(target));
     return;
     case 3:
     this.bindingPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 4:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     return;
     case 5:
     this.view1 = ((HelixToolkit.HelixView3D)(target));
     return;
     case 6:
     this.cube1 = ((HelixToolkit.CubeVisual3D)(target));
     return;
     case 7:
     this.showFramerate = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.showFieldOfView = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 9:
     this.showCoordSystem = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 10:
     this.showViewCube = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 11:
     this.infiniteSpin = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 12:
     this.slider2 = ((System.Windows.Controls.Slider)(target));
     return;
     case 13:
     this.UseOrthographicCamera = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 14:
     this.navigator = ((HelixToolkit.Input.SpaceNavigatorDecorator)(target));
     return;
     case 15:
     this.view7 = ((HelixToolkit.HelixView3D)(target));
     return;
     }
     this._contentLoaded = true;
 }