示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.openGLControl1 = ((SharpGL.WPF.OpenGLControl)(target));

            #line 12 "..\..\..\MainWindow.xaml"
                this.openGLControl1.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl1_OpenGLDraw);

            #line default
            #line hidden

            #line 13 "..\..\..\MainWindow.xaml"
                this.openGLControl1.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl1_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.drawingMechanismCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.openGLCtrl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 13 "..\..\..\MainWindow.xaml"
                this.openGLCtrl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLCtrl_OpenGLDraw);

            #line default
            #line hidden

            #line 13 "..\..\..\MainWindow.xaml"
                this.openGLCtrl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLCtrl_OpenGLInitialized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.myGLCon = ((SharpGL.WPF.OpenGLControl)(target));

            #line 18 "..\..\..\display_by_step.xaml"
                this.myGLCon.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.myGLCon_OpenGLDraw);

            #line default
            #line hidden

            #line 21 "..\..\..\display_by_step.xaml"
                this.myGLCon.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.myGLCon_OpenGLInitialized);

            #line default
            #line hidden

            #line 21 "..\..\..\display_by_step.xaml"
                this.myGLCon.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.myGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fileOpenItem = ((System.Windows.Controls.MenuItem)(target));

            #line 12 "..\..\..\MainWindow.xaml"
                this.fileOpenItem.Click += new System.Windows.RoutedEventHandler(this.fileOpenItem_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.textBoxScale = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.checkBoxAutoScale = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.comboBoxRenderMode = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.comboBoxPolygonMode = ((System.Windows.Controls.ComboBox)(target));

            #line 29 "..\..\..\MainWindow.xaml"
                this.comboBoxPolygonMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBoxPolygonMode_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.openGlCtrl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 38 "..\..\..\MainWindow.xaml"
                this.openGlCtrl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 38 "..\..\..\MainWindow.xaml"
                this.openGlCtrl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 39 "..\..\..\MainWindow.xaml"
                this.openGlCtrl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));
     
     #line 10 "..\..\..\MainWindow.xaml"
     this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);
     
     #line default
     #line hidden
     
     #line 11 "..\..\..\MainWindow.xaml"
     this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);
     
     #line default
     #line hidden
     
     #line 11 "..\..\..\MainWindow.xaml"
     this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 10 "..\..\Display1.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 11 "..\..\Display1.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_Resized);

            #line default
            #line hidden

            #line 12 "..\..\Display1.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.openGLCtrl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 10 "..\..\CADView.xaml"
                this.openGLCtrl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 10 "..\..\CADView.xaml"
                this.openGLCtrl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 10 "..\..\CADView.xaml"
                this.openGLCtrl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OpenGLControl_MouseDown);

            #line default
            #line hidden

            #line 10 "..\..\CADView.xaml"
                this.openGLCtrl.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OpenGLControl_MouseUp);

            #line default
            #line hidden

            #line 10 "..\..\CADView.xaml"
                this.openGLCtrl.MouseMove += new System.Windows.Input.MouseEventHandler(this.OpenGLControl_MouseMove);

            #line default
            #line hidden

            #line 10 "..\..\CADView.xaml"
                this.openGLCtrl.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.OpenGLControl_MouseWheel);

            #line default
            #line hidden

            #line 10 "..\..\CADView.xaml"
                this.openGLCtrl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\CADView.xaml"
                this.openGLCtrl.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.UserControl_PreviewKeyDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.MinusScale = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\..\MainWindow.xaml"
                this.MinusScale.Click += new System.Windows.RoutedEventHandler(this.MinusScale_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.PlusScale = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.PlusScale.Click += new System.Windows.RoutedEventHandler(this.PlusScale_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 26 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 27 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 27 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Magic = ((SharpGL.WPF.OpenGLControl)(target));

            #line 13 "..\..\Page2.xaml"
                this.Magic.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#10
0
        /// <summary>
        /// Called when the frame rate is changed.
        /// </summary>
        /// <param name="o">The object.</param>
        /// <param name="args">The <see cref="System.Windows.DependencyPropertyChangedEventArgs"/> instance containing the event data.</param>
        private static void OnFrameRateChanged(DependencyObject o, DependencyPropertyChangedEventArgs args)
        {
            //  Get the control.
            OpenGLControl me = o as OpenGLControl;

            //  If we have the timer, set the time.
            if (me.timer != null)
            {
                //  Stop the timer.
                me.timer.Stop();

                //  Set the timer.
                me.timer.Interval = new TimeSpan(0, 0, 0, 0, (int)(1000f / me.FrameRate));

                //  Start the timer.
                me.timer.Start();
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\BROSDisplay.xaml"
                ((AppControlDisplay.BROSDisplay)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 7 "..\..\BROSDisplay.xaml"
                ((AppControlDisplay.BROSDisplay)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 14 "..\..\BROSDisplay.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 15 "..\..\BROSDisplay.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_Resized);

            #line default
            #line hidden

            #line 16 "..\..\BROSDisplay.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 13 "..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 13 "..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;

            case 2:
                this.slider1 = ((System.Windows.Controls.Slider)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.slider1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider1_ValueChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((WPFOpenGl.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.openGlCtrl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.openGlCtrl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 13 "..\..\MainWindow.xaml"
                this.openGlCtrl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 13 "..\..\MainWindow.xaml"
                this.openGlCtrl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.comboRenderMode = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.checkBoxUseToonShader = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.openGlCtrl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 21 "..\..\..\MainWindow.xaml"
                this.openGlCtrl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 21 "..\..\..\MainWindow.xaml"
                this.openGlCtrl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 22 "..\..\..\MainWindow.xaml"
                this.openGlCtrl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#15
0
 /// <summary>
 /// Called when [render context type changed].
 /// </summary>
 /// <param name="o">The o.</param>
 /// <param name="args">The <see cref="System.Windows.DependencyPropertyChangedEventArgs"/> instance containing the event data.</param>
 private static void OnRenderContextTypeChanged(DependencyObject o, DependencyPropertyChangedEventArgs args)
 {
     OpenGLControl me = o as OpenGLControl;
 }
示例#16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.heightSlide = ((System.Windows.Controls.Slider)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.heightSlide.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.changeLampHeight);

            #line default
            #line hidden
                return;

            case 3:
                this.brzinaSlide = ((System.Windows.Controls.Slider)(target));

            #line 12 "..\..\..\MainWindow.xaml"
                this.brzinaSlide.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ContainerAnimationSpeed);

            #line default
            #line hidden
                return;

            case 4:
                this.cubeSlide = ((System.Windows.Controls.Slider)(target));

            #line 14 "..\..\..\MainWindow.xaml"
                this.cubeSlide.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.CubeScaleFactor);

            #line default
            #line hidden
                return;

            case 5:
                this.cylinderSlide = ((System.Windows.Controls.Slider)(target));

            #line 16 "..\..\..\MainWindow.xaml"
                this.cylinderSlide.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.CylinderScaleFactor);

            #line default
            #line hidden
                return;

            case 6:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 22 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 23 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 23 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((RGProject.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.translateLeftWall = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.increaseTrans = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.increaseTrans.Click += new System.Windows.RoutedEventHandler(this.increaseTrans_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.decreaseTrans = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\MainWindow.xaml"
                this.decreaseTrans.Click += new System.Windows.RoutedEventHandler(this.decreaseTrans_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.rotateRightWall = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.increaseRotate = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.increaseRotate.Click += new System.Windows.RoutedEventHandler(this.increaseRotate_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.decreaseRotate = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.decreaseRotate.Click += new System.Windows.RoutedEventHandler(this.decreaseRotate_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.scaleArrow = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.increaseScale = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.increaseScale.Click += new System.Windows.RoutedEventHandler(this.increaseScale_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.decreaseScale = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.decreaseScale.Click += new System.Windows.RoutedEventHandler(this.decreaseScale_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 11 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 11 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;

            case 3:
                this.cageHeightSlider = ((System.Windows.Controls.Slider)(target));

            #line 14 "..\..\..\MainWindow.xaml"
                this.cageHeightSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.HeightOfCageSlider);

            #line default
            #line hidden
                return;

            case 4:
                this.cameraRotationSpeedSlider = ((System.Windows.Controls.Slider)(target));

            #line 16 "..\..\..\MainWindow.xaml"
                this.cameraRotationSpeedSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.cameraSpeedSlider);

            #line default
            #line hidden
                return;

            case 5:
                this.cameraScaleSlider = ((System.Windows.Controls.Slider)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.cameraScaleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.CameraScale);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((ferramenta.MainWindow)(target)).AddHandler(System.Windows.Input.Keyboard.KeyDownEvent, new System.Windows.Input.KeyEventHandler(this.KeyDown));

            #line default
            #line hidden
                return;

            case 2:
                this.tb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.btnOpenFile = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.btnOpenFile.Click += new System.Windows.RoutedEventHandler(this.OpenFileClick);

            #line default
            #line hidden
                return;

            case 4:
                this.btnClearAll = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.btnClearAll.Click += new System.Windows.RoutedEventHandler(this.ClearAllClick);

            #line default
            #line hidden
                return;

            case 5:
                this.DisplacementCB = ((System.Windows.Controls.ComboBox)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.DisplacementCB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DispCBChange);

            #line default
            #line hidden
                return;

            case 6:
                this.HelixCB = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:

            #line 66 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearButtonClick);

            #line default
            #line hidden
                return;

            case 8:
                this.finish_btn = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.finish_btn.Click += new System.Windows.RoutedEventHandler(this.FinishButtonClick);

            #line default
            #line hidden
                return;

            case 9:
                this.GLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.GLControl.OpenGLDraw += new SharpGL.WPF.OpenGLRoutedEventHandler(this.OpenGLDraw);

            #line default
            #line hidden
                return;

            case 10:
                this.ColorScaleControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 76 "..\..\MainWindow.xaml"
                this.ColorScaleControl.OpenGLDraw += new SharpGL.WPF.OpenGLRoutedEventHandler(this.DrawColorScale);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\MainWindow.xaml"
                ((ShipModel.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.RampPosition = ((System.Windows.Controls.Slider)(target));

            #line 16 "..\..\..\MainWindow.xaml"
                this.RampPosition.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.RampPosition_ValueChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.PillarPosition = ((System.Windows.Controls.Slider)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.PillarPosition.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.PillarPosition_ValueChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.LightSource = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 20 "..\..\..\MainWindow.xaml"
                this.LightSource.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.LightSource_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 24 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 25 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 25 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.cb1 = ((System.Windows.Controls.ComboBox)(target));

            #line 12 "..\..\..\MainWindow.xaml"
                this.cb1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.changeVerticalScale);

            #line default
            #line hidden
                return;

            case 3:
                this.cb2 = ((System.Windows.Controls.ComboBox)(target));

            #line 16 "..\..\..\MainWindow.xaml"
                this.cb2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.changeUniformScale);

            #line default
            #line hidden
                return;

            case 4:
                this.cb3 = ((System.Windows.Controls.ComboBox)(target));

            #line 20 "..\..\..\MainWindow.xaml"
                this.cb3.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.changeAmbientalColor);

            #line default
            #line hidden
                return;

            case 5:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 25 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 26 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 26 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 11 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 11 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;

            case 3:
                this.right = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.btPlus = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\..\MainWindow.xaml"
                this.btPlus.Click += new System.Windows.RoutedEventHandler(this.moveRight);

            #line default
            #line hidden
                return;

            case 5:
                this.btMinus = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\..\MainWindow.xaml"
                this.btMinus.Click += new System.Windows.RoutedEventHandler(this.moveLeft);

            #line default
            #line hidden
                return;

            case 6:
                this.rotate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.a = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\..\MainWindow.xaml"
                this.a.Click += new System.Windows.RoutedEventHandler(this.rotateRight);

            #line default
            #line hidden
                return;

            case 8:
                this.s = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\..\MainWindow.xaml"
                this.s.Click += new System.Windows.RoutedEventHandler(this.rotateLeft);

            #line default
            #line hidden
                return;

            case 9:
                this.skaliranje = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:

            #line 50 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.scalePlus);

            #line default
            #line hidden
                return;

            case 11:

            #line 51 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.scaleMinus);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.prozor = ((AssimpSample.MainWindow)(target));

            #line 5 "..\..\..\MainWindow.xaml"
                this.prozor.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.translateBoard = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.tbBtn = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\..\MainWindow.xaml"
                this.tbBtn.Click += new System.Windows.RoutedEventHandler(this.TbBtn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.scaleBoard = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.sbBtn = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\..\MainWindow.xaml"
                this.sbBtn.Click += new System.Windows.RoutedEventHandler(this.SbBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.red = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.green = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.blue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.clBtn = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.clBtn.Click += new System.Windows.RoutedEventHandler(this.ClBtn_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 23 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 24 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 24 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.skaliranje = ((System.Windows.Controls.TextBox)(target));

            #line 11 "..\..\..\MainWindow.xaml"
                this.skaliranje.KeyDown += new System.Windows.Input.KeyEventHandler(this.skaliranje_KeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.bojaR = ((System.Windows.Controls.TextBox)(target));

            #line 15 "..\..\..\MainWindow.xaml"
                this.bojaR.KeyDown += new System.Windows.Input.KeyEventHandler(this.bojaR_KeyDown);

            #line default
            #line hidden
                return;

            case 4:
                this.bojaG = ((System.Windows.Controls.TextBox)(target));

            #line 17 "..\..\..\MainWindow.xaml"
                this.bojaG.KeyDown += new System.Windows.Input.KeyEventHandler(this.bojaG_KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.bojaB = ((System.Windows.Controls.TextBox)(target));

            #line 19 "..\..\..\MainWindow.xaml"
                this.bojaB.KeyDown += new System.Windows.Input.KeyEventHandler(this.bojaB_KeyDown);

            #line default
            #line hidden
                return;

            case 6:
                this.Pomeraj = ((System.Windows.Controls.TextBox)(target));

            #line 23 "..\..\..\MainWindow.xaml"
                this.Pomeraj.KeyDown += new System.Windows.Input.KeyEventHandler(this.Pomeraj_KeyDown);

            #line default
            #line hidden
                return;

            case 7:

            #line 24 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 25 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 9:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 34 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 35 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 35 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.visina = ((System.Windows.Controls.TextBox)(target));

            #line 16 "..\..\..\MainWindow.xaml"
                this.visina.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.visina_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 3:
                this.brzina = ((System.Windows.Controls.TextBox)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.brzina.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.brzina_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 4:
                this.lbl = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 25 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 26 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 26 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#26
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\..\Frames\MainWindow.xaml"
     ((EmbryoSegmenter.Frames.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 8 "..\..\..\..\Frames\MainWindow.xaml"
     ((EmbryoSegmenter.Frames.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\..\Frames\MainWindow.xaml"
     ((EmbryoSegmenter.Frames.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);
     
     #line default
     #line hidden
     
     #line 10 "..\..\..\..\Frames\MainWindow.xaml"
     ((EmbryoSegmenter.Frames.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.grd_Menu = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.mnu_Main = ((System.Windows.Controls.Menu)(target));
     return;
     case 4:
     
     #line 20 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_New_Project_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 22 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Open_Series_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 23 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Open_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.mnu_Save_Series = ((System.Windows.Controls.MenuItem)(target));
     
     #line 26 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_Series.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_Series_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.mnu_Save_Stack = ((System.Windows.Controls.MenuItem)(target));
     
     #line 27 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_Stack.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.mnu_Save_As_Series = ((System.Windows.Controls.MenuItem)(target));
     
     #line 30 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_As_Series.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_As_Series_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.mnu_Save_As_Stack = ((System.Windows.Controls.MenuItem)(target));
     
     #line 31 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_As_Stack.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_As_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.mnu_Export_Excel = ((System.Windows.Controls.MenuItem)(target));
     
     #line 34 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Export_Excel.Click += new System.Windows.RoutedEventHandler(this.mnu_Export_Excel_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 36 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Bmp_Save_Segments_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 37 "..\..\..\..\Frames\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.mnu_Bmp_Save_Outlines_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.mnu_Save_OBJ = ((System.Windows.Controls.MenuItem)(target));
     
     #line 38 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_OBJ.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_OBJ_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.mnu_Save_Ann = ((System.Windows.Controls.MenuItem)(target));
     
     #line 39 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Save_Ann.Click += new System.Windows.RoutedEventHandler(this.mnu_Save_Ann_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.mnu_3D_view = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 17:
     this.mnu_3D_point = ((System.Windows.Controls.MenuItem)(target));
     
     #line 42 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_3D_point.Click += new System.Windows.RoutedEventHandler(this.mnu_3D_view_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.mnu_3D_body = ((System.Windows.Controls.MenuItem)(target));
     
     #line 43 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_3D_body.Click += new System.Windows.RoutedEventHandler(this.mnu_3D_view_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.mnu_Quit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 45 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Quit.Click += new System.Windows.RoutedEventHandler(this.mnu_Quit_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.mnu_Pipelines = ((System.Windows.Controls.MenuItem)(target));
     
     #line 48 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Pipelines.Click += new System.Windows.RoutedEventHandler(this.mnu_Pipelines_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.mnu_Add_Stack = ((System.Windows.Controls.MenuItem)(target));
     
     #line 51 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Add_Stack.Click += new System.Windows.RoutedEventHandler(this.mnu_Add_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.mnu_Remove_Stack = ((System.Windows.Controls.MenuItem)(target));
     
     #line 52 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Remove_Stack.Click += new System.Windows.RoutedEventHandler(this.mnu_Remove_Stack_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.mnu_Sort_Slice = ((System.Windows.Controls.MenuItem)(target));
     
     #line 55 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Sort_Slice.Click += new System.Windows.RoutedEventHandler(this.mnu_Sort_Slice_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.mnu_Rename_Slice = ((System.Windows.Controls.MenuItem)(target));
     
     #line 56 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Rename_Slice.Click += new System.Windows.RoutedEventHandler(this.mnu_Rename_Slice_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.mnu_Remove_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 59 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Remove_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Remove_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.mnu_Divide_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 60 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Divide_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Divide_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.mnu_Add_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 61 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Add_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Add_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.mnu_Rename_Segment = ((System.Windows.Controls.MenuItem)(target));
     
     #line 62 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Rename_Segment.Click += new System.Windows.RoutedEventHandler(this.mnu_Rename_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.mnu_View_3D = ((System.Windows.Controls.MenuItem)(target));
     
     #line 65 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_3D.Checked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Checked);
     
     #line default
     #line hidden
     
     #line 65 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_3D.Unchecked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 30:
     this.mnu_View_Mini = ((System.Windows.Controls.MenuItem)(target));
     
     #line 66 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Mini.Checked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Checked);
     
     #line default
     #line hidden
     
     #line 66 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Mini.Unchecked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 31:
     this.mnu_View_Annotation = ((System.Windows.Controls.MenuItem)(target));
     
     #line 67 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Annotation.Checked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Checked);
     
     #line default
     #line hidden
     
     #line 67 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Annotation.Unchecked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 32:
     this.mnu_View_Segmentation = ((System.Windows.Controls.MenuItem)(target));
     
     #line 68 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Segmentation.Checked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Checked);
     
     #line default
     #line hidden
     
     #line 68 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_View_Segmentation.Unchecked += new System.Windows.RoutedEventHandler(this.mnu_View_Switch_Unchecked);
     
     #line default
     #line hidden
     return;
     case 33:
     this.grd_Main = ((System.Windows.Controls.Grid)(target));
     return;
     case 34:
     this.grd_Hidden = ((System.Windows.Controls.Grid)(target));
     return;
     case 35:
     this.txt_File = ((System.Windows.Controls.TextBox)(target));
     return;
     case 36:
     this.txt_Path = ((System.Windows.Controls.TextBox)(target));
     return;
     case 37:
     this.lbl_File = ((System.Windows.Controls.Label)(target));
     return;
     case 38:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.grd_Display_Mini = ((System.Windows.Controls.Grid)(target));
     return;
     case 40:
     this.grd_Display = ((System.Windows.Controls.Grid)(target));
     return;
     case 41:
     this.pnl_Image = ((System.Windows.Controls.Image)(target));
     return;
     case 42:
     this.pnl_Panel_Seg = ((PHICommon.DrawingCanvas)(target));
     return;
     case 43:
     this.pnl_Panel_Nuc = ((PHICommon.DrawingCanvas)(target));
     return;
     case 44:
     this.grd_Mouse_Position = ((System.Windows.Controls.Grid)(target));
     return;
     case 45:
     this._lbl_Mouse_Y = ((System.Windows.Controls.Label)(target));
     return;
     case 46:
     this._lbl_Mouse_X = ((System.Windows.Controls.Label)(target));
     return;
     case 47:
     this.lbl_Mouse_Y = ((System.Windows.Controls.Label)(target));
     return;
     case 48:
     this.lbl_Mouse_X = ((System.Windows.Controls.Label)(target));
     return;
     case 49:
     this.pnl_Annotation_Seg = ((PHICommon.DrawingCanvas)(target));
     return;
     case 50:
     this.pnl_Annotation_Nuc = ((PHICommon.DrawingCanvas)(target));
     return;
     case 51:
     this.pnl_User = ((PHICommon.DrawingCanvas)(target));
     
     #line 107 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_User.MouseMove += new System.Windows.Input.MouseEventHandler(this.pnl_MouseMove);
     
     #line default
     #line hidden
     
     #line 107 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_User.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.pnl_MouseDown);
     
     #line default
     #line hidden
     return;
     case 52:
     this.scl_Time = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     
     #line 108 "..\..\..\..\Frames\MainWindow.xaml"
     this.scl_Time.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.scl_Time_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 53:
     this.txt_Series_index = ((System.Windows.Controls.TextBox)(target));
     
     #line 109 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Series_index.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Series_index_TextChanged);
     
     #line default
     #line hidden
     return;
     case 54:
     this.grd_SharpGLControl = ((System.Windows.Controls.Grid)(target));
     return;
     case 55:
     this.pnl_SharpOpenGL = ((SharpGL.WPF.OpenGLControl)(target));
     
     #line 115 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_SharpOpenGL.MouseMove += new System.Windows.Input.MouseEventHandler(this.OpenGLControl_MouseMove);
     
     #line default
     #line hidden
     
     #line 115 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_SharpOpenGL.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw);
     
     #line default
     #line hidden
     
     #line 115 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_SharpOpenGL.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_Resized);
     
     #line default
     #line hidden
     
     #line 115 "..\..\..\..\Frames\MainWindow.xaml"
     this.pnl_SharpOpenGL.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized);
     
     #line default
     #line hidden
     return;
     case 56:
     this.wfh_renderControl = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 57:
     this._renderControl = ((Kitware.VTK.RenderWindowControl)(target));
     return;
     case 58:
     this.grd_Controls = ((System.Windows.Controls.Grid)(target));
     return;
     case 59:
     this.grd_Segmentation = ((System.Windows.Controls.Grid)(target));
     return;
     case 60:
     this.tcl_Segmentation = ((System.Windows.Controls.TabControl)(target));
     return;
     case 61:
     this.tab_Con_Filter = ((System.Windows.Controls.TabItem)(target));
     return;
     case 62:
     this.grd_Con_Con = ((System.Windows.Controls.Grid)(target));
     return;
     case 63:
     this.btn_Capture_Segment_1 = ((System.Windows.Controls.Button)(target));
     
     #line 129 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Capture_Segment_1.Click += new System.Windows.RoutedEventHandler(this.btn_Capture_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 64:
     this.tab_Nei_Filter = ((System.Windows.Controls.TabItem)(target));
     return;
     case 65:
     this.grd_Con_Nei = ((System.Windows.Controls.Grid)(target));
     return;
     case 66:
     this.btn_Capture_Segment_2 = ((System.Windows.Controls.Button)(target));
     
     #line 134 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Capture_Segment_2.Click += new System.Windows.RoutedEventHandler(this.btn_Capture_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 67:
     this.tab_Wat_Filter = ((System.Windows.Controls.TabItem)(target));
     return;
     case 68:
     this.grd_Con_Wat = ((System.Windows.Controls.Grid)(target));
     return;
     case 69:
     this.btn_Capture_Segment_3 = ((System.Windows.Controls.Button)(target));
     
     #line 140 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Capture_Segment_3.Click += new System.Windows.RoutedEventHandler(this.btn_Capture_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 70:
     this.grd_3Dtools = ((System.Windows.Controls.Grid)(target));
     return;
     case 71:
     this.tcl_3Dtools = ((System.Windows.Controls.TabControl)(target));
     return;
     case 72:
     this.tab_3D_Render = ((System.Windows.Controls.TabItem)(target));
     return;
     case 73:
     this.grd_3D_Ren = ((System.Windows.Controls.Grid)(target));
     return;
     case 74:
     this.btn_Update_3D_Rendering = ((System.Windows.Controls.Button)(target));
     
     #line 151 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Update_3D_Rendering.Click += new System.Windows.RoutedEventHandler(this.btn_Update_3D_Rendering_Click);
     
     #line default
     #line hidden
     return;
     case 75:
     this.chb_3D_Display = ((System.Windows.Controls.CheckBox)(target));
     
     #line 152 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_3D_Display.Checked += new System.Windows.RoutedEventHandler(this.chb_3D_Display_Checked);
     
     #line default
     #line hidden
     
     #line 152 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_3D_Display.Unchecked += new System.Windows.RoutedEventHandler(this.chb_3D_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 76:
     this.chb_3D_Display_mode = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 77:
     this.grd_Annotation = ((System.Windows.Controls.Grid)(target));
     return;
     case 78:
     this.tcl_Annotation = ((System.Windows.Controls.TabControl)(target));
     
     #line 161 "..\..\..\..\Frames\MainWindow.xaml"
     this.tcl_Annotation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tcl_Annotation_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 79:
     this.tab_Ann_Stage = ((System.Windows.Controls.TabItem)(target));
     return;
     case 80:
     this.grd_Ann_Properties = ((System.Windows.Controls.Grid)(target));
     return;
     case 81:
     this.gbx_Ann_Stage = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 82:
     this.cbx_Ann_Stage = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 83:
     this.label56 = ((System.Windows.Controls.Label)(target));
     return;
     case 84:
     this.label57 = ((System.Windows.Controls.Label)(target));
     return;
     case 85:
     this.txt_Ann_Stage_Begin = ((System.Windows.Controls.TextBox)(target));
     
     #line 169 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_Stage_Begin.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_Stage);
     
     #line default
     #line hidden
     return;
     case 86:
     this.txt_Ann_Stage_End = ((System.Windows.Controls.TextBox)(target));
     
     #line 170 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_Stage_End.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_Stage);
     
     #line default
     #line hidden
     return;
     case 87:
     this.btn_Add_Stage = ((System.Windows.Controls.Button)(target));
     
     #line 171 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Add_Stage.Click += new System.Windows.RoutedEventHandler(this.btn_Add_Stage_Click);
     
     #line default
     #line hidden
     return;
     case 88:
     this.lbx_Ann_Stage = ((System.Windows.Controls.ListBox)(target));
     
     #line 172 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Ann_Stage.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Ann_Stage_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 89:
     this.btn_Ann_Remove_Stage = ((System.Windows.Controls.Button)(target));
     
     #line 173 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Ann_Remove_Stage.Click += new System.Windows.RoutedEventHandler(this.btn_Ann_Remove_Stage_Click);
     
     #line default
     #line hidden
     return;
     case 90:
     this.gbx_Ann_Fragmentation = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 91:
     this.cbx_Ann_Fragmentation = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 92:
     this.label96 = ((System.Windows.Controls.Label)(target));
     return;
     case 93:
     this.label97 = ((System.Windows.Controls.Label)(target));
     return;
     case 94:
     this.txt_Ann_Fragmentation_Begin = ((System.Windows.Controls.TextBox)(target));
     
     #line 181 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_Fragmentation_Begin.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_Fragmentation);
     
     #line default
     #line hidden
     return;
     case 95:
     this.txt_Ann_Fragmentation_End = ((System.Windows.Controls.TextBox)(target));
     
     #line 182 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_Fragmentation_End.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_Fragmentation);
     
     #line default
     #line hidden
     return;
     case 96:
     this.btn_Add_Fragmentation = ((System.Windows.Controls.Button)(target));
     
     #line 183 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Add_Fragmentation.Click += new System.Windows.RoutedEventHandler(this.btn_Add_Fragmentation_Click);
     
     #line default
     #line hidden
     return;
     case 97:
     this.lbx_Ann_Fragmentation = ((System.Windows.Controls.ListBox)(target));
     
     #line 184 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Ann_Fragmentation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Ann_Fragmentation_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 98:
     this.btn_Ann_Remove_Fragmentation = ((System.Windows.Controls.Button)(target));
     
     #line 185 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Ann_Remove_Fragmentation.Click += new System.Windows.RoutedEventHandler(this.btn_Ann_Remove_Fragmentation_Click);
     
     #line default
     #line hidden
     return;
     case 99:
     this.cbx_Quality = ((System.Windows.Controls.ComboBox)(target));
     
     #line 189 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Quality.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Quality_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 100:
     this.label9 = ((System.Windows.Controls.Label)(target));
     return;
     case 101:
     this.tab_Ann_Outline = ((System.Windows.Controls.TabItem)(target));
     return;
     case 102:
     this.grd_Ann_Outline = ((System.Windows.Controls.Grid)(target));
     return;
     case 103:
     this.gbx_Nuclei = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 104:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 105:
     this.chb_Ann_NewNuclei = ((System.Windows.Controls.CheckBox)(target));
     
     #line 198 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Ann_NewNuclei.Checked += new System.Windows.RoutedEventHandler(this.chb_Ann_NewNuclei_Checked);
     
     #line default
     #line hidden
     
     #line 198 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Ann_NewNuclei.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Ann_NewNuclei_Checked);
     
     #line default
     #line hidden
     return;
     case 106:
     this.cbx_Color_Nuc = ((System.Windows.Controls.ComboBox)(target));
     
     #line 199 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Color_Nuc.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Color_Nuc_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 199 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Color_Nuc.DropDownOpened += new System.EventHandler(this.cbx_Color_Nuc_DropDownOpened);
     
     #line default
     #line hidden
     return;
     case 107:
     this.label13 = ((System.Windows.Controls.Label)(target));
     return;
     case 108:
     this.chb_Annotation_Nuc = ((System.Windows.Controls.CheckBox)(target));
     
     #line 201 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation_Nuc.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 201 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation_Nuc.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 109:
     this.chb_Outline_Nuc = ((System.Windows.Controls.CheckBox)(target));
     
     #line 202 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline_Nuc.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 202 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline_Nuc.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 110:
     this.grd_Ann_Nuclei = ((System.Windows.Controls.Grid)(target));
     return;
     case 111:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 112:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 113:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 114:
     this.btn_Add_Nuclei = ((System.Windows.Controls.Button)(target));
     
     #line 207 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Add_Nuclei.Click += new System.Windows.RoutedEventHandler(this.btn_Add_Nuclei_Click);
     
     #line default
     #line hidden
     return;
     case 115:
     this.txt_Ann_NewNuclei_CenterX = ((System.Windows.Controls.TextBox)(target));
     
     #line 208 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewNuclei_CenterX.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewNuclei);
     
     #line default
     #line hidden
     return;
     case 116:
     this.txt_Ann_NewNuclei_CenterY = ((System.Windows.Controls.TextBox)(target));
     
     #line 209 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewNuclei_CenterY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewNuclei);
     
     #line default
     #line hidden
     return;
     case 117:
     this.txt_Ann_NewNuclei_Radius = ((System.Windows.Controls.TextBox)(target));
     
     #line 210 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewNuclei_Radius.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewNuclei);
     
     #line default
     #line hidden
     return;
     case 118:
     this.lbx_Ann_Nuclei = ((System.Windows.Controls.ListBox)(target));
     
     #line 211 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Ann_Nuclei.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Ann_Nuclei_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 119:
     this.btn_Ann_Remove_Nuclei = ((System.Windows.Controls.Button)(target));
     
     #line 212 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Ann_Remove_Nuclei.Click += new System.Windows.RoutedEventHandler(this.btn_Ann_Remove_Nuclei_Click);
     
     #line default
     #line hidden
     return;
     case 120:
     this.gbx_Cell = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 121:
     this.label54 = ((System.Windows.Controls.Label)(target));
     return;
     case 122:
     this.chb_Ann_NewSegment = ((System.Windows.Controls.CheckBox)(target));
     
     #line 219 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Ann_NewSegment.Checked += new System.Windows.RoutedEventHandler(this.chb_Ann_NewSegment_Checked);
     
     #line default
     #line hidden
     
     #line 219 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Ann_NewSegment.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Ann_NewSegment_Checked);
     
     #line default
     #line hidden
     return;
     case 123:
     this.cbx_Color_Seg = ((System.Windows.Controls.ComboBox)(target));
     
     #line 220 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Color_Seg.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbx_Color_Seg_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 220 "..\..\..\..\Frames\MainWindow.xaml"
     this.cbx_Color_Seg.DropDownOpened += new System.EventHandler(this.cbx_Color_Seg_DropDownOpened);
     
     #line default
     #line hidden
     return;
     case 124:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 125:
     this.chb_Annotation_Seg = ((System.Windows.Controls.CheckBox)(target));
     
     #line 222 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation_Seg.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 222 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Annotation_Seg.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 126:
     this.chb_Outline_Seg = ((System.Windows.Controls.CheckBox)(target));
     
     #line 223 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline_Seg.Checked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     
     #line 223 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Outline_Seg.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Display_Checked);
     
     #line default
     #line hidden
     return;
     case 127:
     this.grd_Ann_Segment = ((System.Windows.Controls.Grid)(target));
     return;
     case 128:
     this.label47 = ((System.Windows.Controls.Label)(target));
     return;
     case 129:
     this.label48 = ((System.Windows.Controls.Label)(target));
     return;
     case 130:
     this.txt_Ann_NewSegment_StartX = ((System.Windows.Controls.TextBox)(target));
     
     #line 227 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewSegment_StartX.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewSegment);
     
     #line default
     #line hidden
     return;
     case 131:
     this.txt_Ann_NewSegment_StartY = ((System.Windows.Controls.TextBox)(target));
     
     #line 228 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Ann_NewSegment_StartY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_Validate_NewSegment);
     
     #line default
     #line hidden
     return;
     case 132:
     this.btn_Add_Segment = ((System.Windows.Controls.Button)(target));
     
     #line 229 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Add_Segment.Click += new System.Windows.RoutedEventHandler(this.btn_Add_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 133:
     this.lbx_Ann_Segment = ((System.Windows.Controls.ListBox)(target));
     
     #line 230 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Ann_Segment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Ann_Segment_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 134:
     this.btn_Ann_Remove_Segment = ((System.Windows.Controls.Button)(target));
     
     #line 231 "..\..\..\..\Frames\MainWindow.xaml"
     this.btn_Ann_Remove_Segment.Click += new System.Windows.RoutedEventHandler(this.btn_Ann_Remove_Segment_Click);
     
     #line default
     #line hidden
     return;
     case 135:
     this.grd_Navigator = ((System.Windows.Controls.Grid)(target));
     return;
     case 136:
     this.lbx_Slice = ((System.Windows.Controls.ListBox)(target));
     
     #line 243 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Slice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Slice_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 137:
     this.lbx_Segment = ((System.Windows.Controls.ListBox)(target));
     
     #line 244 "..\..\..\..\Frames\MainWindow.xaml"
     this.lbx_Segment.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbx_Segment_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 138:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 139:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 140:
     this.txt_Volume = ((System.Windows.Controls.TextBox)(target));
     return;
     case 141:
     this.lbl_Volume = ((System.Windows.Controls.Label)(target));
     return;
     case 142:
     this.lbl_Area = ((System.Windows.Controls.Label)(target));
     return;
     case 143:
     this.txt_Area = ((System.Windows.Controls.TextBox)(target));
     return;
     case 144:
     this.txt_Z = ((System.Windows.Controls.TextBox)(target));
     
     #line 251 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_Z.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_scale_TextChanged);
     
     #line default
     #line hidden
     return;
     case 145:
     this.lbl_Z = ((System.Windows.Controls.Label)(target));
     return;
     case 146:
     this.lbl_XY = ((System.Windows.Controls.Label)(target));
     return;
     case 147:
     this.txt_XY = ((System.Windows.Controls.TextBox)(target));
     
     #line 254 "..\..\..\..\Frames\MainWindow.xaml"
     this.txt_XY.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_scale_TextChanged);
     
     #line default
     #line hidden
     return;
     case 148:
     this.lbl_Time = ((System.Windows.Controls.Label)(target));
     return;
     case 149:
     this.txt_Time = ((System.Windows.Controls.TextBox)(target));
     return;
     case 150:
     this._grd_Log = ((System.Windows.Controls.Grid)(target));
     return;
     case 151:
     this.mnu_Clear_Log = ((System.Windows.Controls.MenuItem)(target));
     
     #line 264 "..\..\..\..\Frames\MainWindow.xaml"
     this.mnu_Clear_Log.Click += new System.Windows.RoutedEventHandler(this.mnu_Clear_Log_Click);
     
     #line default
     #line hidden
     return;
     case 152:
     this._txt_Log = ((System.Windows.Controls.TextBox)(target));
     return;
     case 153:
     this.chb_Logging = ((System.Windows.Controls.CheckBox)(target));
     
     #line 268 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Logging.Unchecked += new System.Windows.RoutedEventHandler(this.chb_Logging_Checked);
     
     #line default
     #line hidden
     
     #line 268 "..\..\..\..\Frames\MainWindow.xaml"
     this.chb_Logging.Checked += new System.Windows.RoutedEventHandler(this.chb_Logging_Checked);
     
     #line default
     #line hidden
     return;
     case 154:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 269 "..\..\..\..\Frames\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#27
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 19 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 19 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;

            case 3:
                this.toolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 4:
                this.scaleSlider = ((System.Windows.Controls.Slider)(target));

            #line 24 "..\..\..\MainWindow.xaml"
                this.scaleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.scaleSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.doorSlider = ((System.Windows.Controls.Slider)(target));

            #line 27 "..\..\..\MainWindow.xaml"
                this.doorSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.doorSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.r = ((System.Windows.Controls.Slider)(target));

            #line 30 "..\..\..\MainWindow.xaml"
                this.r.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.r_ValueChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.g = ((System.Windows.Controls.Slider)(target));

            #line 33 "..\..\..\MainWindow.xaml"
                this.g.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.g_ValueChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.b = ((System.Windows.Controls.Slider)(target));

            #line 36 "..\..\..\MainWindow.xaml"
                this.b.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.b_ValueChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.cb = ((System.Windows.Controls.CheckBox)(target));

            #line 38 "..\..\..\MainWindow.xaml"
                this.cb.Checked += new System.Windows.RoutedEventHandler(this.cb_Unchecked);

            #line default
            #line hidden

            #line 38 "..\..\..\MainWindow.xaml"
                this.cb.Unchecked += new System.Windows.RoutedEventHandler(this.cb_Unchecked);

            #line default
            #line hidden
                return;

            case 10:
                this.cb2 = ((System.Windows.Controls.CheckBox)(target));

            #line 39 "..\..\..\MainWindow.xaml"
                this.cb2.Checked += new System.Windows.RoutedEventHandler(this.cb_Unchecked2);

            #line default
            #line hidden

            #line 39 "..\..\..\MainWindow.xaml"
                this.cb2.Unchecked += new System.Windows.RoutedEventHandler(this.cb_Unchecked2);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 19 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 19 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;

            case 3:
                this.toolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 4:
                this.dist = ((System.Windows.Controls.Slider)(target));

            #line 24 "..\..\..\MainWindow.xaml"
                this.dist.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.dist_ValueChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.size = ((System.Windows.Controls.Slider)(target));

            #line 27 "..\..\..\MainWindow.xaml"
                this.size.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.size_ValueChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.speed = ((System.Windows.Controls.Slider)(target));

            #line 30 "..\..\..\MainWindow.xaml"
                this.speed.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.speed_ValueChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#29
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\SectionForm.xaml"
                ((MidasHelper_CS.SectionForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 5 "..\..\..\SectionForm.xaml"
                ((MidasHelper_CS.SectionForm)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.label_H01 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.text_H01 = ((System.Windows.Controls.TextBox)(target));

            #line 10 "..\..\..\SectionForm.xaml"
                this.text_H01.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H01_TextChanged_1);

            #line default
            #line hidden
                return;

            case 5:
                this.label_H02 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.text_H02 = ((System.Windows.Controls.TextBox)(target));

            #line 12 "..\..\..\SectionForm.xaml"
                this.text_H02.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H02_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.label_H03 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.text_H03 = ((System.Windows.Controls.TextBox)(target));

            #line 14 "..\..\..\SectionForm.xaml"
                this.text_H03.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H03_TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.label_B01 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.text_B01 = ((System.Windows.Controls.TextBox)(target));

            #line 16 "..\..\..\SectionForm.xaml"
                this.text_B01.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_B01_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.label_B02 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.text_B02 = ((System.Windows.Controls.TextBox)(target));

            #line 18 "..\..\..\SectionForm.xaml"
                this.text_B02.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_B02_TextChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.label_B03 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.text_B03 = ((System.Windows.Controls.TextBox)(target));

            #line 20 "..\..\..\SectionForm.xaml"
                this.text_B03.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_B03_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.label_B04 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.text_B04 = ((System.Windows.Controls.TextBox)(target));

            #line 22 "..\..\..\SectionForm.xaml"
                this.text_B04.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_B04_TextChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.label_B05 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.text_B05 = ((System.Windows.Controls.TextBox)(target));

            #line 24 "..\..\..\SectionForm.xaml"
                this.text_B05.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_B05_TextChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.label_B06 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.text_B06 = ((System.Windows.Controls.TextBox)(target));

            #line 26 "..\..\..\SectionForm.xaml"
                this.text_B06.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_B06_TextChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.btn_test = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\SectionForm.xaml"
                this.btn_test.Click += new System.Windows.RoutedEventHandler(this.btn_ok_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 23:
                this.label_h = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.label_b = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.label_11 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.text_h11 = ((System.Windows.Controls.TextBox)(target));

            #line 35 "..\..\..\SectionForm.xaml"
                this.text_h11.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_h11_TextChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.text_b11 = ((System.Windows.Controls.TextBox)(target));

            #line 36 "..\..\..\SectionForm.xaml"
                this.text_b11.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_b11_TextChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.label_12 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.text_h12 = ((System.Windows.Controls.TextBox)(target));

            #line 38 "..\..\..\SectionForm.xaml"
                this.text_h12.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_h12_TextChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.text_b12 = ((System.Windows.Controls.TextBox)(target));

            #line 39 "..\..\..\SectionForm.xaml"
                this.text_b12.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_b12_TextChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.label_21 = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.text_h21 = ((System.Windows.Controls.TextBox)(target));

            #line 41 "..\..\..\SectionForm.xaml"
                this.text_h21.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_h21_TextChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.text_b21 = ((System.Windows.Controls.TextBox)(target));

            #line 42 "..\..\..\SectionForm.xaml"
                this.text_b21.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_b21_TextChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.label_22 = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.text_h22 = ((System.Windows.Controls.TextBox)(target));

            #line 44 "..\..\..\SectionForm.xaml"
                this.text_h22.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_h22_TextChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.text_b22 = ((System.Windows.Controls.TextBox)(target));

            #line 45 "..\..\..\SectionForm.xaml"
                this.text_b22.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_b22_TextChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.label_31 = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.text_h31 = ((System.Windows.Controls.TextBox)(target));

            #line 47 "..\..\..\SectionForm.xaml"
                this.text_h31.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_h31_TextChanged);

            #line default
            #line hidden
                return;

            case 39:
                this.text_b31 = ((System.Windows.Controls.TextBox)(target));

            #line 48 "..\..\..\SectionForm.xaml"
                this.text_b31.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_b31_TextChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.label_32 = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.text_h32 = ((System.Windows.Controls.TextBox)(target));

            #line 50 "..\..\..\SectionForm.xaml"
                this.text_h32.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_h32_TextChanged);

            #line default
            #line hidden
                return;

            case 42:
                this.text_b32 = ((System.Windows.Controls.TextBox)(target));

            #line 51 "..\..\..\SectionForm.xaml"
                this.text_b32.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_b32_TextChanged);

            #line default
            #line hidden
                return;

            case 43:
                this.label_41 = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.text_h41 = ((System.Windows.Controls.TextBox)(target));

            #line 53 "..\..\..\SectionForm.xaml"
                this.text_h41.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_h41_TextChanged);

            #line default
            #line hidden
                return;

            case 45:
                this.text_b41 = ((System.Windows.Controls.TextBox)(target));

            #line 54 "..\..\..\SectionForm.xaml"
                this.text_b41.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_b41_TextChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.label_42 = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.text_h42 = ((System.Windows.Controls.TextBox)(target));

            #line 56 "..\..\..\SectionForm.xaml"
                this.text_h42.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_h42_TextChanged);

            #line default
            #line hidden
                return;

            case 48:
                this.text_b42 = ((System.Windows.Controls.TextBox)(target));

            #line 57 "..\..\..\SectionForm.xaml"
                this.text_b42.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_b42_TextChanged);

            #line default
            #line hidden
                return;

            case 49:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));

            #line 62 "..\..\..\SectionForm.xaml"
                this.textBox1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H11_TextChanged_1);

            #line default
            #line hidden
                return;

            case 53:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 54:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));

            #line 64 "..\..\..\SectionForm.xaml"
                this.textBox2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H12_TextChanged_1);

            #line default
            #line hidden
                return;

            case 55:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 56:
                this.textBox3 = ((System.Windows.Controls.TextBox)(target));

            #line 66 "..\..\..\SectionForm.xaml"
                this.textBox3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H21_TextChanged_1);

            #line default
            #line hidden
                return;

            case 57:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 58:
                this.textBox4 = ((System.Windows.Controls.TextBox)(target));

            #line 68 "..\..\..\SectionForm.xaml"
                this.textBox4.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H22_TextChanged_1);

            #line default
            #line hidden
                return;

            case 59:
                this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 60:
                this.label_H11 = ((System.Windows.Controls.Label)(target));
                return;

            case 61:
                this.text_H11 = ((System.Windows.Controls.TextBox)(target));

            #line 75 "..\..\..\SectionForm.xaml"
                this.text_H11.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H11_TextChanged_1);

            #line default
            #line hidden
                return;

            case 62:
                this.label_H12 = ((System.Windows.Controls.Label)(target));
                return;

            case 63:
                this.text_H12 = ((System.Windows.Controls.TextBox)(target));

            #line 77 "..\..\..\SectionForm.xaml"
                this.text_H12.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H12_TextChanged_1);

            #line default
            #line hidden
                return;

            case 64:
                this.label_H21 = ((System.Windows.Controls.Label)(target));
                return;

            case 65:
                this.text_H21 = ((System.Windows.Controls.TextBox)(target));

            #line 79 "..\..\..\SectionForm.xaml"
                this.text_H21.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H21_TextChanged_1);

            #line default
            #line hidden
                return;

            case 66:
                this.label_H22 = ((System.Windows.Controls.Label)(target));
                return;

            case 67:
                this.text_H22 = ((System.Windows.Controls.TextBox)(target));

            #line 81 "..\..\..\SectionForm.xaml"
                this.text_H22.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_H22_TextChanged_1);

            #line default
            #line hidden
                return;

            case 68:
                this.combo_select = ((System.Windows.Controls.ComboBox)(target));

            #line 84 "..\..\..\SectionForm.xaml"
                this.combo_select.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.combo_select_SelectionChanged);

            #line default
            #line hidden
                return;

            case 69:
                this.check_textview = ((System.Windows.Controls.CheckBox)(target));

            #line 85 "..\..\..\SectionForm.xaml"
                this.check_textview.Click += new System.Windows.RoutedEventHandler(this.check_textview_Clicked);

            #line default
            #line hidden
                return;

            case 70:
                this.label_bridge_length = ((System.Windows.Controls.Label)(target));
                return;

            case 71:
                this.text_bridge_length = ((System.Windows.Controls.TextBox)(target));
                return;

            case 72:
                this.gl_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 73:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 89 "..\..\..\SectionForm.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 89 "..\..\..\SectionForm.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 89 "..\..\..\SectionForm.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;

            case 74:
                this.groupBox4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 75:
                this.groupBox5 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 76:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 77:
                this.text_big = ((System.Windows.Controls.TextBox)(target));
                return;

            case 78:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 79:
                this.text_little = ((System.Windows.Controls.TextBox)(target));
                return;

            case 80:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\..\SectionForm.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 81:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((AssimpSample.MainWindow)(target));

            #line 5 "..\..\..\MainWindow.xaml"
                this.window.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 11 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;

            case 3:
                this.rotacijalabel = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.skaliranjelabel = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.tbVisina = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.VisinaSkakanja_btn = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\..\MainWindow.xaml"
                this.VisinaSkakanja_btn.Click += new System.Windows.RoutedEventHandler(this.VisinaSkakanja_btn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.labelaTackasti = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.tackasti = ((System.Windows.Controls.CheckBox)(target));

            #line 30 "..\..\..\MainWindow.xaml"
                this.tackasti.Click += new System.Windows.RoutedEventHandler(this.TackastiIzvor_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.reflektorski = ((System.Windows.Controls.CheckBox)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.reflektorski.Click += new System.Windows.RoutedEventHandler(this.ReflektorskiIzvor_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((Projekat.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 11 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 11 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;

            case 3:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 21 "..\..\..\MainWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.button4 = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\..\MainWindow.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.button5 = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\..\MainWindow.xaml"
                this.button5.Click += new System.Windows.RoutedEventHandler(this.button5_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.button6 = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\MainWindow.xaml"
                this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.button7 = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\MainWindow.xaml"
                this.button7.Click += new System.Windows.RoutedEventHandler(this.button7_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.button8 = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\..\MainWindow.xaml"
                this.button8.Click += new System.Windows.RoutedEventHandler(this.button8_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.textBlock5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.textBlock6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.button9 = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\..\MainWindow.xaml"
                this.button9.Click += new System.Windows.RoutedEventHandler(this.button9_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.button10 = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.button10.Click += new System.Windows.RoutedEventHandler(this.button10_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\MainWindow.xaml"
                ((AssimpSample.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target));

            #line 14 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw);

            #line default
            #line hidden

            #line 15 "..\..\..\MainWindow.xaml"
                this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized);

            #line default
            #line hidden

            #line 15 "..\..\..\MainWindow.xaml"
                this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized);

            #line default
            #line hidden
                return;

            case 3:
                this.velicinaMeteTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.povecajMetuBtn = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\..\MainWindow.xaml"
                this.povecajMetuBtn.Click += new System.Windows.RoutedEventHandler(this.povecajMetuBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.smanjiMetuBtn = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\..\MainWindow.xaml"
                this.smanjiMetuBtn.Click += new System.Windows.RoutedEventHandler(this.smanjiMetuBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.duzinaMetakaTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.povecajDuzinuBtn = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.povecajDuzinuBtn.Click += new System.Windows.RoutedEventHandler(this.povecajDuzinuBtn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.smanjiDuzinuBtn = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\..\MainWindow.xaml"
                this.smanjiDuzinuBtn.Click += new System.Windows.RoutedEventHandler(this.smanjiDuzinuBtn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.colorPicker = ((System.Windows.Controls.Button)(target));

            #line 44 "..\..\..\MainWindow.xaml"
                this.colorPicker.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }