Example #1
0
        private void btnGraphComplex3D_Click(object sender, RoutedEventArgs e)
        {
            var rsf = new GraphComplex3DWindow();


            rsf.ShowDialog();
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.graphComplex3DWindow = ((IMPressive.GraphComplex3DWindow)(target));
     
     #line 9 "..\..\GraphComplex3DWindow.xaml"
     this.graphComplex3DWindow.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.SurfaceComplexPlotVisual3D)(target));
     return;
     case 5:
     this.btnLoad = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\GraphComplex3DWindow.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 "..\..\GraphComplex3DWindow.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;
 }