private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            PresentationSource source = PresentationSource.FromVisual(this);

            if (source != null)
            {
                //wpf by default scales. So our 50 pixel images became 75px images...
                Transform t = new ScaleTransform(1 / source.CompositionTarget.TransformToDevice.M11, 1 / source.CompositionTarget.TransformToDevice.M22);
                this.deco.LayoutTransform = t;
            }

            SetTargetImage("white");
            timer = new Stopwatch();
            timer.Start();


            toolbarImages.Add(this.btn_1);
            toolbarImages.Add(this.btn_2);
            toolbarImages.Add(this.btn_3);
            toolbarImages.Add(this.btn_4);
            toolbarImages.Add(this.btn_5);
            toolbarImages.Add(this.btn_6);
            toolbarImages.Add(this.btn_7);
            toolbarImages.Add(this.btn_8);
            toolbarImages.Add(this.btn_9);
            toolbarImages.Add(this.btn_10);

            foreach(Image img in toolbarImages)
            {
                defaultTopMargins.Add(img.Source.ToString(), img.Margin.Top);
            }
        }
        /// <summary>
        ///     Resizes the image presented by the <paramref name="imageData"/> to a <paramref name="newSize"/>.
        /// </summary>
        /// <param name="imageData">
        ///     The binary data of the image to resize.
        /// </param>
        /// <param name="newSize">
        ///     The size to which to resize the image.
        /// </param>
        /// <param name="keepAspectRatio">
        ///     A flag indicating whether to save original aspect ratio.
        /// </param>
        /// <returns>
        ///     The structure which contains binary data of resized image and the actial size of resized image depending on <paramref name="keepAspectRatio"/> value.
        /// </returns>
        /// <exception cref="InvalidOperationException">
        ///     An error occurred during resizing the image.
        /// </exception>
        public static Task<ImageInfo> ResizeAsync(this byte[] imageData, Size newSize, bool keepAspectRatio)
        {
            var result = new ImageInfo();
            var image = imageData.ToBitmap();
            var percentWidth = (double) newSize.Width/(double) image.PixelWidth;
            var percentHeight = (double) newSize.Height/(double) image.PixelHeight;

            ScaleTransform transform;
            if (keepAspectRatio)
            {
                transform = percentWidth < percentHeight
                                ? new ScaleTransform {ScaleX = percentWidth, ScaleY = percentWidth}
                                : new ScaleTransform {ScaleX = percentHeight, ScaleY = percentHeight};
            }
            else
            {
                transform = new ScaleTransform {ScaleX = percentWidth, ScaleY = percentHeight};
            }

            var resizedImage = new TransformedBitmap(image, transform);

            using (var memoryStream = new MemoryStream())
            {
                var jpegEncoder = new JpegBitmapEncoder();
                jpegEncoder.Frames.Add(BitmapFrame.Create(resizedImage));
                jpegEncoder.Save(memoryStream);

                result.Data = memoryStream.ToArray();
                result.Size = new Size(resizedImage.PixelWidth, resizedImage.PixelHeight);
            }

            return Task.FromResult(result);
        }
Example #3
0
        /// <summary>
        /// ImageControls constructor
        /// </summary>
        /// <param name="uiImage">User's Image</param>
        /// <param name="uiImageCanvas">Canvas the image is displayed on</param>
        /// <param name="uiProcImage">Processed Image</param>
        /// <param name="uiProcImageCanvas">Canvas that the processed image is displayed on</param>
        public ImageControls(Image uiImage, Canvas uiImageCanvas, Image uiProcImage, Canvas uiProcImageCanvas)
        {
            image = uiImage;
            imageCanvas = uiImageCanvas;

            procImage = uiProcImage;
            procImageCanvas = uiProcImageCanvas;

            //Create transform group that includes ScaleTransform (zooming) and TranslateTransform (panning)
            TransformGroup group = new TransformGroup();
            ScaleTransform xform = new ScaleTransform();
            group.Children.Add(xform);
            TranslateTransform tt = new TranslateTransform();
            TranslateTransform ttp = new TranslateTransform();
            group.Children.Add(tt);
            group.Children.Add(ttp);

            //Add transform group to both images. Cant add to canvas because there is no boundry for the canvas, thus the images will expand outside the GUI
            image.RenderTransform = group;
            image.MouseWheel += image_MouseWheel;
            image.MouseLeftButtonDown += image_MouseLeftButtonDown;
            image.MouseLeftButtonUp += image_MouseLeftButtonUp;
            image.MouseMove += image_MouseMove;

            procImage.RenderTransform = group;
            procImage.MouseWheel += procImage_MouseWheel;
            procImage.MouseLeftButtonDown += procImage_MouseLeftButtonDown;
            procImage.MouseLeftButtonUp += procImage_MouseLeftButtonUp;
            procImage.MouseMove += procImage_MouseMove;
        }
        /// <summary>
        /// Builds the visual tree for the ColorPicker control when the template is applied. 
        /// </summary>
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            m_rootElement = GetTemplateChild("RootElement") as Panel;
            m_hueMonitor = GetTemplateChild("HueMonitor") as Rectangle;
            m_sampleSelector = GetTemplateChild("SampleSelector") as Canvas;
            m_hueSelector = GetTemplateChild("HueSelector") as Canvas;
            m_selectedColorView = GetTemplateChild("SelectedColorView") as Rectangle;
            m_colorSample = GetTemplateChild("ColorSample") as Rectangle;
            m_hexValue = GetTemplateChild("HexValue") as TextBlock;


            m_rootElement.RenderTransform = m_scale = new ScaleTransform();

            m_hueMonitor.MouseLeftButtonDown += rectHueMonitor_MouseLeftButtonDown;
            m_hueMonitor.MouseLeftButtonUp += rectHueMonitor_MouseLeftButtonUp;
            m_hueMonitor.MouseMove += rectHueMonitor_MouseMove;

            m_colorSample.MouseLeftButtonDown += rectSampleMonitor_MouseLeftButtonDown;
            m_colorSample.MouseLeftButtonUp += rectSampleMonitor_MouseLeftButtonUp;
            m_colorSample.MouseMove += rectSampleMonitor_MouseMove;

            m_sampleX = m_colorSample.Width;
            m_sampleY = 0;
            m_huePos = 0;

            UpdateVisuals();
        }
        //Editor Ed = new Editor(Edit);

        public Manager(TabControl tabs, StackPanel Background, StackPanel Edit)
        {
            // TODO: Complete member initialization
            this.tabs = tabs;
            this.Background = Background;
            this.Edit = Edit;
            trSkw = new SkewTransform(0, 0);
            trRot = new RotateTransform(0);
            trTns = new TranslateTransform(0, 0);
            trScl = new ScaleTransform(1, 1);
            trSkw2 = new SkewTransform(0, 0);
            trRot2 = new RotateTransform(0);
            trTns2 = new TranslateTransform(0, 0);
            trScl2 = new ScaleTransform(1, 1);
            trGrp2 = new TransformGroup();
            trGrp2.Children.Add(trSkw2);
            trGrp2.Children.Add(trRot2);
            trGrp2.Children.Add(trTns2);
            trGrp2.Children.Add(trScl2);
            trGrp = new TransformGroup();
            trGrp.Children.Add(trSkw);
            trGrp.Children.Add(trRot);
            trGrp.Children.Add(trTns);
            trGrp.Children.Add(trScl);
        }
Example #6
0
 protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)
 {
     base.OnVisualChildrenChanged(visualAdded, visualRemoved);
     if (visualAdded != null)
     {
         var child = (ContentPresenter)visualAdded;
         if (((Card)child.DataContext).Controller != Player.LocalPlayer)
         {
             var scale = new ScaleTransform();
             child.RenderTransformOrigin = new Point(0.5, 0.5);
             child.RenderTransform = scale;
             var anim = new DoubleAnimation()
             {
                 Duration = new Duration(TimeSpan.FromMilliseconds(400)),
                 AutoReverse = true,
                 RepeatBehavior = new RepeatBehavior(2.166),
                 AccelerationRatio = 0.2,
                 DecelerationRatio = 0.7,
                 To = 1.2, From = 0.9,
                 FillBehavior = FillBehavior.Stop
             };
             scale.BeginAnimation(ScaleTransform.ScaleXProperty, anim);
             scale.BeginAnimation(ScaleTransform.ScaleYProperty, anim);
         }
     }
 }
        //Changes the window size to make the content authoring tool fit in any size of screen
        public void setWindowSize()
        {
            Double width = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width;
            Double height = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height;
            Double ratio = height / width;
            ScaleTransform tran = new ScaleTransform();

            if (width < 1024 || height < 850)
            {
                if (width / 1024 > height / 800)
                {

                    this.Height = height - 60;
                    this.Width = this.Height / 800 * 1024;
                    tran.ScaleY = this.Height / 800;
                    tran.ScaleX = this.Width / 1024;

                }
                else
                {
                    this.Width = width - 60;

                    this.Height = this.Width / 1024 * 800;
                    tran.ScaleX = this.Width / 1024;
                    tran.ScaleY = this.Height / 800;

                }
              mainCanvas.RenderTransform = tran;
            }
        }
        public MainWindow()
        {
            view = new ViewParams();
            InitializeComponent();
            scale = new ScaleTransform(1, 1, 0, 0);
            pan = new TranslateTransform(0, plot.Height);
            signals = new SignalCollection(this);
                signals.scaleSignalStrokes(scale);
                signals.updateLabels();
            resetTransform();
            ports = SerialPort.GetPortNames();
            
            Console.WriteLine("ports:");
            foreach(string port in ports){
                comportList.Items.Add(port.ToString());
                Console.WriteLine(port);
            }
            arduinoPort = new SerialPort();
            arduinoPort.Parity = Parity.None;
            arduinoPort.StopBits = StopBits.One;
            arduinoPort.DataBits = 8;
            arduinoPort.BaudRate = 9600;
            arduinoPort.ReadTimeout = 200;
            if (comportList.Items.Count > 0)
            {
                arduinoPort.PortName = comportList.Items[0].ToString();
            }
            else
            {
                Console.WriteLine("No ports available");
                connectButton.IsEnabled = false;
            }


        }
 static FilterCellFactory()
 {
     _bmpActiveFilter = LoadImage(".ActiveFilter.png");
     _bmpInactiveFilter = LoadImage(".InactiveFilter.png");
     _sortGlyphTransform = new ScaleTransform();
     _sortGlyphTransform.ScaleY = 0.7;
 }
Example #10
0
        /// <internalonly />
        protected override ProceduralAnimation CreateTransitionAnimation(Panel container, EffectDirection direction)
        {
            if (_scaleTransform == null) {
                _scaleTransform = new ScaleTransform();
                container.RenderTransform = _scaleTransform;

                container.RenderTransformOrigin = new Point(0.5, 0.5);
            }

            TweenInterpolation interpolation = GetEffectiveInterpolation();
            TimeSpan shortDuration = TimeSpan.FromMilliseconds(Duration.TotalMilliseconds / 3);

            FlipScaleAnimation scaleAnimation =
                new FlipScaleAnimation(Duration, _scaleTransform,
                                       (direction == EffectDirection.Forward ? 180 : -180));
            scaleAnimation.Interpolation = interpolation;

            DoubleAnimation frontAnimation =
                new DoubleAnimation(container.Children[1], UIElement.OpacityProperty, shortDuration,
                                    (direction == EffectDirection.Forward ? 0 : 1));
            frontAnimation.Interpolation = interpolation;
            frontAnimation.StartDelay = shortDuration;

            DoubleAnimation backAnimation =
                new DoubleAnimation(container.Children[0], UIElement.OpacityProperty, shortDuration,
                                    (direction == EffectDirection.Forward ? 1 : 0));
            backAnimation.Interpolation = interpolation;
            backAnimation.StartDelay = shortDuration;

            return new ProceduralAnimationSet(scaleAnimation, frontAnimation, backAnimation);
        }
		private void loadBubbles()
		{
			PART_bubbles.Children.Clear();
			var animationSkew = 0;
			foreach (var theme in themeSource)
			{
				var scaleTransfrom = new ScaleTransform(0, 0, .5, .5);
				var bubbles = new Ellipse
				{
					Width = 50,
					Height = 50,
					Tag = theme,
					Fill = theme.P500,
					Effect = MaterialPalette.Shadows.ShadowDelta2,
					RenderTransformOrigin = new Point(.5, .5),
					RenderTransform = scaleTransfrom
				};
				bubbles.MouseUp += bubbleClicked;
				PART_bubbles.Children.Add(bubbles);
				scaleTransfrom.animate(ScaleTransform.ScaleXProperty, 400, 1, animationSkew, new BackEase
				{ EasingMode = EasingMode.EaseOut, Amplitude = .6 });
				scaleTransfrom.animate(ScaleTransform.ScaleYProperty, 400, 1, animationSkew, new BackEase
				{ EasingMode = EasingMode.EaseOut, Amplitude = .6 });
				animationSkew += 10;
				//new SineEase {EasingMode = EasingMode.EaseIn});
				//scaleTransfrom.BeginAnimation(ScaleTransform.ScaleXProperty, new DoubleAnimation())
			}

		}
        private static ScaleTransform GetTransformFromChild(UIElement child)
        {
            ScaleTransform scaleTransform = null;
            if (child.RenderTransform == null || child.RenderTransform == MatrixTransform.Identity)
            {
                scaleTransform = new ScaleTransform();
                child.RenderTransform = scaleTransform;
            }
            else
            {
                if (child.RenderTransform is ScaleTransform)
                {
                    scaleTransform = child.RenderTransform as ScaleTransform;
                }
                else if (child.RenderTransform is TransformGroup)
                {
                    foreach (Transform transfrom in (child.RenderTransform as TransformGroup).Children)
                    {
                        if (transfrom is ScaleTransform)
                        {
                            scaleTransform = transfrom as ScaleTransform;
                            break;
                        }
                    }
                }
                else
                {
                    throw new InvalidOperationException();
                }
            }

            return scaleTransform;
        }
Example #13
0
        public static void ParkHotelExplorer(bool restore, double width, Canvas canvas, double top, double left, double scale, double rotate)
        {
            _canvas = canvas;
            var hotelExplorer = HotelExplorer.GetInstance();
            hotelExplorer.IsFloating = !restore;
            hotelExplorer.HightLight(!restore);
            var ypos = restore ? top : Canvas.GetTop(hotelExplorer);
            var xpos = restore ? width - left - (hotelExplorer.ActualWidth * scale) : Canvas.GetLeft(hotelExplorer);
            var yTo = restore ? 55 : top;
            var xTo = restore ? 55 : width - left - (hotelExplorer.ActualWidth / scale);
            var zoomFrom = restore ? scale : 1;
            var zoomTo = restore ? 1 : scale;
            var rotateFrom = restore ? rotate : 0;
            var rotateTo = restore ? 0 : rotate;
            var yAnimation = new DoubleAnimation
                                 {
                                     From = ypos,
                                     To = yTo,
                                     Duration = new Duration(TimeSpan.FromMilliseconds(500))
                                 };
            var xAnimation = new DoubleAnimation
                                 {
                                     From = xpos,
                                     To = xTo,
                                     Duration = new Duration(TimeSpan.FromMilliseconds(1000))
                                 };

            hotelExplorer.BeginAnimation(Canvas.TopProperty, yAnimation);
            hotelExplorer.BeginAnimation(Canvas.LeftProperty, xAnimation);

            var zoom = new DoubleAnimation
                           {
                               From = zoomFrom,
                               To = zoomTo,
                               BeginTime = TimeSpan.FromMilliseconds(0),
                               Duration = new Duration(TimeSpan.FromMilliseconds(1000))
                           };

            var rotateAnimation = new DoubleAnimation
                             {
                                 From = rotateFrom,
                                 To = rotateTo,
                                 BeginTime = TimeSpan.FromMilliseconds(0),
                                 Duration = new Duration(TimeSpan.FromMilliseconds(1000))
                             };

            zoom.Completed += HotelZoomCompleted;

            var st = new ScaleTransform();
            var rt = new RotateTransform(rotateTo, 0, 0);

            var group = new TransformGroup();
            group.Children.Add(st);
            group.Children.Add(rt);

            hotelExplorer.Container.WorkingObject.RenderTransform = group;
            st.BeginAnimation(ScaleTransform.ScaleXProperty, zoom);
            st.BeginAnimation(ScaleTransform.ScaleYProperty, zoom);
            st.BeginAnimation(RotateTransform.AngleProperty, rotateAnimation);
        }
Example #14
0
        private void DrawFormattedText(DpiScaleInfo dpiInfo)
        {
            FormattedText formattedText = new FormattedText(
                "FABLE",
                new System.Globalization.CultureInfo("en-US"),
                FlowDirection.LeftToRight,
                new Typeface(
                    new System.Windows.Media.FontFamily("Segoe UI"),
                    FontStyles.Normal,
                    FontWeights.Bold,
                    FontStretches.Normal),
                120,
                System.Windows.Media.Brushes.Red,
                dpiInfo.PixelsPerDip);

            // Build a geometry out of the text.
            Geometry geometry = new PathGeometry();
            geometry = formattedText.BuildGeometry(new System.Windows.Point(0, 0));

            // Adjust the geometry to fit the aspect ration of the video by scaling it.
            ScaleTransform myScaleTransform = new ScaleTransform();
            myScaleTransform.ScaleX = .85;
            myScaleTransform.ScaleY = 2.0;
            geometry.Transform = myScaleTransform;

            // Flatten the geometry and create a PathGeometry out of it.
            PathGeometry pathGeometry = new PathGeometry();
            pathGeometry = geometry.GetFlattenedPathGeometry();

            // Use the PathGeometry for the empty placeholder Path element in XAML.
            path.Data = pathGeometry;

            // Use the PathGeometry for the animated ball that follows the path of the text outline.
            matrixAnimation.PathGeometry = pathGeometry;
        }
        public ParkingSensorViewControl()
        {
            InitializeComponent();

            double scale = 1.0;

            for (int i = 0; i < 4; i++)
            {
                //double angle = -90.0d + 360.0d / 4.0d * (i + 0.5d);
                double angle = angles[i];

                // http://www.comanswer.com/question/silverlight-xamlwriter

                var dt = (DataTemplate)Resources["TemplateXaml"];
                Path pointer = (Path)dt.LoadContent();

                ScaleTransform st = new ScaleTransform(scale, 1.0d);
                beamsSt[i] = st;
                RotateTransform rt = new RotateTransform(angle, 0, 10);
                TranslateTransform tt = new TranslateTransform(50.0d, 0.0d);    // half the length of the beam
                TransformGroup tg = new TransformGroup();
                tg.Children.Add(st);
                tg.Children.Add(rt);
                tg.Children.Add(tt);
                pointer.RenderTransform = tg;

                mainGrid.Children.Add(pointer);
            }
        }
Example #16
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            if (ScrollViewer == null)
                return;

            BindedCanvas = f_designerCanvas = ((Canvas)ScrollViewer.Content).Children[0] as Canvas;
            f_designerCanvas = ScrollViewer.Content as Canvas;
            if (f_designerCanvas == null)
                throw new Exception("Canvas must not be null!");

            //f_zoomThumb = Template.FindName("PART_ZoomThumb", this) as Thumb;
            //if (f_zoomThumb == null)
            //    throw new Exception("PART_ZoomThumb template is missing!");

            f_zoomCanvas = Template.FindName("PART_ZoomCanvas", this) as Canvas;
            if (f_zoomCanvas == null)
                throw new Exception("PART_ZoomCanvas template is missing!");

            f_zoomSlider = Template.FindName("PART_ZoomSlider", this) as Slider;
            if (f_zoomSlider == null)
                throw new Exception("PART_ZoomSlider template is missing!");

            f_designerCanvas.LayoutUpdated += DesignerCanvas_LayoutUpdated;

            //f_zoomThumb.DragDelta += Thumb_DragDelta;

            f_zoomSlider.ValueChanged += ZoomSlider_ValueChanged;

            f_scaleTransform = new ScaleTransform();
            f_designerCanvas.LayoutTransform = f_scaleTransform;
        }
Example #17
0
		public PanelMoveAdorner(DesignItem item)
		{
			this.item = item;
			
			scaleTransform = new ScaleTransform(1.0, 1.0);
			this.LayoutTransform = scaleTransform;
		}
 private void SkalerNed(object sender, RoutedEventArgs e)
 {
     scaleX -= 0.20;
     scaleY -= 0.20;
     Transform tf = new ScaleTransform(scaleX, scaleY);
     stPnlMain.LayoutTransform = tf;
 }
Example #19
0
 public Wall(Canvas container, Point position, double width, double height) {
   this.container = container;
   this.position = position;
   this.width = width;
   this.height = height;
   this.image = new ImageBrush();
   Debug.WriteLine("IMG width: " + imageSource.PixelWidth + ", height: " + imageSource.PixelHeight);
   this.image.ImageSource = imageSource;
   this.image.Stretch = Stretch.None;
   transform = new TranslateTransform();
   transform.X = -this.position.X;
   transform.Y = -this.position.Y;
   st = new ScaleTransform();
   st.ScaleX = 1.55;
   st.ScaleY = 2;
   this.image.RelativeTransform = st;
   this.image.Transform = transform;
   this.imageContainer = new Canvas();
   this.imageContainer.Width = width;
   this.imageContainer.Height = height;
   this.imageContainer.Background = this.image;
   this.container.Children.Add(this.imageContainer);
   Canvas.SetLeft(this.imageContainer, this.position.X);
   Canvas.SetTop(this.imageContainer, this.position.Y);
   Canvas.SetZIndex(this.imageContainer, 2);
 }
Example #20
0
        /// <summary>
        /// Updates the canvas information (for if canvas size changes)
        /// </summary>
        public void Update(Size canvasSize, int gridSize)
        {
            var previousSize = CanvasSize;

            Center = new Point(canvasSize.Width / 2, canvasSize.Height / 2);

            RotationTransform = new RotateTransform(45, Center.X, Center.Y);
            FlipTransform = new ScaleTransform(1, -1, Center.X, Center.Y);
            Transforms = new TransformGroup();
            Transforms.Children.Add(RotationTransform);
            Transforms.Children.Add(FlipTransform);

            RotationTransformReverse = new RotateTransform(-45, Center.X, Center.Y);
            TransformsReverse = new TransformGroup();
            TransformsReverse.Children.Add(FlipTransform);
            TransformsReverse.Children.Add(RotationTransform);

            CanvasSize = canvasSize;
            Grid = new Size((int)(canvasSize.Width / gridSize), (int)(canvasSize.Height / gridSize));
            GridSquareSize = new Size(gridSize, gridSize);
            LastCanvas = this;

            ClipRegion = new RectangleGeometry(new Rect(new Point(20, 20), new Size(canvasSize.Width - 40, canvasSize.Height - 40)));

            if (OnCanvasSizeChanged != null && !previousSize.Equals(CanvasSize))
                OnCanvasSizeChanged(previousSize, CanvasSize);
        }
Example #21
0
        private void ScaleDown()
        {
            Storyboard storyboard = new Storyboard();
            ScaleTransform scaleTranform = new ScaleTransform(1.0, 1.0);
            this.RenderTransformOrigin = new Point(0.5, 0.5);
            this.RenderTransform = scaleTranform;

            DoubleAnimation animationX = new DoubleAnimation();
            animationX.Duration = TimeSpan.FromMilliseconds(HoldThreshold);
            animationX.From = 1.0;
            animationX.To = ScaleFactor;
            storyboard.Children.Add(animationX);
            Storyboard.SetTargetProperty(animationX, new PropertyPath("RenderTransform.ScaleX"));
            Storyboard.SetTarget(animationX, this);

            DoubleAnimation animationY = new DoubleAnimation();
            animationY.Duration = TimeSpan.FromMilliseconds(HoldThreshold);
            animationY.From = 1.0;
            animationY.To = ScaleFactor;
            storyboard.Children.Add(animationY);
            Storyboard.SetTargetProperty(animationY, new PropertyPath("RenderTransform.ScaleY"));
            Storyboard.SetTarget(animationY, this);

            storyboard.Begin();
        }
 void CreateSubMagic(RoleBase caster,RoleBase startTarget, RoleBase endTarget, Space space, MagicArgs args)
 {
     AnimationBase animation = new AnimationBase() { Code = args.ResCode, Z = startTarget.Z + 1 };
     double offsetStartY = (startTarget.State == States.Riding ? (startTarget.Profession == Professions.Taoist ? 130 : 110) : 60) * args.Scale;
     double offsetEndY = (endTarget.State == States.Riding ? 100 : 50) * args.Scale;
     Point from = new Point(startTarget.Position.X, startTarget.Position.Y - offsetStartY);
     Point to = new Point(endTarget.Position.X, endTarget.Position.Y - offsetEndY);
     RotateTransform rotateTransform = new RotateTransform() {
         CenterX = animation.Center.X,
         CenterY = animation.Center.Y,
         Angle = GlobalMethod.GetAngle(to.Y - from.Y, to.X - from.X)
     };
     ScaleTransform scaleTransform = new ScaleTransform() {
         CenterX = animation.Center.X,
         CenterY = animation.Center.Y,
         ScaleX = (GlobalMethod.GetDistance(startTarget.Position, endTarget.Position) / Convert.ToInt32(args.Tag)),
         ScaleY = args.Scale
     };
     TransformGroup transformGroup = new TransformGroup();
     transformGroup.Children.Add(scaleTransform);
     transformGroup.Children.Add(rotateTransform);
     animation.RenderTransform = transformGroup;
     animation.Position = from;
     space.AddUIElement(animation);
     EventHandler handler = null;
     animation.End += handler = delegate {
         animation.End -= handler;
         space.RemoveAnimation(animation);
     };
     animation.HeartStart();
 }
Example #23
0
        public Sprite(FrameworkElement content)
        {
            Content = content;
            Width = (float)content.Width;
            Height = (float)content.Height;

            TranslateTransform = new TranslateTransform();
            TranslateTransform.X = 0;
            TranslateTransform.Y = 0;

            RotateTransform = new RotateTransform();
            RotateTransform.CenterX = Origin.X;
            RotateTransform.CenterY = Origin.Y;
            RotateTransform.Angle = 0;

            ScaleTransform = new ScaleTransform();
            ScaleTransform.ScaleX = 1;
            ScaleTransform.ScaleY = 1;

            _transformGroup = new TransformGroup();
            _transformGroup.Children.Add(RotateTransform);
            _transformGroup.Children.Add(TranslateTransform);
            _transformGroup.Children.Add(ScaleTransform);
            RenderTransform = _transformGroup;
        }
Example #24
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            if (this.ScrollViewer == null)
                return;

            this.designerCanvas = this.ScrollViewer.Content as DesignerCanvas;
            if (this.designerCanvas == null)
                throw new Exception("DesignerCanvas must not be null!");

            this.zoomThumb = Template.FindName("PART_ZoomThumb", this) as Thumb;
            if (this.zoomThumb == null)
                throw new Exception("PART_ZoomThumb template is missing!");

            this.zoomCanvas = Template.FindName("PART_ZoomCanvas", this) as Canvas;
            if (this.zoomCanvas == null)
                throw new Exception("PART_ZoomCanvas template is missing!");

            this.zoomSlider = Template.FindName("PART_ZoomSlider", this) as Slider;
            if (this.zoomSlider == null)
                throw new Exception("PART_ZoomSlider template is missing!");

            this.designerCanvas.LayoutUpdated += new EventHandler(this.DesignerCanvas_LayoutUpdated);

            this.zoomThumb.DragDelta += new DragDeltaEventHandler(this.Thumb_DragDelta);

            this.zoomSlider.ValueChanged += new RoutedPropertyChangedEventHandler<double>(this.ZoomSlider_ValueChanged);

            this.scaleTransform = new ScaleTransform();
            this.designerCanvas.LayoutTransform = this.scaleTransform;
        }
 private void SkalerOp(object sender, RoutedEventArgs e)
 {
     scaleX += 0.25;
     scaleY += 0.25;
     Transform tf = new ScaleTransform(scaleX, scaleY);
     stPnlMain.LayoutTransform = tf;
 }
        public void MatchFinished(bool isAccepted)
        {
            if (!isAccepted)
            {
                ColorAnimation opacityOut = new ColorAnimation(Colors.Transparent, new Duration(TimeSpan.FromSeconds(0.5)));
                card1.BeginAnimation(Rectangle.FillProperty, opacityOut, HandoffBehavior.SnapshotAndReplace);
                card2.BeginAnimation(Rectangle.FillProperty, opacityOut, HandoffBehavior.SnapshotAndReplace);
                card3.BeginAnimation(Rectangle.FillProperty, opacityOut, HandoffBehavior.SnapshotAndReplace);
            }
            else
            {
                ScaleTransform scale = new ScaleTransform(1.0, 1.0, card1.Width / 2, card1.Height / 2);
                DoubleAnimation scaleOutAnim = new DoubleAnimation(1.0, 10.0, new Duration(TimeSpan.FromSeconds(0.5)));
                card1.RenderTransform = scale;
                card2.RenderTransform = scale;
                card3.RenderTransform = scale;
                scale.BeginAnimation(ScaleTransform.ScaleXProperty, scaleOutAnim, HandoffBehavior.SnapshotAndReplace);
                scale.BeginAnimation(ScaleTransform.ScaleYProperty, scaleOutAnim, HandoffBehavior.SnapshotAndReplace);
                scaleOutAnim.Completed += new EventHandler(scaleOutAnim_Completed);

                DoubleAnimation opacityOutAnim = new DoubleAnimation(1.0, 0.0, new Duration(TimeSpan.FromSeconds(0.5)));
                card1.BeginAnimation(Rectangle.OpacityProperty, opacityOutAnim, HandoffBehavior.SnapshotAndReplace);
                card2.BeginAnimation(Rectangle.OpacityProperty, opacityOutAnim, HandoffBehavior.SnapshotAndReplace);
                card3.BeginAnimation(Rectangle.OpacityProperty, opacityOutAnim, HandoffBehavior.SnapshotAndReplace);
            }
        }
        public void Initialize(UIElement element)
        {

            this.child = element;
            if (child != null)
            {
                TransformGroup group = new TransformGroup();

                ScaleTransform st = new ScaleTransform();
                group.Children.Add(st);

                TranslateTransform tt = new TranslateTransform();

                group.Children.Add(tt);

                child.RenderTransform = group;
                child.RenderTransformOrigin = new Point(0.0, 0.0);

                child.MouseWheel += child_MouseWheel;
                child.MouseLeftButtonDown += child_MouseLeftButtonDown;
                child.MouseLeftButtonUp += child_MouseLeftButtonUp;
                child.MouseMove += child_MouseMove;
                child.PreviewMouseRightButtonDown += new MouseButtonEventHandler(child_PreviewMouseRightButtonDown);
            }
        }
Example #28
0
        private void Page_SizeChanged(object sender, SizeChangedEventArgs e)
        {
            // Compare the current window to the ideal dimensions.
            double heightRatio = this.ActualHeight / idealPageSize.Height;
            double widthRatio = this.ActualWidth / idealPageSize.Width;

            // Create the transform.
            ScaleTransform scale = new ScaleTransform();

            // Determine the smallest dimension.
            // This preserves the aspect ratio.
            if (heightRatio < widthRatio)
            {
                scale.ScaleX = heightRatio;
                scale.ScaleY = heightRatio;
            }
            else
            {
                scale.ScaleX = widthRatio;
                scale.ScaleY = widthRatio;
            }

            // Apply the transform.
            this.RenderTransform = scale;
        }
 void CreateSubMagic(RoleBase caster, Space space, MagicArgs args, int index)
 {
     AnimationBase animation = new AnimationBase() { Code = args.ResCode,  Z = targets[index].Z + 1, Effect = shiftHue };
     double offsetStartY = (caster.State == States.Riding ? (caster.Profession == Professions.Taoist ? 130 : 110) : 60) * caster.Scale;
     double offsetEndY = (targets[index].State == States.Riding ? 100 : 50) * caster.Scale;
     Point from = index == 0 ? new Point(args.Position.X, args.Position.Y - offsetStartY) : temp;
     Point to = new Point(targets[index].Position.X, targets[index].Position.Y - offsetEndY);
     temp = to;
     RotateTransform rotateTransform = new RotateTransform() {
         CenterX = animation.Center.X,
         CenterY = animation.Center.Y,
         Angle = GlobalMethod.GetAngle(to.Y - from.Y, to.X - from.X)
     };
     ScaleTransform scaleTransform = new ScaleTransform() {
         CenterX = animation.Center.X,
         CenterY = animation.Center.Y,
         ScaleX = (GlobalMethod.GetDistance(index == 0 ? args.Position : targets[index - 1].Position, targets[index].Position) / 440), //440为其实体宽度,这里用了硬编码
         ScaleY = caster.Scale
     };
     TransformGroup transformGroup = new TransformGroup();
     transformGroup.Children.Add(scaleTransform);
     transformGroup.Children.Add(rotateTransform);
     animation.RenderTransform = transformGroup;
     animation.Position = from;
     space.AddUIElement(animation);
     EventHandler handler = null;
     animation.End += handler = delegate {
         animation.End -= handler;
         space.RemoveAnimation(animation);
         if (index == targets.Count) { targets.Clear(); }
     };
     animation.HeartStart();
 }
        public PreviewGrid(Picture picture)
            : base()
        {
            _displayPicture = picture;
            _viewPort = new ViewportControl();
            this.Children.Add(_viewPort);

            _viewPort.ManipulationStarted += OnViewportManipulationStarted;
            _viewPort.ManipulationDelta += OnViewportManipulationDelta;
            _viewPort.ManipulationCompleted += OnViewportManipulationCompleted;
            _viewPort.ViewportChanged += OnViewportChanged;

            ImageLoaded = false;

            _imageView = new Image();
            _bitmap = new BitmapImage();
            //_bitmap.SetSource(picture.GetImage());
            _imageView.Source = _bitmap;
            _imageView.Stretch = Stretch.Uniform;
            _imageView.RenderTransformOrigin = new Point(0, 0);

            _scaleTransform = new ScaleTransform();
            _imageView.RenderTransform = _scaleTransform;

            _imageHolderCanvas = new Canvas();
            _imageHolderCanvas.Children.Add(_imageView);

            _viewPort.Content = _imageHolderCanvas;

            //LoadImage();
        }
Example #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 69 "..\..\..\AddNewSeller.xaml"
                ((System.Windows.Controls.Grid)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.WhenSizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.ScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

            case 4:
                this.NameError = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 6:
                this.SizeError = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 8:
                this.TypeError = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 10:
                this.ContactError = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.ErrorText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:

            #line 155 "..\..\..\AddNewSeller.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddSeller);

            #line default
            #line hidden
                return;

            case 13:

            #line 159 "..\..\..\AddNewSeller.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToUserPage);

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

            #line 7 "..\..\..\windows\main_menu.xaml"
                this.myMainWindow.Loaded += new System.Windows.RoutedEventHandler(this.myMainWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));

            #line 8 "..\..\..\windows\main_menu.xaml"
                this.MainGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.MainGrid_SizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.ApplicationScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\windows\main_menu.xaml"
                this.test_btn_2.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\windows\main_menu.xaml"
                this.Close_btn.Click += new System.Windows.RoutedEventHandler(this.Close_btn_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 20 "..\..\..\windows\main_menu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 8:
                this.Projects_Dg = ((System.Windows.Controls.DataGrid)(target));

            #line 24 "..\..\..\windows\main_menu.xaml"
                this.Projects_Dg.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Projects_Dg_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\..\windows\main_menu.xaml"
                this.ProjectSearchTb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_Tb_TextChanged);

            #line default
            #line hidden

            #line 105 "..\..\..\windows\main_menu.xaml"
                this.ProjectSearchTb.GotFocus += new System.Windows.RoutedEventHandler(this.ProjectSearchTb_GotFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.ProjectCommentsDatagrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 131 "..\..\..\windows\main_menu.xaml"
                this.ClearSearchPro_Btn.Click += new System.Windows.RoutedEventHandler(this.ClearSearchPro_Btn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.ProjectCommentSearchTb = ((System.Windows.Controls.TextBox)(target));

            #line 132 "..\..\..\windows\main_menu.xaml"
                this.ProjectCommentSearchTb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ProjectCommentSearchTbTextChanged);

            #line default
            #line hidden

            #line 132 "..\..\..\windows\main_menu.xaml"
                this.ProjectCommentSearchTb.GotFocus += new System.Windows.RoutedEventHandler(this.ProjectCommentSearchTbGotFocus);

            #line default
            #line hidden
                return;

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

            #line 133 "..\..\..\windows\main_menu.xaml"
                this.ClearProjectCommentSearchTbBtn.Click += new System.Windows.RoutedEventHandler(this.ClearProjectCommentSearchTbBtnClick);

            #line default
            #line hidden
                return;

            case 15:
                this.Tasks_Dg = ((System.Windows.Controls.DataGrid)(target));

            #line 142 "..\..\..\windows\main_menu.xaml"
                this.Tasks_Dg.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Tasks_Dg_SelectionChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.TaskCommentsDatagrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 247 "..\..\..\windows\main_menu.xaml"
                this.TaskSearchTb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TaskSearch_Tb_TextChanged);

            #line default
            #line hidden

            #line 247 "..\..\..\windows\main_menu.xaml"
                this.TaskSearchTb.GotFocus += new System.Windows.RoutedEventHandler(this.TaskSearchTb_GotFocus);

            #line default
            #line hidden
                return;

            case 19:
                this.ClearTasksSearchBtn = ((System.Windows.Controls.Button)(target));

            #line 248 "..\..\..\windows\main_menu.xaml"
                this.ClearTasksSearchBtn.Click += new System.Windows.RoutedEventHandler(this.ClearTasksSearchBtnClick);

            #line default
            #line hidden
                return;

            case 20:
                this.test_btn = ((System.Windows.Controls.Button)(target));

            #line 252 "..\..\..\windows\main_menu.xaml"
                this.test_btn.Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 21:

            #line 262 "..\..\..\windows\main_menu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 22:

            #line 263 "..\..\..\windows\main_menu.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

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

            #line 4 "..\..\..\MainWindow.xaml"
                this.Parent.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:
                this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
                return;

            case 5:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 6:
                this.XStackPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

            case 9:
                this.scrolly = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 10:
                this.showImage = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.scale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 12:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.scrolly1 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 14:
                this.LowestOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:
                this.scrolly2 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 16:
                this.LowOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 17:
                this.scrolly3 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 18:
                this.MiddleOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 19:
                this.scrolly4 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 20:
                this.HighOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 21:
                this.scrolly5 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 22:
                this.HighestOctif = ((System.Windows.Controls.Canvas)(target));
                return;

            case 23:
                this.LowestA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.LowestBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.LowestB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.LowestC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.LowestDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.LowestD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.LowestEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.LowestE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.LowestF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.LowestGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.LowestG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.LowestAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.LowA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.LowBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.LowB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.LowC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.LowDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.LowD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.LowEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.LowE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.LowF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.LowGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.LowG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.LowAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.MiddleA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 48:
                this.MiddleBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 49:
                this.MiddleB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.MiddleC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 51:
                this.MiddleDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 52:
                this.MiddleD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.MiddleEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 54:
                this.MiddleE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 55:
                this.MiddleF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.MiddleGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.MiddleG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 58:
                this.MiddleAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:
                this.HighA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 60:
                this.HighBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 61:
                this.HighB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 62:
                this.HighC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.HighDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 64:
                this.HighD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.HighEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 66:
                this.HighE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 67:
                this.HighF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.HighGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.HighG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.HighAb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 71:
                this.HighestA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.HighestBb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 73:
                this.HighestB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 74:
                this.HighestC = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 75:
                this.HighestDb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 76:
                this.HighestD = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 77:
                this.HighestEb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 78:
                this.HighestE = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 79:
                this.HighestF = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 80:
                this.HighestGb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 81:
                this.HighestG = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 82:
                this.HighestAb = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 86:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 87:
                this.staffscroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 88:
                this.noteStaff = ((System.Windows.Controls.Canvas)(target));
                return;

            case 89:
                this.Fline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 90:
                this.Dline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 91:
                this.Bline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 92:
                this.Gline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 93:
                this.Eline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 94:
                this.NoteStatsTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 95:
                this.NoteStatsPTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 96:
                this.NoteStatsP = ((System.Windows.Controls.TextBox)(target));
                return;

            case 97:
                this.NoteStatsFTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 98:
                this.NoteStatsF = ((System.Windows.Controls.TextBox)(target));
                return;

            case 99:
                this.NoteStatsETitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 100:
                this.NoteStatsE = ((System.Windows.Controls.TextBox)(target));
                return;

            case 101:
                this.CommentsTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 102:
                this.Comments = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\Windows\MainWindow.xaml"
                ((XEditor.MainWindow)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Window_MouseMove);

            #line default
            #line hidden

            #line 8 "..\..\..\Windows\MainWindow.xaml"
                ((XEditor.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden

            #line 8 "..\..\..\Windows\MainWindow.xaml"
                ((XEditor.MainWindow)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseUp);

            #line default
            #line hidden

            #line 8 "..\..\..\Windows\MainWindow.xaml"
                ((XEditor.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 8 "..\..\..\Windows\MainWindow.xaml"
                ((XEditor.MainWindow)(target)).Drop += new System.Windows.DragEventHandler(this.Window_Drop);

            #line default
            #line hidden
                return;

            case 2:
                this.DockMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:

            #line 16 "..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.File_New_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 17 "..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.File_Open_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Menu_Close = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 6:
                this.Menu_Save = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 7:
                this.Menu_SaveAs = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 8:
                this.Menu_RecentFiles = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.Exit = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 10:
                this.Menu_LevelSettings = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 11:
                this.Menu_SaveAsCompressed = ((System.Windows.Controls.MenuItem)(target));

            #line 28 "..\..\..\Windows\MainWindow.xaml"
                this.Menu_SaveAsCompressed.Click += new System.Windows.RoutedEventHandler(this.Preferences_SaveAsCompressed);

            #line default
            #line hidden
                return;

            case 12:
                this.Menu_ShowGrid = ((System.Windows.Controls.MenuItem)(target));

            #line 29 "..\..\..\Windows\MainWindow.xaml"
                this.Menu_ShowGrid.Click += new System.Windows.RoutedEventHandler(this.Preferences_ShowGrid);

            #line default
            #line hidden
                return;

            case 13:
                this.Menu_DefaultLayers = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 14:
                this.Menu_ViewLayerMode = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 15:
                this.Menu_ViewLayerMode_Solid = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 16:
                this.Menu_ViewLayerMode_CurrentOnly = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 17:
                this.Menu_ViewLayerMode_FadeOthers = ((System.Windows.Controls.MenuItem)(target));

            #line 34 "..\..\..\Windows\MainWindow.xaml"
                this.Menu_ViewLayerMode_FadeOthers.Click += new System.Windows.RoutedEventHandler(this.Menu_ViewLayerMode_FadeOthers_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.EditorContainer = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.RadioButton_TilePlacer = ((System.Windows.Controls.RadioButton)(target));

            #line 59 "..\..\..\Windows\MainWindow.xaml"
                this.RadioButton_TilePlacer.Checked += new System.Windows.RoutedEventHandler(this.ToolSwitcher_Checked);

            #line default
            #line hidden
                return;

            case 20:
                this.RadioButton_TileSelector = ((System.Windows.Controls.RadioButton)(target));

            #line 60 "..\..\..\Windows\MainWindow.xaml"
                this.RadioButton_TileSelector.Checked += new System.Windows.RoutedEventHandler(this.ToolSwitcher_Checked);

            #line default
            #line hidden
                return;

            case 21:
                this.RadioButton_Entities = ((System.Windows.Controls.RadioButton)(target));

            #line 61 "..\..\..\Windows\MainWindow.xaml"
                this.RadioButton_Entities.Checked += new System.Windows.RoutedEventHandler(this.ToolSwitcher_Checked);

            #line default
            #line hidden
                return;

            case 22:
                this.TileLayerComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 65 "..\..\..\Windows\MainWindow.xaml"
                this.TileLayerComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TileLayerComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:

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

            #line default
            #line hidden
                return;

            case 24:

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

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:

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

            #line default
            #line hidden
                return;

            case 27:

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

            #line default
            #line hidden
                return;

            case 28:
                this.GridContainer = ((System.Windows.Controls.Grid)(target));
                return;

            case 29:
                this.TilesetGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.TilesetSelector = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 31:
                this.TilesetSelectedArea = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 32:
                this.EditorScroller = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 33:
                this.EditorMargin = ((System.Windows.Controls.Grid)(target));
                return;

            case 34:
                this.EditorScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 35:
                this.EditorGrid = ((System.Windows.Controls.Canvas)(target));

            #line 105 "..\..\..\Windows\MainWindow.xaml"
                this.EditorGrid.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.EditorGrid_MouseWheel);

            #line default
            #line hidden

            #line 105 "..\..\..\Windows\MainWindow.xaml"
                this.EditorGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

            case 36:
                this.Selector = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 37:
                this.StatusBarTextLeft = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 38:
                this.StatusBarTextRight = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.modelControl = ((VisLab.Controls.ModelControl)(target));

            #line 10 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.modelControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);

            #line default
            #line hidden
                return;

            case 4:

            #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseDown);

            #line default
            #line hidden

            #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseUp);

            #line default
            #line hidden

            #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.UserControl_MouseMove);

            #line default
            #line hidden

            #line 39 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.UserControl_MouseWheel);

            #line default
            #line hidden
                return;

            case 5:
                this.ellipse = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.cnvModel = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:
                this.ttModel = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 8:
                this.stModel = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 9:
                this.panel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.btnFixedPoints = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 55 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.btnFixedPoints.Checked += new System.Windows.RoutedEventHandler(this.btnFixedPoints_Checked);

            #line default
            #line hidden

            #line 55 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.btnFixedPoints.Unchecked += new System.Windows.RoutedEventHandler(this.btnFixedPoints_Unchecked);

            #line default
            #line hidden
                return;

            case 11:
                this.tbkXCoordinate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.tbkYCoordinate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.spModelDescription = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.countersGrid = ((System.Windows.Controls.Grid)(target));

            #line 73 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.countersGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.flyingGrid_MouseDown);

            #line default
            #line hidden
                return;

            case 15:
                this.ttDataGrid = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 16:
                this.checkGrouping = ((System.Windows.Controls.CheckBox)(target));

            #line 81 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.checkGrouping.Checked += new System.Windows.RoutedEventHandler(this.checkGrouping_Checked);

            #line default
            #line hidden

            #line 81 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.checkGrouping.Unchecked += new System.Windows.RoutedEventHandler(this.checkGrouping_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.checkMini = ((System.Windows.Controls.CheckBox)(target));

            #line 82 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.checkMini.Checked += new System.Windows.RoutedEventHandler(this.checkMini_Checked);

            #line default
            #line hidden

            #line 82 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.checkMini.Unchecked += new System.Windows.RoutedEventHandler(this.checkMini_Unchecked);

            #line default
            #line hidden
                return;

            case 18:
                this.dgCounters = ((System.Windows.Controls.DataGrid)(target));

            #line 84 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.dgCounters.MouseMove += new System.Windows.Input.MouseEventHandler(this.datagrid_MouseMove);

            #line default
            #line hidden

            #line 85 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.dgCounters.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.datagrid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.stBorder = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 20:
                this.trTimesGrid = ((System.Windows.Controls.Grid)(target));

            #line 108 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.trTimesGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.trTimesGrid_MouseDown);

            #line default
            #line hidden
                return;

            case 21:
                this.ttTrTimesGrid = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 22:
                this.dgTrTimes = ((System.Windows.Controls.DataGrid)(target));

            #line 113 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.dgTrTimes.MouseMove += new System.Windows.Input.MouseEventHandler(this.dgTrTimes_MouseMove);

            #line default
            #line hidden

            #line 114 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.dgTrTimes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgTrTimes_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.stTrTimesGrid = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 24:
                this.slider = ((System.Windows.Controls.Slider)(target));

            #line 129 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\ModelControl.xaml"
                this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider_ValueChanged);

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

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

            #line default
            #line hidden
                return;

            case 2:
                this.RootImgGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.imgViewBox = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 4:
                this.imgCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 5:
                this.imgObj = ((System.Windows.Controls.Image)(target));

            #line 12 "..\..\..\MainWindow.xaml"
                this.imgObj.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.img_MouseWheel);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.imgObj.MouseMove += new System.Windows.Input.MouseEventHandler(this.Img_MouseMove);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.imgObj.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Img_MouseDown);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.imgObj.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Img_MouseUp);

            #line default
            #line hidden
                return;

            case 6:
                this.imgTransformGroup = ((System.Windows.Media.TransformGroup)(target));
                return;

            case 7:
                this.imgScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 8:
                this.imgTranslateTransform = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 9:
                this.imgRotateTransform = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 10:
                this.imgViewBoxMagnifier = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 11:
                this.imgCanvasMagnifier = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.imgMagnifier = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.imgMagnifierTransformGroup = ((System.Windows.Media.TransformGroup)(target));
                return;

            case 14:
                this.imgMagnifierScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 15:
                this.imgMagnifierTranslateTransform = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 16:
                this.imgMagnifierRotateTransform = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 17:
                this.sldZoom = ((System.Windows.Controls.Slider)(target));

            #line 56 "..\..\..\MainWindow.xaml"
                this.sldZoom.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.btnZoomIn = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\..\MainWindow.xaml"
                this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btnZoomOut = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\..\MainWindow.xaml"
                this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btnRotate = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\..\MainWindow.xaml"
                this.btnRotate.Click += new System.Windows.RoutedEventHandler(this.btnRotate_Click);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\..\MainWindow.xaml"
                this.btnFTW.Click += new System.Windows.RoutedEventHandler(this.btnFTW_Click);

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

            #line 8 "..\..\CreateOSCDevice.xaml"
                this.createOSCWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.createOSCGrid = ((System.Windows.Controls.Grid)(target));

            #line 9 "..\..\CreateOSCDevice.xaml"
                this.createOSCGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.createOSCGrid_SizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.ApplicationScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

            case 5:
                this.addressIPTextBox = ((TouchFaders_MIDI.IPTextBox)(target));
                return;

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

            #line 29 "..\..\CreateOSCDevice.xaml"
                this.listenPort.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.listenPort_PreviewTextInput);

            #line default
            #line hidden

            #line 29 "..\..\CreateOSCDevice.xaml"
                this.listenPort.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textChanged);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\CreateOSCDevice.xaml"
                this.sendPort.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.sendPort_PreviewTextInput);

            #line default
            #line hidden

            #line 30 "..\..\CreateOSCDevice.xaml"
                this.sendPort.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textChanged);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\CreateOSCDevice.xaml"
                this.addButton.Click += new System.Windows.RoutedEventHandler(this.addButton_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\CreateOSCDevice.xaml"
                this.cancelButton.Click += new System.Windows.RoutedEventHandler(this.cancelButton_Click);

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

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

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((WpfMap.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.drawViewScroll_PreviewKeyDown);

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((WpfMap.MainWindow)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.drawViewScroll_PreviewKeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this._dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 3:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.Btn_Add_RFID.Click += new System.Windows.RoutedEventHandler(this.Btn_Add_RFID_Click);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\MainWindow.xaml"
                this.Btn_Add_RouteLine.Click += new System.Windows.RoutedEventHandler(this.Btn_Add_RouteLine_Click);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\MainWindow.xaml"
                this.Btn_Add_RouteForkLine.Click += new System.Windows.RoutedEventHandler(this.Btn_Add_RouteForkLine_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.drawViewScroll = ((System.Windows.Controls.ScrollViewer)(target));

            #line 97 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.image_PreviewMouseWheel);

            #line default
            #line hidden

            #line 98 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.imageRobot_PreviewMouseRightButtonDown);

            #line default
            #line hidden

            #line 99 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.imageRobot_PreviewMouseMove);

            #line default
            #line hidden

            #line 100 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.imageRobot_PreviewMouseRightButtonUp);

            #line default
            #line hidden

            #line 101 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.imageRobot_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 102 "..\..\MainWindow.xaml"
                this.drawViewScroll.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.imageRobot_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 8:
                this.gridDraw = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.sfr = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 10:
                this.tlt = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 11:
                this.cvGrid = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.cvMap = ((System.Windows.Controls.Canvas)(target));
                return;

            case 13:
                this.cvLine = ((System.Windows.Controls.Canvas)(target));
                return;

            case 14:
                this.cvForkLine = ((System.Windows.Controls.Canvas)(target));
                return;

            case 15:
                this.cvRFID = ((System.Windows.Controls.Canvas)(target));
                return;

            case 16:
                this.cvOperate = ((System.Windows.Controls.Canvas)(target));
                return;

            case 17:
                this.cbShowGrid = ((System.Windows.Controls.CheckBox)(target));

            #line 138 "..\..\MainWindow.xaml"
                this.cbShowGrid.Click += new System.Windows.RoutedEventHandler(this.CbShowGrid_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.Btn_SaveMap = ((System.Windows.Controls.Button)(target));

            #line 139 "..\..\MainWindow.xaml"
                this.Btn_SaveMap.Click += new System.Windows.RoutedEventHandler(this.Btn_SaveMap_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.Btn_SaveMapAs = ((System.Windows.Controls.Button)(target));

            #line 140 "..\..\MainWindow.xaml"
                this.Btn_SaveMapAs.Click += new System.Windows.RoutedEventHandler(this.Btn_SaveMapAs_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.Btn_LoadMap = ((System.Windows.Controls.Button)(target));

            #line 141 "..\..\MainWindow.xaml"
                this.Btn_LoadMap.Click += new System.Windows.RoutedEventHandler(this.Btn_LoadMap_Click);

            #line default
            #line hidden
                return;

            case 21:

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

            #line default
            #line hidden
                return;

            case 22:

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

            #line default
            #line hidden
                return;

            case 23:
                this.tbSystemMsg = ((System.Windows.Controls.TextBox)(target));

            #line 190 "..\..\MainWindow.xaml"
                this.tbSystemMsg.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TbSystemMsg_TextChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.BtnClearMsg = ((System.Windows.Controls.Button)(target));

            #line 196 "..\..\MainWindow.xaml"
                this.BtnClearMsg.Click += new System.Windows.RoutedEventHandler(this.BtnClearMsg_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.bottomsStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 26:
                this.companyLink = ((System.Windows.Documents.Hyperlink)(target));

            #line 256 "..\..\MainWindow.xaml"
                this.companyLink.Click += new System.Windows.RoutedEventHandler(this.CompanyLink_Click);

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

            #line 7 "..\..\..\..\Controls\ModelControl.xaml"
                ((VisLab.Controls.ModelControl)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseDown);

            #line default
            #line hidden

            #line 7 "..\..\..\..\Controls\ModelControl.xaml"
                ((VisLab.Controls.ModelControl)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.UserControl_MouseMove);

            #line default
            #line hidden

            #line 7 "..\..\..\..\Controls\ModelControl.xaml"
                ((VisLab.Controls.ModelControl)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.UserControl_MouseWheel);

            #line default
            #line hidden

            #line 8 "..\..\..\..\Controls\ModelControl.xaml"
                ((VisLab.Controls.ModelControl)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.cnvModel = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.ttModel = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 4:
                this.stModel = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 5:
                this.tbkXCoordinate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.tbkYCoordinate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.expander = ((System.Windows.Controls.Expander)(target));
                return;

            case 8:
                this.border = ((System.Windows.Controls.Border)(target));

            #line 59 "..\..\..\..\Controls\ModelControl.xaml"
                this.border.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.border_MouseUp);

            #line default
            #line hidden
                return;

            case 9:
                this.stack = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.Palette = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:
                this.ScrollCanvas = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 10:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.MainCanvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MainCanvasMouseDown);

            #line default
            #line hidden

            #line 79 "..\..\MainWindow.xaml"
                this.MainCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.MainCanvasMouseMove);

            #line default
            #line hidden

            #line 79 "..\..\MainWindow.xaml"
                this.MainCanvas.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Canvas_MouseLeave);

            #line default
            #line hidden

            #line 79 "..\..\MainWindow.xaml"
                this.MainCanvas.Loaded += new System.Windows.RoutedEventHandler(this.MainCanvas_Loaded);

            #line default
            #line hidden

            #line 79 "..\..\MainWindow.xaml"
                this.MainCanvas.SizeChanged += new System.Windows.SizeChangedEventHandler(this.MainCanvas_SizeChanged);

            #line default
            #line hidden

            #line 79 "..\..\MainWindow.xaml"
                this.MainCanvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.MainCanvasMouseUp);

            #line default
            #line hidden
                return;

            case 11:
                this.layout = ((System.Windows.Media.ScaleTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.scrollViewer1 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 2:
                this.rootCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.noteBackgroundCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.noteScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 5:
                this.gridCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.NoteLabelCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:
                this.NoteCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.TimeIndicatorCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 37 "..\..\..\..\ControlPanels\XAML UserControls\MIDIViewer.xaml"
                this.openBtn.Click += new System.Windows.RoutedEventHandler(this.openBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\..\ControlPanels\XAML UserControls\MIDIViewer.xaml"
                this.playBtn.Click += new System.Windows.RoutedEventHandler(this.playBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\..\ControlPanels\XAML UserControls\MIDIViewer.xaml"
                this.stopBtn.Click += new System.Windows.RoutedEventHandler(this.stopBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.tbProgress = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main_window = ((final_project2.MainWindow)(target));

            #line 7 "..\..\MainWindow.xaml"
                this.main_window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grid1 = ((System.Windows.Controls.Grid)(target));

            #line 11 "..\..\MainWindow.xaml"
                this.grid1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.grid_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.create_item = ((System.Windows.Controls.MenuItem)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.create_item.Click += new System.Windows.RoutedEventHandler(this.mnuNew_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.zoomAndPanControl = ((System.Windows.Controls.ContentControl)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.zoomAndPanControl_MouseDown);

            #line default
            #line hidden

            #line 41 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.zoomAndPanControl_MouseUp);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseMove += new System.Windows.Input.MouseEventHandler(this.zoomAndPanControl_MouseMove);

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Canvas_MouseWheel);

            #line default
            #line hidden
                return;

            case 5:
                this.front_canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.st = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.front_canvas2 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 9:
                this.Todo_box = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 83 "..\..\MainWindow.xaml"
                this.btnOpenFile2.Click += new System.Windows.RoutedEventHandler(this.btnOpenFiles_Click2);

            #line default
            #line hidden
                return;

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

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

            #line 86 "..\..\MainWindow.xaml"
                this.btnOpenWeb2.Click += new System.Windows.RoutedEventHandler(this.btnOpenWeb_Click2);

            #line default
            #line hidden
                return;

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

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

            #line 90 "..\..\MainWindow.xaml"
                this.YesButton2.Click += new System.Windows.RoutedEventHandler(this.create_Click2);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\MainWindow.xaml"
                this.NoButton2.Click += new System.Windows.RoutedEventHandler(this.cancel_Click2);

            #line default
            #line hidden
                return;

            case 17:
                this.InputBox = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 112 "..\..\MainWindow.xaml"
                this.btnOpenWeb.Click += new System.Windows.RoutedEventHandler(this.btnOpenWeb_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.WebTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.start_timepicker2 = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 24:
                this.end_timepicker2 = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 25:
                this.color = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 26:
                this.YesButton = ((System.Windows.Controls.Button)(target));

            #line 133 "..\..\MainWindow.xaml"
                this.YesButton.Click += new System.Windows.RoutedEventHandler(this.create_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.NoButton = ((System.Windows.Controls.Button)(target));

            #line 134 "..\..\MainWindow.xaml"
                this.NoButton.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.ActivityBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 29:

            #line 140 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Edit_Act);

            #line default
            #line hidden

            #line 140 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Edit_Act);

            #line default
            #line hidden
                return;

            case 30:

            #line 141 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Dele_Act);

            #line default
            #line hidden

            #line 141 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Dele_Act);

            #line default
            #line hidden
                return;

            case 31:

            #line 142 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.E_Act);

            #line default
            #line hidden

            #line 142 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.E_Act);

            #line default
            #line hidden
                return;

            case 32:
                this.EditBox = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 34:
                this.btnEditOpenFile = ((System.Windows.Controls.Button)(target));

            #line 156 "..\..\MainWindow.xaml"
                this.btnEditOpenFile.Click += new System.Windows.RoutedEventHandler(this.btnEditOpenFiles_Click);

            #line default
            #line hidden
                return;

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

            case 36:
                this.btnEditOpenWeb = ((System.Windows.Controls.Button)(target));

            #line 159 "..\..\MainWindow.xaml"
                this.btnEditOpenWeb.Click += new System.Windows.RoutedEventHandler(this.btnEditOpenWeb_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.WebEditTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.start_timepicker = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 39:
                this.end_timepicker = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 40:
                this.editcolor = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 41:
                this.Act_YesButton = ((System.Windows.Controls.Button)(target));

            #line 182 "..\..\MainWindow.xaml"
                this.Act_YesButton.Click += new System.Windows.RoutedEventHandler(this.edit_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.Act_NoButton = ((System.Windows.Controls.Button)(target));

            #line 183 "..\..\MainWindow.xaml"
                this.Act_NoButton.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

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

            case 2:
                this.chartCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.chartCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:

            #line 48 "..\..\AreaDetailsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ZoomOut_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 53 "..\..\AreaDetailsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_ZoomIn_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 58 "..\..\AreaDetailsWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_LegendShow_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.faceCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.sportNameCb = ((System.Windows.Controls.ComboBox)(target));

            #line 71 "..\..\AreaDetailsWindow.xaml"
                this.sportNameCb.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.sportNameCb_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 12:
                this.girlsLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.boysLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myMainWindow = ((Projects_Manager_Medexy.add_project)(target));

            #line 7 "..\..\..\windows\add_project.xaml"
                this.myMainWindow.Loaded += new System.Windows.RoutedEventHandler(this.myMainWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grid = ((System.Windows.Controls.Grid)(target));

            #line 8 "..\..\..\windows\add_project.xaml"
                this.grid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Grid_SizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.ApplicationScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:
                this.StartDatePicker = ((System.Windows.Controls.DatePicker)(target));

            #line 20 "..\..\..\windows\add_project.xaml"
                this.StartDatePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.StartDatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.EndDatePicker = ((System.Windows.Controls.DatePicker)(target));

            #line 24 "..\..\..\windows\add_project.xaml"
                this.EndDatePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.EndDatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\windows\add_project.xaml"
                this.pavTb.GotFocus += new System.Windows.RoutedEventHandler(this.pavTb_GotFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.added_users_dg = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 9:
                this.users_dg = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 11:
                this.searchTb = ((System.Windows.Controls.TextBox)(target));

            #line 73 "..\..\..\windows\add_project.xaml"
                this.searchTb.GotFocus += new System.Windows.RoutedEventHandler(this.searchTb_GotFocus);

            #line default
            #line hidden

            #line 73 "..\..\..\windows\add_project.xaml"
                this.searchTb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.searchTb_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\..\windows\add_project.xaml"
                this.clearSearchTb.Click += new System.Windows.RoutedEventHandler(this.clearSearchTb_Click);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\..\windows\add_project.xaml"
                this.RemoveUserBtn.Click += new System.Windows.RoutedEventHandler(this.RemoveUserBtnClick);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\..\windows\add_project.xaml"
                this.AddUserBtn.Click += new System.Windows.RoutedEventHandler(this.AddUserBtnClick);

            #line default
            #line hidden
                return;

            case 15:

            #line 79 "..\..\..\windows\add_project.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveProjectBtnClick);

            #line default
            #line hidden
                return;

            case 16:
                this.komentarasTb = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 17:
                this.flow = ((System.Windows.Documents.FlowDocument)(target));
                return;

            case 18:
                this.Paragraph = ((System.Windows.Documents.Paragraph)(target));
                return;

            case 19:
                this.Run = ((System.Windows.Documents.Run)(target));
                return;

            case 20:
                this.TasksDatagrid = ((System.Windows.Controls.DataGrid)(target));

            #line 88 "..\..\..\windows\add_project.xaml"
                this.TasksDatagrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TasksDatagrid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.TaskStartDatePicker = ((System.Windows.Controls.DatePicker)(target));

            #line 149 "..\..\..\windows\add_project.xaml"
                this.TaskStartDatePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.TaskStartDatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.TaskEndDatePicker = ((System.Windows.Controls.DatePicker)(target));

            #line 151 "..\..\..\windows\add_project.xaml"
                this.TaskEndDatePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.TaskEndDatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.TaskPavTb = ((System.Windows.Controls.TextBox)(target));

            #line 152 "..\..\..\windows\add_project.xaml"
                this.TaskPavTb.GotFocus += new System.Windows.RoutedEventHandler(this.TaskPavTb_GotFocus);

            #line default
            #line hidden
                return;

            case 24:
                this.TaskAtsakingasDg = ((System.Windows.Controls.DataGrid)(target));

            #line 155 "..\..\..\windows\add_project.xaml"
                this.TaskAtsakingasDg.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TaskAtsakingasDg_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.TaskKomentaras = ((System.Windows.Controls.RichTextBox)(target));

            #line 168 "..\..\..\windows\add_project.xaml"
                this.TaskKomentaras.GotFocus += new System.Windows.RoutedEventHandler(this.TaskKomentaras_GotFocus);

            #line default
            #line hidden
                return;

            case 26:
                this.flow1 = ((System.Windows.Documents.FlowDocument)(target));
                return;

            case 27:
                this.Paragraph1 = ((System.Windows.Documents.Paragraph)(target));
                return;

            case 28:
                this.Run1 = ((System.Windows.Documents.Run)(target));
                return;

            case 29:
                this.AddTasksBtn = ((System.Windows.Controls.Button)(target));

            #line 176 "..\..\..\windows\add_project.xaml"
                this.AddTasksBtn.Click += new System.Windows.RoutedEventHandler(this.AddTasksBtnClick);

            #line default
            #line hidden
                return;

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

            #line 177 "..\..\..\windows\add_project.xaml"
                this.TaskAtsakingasSearchTb.GotFocus += new System.Windows.RoutedEventHandler(this.TaskAtsakingasSearchTb_GotFocus);

            #line default
            #line hidden

            #line 177 "..\..\..\windows\add_project.xaml"
                this.TaskAtsakingasSearchTb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TaskAtsakingasSearchTb_TextChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.ClearTaskAtsakingasSearchTbBtn = ((System.Windows.Controls.Button)(target));

            #line 178 "..\..\..\windows\add_project.xaml"
                this.ClearTaskAtsakingasSearchTbBtn.Click += new System.Windows.RoutedEventHandler(this.ClearTaskAtsakingasSearchTbBtnClick);

            #line default
            #line hidden
                return;

            case 32:
                this.TaskAddedUsersDg = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 34:
                this.TaskUsersDg = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 224 "..\..\..\windows\add_project.xaml"
                this.TaskInvolvedSearchTb.GotFocus += new System.Windows.RoutedEventHandler(this.TaskInvolvedSearchTb_GotFocus);

            #line default
            #line hidden

            #line 224 "..\..\..\windows\add_project.xaml"
                this.TaskInvolvedSearchTb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TaskInvolvedSearchTb_TextChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.ClearTaskInvolvedSearchTb = ((System.Windows.Controls.Button)(target));

            #line 225 "..\..\..\windows\add_project.xaml"
                this.ClearTaskInvolvedSearchTb.Click += new System.Windows.RoutedEventHandler(this.ClearTaskInvolvedSearchTbBtnClick);

            #line default
            #line hidden
                return;

            case 38:
                this.RemoveTaskUsersBtn = ((System.Windows.Controls.Button)(target));

            #line 226 "..\..\..\windows\add_project.xaml"
                this.RemoveTaskUsersBtn.Click += new System.Windows.RoutedEventHandler(this.RemoveTaskUsersBtnClick);

            #line default
            #line hidden
                return;

            case 39:
                this.AddTaksUsersBtn = ((System.Windows.Controls.Button)(target));

            #line 227 "..\..\..\windows\add_project.xaml"
                this.AddTaksUsersBtn.Click += new System.Windows.RoutedEventHandler(this.AddTaskUsersBtnClick);

            #line default
            #line hidden
                return;

            case 40:
                this.RemoveTasksBtn = ((System.Windows.Controls.Button)(target));

            #line 229 "..\..\..\windows\add_project.xaml"
                this.RemoveTasksBtn.Click += new System.Windows.RoutedEventHandler(this.RemoveTasksBtnClick);

            #line default
            #line hidden
                return;

            case 41:
                this.Close_btn = ((System.Windows.Controls.Button)(target));

            #line 230 "..\..\..\windows\add_project.xaml"
                this.Close_btn.Click += new System.Windows.RoutedEventHandler(this.Close_btn_Click);

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

            case 2:
                this.r1 = ((System.Windows.Media.RectangleGeometry)(target));
                return;

            case 3:
                this.r2 = ((System.Windows.Media.RectangleGeometry)(target));
                return;

            case 4:
                this.r3 = ((System.Windows.Media.RectangleGeometry)(target));
                return;

            case 5:
                this.r4 = ((System.Windows.Media.RectangleGeometry)(target));
                return;

            case 6:
                this.root = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.captiobd = ((System.Windows.Controls.Border)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.captiobd.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.onLDown);

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:
                this.rt = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 12:
                this.sct = ((System.Windows.Media.ScaleTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 338 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.map_Reset_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 341 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.hid_jiedian_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 342 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.show_jiedian_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 343 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_datagrid_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 346 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.clear_datagrid_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 349 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.map_Reset_Click_tab4);

            #line default
            #line hidden
                return;

            case 7:

            #line 350 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.update_all_XY_tab4_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.tabcontrol = ((System.Windows.Controls.TabControl)(target));
                return;

            case 9:
                this.Tab0 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 10:
                this.Tab1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 11:
                this.SecondPicture_tab1 = ((System.Windows.Controls.MediaElement)(target));

            #line 364 "..\..\MainWindow.xaml"
                this.SecondPicture_tab1.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.SecondPicture_tab1_MouseUp);

            #line default
            #line hidden

            #line 365 "..\..\MainWindow.xaml"
                this.SecondPicture_tab1.MediaEnded += new System.Windows.RoutedEventHandler(this.SecondPicture_tab1_MediaEnded);

            #line default
            #line hidden
                return;

            case 12:
                this.Tab2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.canvas_mine = ((System.Windows.Controls.Canvas)(target));

            #line 389 "..\..\MainWindow.xaml"
                this.canvas_mine.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.img_MouseDown);

            #line default
            #line hidden

            #line 389 "..\..\MainWindow.xaml"
                this.canvas_mine.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.img_MouseWheel);

            #line default
            #line hidden

            #line 390 "..\..\MainWindow.xaml"
                this.canvas_mine.MouseMove += new System.Windows.Input.MouseEventHandler(this.img_MouseMove);

            #line default
            #line hidden

            #line 391 "..\..\MainWindow.xaml"
                this.canvas_mine.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.img_MouseUp);

            #line default
            #line hidden

            #line 392 "..\..\MainWindow.xaml"
                this.canvas_mine.MouseLeave += new System.Windows.Input.MouseEventHandler(this.img_MouseLeave);

            #line default
            #line hidden
                return;

            case 14:
                this.sfr = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 15:
                this.tlt = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 16:
                this.img = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.LieBiao_Tab2_Buttton = ((System.Windows.Controls.Button)(target));

            #line 421 "..\..\MainWindow.xaml"
                this.LieBiao_Tab2_Buttton.Click += new System.Windows.RoutedEventHandler(this.LieBiao_Tab2_Buttton_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.ChaXun_Tab2_Buttton = ((System.Windows.Controls.Button)(target));

            #line 425 "..\..\MainWindow.xaml"
                this.ChaXun_Tab2_Buttton.Click += new System.Windows.RoutedEventHandler(this.ChaXun_Tab3_Button_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.XiTong_Tab2_Buttton = ((System.Windows.Controls.Button)(target));

            #line 429 "..\..\MainWindow.xaml"
                this.XiTong_Tab2_Buttton.Click += new System.Windows.RoutedEventHandler(this.XiTong_Tab2_Buttton_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.TuiChu_Tab2_Buttton = ((System.Windows.Controls.Button)(target));

            #line 432 "..\..\MainWindow.xaml"
                this.TuiChu_Tab2_Buttton.Click += new System.Windows.RoutedEventHandler(this.TuiChu_Tab2_Buttton_Click);

            #line default
            #line hidden
                return;

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

            #line 465 "..\..\MainWindow.xaml"
                this.DataGrid.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.DataGrid_SelectedCellsChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.Tab3 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.listview_largeicon = ((System.Windows.Forms.ListView)(target));

            #line 518 "..\..\MainWindow.xaml"
                this.listview_largeicon.MouseMove += new System.Windows.Forms.MouseEventHandler(this.listview_largeicon_MouseMove);

            #line default
            #line hidden
                return;

            case 24:
                this.DiTu_Tab3_Button = ((System.Windows.Controls.Button)(target));

            #line 534 "..\..\MainWindow.xaml"
                this.DiTu_Tab3_Button.Click += new System.Windows.RoutedEventHandler(this.DiTu_Tab3_Button_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.ChaXun_Tab3_Button = ((System.Windows.Controls.Button)(target));

            #line 539 "..\..\MainWindow.xaml"
                this.ChaXun_Tab3_Button.Click += new System.Windows.RoutedEventHandler(this.ChaXun_Tab3_Button_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.XiTong_Tab3_Button = ((System.Windows.Controls.Button)(target));

            #line 544 "..\..\MainWindow.xaml"
                this.XiTong_Tab3_Button.Click += new System.Windows.RoutedEventHandler(this.XiTong_Tab2_Buttton_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.TuiChu_Tab3_Button = ((System.Windows.Controls.Button)(target));
                return;

            case 28:
                this.DataGrid_tab3 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 29:
                this.Tab4 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 30:
                this.canvas_mine_tab4 = ((System.Windows.Controls.Canvas)(target));

            #line 622 "..\..\MainWindow.xaml"
                this.canvas_mine_tab4.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.img_MouseDown_tab4);

            #line default
            #line hidden

            #line 622 "..\..\MainWindow.xaml"
                this.canvas_mine_tab4.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.img_MouseWheel_tab4);

            #line default
            #line hidden

            #line 623 "..\..\MainWindow.xaml"
                this.canvas_mine_tab4.MouseMove += new System.Windows.Input.MouseEventHandler(this.img_MouseMove_tab4);

            #line default
            #line hidden

            #line 624 "..\..\MainWindow.xaml"
                this.canvas_mine_tab4.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.img_MouseUp_tab4);

            #line default
            #line hidden

            #line 625 "..\..\MainWindow.xaml"
                this.canvas_mine_tab4.MouseLeave += new System.Windows.Input.MouseEventHandler(this.img_MouseLeave_tab4);

            #line default
            #line hidden
                return;

            case 31:
                this.sfr_tab4 = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 32:
                this.tlt_tab4 = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 33:
                this.img_tab4 = ((System.Windows.Controls.Image)(target));
                return;

            case 34:
                this.DiTuMoShi_Tab4_Buttton = ((System.Windows.Controls.Button)(target));
                return;

            case 35:
                this.LieBiaoMoShi_Tab4_Buttton = ((System.Windows.Controls.Button)(target));

            #line 660 "..\..\MainWindow.xaml"
                this.LieBiaoMoShi_Tab4_Buttton.Click += new System.Windows.RoutedEventHandler(this.LieBiaoMoShi_Tab4_Buttton_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.XinXiBianGeng_Tab4_Buttton = ((System.Windows.Controls.Button)(target));

            #line 663 "..\..\MainWindow.xaml"
                this.XinXiBianGeng_Tab4_Buttton.Click += new System.Windows.RoutedEventHandler(this.XinXiBianGeng_Tab4_Buttton_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.ZengShan_Tab4_Buttton = ((System.Windows.Controls.Button)(target));

            #line 667 "..\..\MainWindow.xaml"
                this.ZengShan_Tab4_Buttton.Click += new System.Windows.RoutedEventHandler(this.ZengShan_Tab4_Buttton_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.PuTongMoShi_Tab4_Button = ((System.Windows.Controls.Button)(target));

            #line 672 "..\..\MainWindow.xaml"
                this.PuTongMoShi_Tab4_Button.Click += new System.Windows.RoutedEventHandler(this.PuTongMoShi_Tab4_Button_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.Verify_PassWord_Tab4_Button = ((System.Windows.Controls.Button)(target));

            #line 676 "..\..\MainWindow.xaml"
                this.Verify_PassWord_Tab4_Button.Click += new System.Windows.RoutedEventHandler(this.Verify_PassWord_Tab4_Button_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.BianHao = ((System.Windows.Controls.TextBox)(target));

            #line 768 "..\..\MainWindow.xaml"
                this.BianHao.KeyUp += new System.Windows.Input.KeyEventHandler(this.BianHao_KeyUp);

            #line default
            #line hidden
                return;

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

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

            case 43:
                this.AnZhuangShiJina = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 46:
                this.QueRenBianGeng_Button = ((System.Windows.Controls.Button)(target));

            #line 820 "..\..\MainWindow.xaml"
                this.QueRenBianGeng_Button.Click += new System.Windows.RoutedEventHandler(this.QueRenBianGeng_Button_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.ZengJiaBianGeng_Button = ((System.Windows.Controls.Button)(target));

            #line 824 "..\..\MainWindow.xaml"
                this.ZengJiaBianGeng_Button.Click += new System.Windows.RoutedEventHandler(this.ZengJiaBianGeng_Button_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.ShanChuDianWei = ((System.Windows.Controls.Button)(target));

            #line 828 "..\..\MainWindow.xaml"
                this.ShanChuDianWei.Click += new System.Windows.RoutedEventHandler(this.ShanChuDianWei_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.Tab5 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 50:
                this.listview_largeicon_tab5 = ((System.Windows.Forms.ListView)(target));

            #line 864 "..\..\MainWindow.xaml"
                this.listview_largeicon_tab5.MouseMove += new System.Windows.Forms.MouseEventHandler(this.listview_largeicon_MouseMove_tab5);

            #line default
            #line hidden

            #line 865 "..\..\MainWindow.xaml"
                this.listview_largeicon_tab5.SelectedIndexChanged += new System.EventHandler(this.listview_largeicon_tab5_SelectedIndexChanged);

            #line default
            #line hidden
                return;

            case 51:
                this.DiTuMoShi_Tab5_Buttton = ((System.Windows.Controls.Button)(target));

            #line 882 "..\..\MainWindow.xaml"
                this.DiTuMoShi_Tab5_Buttton.Click += new System.Windows.RoutedEventHandler(this.DiTuMoShi_Tab5_Buttton_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.LieBianMoShi_Tab5_Buttton = ((System.Windows.Controls.Button)(target));
                return;

            case 53:
                this.XinXiBianGeng_Tab5_Buttton = ((System.Windows.Controls.Button)(target));

            #line 888 "..\..\MainWindow.xaml"
                this.XinXiBianGeng_Tab5_Buttton.Click += new System.Windows.RoutedEventHandler(this.XinXiBianGeng_Tab5_Buttton_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.ZengShan_Tab5_Buttton = ((System.Windows.Controls.Button)(target));

            #line 892 "..\..\MainWindow.xaml"
                this.ZengShan_Tab5_Buttton.Click += new System.Windows.RoutedEventHandler(this.ZengShan_Tab5_Buttton_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.PuTongMoShi_Tab5_Button = ((System.Windows.Controls.Button)(target));

            #line 898 "..\..\MainWindow.xaml"
                this.PuTongMoShi_Tab5_Button.Click += new System.Windows.RoutedEventHandler(this.PuTongMoShi_Tab5_Button_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.Verify_PassWord_Tab5_Button = ((System.Windows.Controls.Button)(target));

            #line 902 "..\..\MainWindow.xaml"
                this.Verify_PassWord_Tab5_Button.Click += new System.Windows.RoutedEventHandler(this.Verify_PassWord_Tab4_Button_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.BianHao_tab5 = ((System.Windows.Controls.TextBox)(target));

            #line 932 "..\..\MainWindow.xaml"
                this.BianHao_tab5.KeyUp += new System.Windows.Input.KeyEventHandler(this.BianHao_tab5_KeyUp);

            #line default
            #line hidden
                return;

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

            case 59:
                this.AnZhuangWeiZhi_tab5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 60:
                this.AnZhuangShiJina_tab5 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 62:
                this.DiXianBaoJing_tab5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 63:
                this.QueRenBianGeng_Button_tab5 = ((System.Windows.Controls.Button)(target));

            #line 984 "..\..\MainWindow.xaml"
                this.QueRenBianGeng_Button_tab5.Click += new System.Windows.RoutedEventHandler(this.QueRenBianGeng_Button_tab5_Click);

            #line default
            #line hidden
                return;

            case 64:
                this.ZengJiaBianGeng_Button_tab5 = ((System.Windows.Controls.Button)(target));

            #line 988 "..\..\MainWindow.xaml"
                this.ZengJiaBianGeng_Button_tab5.Click += new System.Windows.RoutedEventHandler(this.ZengJiaBianGeng_Button_tab5_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.ShanChuDianWei_Button_tab5 = ((System.Windows.Controls.Button)(target));

            #line 992 "..\..\MainWindow.xaml"
                this.ShanChuDianWei_Button_tab5.Click += new System.Windows.RoutedEventHandler(this.ShanChuDianWei_Button_tab5_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.Tab6 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 67:
                this.DataGrid_tab6 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 68:
                this.ChaXun1_tab6 = ((System.Windows.Controls.Button)(target));

            #line 1076 "..\..\MainWindow.xaml"
                this.ChaXun1_tab6.Click += new System.Windows.RoutedEventHandler(this.ChaXun1_tab6_Click);

            #line default
            #line hidden
                return;

            case 69:
                this.QiShi1_TextBox_tab6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 70:
                this.ZhongZhi1_TextBox_tab6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 71:
                this.ChaXun2_tab6 = ((System.Windows.Controls.Button)(target));

            #line 1089 "..\..\MainWindow.xaml"
                this.ChaXun2_tab6.Click += new System.Windows.RoutedEventHandler(this.ChaXun2_tab6_Click);

            #line default
            #line hidden
                return;

            case 72:
                this.BianHaoChaXun1_tab6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 73:
                this.ChaXun3_tab6 = ((System.Windows.Controls.Button)(target));

            #line 1097 "..\..\MainWindow.xaml"
                this.ChaXun3_tab6.Click += new System.Windows.RoutedEventHandler(this.ChaXun3_tab6_Click);

            #line default
            #line hidden
                return;

            case 74:
                this.BianHaoChaXun2_tab6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 75:
                this.QiShi2_TextBox_tab6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 76:
                this.ZhongZhi2_TextBox_tab6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 77:
                this.WarningStyle_ComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 78:
                this.DaoChuExcel_Button = ((System.Windows.Controls.Button)(target));

            #line 1125 "..\..\MainWindow.xaml"
                this.DaoChuExcel_Button.Click += new System.Windows.RoutedEventHandler(this.DaoChuExcel_Button_Click);

            #line default
            #line hidden
                return;

            case 79:
                this.Back_tab6 = ((System.Windows.Controls.Button)(target));

            #line 1126 "..\..\MainWindow.xaml"
                this.Back_tab6.Click += new System.Windows.RoutedEventHandler(this.Back_tab6_Click);

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

            case 2:

            #line 21 "..\..\..\GUI\Designer - Copy.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Open);

            #line default
            #line hidden
                return;

            case 3:

            #line 22 "..\..\..\GUI\Designer - Copy.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Save);

            #line default
            #line hidden
                return;

            case 4:

            #line 23 "..\..\..\GUI\Designer - Copy.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_OnClick);

            #line default
            #line hidden
                return;

            case 5:
                this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 6:
                this.PanningCanvas = ((Imagio.GUI.Controls.PanningCanvas)(target));
                return;

            case 7:
                this.MapCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.MapCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 9:
                this.GridCanvas = ((Imagio.GUI.Controls.GridCanvas)(target));
                return;

            case 10:
                this.GridCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 11:
                this.SelectedImageControls = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.selectedImage = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.SelectedLayerX = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.SelectedLayerY = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.SelectedLayerWidth = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.SelectedLayerHeight = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.SelectedImageStretch = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 19:
                this.TxtMapHeight = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 114 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnSendBack.Click += new System.Windows.RoutedEventHandler(this.btnSendBack_Click);

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnSendBack_Copy.Click += new System.Windows.RoutedEventHandler(this.BtnEllipseDraw_OnClick);

            #line default
            #line hidden
                return;

            case 23:
                this.txtRatio = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.txtCursor = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.txtCursorMeters = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.btnPolygonDraw = ((System.Windows.Controls.Button)(target));

            #line 140 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnPolygonDraw.Click += new System.Windows.RoutedEventHandler(this.btnPolygonDraw_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btnRectDraw = ((System.Windows.Controls.Button)(target));

            #line 142 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnRectDraw.Click += new System.Windows.RoutedEventHandler(this.BtnRectDraw_OnClick);

            #line default
            #line hidden
                return;

            case 29:
                this.btnEllipseDraw = ((System.Windows.Controls.Button)(target));

            #line 143 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnEllipseDraw.Click += new System.Windows.RoutedEventHandler(this.BtnEllipseDraw_OnClick);

            #line default
            #line hidden
                return;

            case 30:
                this.btnImportImage = ((System.Windows.Controls.Button)(target));

            #line 145 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnImportImage.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnImportImage_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 145 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnImportImage.Click += new System.Windows.RoutedEventHandler(this.btnImportImage_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.btnAddObject = ((System.Windows.Controls.Button)(target));

            #line 147 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnAddObject.Click += new System.Windows.RoutedEventHandler(this.btnAddObject_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.foregroundColorPanel = ((System.Windows.Controls.Border)(target));

            #line 151 "..\..\..\GUI\Designer - Copy.xaml"
                this.foregroundColorPanel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.foregroundColorPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 33:
                this.backgroundColorPanel = ((System.Windows.Controls.Border)(target));

            #line 154 "..\..\..\GUI\Designer - Copy.xaml"
                this.backgroundColorPanel.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.backgroundColorPanel_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 34:
                this.textBlock_Copy1 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 36:
                this.MapToggle = ((MahApps.Metro.Controls.ToggleSwitchButton)(target));

            #line 167 "..\..\..\GUI\Designer - Copy.xaml"
                this.MapToggle.Checked += new System.Windows.RoutedEventHandler(this.MapToggle_Checked);

            #line default
            #line hidden

            #line 167 "..\..\..\GUI\Designer - Copy.xaml"
                this.MapToggle.Unchecked += new System.Windows.RoutedEventHandler(this.MapToggle_Unchecked);

            #line default
            #line hidden
                return;

            case 37:
                this.textBlock_Copy = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.btnCapture = ((System.Windows.Controls.Button)(target));

            #line 173 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnCapture.Click += new System.Windows.RoutedEventHandler(this.btnCapture_Click_1);

            #line default
            #line hidden
                return;

            case 39:
                this.btnCapture_Copy = ((System.Windows.Controls.Button)(target));

            #line 175 "..\..\..\GUI\Designer - Copy.xaml"
                this.btnCapture_Copy.Click += new System.Windows.RoutedEventHandler(this.btnAddObject_Click);

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

            #line 2 "..\..\..\Views\CFactoryReset.xaml"
                ((BMC.Presentation.POS.Views.CFactoryReset)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Root = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.pnlHeader = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.lblAuthCode = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 11 "..\..\..\Views\CFactoryReset.xaml"
                this.txtAutCode.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtAutCode_KeyDown);

            #line default
            #line hidden

            #line 11 "..\..\..\Views\CFactoryReset.xaml"
                this.txtAutCode.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtAutCode_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 6:
                this.lblStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 13 "..\..\..\Views\CFactoryReset.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\..\Views\CFactoryReset.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.pbFactory = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 10:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.SpinnerScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 12:
                this.SpinnerRotate = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 13:
                this.Spin = ((System.Windows.Media.Animation.DoubleAnimation)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frmMain = ((SpiritIslandCompanion.MainWindow)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.frmMain.Loaded += new System.Windows.RoutedEventHandler(this.frmMain_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.newGame = ((System.Windows.Controls.MenuItem)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.newGame.Click += new System.Windows.RoutedEventHandler(this.NewGame_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.eventMissionariesArrive = ((System.Windows.Controls.MenuItem)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.eventMissionariesArrive.Click += new System.Windows.RoutedEventHandler(this.eventNewSpeciesSpread_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.eventNewSpeciesSpread = ((System.Windows.Controls.MenuItem)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.eventNewSpeciesSpread.Click += new System.Windows.RoutedEventHandler(this.eventNewSpeciesSpread_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.eventIgnoreTheCuriosity = ((System.Windows.Controls.MenuItem)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.eventIgnoreTheCuriosity.Click += new System.Windows.RoutedEventHandler(this.eventIgnoreTheCuriosity_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.eventWeaveLiesInTheirMinds = ((System.Windows.Controls.MenuItem)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.eventWeaveLiesInTheirMinds.Click += new System.Windows.RoutedEventHandler(this.eventWeaveLiesInTheirMinds_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.eventSlaveRebellion = ((System.Windows.Controls.MenuItem)(target));

            #line 67 "..\..\MainWindow.xaml"
                this.eventSlaveRebellion.Click += new System.Windows.RoutedEventHandler(this.eventSlaveRebellion_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.eventWarTouchesTheIslandsShores = ((System.Windows.Controls.MenuItem)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.eventWarTouchesTheIslandsShores.Click += new System.Windows.RoutedEventHandler(this.eventWarTouchesTheIslandsShores_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.showTopFear = ((System.Windows.Controls.MenuItem)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.showTopFear.Click += new System.Windows.RoutedEventHandler(this.showTopFear_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.about = ((System.Windows.Controls.MenuItem)(target));

            #line 84 "..\..\MainWindow.xaml"
                this.about.Click += new System.Windows.RoutedEventHandler(this.about_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.MainGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.MainGrid_SizeChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.ApplicationScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 14:
                this.mainCanvas = ((System.Windows.Controls.Canvas)(target));

            #line 122 "..\..\MainWindow.xaml"
                this.mainCanvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mainCanvas_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 123 "..\..\MainWindow.xaml"
                this.mainCanvas.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.mainCanvas_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 124 "..\..\MainWindow.xaml"
                this.mainCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.mainCanvas_MouseMove);

            #line default
            #line hidden
                return;

            case 15:
                this.imgMyAdversaryCard = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.imgFearEarnedDeck = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.btnFear = ((System.Windows.Controls.Button)(target));

            #line 167 "..\..\MainWindow.xaml"
                this.btnFear.Click += new System.Windows.RoutedEventHandler(this.btnFear_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.lblFear = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 21:
                this.imgBlightCard = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.imgEventDeck = ((System.Windows.Controls.Image)(target));
                return;

            case 23:
                this.imgEventDiscard = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.imgFearDeck = ((System.Windows.Controls.Image)(target));
                return;

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

            case 26:
                this.lblFearCardsEarned = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.imgFearDiscard = ((System.Windows.Controls.Image)(target));
                return;

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

            case 29:
                this.btnRemoveOneFear = ((System.Windows.Controls.Button)(target));

            #line 321 "..\..\MainWindow.xaml"
                this.btnRemoveOneFear.Click += new System.Windows.RoutedEventHandler(this.btnRemoveOneFear_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.imgTerrorCard = ((System.Windows.Controls.Image)(target));
                return;

            case 31:
                this.imgInvaderDeck = ((System.Windows.Controls.Image)(target));
                return;

            case 32:
                this.imgInvaderBuildDeck = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.imgInvaderRavageDeck = ((System.Windows.Controls.Image)(target));
                return;

            case 34:
                this.imgInvaderDiscard = ((System.Windows.Controls.Image)(target));
                return;

            case 35:
                this.btnAddBlight = ((System.Windows.Controls.Button)(target));

            #line 406 "..\..\MainWindow.xaml"
                this.btnAddBlight.Click += new System.Windows.RoutedEventHandler(this.btnAddBlight_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.btnRemoveBlight = ((System.Windows.Controls.Button)(target));

            #line 415 "..\..\MainWindow.xaml"
                this.btnRemoveBlight.Click += new System.Windows.RoutedEventHandler(this.btnRemoveBlight_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.imgHighImmigrationTile = ((System.Windows.Controls.Image)(target));
                return;

            case 38:
                this.imgInvaderHighImmigration = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 2:

            #line 61 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_About);

            #line default
            #line hidden
                return;

            case 3:

            #line 62 "..\..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_ModifyPassword);

            #line default
            #line hidden
                return;

            case 4:
                this.SampleBrowserTranslateTransform = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 5:
                this.RenderScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 6:
                this.TvManager = ((Gss.ManagementMenu.ManagementMenu)(target));

            #line 161 "..\..\..\MainWindow.xaml"
                this.TvManager.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.TvManager_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.DocumentPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 8:
                this.MainContainer = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 9:
                this.AccountInfoContainer = ((System.Windows.Controls.Border)(target));
                return;

            case 10:
                this.ArrowR1 = ((System.Windows.Shapes.Path)(target));
                return;

            case 11:
                this.ArrowR2 = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.PBtn = ((Gss.ManagementMenu.CustomControl.PopupButton)(target));

            #line 207 "..\..\..\MainWindow.xaml"
                this.PBtn.Click += new System.Windows.RoutedEventHandler(this.PBtn_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.UC_Accountcement = ((System.Windows.Controls.UserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.Grid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 336 "..\..\MainWindow.xaml"
                this.exitButton.Click += new System.Windows.RoutedEventHandler(this.exitButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.up = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.upLeftContent = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 345 "..\..\MainWindow.xaml"
                this.rexrothButton.Click += new System.Windows.RoutedEventHandler(this.rexrothButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.moveRexroth = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 8:
                this.zoomRexroth = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 9:
                this.upRightContent = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 355 "..\..\MainWindow.xaml"
                this.beckhoffButton.Click += new System.Windows.RoutedEventHandler(this.beckhoffButton_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.moveBeckhoff = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 12:
                this.zoomBeckhoff = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 13:
                this.down = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 367 "..\..\MainWindow.xaml"
                this.PFButton.Click += new System.Windows.RoutedEventHandler(this.PFButton_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.movePFButton = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 16:
                this.zoomPFButton = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 17:
                this.downSplitter = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.downLeftContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.SiemenseButton = ((System.Windows.Controls.Button)(target));

            #line 381 "..\..\MainWindow.xaml"
                this.SiemenseButton.Click += new System.Windows.RoutedEventHandler(this.SiemenseButton_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.moveSiemenseButton = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 21:
                this.zoomSiemenseButton = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 22:
                this.downRightContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.UniversalButton = ((System.Windows.Controls.Button)(target));

            #line 391 "..\..\MainWindow.xaml"
                this.UniversalButton.Click += new System.Windows.RoutedEventHandler(this.UniversalButton_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.moveUniversalButton = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 25:
                this.zoomUniversalButton = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 26:
                this.controlButton = ((System.Windows.Controls.Button)(target));

            #line 403 "..\..\MainWindow.xaml"
                this.controlButton.Click += new System.Windows.RoutedEventHandler(this.ControlButton_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.moveControlButton = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 28:
                this.zoomControlButton = ((System.Windows.Media.ScaleTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DragableGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.SpinnerScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:
                this.SpinnerRotate = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 5:
                this.ControllistBox = ((System.Windows.Controls.ListBox)(target));

            #line 43 "..\..\MainContentControl.xaml"
                this.ControllistBox.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.listBoxPreviewMouseMove);

            #line default
            #line hidden

            #line 43 "..\..\MainContentControl.xaml"
                this.ControllistBox.QueryContinueDrag += new System.Windows.QueryContinueDragEventHandler(this.listBoxQueryContinueDrag);

            #line default
            #line hidden
                return;

            case 6:
                this.treeView = ((System.Windows.Controls.TreeView)(target));

            #line 47 "..\..\MainContentControl.xaml"
                this.treeView.DragOver += new System.Windows.DragEventHandler(this.treeViewDragOver);

            #line default
            #line hidden

            #line 47 "..\..\MainContentControl.xaml"
                this.treeView.Drop += new System.Windows.DragEventHandler(this.treeViewDrop);

            #line default
            #line hidden

            #line 47 "..\..\MainContentControl.xaml"
                this.treeView.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.treeViewPreviewMouseRightDown);

            #line default
            #line hidden
                return;

            case 7:
                this.Configure = ((System.Windows.Controls.MenuItem)(target));

            #line 50 "..\..\MainContentControl.xaml"
                this.Configure.Click += new System.Windows.RoutedEventHandler(this.Configure_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Delete = ((System.Windows.Controls.MenuItem)(target));

            #line 51 "..\..\MainContentControl.xaml"
                this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.Clear = ((System.Windows.Controls.MenuItem)(target));

            #line 52 "..\..\MainContentControl.xaml"
                this.Clear.Click += new System.Windows.RoutedEventHandler(this.Clear_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.ScanlistBox = ((System.Windows.Controls.ListBox)(target));

            #line 56 "..\..\MainContentControl.xaml"
                this.ScanlistBox.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.listBoxPreviewMouseMove);

            #line default
            #line hidden

            #line 56 "..\..\MainContentControl.xaml"
                this.ScanlistBox.QueryContinueDrag += new System.Windows.QueryContinueDragEventHandler(this.listBoxQueryContinueDrag);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 66 "..\..\MainContentControl.xaml"
                this.ScanIPStarttextBox_1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged);

            #line default
            #line hidden

            #line 66 "..\..\MainContentControl.xaml"
                this.ScanIPStarttextBox_1.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown);

            #line default
            #line hidden
                return;

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

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

            #line 68 "..\..\MainContentControl.xaml"
                this.ScanIPStarttextBox_2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged);

            #line default
            #line hidden

            #line 68 "..\..\MainContentControl.xaml"
                this.ScanIPStarttextBox_2.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown);

            #line default
            #line hidden
                return;

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

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

            #line 70 "..\..\MainContentControl.xaml"
                this.ScanIPStarttextBox_3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged);

            #line default
            #line hidden

            #line 70 "..\..\MainContentControl.xaml"
                this.ScanIPStarttextBox_3.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown);

            #line default
            #line hidden
                return;

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

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

            #line 72 "..\..\MainContentControl.xaml"
                this.ScanIPStarttextBox_4.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged);

            #line default
            #line hidden

            #line 72 "..\..\MainContentControl.xaml"
                this.ScanIPStarttextBox_4.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown);

            #line default
            #line hidden
                return;

            case 21:
                this.ScanIPEndtextBox_1 = ((System.Windows.Controls.TextBox)(target));

            #line 74 "..\..\MainContentControl.xaml"
                this.ScanIPEndtextBox_1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged);

            #line default
            #line hidden

            #line 74 "..\..\MainContentControl.xaml"
                this.ScanIPEndtextBox_1.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown);

            #line default
            #line hidden
                return;

            case 22:
                this.separatorlabel4 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.ScanIPEndtextBox_2 = ((System.Windows.Controls.TextBox)(target));

            #line 76 "..\..\MainContentControl.xaml"
                this.ScanIPEndtextBox_2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged);

            #line default
            #line hidden

            #line 76 "..\..\MainContentControl.xaml"
                this.ScanIPEndtextBox_2.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown);

            #line default
            #line hidden
                return;

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

            case 25:
                this.ScanIPEndtextBox_3 = ((System.Windows.Controls.TextBox)(target));

            #line 78 "..\..\MainContentControl.xaml"
                this.ScanIPEndtextBox_3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged);

            #line default
            #line hidden

            #line 78 "..\..\MainContentControl.xaml"
                this.ScanIPEndtextBox_3.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown);

            #line default
            #line hidden
                return;

            case 26:
                this.separatorlabel6 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 80 "..\..\MainContentControl.xaml"
                this.ScanIPEndtextBox_4.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textchanged);

            #line default
            #line hidden

            #line 80 "..\..\MainContentControl.xaml"
                this.ScanIPEndtextBox_4.KeyDown += new System.Windows.Input.KeyEventHandler(this.keydown);

            #line default
            #line hidden
                return;

            case 28:
                this.Scanbutton = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\MainContentControl.xaml"
                this.Scanbutton.Click += new System.Windows.RoutedEventHandler(this.Scanbutton_Click);

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

            case 2:
                this.myCanvas = ((System.Windows.Controls.Canvas)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.myCanvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Mouse_Down);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                this.myCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.Mouse_Move);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                this.myCanvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Mouse_Up);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                this.myCanvas.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.image_MouseWheel);

            #line default
            #line hidden
                return;

            case 3:
                this.st = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:
                this.mybox = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 5:
                this.pic = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.tools = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\MainWindow.xaml"
                this.cal.Click += new System.Windows.RoutedEventHandler(this.cal_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\MainWindow.xaml"
                this.saveButton.Click += new System.Windows.RoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.Annotate.Click += new System.Windows.RoutedEventHandler(this.Annotate_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\MainWindow.xaml"
                this.About.Click += new System.Windows.RoutedEventHandler(this.About_Click);

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

            case 2:
                this.configGrid = ((System.Windows.Controls.Grid)(target));

            #line 58 "..\..\..\Configuration\ConfigWindow.xaml"
                this.configGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.configGrid_SizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.ApplicationScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:
                this.deviceGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 86 "..\..\..\Configuration\ConfigWindow.xaml"
                this.deviceIDSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.deviceIDSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 87 "..\..\..\Configuration\ConfigWindow.xaml"
                this.mixerComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.mixerComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.channelGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 99 "..\..\..\Configuration\ConfigWindow.xaml"
                this.channelSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.channelSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 100 "..\..\..\Configuration\ConfigWindow.xaml"
                this.editChannelsButton.Click += new System.Windows.RoutedEventHandler(this.editChannelsButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.mixGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.mixSlider = ((System.Windows.Controls.Slider)(target));

            #line 112 "..\..\..\Configuration\ConfigWindow.xaml"
                this.mixSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.mixSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\..\Configuration\ConfigWindow.xaml"
                this.editMixNamesButton.Click += new System.Windows.RoutedEventHandler(this.editMixNamesButton_Click);

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

            case 2:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 67 "..\..\SurfaceWindow1.xaml"
                this.button.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touch);

            #line default
            #line hidden
                return;

            case 4:
                this.maison = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 93 "..\..\SurfaceWindow1.xaml"
                this.t.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateMaisonHaut);

            #line default
            #line hidden
                return;

            case 6:

            #line 104 "..\..\SurfaceWindow1.xaml"
                ((System.Windows.Controls.Button)(target)).TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateMaisonBas);

            #line default
            #line hidden
                return;

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

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

            case 9:
                this.cuisineScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

            case 11:
                this.salonScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

            #line 134 "..\..\SurfaceWindow1.xaml"
                this.buttonSalledebain.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.salledebain_Touch);

            #line default
            #line hidden
                return;

            case 13:
                this.salledebainScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 14:
                this.atelier = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:

            #line 149 "..\..\SurfaceWindow1.xaml"
                ((System.Windows.Controls.Button)(target)).TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateAtelierHaut);

            #line default
            #line hidden
                return;

            case 16:

            #line 160 "..\..\SurfaceWindow1.xaml"
                ((System.Windows.Controls.Button)(target)).TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateAtelierBas);

            #line default
            #line hidden
                return;

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

            case 18:
                this.brosseadent = ((System.Windows.Controls.Button)(target));

            #line 187 "..\..\SurfaceWindow1.xaml"
                this.brosseadent.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.brosseadent_Touch);

            #line default
            #line hidden
                return;

            case 19:
                this.brosseadentScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 20:
                this.brosseacheveux = ((System.Windows.Controls.Button)(target));
                return;

            case 21:
                this.brosseacheveuxScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

            case 23:
                this.rasoirScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 24:
                this.douche = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.doucheScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 26:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 27:
                this.objet = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.aideTop = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 29:
                this.borderVerre = ((System.Windows.Controls.Border)(target));
                return;

            case 30:
                this.verre = ((System.Windows.Controls.Image)(target));
                return;

            case 31:
                this.borderDentifrice = ((System.Windows.Controls.Border)(target));
                return;

            case 32:
                this.dentifrice = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.borderAideBrosseDent = ((System.Windows.Controls.Border)(target));
                return;

            case 34:
                this.brosseDent = ((System.Windows.Controls.Image)(target));
                return;

            case 35:
                this.borderObjet = ((System.Windows.Controls.Border)(target));
                return;

            case 36:
                this.text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.text2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.tagBrosseaDent = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 283 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationMoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnvisualMoved);

            #line default
            #line hidden

            #line 283 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnvisualEnd);

            #line default
            #line hidden

            #line 283 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);

            #line default
            #line hidden
                return;

            case 39:
                this.aideBot = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 40:
                this.borderAideBrosseDent2 = ((System.Windows.Controls.Border)(target));
                return;

            case 41:
                this.brosseDent2 = ((System.Windows.Controls.Image)(target));
                return;

            case 42:
                this.borderDentifrice2 = ((System.Windows.Controls.Border)(target));
                return;

            case 43:
                this.dentifrice2 = ((System.Windows.Controls.Image)(target));
                return;

            case 44:
                this.borderVerre2 = ((System.Windows.Controls.Border)(target));
                return;

            case 45:
                this.verre2 = ((System.Windows.Controls.Image)(target));
                return;

            case 46:
                this.ordonnancement = ((System.Windows.Controls.Grid)(target));
                return;

            case 47:
                this.videoHaut = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 48:
                this.QrcodeHaut = ((System.Windows.Controls.Image)(target));
                return;

            case 49:
                this.media1 = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 50:
                this.friseHaut = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 51:
                this.rotatefecheHaut = ((System.Windows.Controls.Button)(target));

            #line 346 "..\..\SurfaceWindow1.xaml"
                this.rotatefecheHaut.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateHaut);

            #line default
            #line hidden
                return;

            case 52:
                this.fleche = ((System.Windows.Controls.Image)(target));
                return;

            case 53:
                this.borderbloc1 = ((System.Windows.Controls.Border)(target));
                return;

            case 54:
                this.bloc1 = ((System.Windows.Controls.Image)(target));

            #line 360 "..\..\SurfaceWindow1.xaml"
                this.bloc1.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 360 "..\..\SurfaceWindow1.xaml"
                this.bloc1.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 55:
                this.borderbloc2 = ((System.Windows.Controls.Border)(target));
                return;

            case 56:
                this.bloc2 = ((System.Windows.Controls.Image)(target));

            #line 363 "..\..\SurfaceWindow1.xaml"
                this.bloc2.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 363 "..\..\SurfaceWindow1.xaml"
                this.bloc2.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 57:
                this.borderbloc3 = ((System.Windows.Controls.Border)(target));
                return;

            case 58:
                this.bloc3 = ((System.Windows.Controls.Image)(target));

            #line 366 "..\..\SurfaceWindow1.xaml"
                this.bloc3.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 366 "..\..\SurfaceWindow1.xaml"
                this.bloc3.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 59:
                this.borderbloc4 = ((System.Windows.Controls.Border)(target));
                return;

            case 60:
                this.bloc4 = ((System.Windows.Controls.Image)(target));

            #line 369 "..\..\SurfaceWindow1.xaml"
                this.bloc4.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 369 "..\..\SurfaceWindow1.xaml"
                this.bloc4.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 61:
                this.borderbloc5 = ((System.Windows.Controls.Border)(target));
                return;

            case 62:
                this.bloc5 = ((System.Windows.Controls.Image)(target));

            #line 372 "..\..\SurfaceWindow1.xaml"
                this.bloc5.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 372 "..\..\SurfaceWindow1.xaml"
                this.bloc5.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 63:
                this.borderbloc6 = ((System.Windows.Controls.Border)(target));
                return;

            case 64:
                this.bloc6 = ((System.Windows.Controls.Image)(target));

            #line 375 "..\..\SurfaceWindow1.xaml"
                this.bloc6.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 375 "..\..\SurfaceWindow1.xaml"
                this.bloc6.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 65:
                this.friseBas = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 66:
                this.borderbloc7 = ((System.Windows.Controls.Border)(target));
                return;

            case 67:
                this.bloc1B = ((System.Windows.Controls.Image)(target));

            #line 380 "..\..\SurfaceWindow1.xaml"
                this.bloc1B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 380 "..\..\SurfaceWindow1.xaml"
                this.bloc1B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 68:
                this.borderbloc8 = ((System.Windows.Controls.Border)(target));
                return;

            case 69:
                this.bloc2B = ((System.Windows.Controls.Image)(target));

            #line 383 "..\..\SurfaceWindow1.xaml"
                this.bloc2B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 383 "..\..\SurfaceWindow1.xaml"
                this.bloc2B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 70:
                this.borderbloc9 = ((System.Windows.Controls.Border)(target));
                return;

            case 71:
                this.bloc3B = ((System.Windows.Controls.Image)(target));

            #line 388 "..\..\SurfaceWindow1.xaml"
                this.bloc3B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 388 "..\..\SurfaceWindow1.xaml"
                this.bloc3B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 72:
                this.borderbloc10 = ((System.Windows.Controls.Border)(target));
                return;

            case 73:
                this.bloc4B = ((System.Windows.Controls.Image)(target));

            #line 391 "..\..\SurfaceWindow1.xaml"
                this.bloc4B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 391 "..\..\SurfaceWindow1.xaml"
                this.bloc4B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 74:
                this.borderbloc11 = ((System.Windows.Controls.Border)(target));
                return;

            case 75:
                this.bloc5B = ((System.Windows.Controls.Image)(target));

            #line 394 "..\..\SurfaceWindow1.xaml"
                this.bloc5B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 394 "..\..\SurfaceWindow1.xaml"
                this.bloc5B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 76:
                this.borderbloc12 = ((System.Windows.Controls.Border)(target));
                return;

            case 77:
                this.bloc6B = ((System.Windows.Controls.Image)(target));

            #line 397 "..\..\SurfaceWindow1.xaml"
                this.bloc6B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 397 "..\..\SurfaceWindow1.xaml"
                this.bloc6B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 78:
                this.flecheB = ((System.Windows.Controls.Image)(target));
                return;

            case 79:
                this.rotatefecheBas = ((System.Windows.Controls.Button)(target));

            #line 400 "..\..\SurfaceWindow1.xaml"
                this.rotatefecheBas.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateBas);

            #line default
            #line hidden
                return;

            case 80:
                this.videoBas = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 81:
                this.media2 = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 82:
                this.QrcodeBas = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\TreeControl.xaml"
                ((VisLab.Controls.TreeControl)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);

            #line default
            #line hidden

            #line 11 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\TreeControl.xaml"
                ((VisLab.Controls.TreeControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 32 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\TreeControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseDown);

            #line default
            #line hidden

            #line 32 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\TreeControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.UserControl_MouseMove);

            #line default
            #line hidden

            #line 32 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\TreeControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseUp);

            #line default
            #line hidden

            #line 32 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\TreeControl.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.UserControl_MouseWheel);

            #line default
            #line hidden
                return;

            case 3:
                this.cnvTree = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.ttModel = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 5:
                this.stModel = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

            case 7:
                this.ccShadowHost = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 8:
                this.modelControlGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 67 "..\..\..\..\..\..\..\..\Classes\Implementation\Analysis\Boundaries\Controls\TreeControl.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.btnLoad_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.player = ((VisLab.Controls.PlayerControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Load_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 18 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_BasicMeasures_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_CorrelationCoefficient_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_LegendShow_Click);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.dataTreeView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 8:
                this.mapScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 9:
                this.mapCanvas = ((System.Windows.Controls.Canvas)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.mapCanvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mapCanvas_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 59 "..\..\MainWindow.xaml"
                this.mapCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.mapCanvas_MouseMove);

            #line default
            #line hidden
                return;

            case 10:
                this.mapCanvasScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 11:
                this.previewPopup = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.previewPopup.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.previewPopup_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 12:
                this.prevLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.previewCanvas = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\Window\LoginWindow.xaml"
                ((FireWall.LoginWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 19 "..\..\..\Window\LoginWindow.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.LoginGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            case 10:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            #line 25 "..\..\..\Window\LoginWindow.xaml"
                this.loginbutton.Click += new System.Windows.RoutedEventHandler(this.loginbutton_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.LoginSuccess = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 14:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.SpinnerScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 16:
                this.SpinnerRotate = ((System.Windows.Media.RotateTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 39 "..\..\..\..\Windows\Wybor_postaci.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_Clicked);

            #line default
            #line hidden
                return;

            case 2:
                this.Scale1 = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 3:
                this.Label1 = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 4:

            #line 88 "..\..\..\..\Windows\Wybor_postaci.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_Clicked);

            #line default
            #line hidden
                return;

            case 5:
                this.Scale2 = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 6:
                this.Label2 = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 7:

            #line 136 "..\..\..\..\Windows\Wybor_postaci.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_Clicked);

            #line default
            #line hidden
                return;

            case 8:
                this.Scale3 = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 9:
                this.Label3 = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 10:

            #line 185 "..\..\..\..\Windows\Wybor_postaci.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.Scaleb1 = ((System.Windows.Media.ScaleTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((CGedit.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((CGedit.MainWindow)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Window_MouseMove);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((CGedit.MainWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((CGedit.MainWindow)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftUp);

            #line default
            #line hidden
                return;

            case 2:
                this.New = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 3:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenBtn_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 20 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.copy = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 6:
                this.cut = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 7:
                this.stick = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 8:
                this.SelectMoveBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 9:
                this.brush = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 35 "..\..\MainWindow.xaml"
                this.brush.Checked += new System.Windows.RoutedEventHandler(this.DrawBtn_Checked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 11:
                this.brushSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 12:
                this.braser = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.braser.Checked += new System.Windows.RoutedEventHandler(this.DrawBtn_Checked);

            #line default
            #line hidden
                return;

            case 13:
                this.braserSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 14:
                this.RectBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.RectBtn.Checked += new System.Windows.RoutedEventHandler(this.ShapeBtn_Checked);

            #line default
            #line hidden
                return;

            case 15:
                this.EllipseBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.EllipseBtn.Checked += new System.Windows.RoutedEventHandler(this.ShapeBtn_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.LineBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.LineBtn.Checked += new System.Windows.RoutedEventHandler(this.ShapeBtn_Checked);

            #line default
            #line hidden
                return;

            case 17:
                this.DrawRectBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.DrawRectBtn.Checked += new System.Windows.RoutedEventHandler(this.DrawBtn_Checked);

            #line default
            #line hidden
                return;

            case 18:
                this.DrawEllipseBtn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.DrawEllipseBtn.Checked += new System.Windows.RoutedEventHandler(this.DrawBtn_Checked);

            #line default
            #line hidden
                return;

            case 19:
                this.ruihuaBtn = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.ruihuaBtn.Click += new System.Windows.RoutedEventHandler(this.RuihuaBtn_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.mohuBtn = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.mohuBtn.Click += new System.Windows.RoutedEventHandler(this.MohuBtn_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.image = ((System.Windows.Controls.Image)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.image.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 62 "..\..\MainWindow.xaml"
                this.image.MouseMove += new System.Windows.Input.MouseEventHandler(this.Image_MouseMove);

            #line default
            #line hidden

            #line 62 "..\..\MainWindow.xaml"
                this.image.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseUp);

            #line default
            #line hidden

            #line 62 "..\..\MainWindow.xaml"
                this.image.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Image_MouseWheel);

            #line default
            #line hidden

            #line 62 "..\..\MainWindow.xaml"
                this.image.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 23:
                this.scale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 24:
                this.copy1 = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 25:
                this.cut1 = ((System.Windows.Controls.MenuItem)(target));

            #line 69 "..\..\MainWindow.xaml"
                this.cut1.Click += new System.Windows.RoutedEventHandler(this.Cut_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.rightStick = ((System.Windows.Controls.MenuItem)(target));

            #line 70 "..\..\MainWindow.xaml"
                this.rightStick.Click += new System.Windows.RoutedEventHandler(this.Stick_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.cancelSelect = ((System.Windows.Controls.MenuItem)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.cancelSelect.Click += new System.Windows.RoutedEventHandler(this.CancelSelect_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.deleteSelect = ((System.Windows.Controls.MenuItem)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.deleteSelect.Click += new System.Windows.RoutedEventHandler(this.DeleteSelect_Clic);

            #line default
            #line hidden
                return;

            case 29:
                this.ellipse1 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 30:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 31:
                this.line = ((System.Windows.Shapes.Polyline)(target));
                return;
            }
            this._contentLoaded = true;
        }