Ejemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.graph3DWindow = ((IMPressive.Graph3DWindow)(target));
     
     #line 9 "..\..\Graph3DWindow.xaml"
     this.graph3DWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.mainViewport = ((HelixToolkit.Wpf.HelixViewport3D)(target));
     return;
     case 3:
     this.camera = ((System.Windows.Media.Media3D.PerspectiveCamera)(target));
     return;
     case 4:
     this.model3D = ((IMPressive.SurfacePlotVisual3D)(target));
     return;
     case 5:
     this.btnLoad = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\Graph3DWindow.xaml"
     this.btnLoad.Click += new System.Windows.RoutedEventHandler(this.btnLoad_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnClear = ((System.Windows.Controls.Button)(target));
     
     #line 35 "..\..\Graph3DWindow.xaml"
     this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.label = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.txtOperation = ((System.Windows.Controls.AutoCompleteBox)(target));
     return;
     case 9:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.txtFromX = ((System.Windows.Controls.AutoCompleteBox)(target));
     return;
     case 11:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.txtToX = ((System.Windows.Controls.AutoCompleteBox)(target));
     return;
     case 13:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.txtPasX = ((System.Windows.Controls.AutoCompleteBox)(target));
     return;
     case 15:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.txtFromY = ((System.Windows.Controls.AutoCompleteBox)(target));
     return;
     case 17:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.txtToY = ((System.Windows.Controls.AutoCompleteBox)(target));
     return;
     case 19:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.txtPasY = ((System.Windows.Controls.AutoCompleteBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.graph3DWindow = ((IMPressive.Graph3DWindow)(target));
     
     #line 9 "..\..\Param3DGraphWindow.xaml"
     this.graph3DWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.mainViewport = ((HelixToolkit.Wpf.HelixViewport3D)(target));
     return;
     case 3:
     this.camera = ((System.Windows.Media.Media3D.PerspectiveCamera)(target));
     return;
     case 4:
     this.model3D = ((IMPressive.SurfacePlotVisual3D)(target));
     return;
     case 5:
     this.btnLoad = ((System.Windows.Controls.Button)(target));
     
     #line 37 "..\..\Param3DGraphWindow.xaml"
     this.btnLoad.Click += new System.Windows.RoutedEventHandler(this.btnLoad_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.txtOperation = ((System.Windows.Controls.AutoCompleteBox)(target));
     
     #line 43 "..\..\Param3DGraphWindow.xaml"
     this.txtOperation.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtOperation_KeyUp);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnClear = ((System.Windows.Controls.Button)(target));
     
     #line 55 "..\..\Param3DGraphWindow.xaml"
     this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.txtFromX = ((System.Windows.Controls.TextBox)(target));
     
     #line 62 "..\..\Param3DGraphWindow.xaml"
     this.txtFromX.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtOperation_KeyUp);
     
     #line default
     #line hidden
     return;
     case 9:
     this.txtToX = ((System.Windows.Controls.TextBox)(target));
     
     #line 76 "..\..\Param3DGraphWindow.xaml"
     this.txtToX.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtOperation_KeyUp);
     
     #line default
     #line hidden
     return;
     case 10:
     this.txtPasX = ((System.Windows.Controls.TextBox)(target));
     
     #line 90 "..\..\Param3DGraphWindow.xaml"
     this.txtPasX.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtOperation_KeyUp);
     
     #line default
     #line hidden
     return;
     case 11:
     this.txtFromY = ((System.Windows.Controls.TextBox)(target));
     
     #line 108 "..\..\Param3DGraphWindow.xaml"
     this.txtFromY.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtOperation_KeyUp);
     
     #line default
     #line hidden
     return;
     case 12:
     this.txtToY = ((System.Windows.Controls.TextBox)(target));
     
     #line 122 "..\..\Param3DGraphWindow.xaml"
     this.txtToY.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtOperation_KeyUp);
     
     #line default
     #line hidden
     return;
     case 13:
     this.txtPasY = ((System.Windows.Controls.TextBox)(target));
     
     #line 136 "..\..\Param3DGraphWindow.xaml"
     this.txtPasY.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtOperation_KeyUp);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 3
0
        private void btnGraph3D_Click(object sender, RoutedEventArgs e)
        {
            var rsf = new Graph3DWindow();


            rsf.ShowDialog();
        }