Esempio n. 1
1
        public PlatformWpf()
            : base(null, true)
        {
            var app = new Application ();
            var slCanvas = new Canvas ();
            var win = new Window
            {
                Title = Title,
                Width = Width,
                Height = Height,
                Content = slCanvas
            };

            var cirrusCanvas = new CirrusCanvas(slCanvas, Width, Height);
            MainCanvas = cirrusCanvas;

            win.Show ();

            EntryPoint.Invoke (null, null);

            var timer = new DispatcherTimer ();
            timer.Tick += runDelegate;
            timer.Interval = TimeSpan.FromMilliseconds (1);

            timer.Start ();
            app.Run ();
        }
Esempio n. 2
1
        public static void Draw(Canvas canvas, List<LinePoint> points, Brush stroke, bool clear = true)
        {
            if (clear)
            {
                canvas.Children.Clear();
            }

            PathFigureCollection myPathFigureCollection = new PathFigureCollection();
            PathGeometry myPathGeometry = new PathGeometry();

            foreach (LinePoint p in points)
            {
                PathFigure myPathFigure = new PathFigure();
                myPathFigure.StartPoint = p.StartPoint;

                LineSegment myLineSegment = new LineSegment();
                myLineSegment.Point = p.EndPoint;

                PathSegmentCollection myPathSegmentCollection = new PathSegmentCollection();
                myPathSegmentCollection.Add(myLineSegment);

                myPathFigure.Segments = myPathSegmentCollection;

                myPathFigureCollection.Add(myPathFigure);
            }

            myPathGeometry.Figures = myPathFigureCollection;
            Path myPath = new Path();
            myPath.Stroke = stroke == null ? Brushes.Black : stroke;
            myPath.StrokeThickness = 1;
            myPath.Data = myPathGeometry;

            canvas.Children.Add(myPath);
        }
Esempio n. 3
1
        public Game(UserControl userControl, Canvas drawingCanvas, Canvas debugCanvas, TextBlock txtDebug)
        {
            //Initialize
            IsActive = true;
            IsFixedTimeStep = true;
            TargetElapsedTime = new TimeSpan(0, 0, 0, 0, 16);
            Components = new List<DrawableGameComponent>();
            World = new World(new Vector2(0, 0));
            _gameTime = new GameTime();
            _gameTime.GameStartTime = DateTime.Now;
            _gameTime.FrameStartTime = DateTime.Now;
            _gameTime.ElapsedGameTime = TimeSpan.Zero;
            _gameTime.TotalGameTime = TimeSpan.Zero;

            //Setup Canvas
            DrawingCanvas = drawingCanvas;
            DebugCanvas = debugCanvas;
            TxtDebug = txtDebug;
            UserControl = userControl;

            //Setup GameLoop
            _gameLoop = new Storyboard();
            _gameLoop.Completed += GameLoop;
            _gameLoop.Duration = TargetElapsedTime;
            DrawingCanvas.Resources.Add("gameloop", _gameLoop);
        }
Esempio n. 4
0
        private void SetupAnimationForGear(Canvas gearBox, double ratio, SweepDirection direction)
        {
            var duration = TimeSpan.FromMilliseconds(30000*ratio);

            var animationRotation = new DoubleAnimationUsingKeyFrames
                                        {
                                            Duration = new Duration(duration),
                                            RepeatBehavior = RepeatBehavior.Forever
                                        };

            animationRotation.KeyFrames.Add(new LinearDoubleKeyFrame(0, KeyTime.FromPercent(0)));
            animationRotation.KeyFrames.Add(new LinearDoubleKeyFrame(
                                                direction == SweepDirection.Clockwise ? 360 : -360,
                                                KeyTime.FromPercent(1)));

            var rotateTransform = new RotateTransform();
            gearBox.RenderTransform = rotateTransform;
            gearBox.RenderTransformOrigin = new Point(0.5, 0.5);

            Storyboard.SetTarget(animationRotation, rotateTransform);
            Storyboard.SetTargetProperty(animationRotation, new PropertyPath(RotateTransform.AngleProperty));

            animationRotation.Freeze();

            _storyBoard.Children.Add(animationRotation);
        }
        public GeometryRenderContext(Canvas canvas)
        {
            this.canvas = canvas;

            Width = canvas.ActualWidth;
            Height = canvas.ActualHeight;
        }
Esempio n. 6
0
		public override void Visit(ExportContainer exportContainer){
			
			sectionCanvas = FixedDocumentCreator.CreateContainer(exportContainer);
			sectionCanvas.Name = exportContainer.Name;
			CanvasHelper.SetPosition(sectionCanvas,new Point(exportContainer.Location.X,exportContainer.Location.Y));
			PerformList(sectionCanvas,exportContainer.ExportedItems);
		}
Esempio n. 7
0
        /// <summary>
        /// Draw a line between two joints in a canvas
        /// </summary>
        /// <param name="canvas">the canvas</param>
        /// <param name="jstart">the joint where to start the line</param>
        /// <param name="jend">the joint where to end the line</param>
        /// <param name="vskeleton">the visual skeleton</param>
        private static void DrawLineBetween(Canvas canvas, Joint jstart, Joint jend, VisualSkeleton vskeleton)
        {
            if (vskeleton.positionMap.ContainsKey(jstart) && vskeleton.positionMap.ContainsKey(jend))
            {
                Line l = new Line();

                l.X1 = vskeleton.positionMap[jstart].X;
                l.Y1 = vskeleton.positionMap[jstart].Y;
                l.X2 = vskeleton.positionMap[jend].X;
                l.Y2 = vskeleton.positionMap[jend].Y;

                if (jstart.TrackingState == JointTrackingState.Inferred &&
                    jend.TrackingState == JointTrackingState.Inferred)
                {
                    l.Stroke = Brushes.Yellow;
                    l.StrokeThickness = 3;
                }
                else if (jstart.TrackingState == JointTrackingState.Tracked &&
                    jend.TrackingState == JointTrackingState.Tracked)
                {
                    l.Stroke = Brushes.Green;
                    l.StrokeThickness = 3;
                }
                else if (jstart.TrackingState == JointTrackingState.NotTracked ||
                    jend.TrackingState == JointTrackingState.NotTracked)
                {
                    l.Stroke = Brushes.Transparent;
                    l.StrokeThickness = 0;
                }

                canvas.Children.Add(l);
            }
        }
Esempio n. 8
0
        public void drawGridLines(Canvas gameCanvas, int gridStep, int gridLinesCount, int gridCirclesCount)
        {
            for (int i = 0; i < (gridLinesCount * 2); i++)
            {
                double angle = Math.PI / gridLinesCount * i;
                double length = gridStep * gridCirclesCount / 2;

                double X1 = 0;
                double Y1 = 0;
                double X2 = X1 - length * Math.Round(Math.Cos(angle), 2);
                double Y2 = Y1 - length * Math.Round(Math.Sin(angle), 2);

                Line gridLine = new Line()
                {
                    Name = "gridLine" + i.ToString(),
                    Stroke = Brushes.RoyalBlue,
                    StrokeThickness = 2,
                    X1 = X1,
                    Y1 = Y1,
                    X2 = X2,
                    Y2 = Y2
                };

                gridLines.Add(gridLine);
            }

            foreach (Line gridLine in gridLines)
            {
                gameCanvas.Children.Add(gridLine);
            }
        }
Esempio n. 9
0
        private void RotateThumb_DragStarted(object sender, DragStartedEventArgs e)
        {
            this.designerItem = DataContext as ContentControl;

            if (this.designerItem != null)
            {
                this.canvas = VisualTreeHelper.GetParent(this.designerItem) as Canvas;

                if (this.canvas != null)
                {
                    this.centerPoint = this.designerItem.TranslatePoint(
                        new Point(this.designerItem.Width * this.designerItem.RenderTransformOrigin.X,
                                  this.designerItem.Height * this.designerItem.RenderTransformOrigin.Y),
                                  this.canvas);

                    Point startPoint = Mouse.GetPosition(this.canvas);
                    this.startVector = Point.Subtract(startPoint, this.centerPoint);

                    this.rotateTransform = this.designerItem.RenderTransform as RotateTransform;
                    if (this.rotateTransform == null)
                    {
                        this.designerItem.RenderTransform = new RotateTransform(0);
                        this.initialAngle = 0;
                    }
                    else
                    {
                        this.initialAngle = this.rotateTransform.Angle;
                    }
                }
            }
        }
Esempio n. 10
0
        public Star()
        {
            centerX = 285;
            centerY = 285;

            starGFX = new Ellipse();
            starSEL = new Ellipse();

            starCanvas = new Canvas();
            starLabel = new Label();

            starSEL.Visibility = Visibility.Hidden;
            starGFX.Fill = backgroundBrush;

            starLabel.FontFamily = new FontFamily(new Uri("pack://application:,,,/Fonts/"), "./#Euro Caps");
            starLabel.Foreground = backgroundBrush;

            starCanvas.Children.Add(starGFX);
            starCanvas.Children.Add(starLabel);
            starCanvas.Children.Add(starSEL);

            movePoint = new Point3D(0,0,0);
            rotaPoint = new Point3D(0,0,0);

            starCanvas.PreviewMouseDown += MoveToSystem;
        }
 private System.Windows.FrameworkElement Graph(double[] operands)
 {
     Grid g = new Grid();
     double max = operands[0];
     foreach (double d in operands)
     {
         max = Math.Max(max, d);
     }
     int rows = (int)max;
     int columns = operands.Length;
     for (int i = 0;i<columns;i++)
     {
         g.ColumnDefinitions.Add(new ColumnDefinition());
     }
     for (int i = 0; i < rows; i++)
     {
         g.RowDefinitions.Add(new RowDefinition());
     }
     for (int c = 0; c <columns; c++)
     {
         for (int r = (int)operands[c]; r >= 0; r--)
         {
             Canvas canvas = new Canvas();
             System.Windows.Media.SolidColorBrush brush = new System.Windows.Media.SolidColorBrush();
             brush.Color = System.Windows.Media.Colors.Red;
             canvas.Background = brush;
             Grid.SetColumn(canvas, c);
             Grid.SetRow(canvas, rows-r);
             g.Children.Add(canvas);
         }
     }
     g.Width = 229;
     g.Height = 229;
     return g;
 }
Esempio n. 12
0
        public async Task<bool> build(int time, int x, int y, Canvas canvas)
        {
            state = 0;
            System.Diagnostics.Debug.WriteLine("La construction du batiment " + name + " a commencé !");

            //creation of the image of the building in construction
            Image image = new Image
            {
                Width = 50,
                Height = 50,
                Name = this.name,
                Source = new BitmapImage(new Uri(imageBeingBuilt, UriKind.Absolute)),
            };
            Canvas.SetTop(image, y);
            Canvas.SetLeft(image, x);
            indexCanvas = canvas.Children.Add(image);

            await Task.Delay(TimeSpan.FromSeconds(time));   //construction of the building
            state = 1;
            System.Diagnostics.Debug.WriteLine("Le batiment " + name + " est construit !");

            //modification of the image: the building is now built
            image.Source = new BitmapImage(new Uri(imageBuilt, UriKind.Absolute));
            return true;
            
    }
 /// <summary>
 /// Initializes a new instance of the <see cref="SilverlightRenderContext" /> class.
 /// </summary>
 /// <param name="canvas">The canvas.</param>
 public SilverlightRenderContext(Canvas canvas)
 {
     this.canvas = canvas;
     this.Width = canvas.ActualWidth;
     this.Height = canvas.ActualHeight;
     this.RendersToScreen = true;
 }
		public ConsoleButtonControl()
		{
			Container = new Canvas { Width = Width, Height = Height };

			ButtonConsole = new TiledImageButtonControl(
				"assets/ScriptCoreLib.Avalon.TiledImageButton/console.png".ToSource(),
				 Width, Height,
				 new TiledImageButtonControl.StateSelector
				 {
					 AsDisabled = s => s[0, 2],
					 AsEnabled = s => s[0, 0],
					 AsHot = s => s[0, 1],
					 AsPressed = s => s[0, 3]
				 }
			);
			ButtonConsole.Container.AttachTo(Container);


			ButtonConsole.Overlay.MouseLeftButtonUp +=
				delegate
				{
					if (!this.ButtonConsole.Enabled)
						return;

					if (this.Console != null)
						this.Console();
				};
		}
        public ContentCardImage(Canvas parent_canvas, Color highlight_color, ExplorerContentImage explorer_image)
            : base(parent_canvas, highlight_color)
        {
            explorerImage = explorer_image;

            StackPanel background = new StackPanel();
            background.Orientation = Orientation.Vertical;
            background.Background = new SolidColorBrush(Color.FromRgb(255, 255, 255));
            background.Margin = new Thickness(5);

            Image image = explorerImage.getImage();
            image.MaxWidth = 300;
            image.MaxHeight = 400;
            image.Margin = new Thickness(0, 0, 0, 5);
            background.Children.Add(image);

            Label caption = new Label();
            caption.Content = explorerImage.getName();
            caption.FontSize = 20;
            caption.MaxWidth = 300;
            caption.FontWeight = FontWeights.Bold;
            background.Children.Add(caption);

            setContent(background);
        }
Esempio n. 16
0
		public void TestImplicitStyleRectangle_multipleImplicitStylesInVisualTree ()
		{
			Style rectStyle1 = new Style { TargetType = typeof (Rectangle) };
			Setter setter = new Setter (FrameworkElement.WidthProperty, 100.0);
			rectStyle1.Setters.Add (setter);

			Style rectStyle2 = new Style { TargetType = typeof (Rectangle) };
			setter = new Setter (FrameworkElement.HeightProperty, 100.0);
			rectStyle2.Setters.Add (setter);

			Rectangle r = new Rectangle ();
			r.Resources.Add (typeof (Rectangle), rectStyle1);

			Canvas c = new Canvas ();
			c.Resources.Add (typeof (Rectangle), rectStyle2);

			c.Children.Add (r);

			Assert.IsTrue (Double.IsNaN (r.Height), "1");

			CreateAsyncTest (c,  () => {
					Assert.AreEqual (100.0, r.Width, "2");
					Assert.IsTrue (Double.IsNaN (r.Height), "3");

					r.Resources.Remove (typeof (Rectangle));

					Assert.AreEqual (100.0, r.Height, "4");
					Assert.IsTrue (Double.IsNaN (r.Width), "5");
				});
		}
Esempio n. 17
0
        public void AddBookmark(string url, string title, TabView tv, MainWindow mw)
        {
            if (ItemsCount != 3)
                {

                    bookmarkItem = new BookmarkItem(url, title, tv, mainWindow, this);
                    Canvas canvas1 = new Canvas();
                    mainCanvas.Children.Add(canvas1);
                    Canvas.SetTop(canvas1, RowsCount * 105);
                    Canvas.SetLeft(bookmarkItem, ItemsCount * 177);
                    bookmarkItem.Width = bookmarkWidth;
                    bookmarkItem.Height = bookmarkHeight;
                    canvas1.Children.Add(bookmarkItem);
                    ItemsCount += 1;
                    if (ItemsCount == 3) {
                        ItemsCount = 0;
                        RowsCount += 1;
                    }
                    if (RowsCount >= 3)
                    {
                        mainCanvas.Height = (RowsCount + 1) * 110;
                    }

            }
        }
Esempio n. 18
0
        public Circuit(Canvas canvas)
        {
            this._canvas = canvas;
            _nearDist = new Vector(0,10);
            _farDist = new Vector(0,30);

            _imLtOff = new BitmapImage(new Uri(@"Images/12-LightOff.bmp", UriKind.Relative));
            _imLtOn = new BitmapImage(new Uri(@"Images/12-LightOn.bmp", UriKind.Relative));

            _imLamp.Source = _imLtOff;
            _lightOn = false;

            canvas.Children.Add(_imLamp);
            Canvas.SetLeft(_imLamp, 70.0);
            Canvas.SetTop(_imLamp, 5.0);

            _switch1 = new Switch(canvas, 150, 100);
            _switch1.evToggle += new EventHandler(switch_evToggle);
            _switch1.evSwitchMoved += new EventHandler(switch_evSwitchMoved);
            _switch2 = new Switch(canvas, 25, 100);
            _switch2.evToggle += new EventHandler(switch_evToggle);
            _switch2.evSwitchMoved += new EventHandler(switch_evSwitchMoved);

            _yNear = _switch1.Con2.Y + _nearDist.Y;
            _yFar = _switch1.Con2.X + _farDist.X;
            RouteWires(canvas);
        }
        /// <summary>
        /// Enable buttons and set backgorund related to the room entered
        /// </summary>
        /// <param name="prepareRoom">Canvas related to the room the player has just entered</param>
        private void enable_RightRoom_Buttons(ref Canvas prepareRoom)
        {
            MainWindow yourParentWindow = (MainWindow)Window.GetWindow(this);
            switch (prepareRoom.Name.ToString())
            {
                case "Kitchen_Image":
                    {
                        yourParentWindow.Room.change_KitchenButtons_Status(true);
                        yourParentWindow.Room.change_CommonButtons_Status(true);
                        MainWindow.attGameController.Game.ActualRoomIndex = 2;
                    }
                    break;
                case "Livingroom_Image":
                    {
                        yourParentWindow.Room.change_LivingroomButtons_Status(true);
                        yourParentWindow.Room.change_CommonButtons_Status(true);
                        MainWindow.attGameController.Game.ActualRoomIndex = 1;
                    }

                    break;
                default:
                    {
                        yourParentWindow.Room.change_BedroomButtons_Status(true);
                        yourParentWindow.Room.change_CommonButtons_Status(true);
                        MainWindow.attGameController.Game.ActualRoomIndex = 3;
                    }
                    break;
            }
        }
Esempio n. 20
0
        public Star()
        {
            starColor = foregroundBrush;

            starGFX = new Ellipse();
            starSEL = new Ellipse();

            starCanvas = new Canvas();
            starLabel = new Label();

            starSEL.Visibility = Visibility.Hidden;
            starGFX.Fill = foregroundBrush;

            starLabel.FontFamily = new FontFamily(new Uri("pack://application:,,,/Fonts/"), "./#Euro Caps");
            starLabel.Foreground = fontBrush;

            starCanvas.Children.Add(starLabel);
            starCanvas.Children.Add(starGFX);
            starCanvas.Children.Add(starSEL);

            movePoint = new Point3D(0,0,0);
            rotaPoint = new Point3D(0,0,0);

            starCanvas.MouseLeftButtonDown += SetSelection;
            starCanvas.MouseRightButtonDown +=TargetSelection;

            starCanvas.MouseEnter += ShowInfoSelection;
            starCanvas.MouseLeave += HideInfoSelection;
        }
Esempio n. 21
0
 public AddTriangle(double posX, double posY, double posW, Canvas scene)
 {
     this.posX = posX;
     this.posY = posY;
     this.posW = posW;
     this.scene = scene;
 }
Esempio n. 22
0
 public void Detach()
 {
     if (canvas == null) return;
     storyboard.Stop();
     canvas.Resources.Remove(storyboard);
     canvas = null;
 }
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="level">level data</param>
        /// <param name="x">horizontal coordinate of selected tile</param>
        /// <param name="y">vertical coordinate of selected tile</param>
        public GameTowerSelection(Level level, int x, int y)
        {
            InitializeComponent();

            // Set fields
            this.level = level;
            this.x = x;
            this.y = y;

            // Draw the cursor
            cursor = ControlManager.CreateCanvas(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\TowerHaven\\Marker", 8, 6, 8);
            nameGrid.Children.Add(cursor);

            // Find buildable towers that are affordable
            towers = level.GetBuildableTowers();
            int index = 0;
            foreach (Tower t in towers)
            {
                AddLabel(25, index, t.name, nameGrid);
                AddLabel(6, index, t.buildCost.ToString(), costGrid);
                AddLabel(6, index, t.range.ToString(), rangeGrid);
                AddLabel(6, index, t.damage.ToString(), damageGrid);
                AddLabel(6, index, t.status, statusGrid);
                index += 16;
            }
        }
Esempio n. 24
0
        /// <summary>
        /// Initializes a new instance of the <see cref="VisualNode"/> class with random Position, speed and direction.
        /// </summary>
        /// <param name="rand">The rand.</param>
        /// <param name="canvas">The canvas.</param>
        public VisualNode(Random rand, Canvas canvas)
        {
            this.rand = rand;

            // choose a random position
            this.X = rand.Next(this.NodeSizeMax(), (int)canvas.Width - this.NodeSizeMax());
            this.Y = rand.Next(this.NodeSizeMax(), (int)canvas.Height - this.NodeSizeMax());

            this.CurrentX = this.X;
            this.CurrentY = this.Y;

            this.Connectedness = 0;

            // create ellipses that make the node, it's outline and 2 shadows
            this.Center = new Ellipse { Fill = new SolidColorBrush(Color.FromArgb(105, 255, 255, 255)) };
            this.Outline = new Ellipse { Fill = new SolidColorBrush(Color.FromArgb(150, 255, 255, 255)) };
            this.Shadow1 = new Ellipse { Fill = new SolidColorBrush(Color.FromArgb(80, 255, 255, 255)) };
            this.Shadow2 = new Ellipse { Fill = new SolidColorBrush(Color.FromArgb(60, 255, 255, 255)) };

            // add the shapes to the canvas UIElement
            canvas.Children.Add(this.Center);
            canvas.Children.Add(this.Outline);
            canvas.Children.Add(this.Shadow1);
            canvas.Children.Add(this.Shadow2);

            // set the ZIndex so the Center is in front of the outline and shadows
            Canvas.SetZIndex(this.Center, 10);
            Canvas.SetZIndex(this.Outline, 9);
            Canvas.SetZIndex(this.Shadow1, 8);
            Canvas.SetZIndex(this.Shadow2, 7);
        }
Esempio n. 25
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);
 }
        public static void DrawCanvasLayout(Canvas canvas)
        {
            CanvasDrawing.ClearCanvas("Line", canvas);
            CanvasDrawing.ClearCanvas("TextBlock", canvas);
            CanvasDrawing.ClearCanvas("Ellipse", canvas);
            CanvasDrawing.ClearCanvas("Arrow", canvas);

            double h = Math.Truncate(canvas.ActualHeight / 100);
            int heigth = (int)h;
            double w = Math.Truncate(canvas.ActualWidth / 100);
            int width = (int)w;

            for (int i = 0; i <= heigth; i++)
            {
                Point p1 = new Point(0, i * 100);
                Point p2 = new Point(canvas.ActualWidth, i * 100);
                CanvasDrawing.DrawLine(p1, p2, canvas);
            }

            for (int j = 0; j <= width; j++)
            {
                var p1 = new Point(j * 100, canvas.ActualHeight);
                var p2 = new Point(j * 100, 0);
                CanvasDrawing.DrawLine(p1, p2, canvas);
            }
            CanvasDrawing.DrawNumber(new Point(100, 100), "(100;100)", canvas);
        }
Esempio n. 27
0
        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();
        }
Esempio n. 28
0
 public ItemFlyInAndOutAnimations()
 {
     // construct a popup, with a Canvas as its child
       _popup = new Popup();
       _popupCanvas = new Canvas();
       _popup.Child = _popupCanvas;
 }
Esempio n. 29
0
 public Lock(Ellipse ellipse, Canvas canvas, double width)
 {
     _ellipse = ellipse;
     _canvas = canvas;
     _width = width;
     Position = 0;
 }
Esempio n. 30
0
        public MoonlightWidget()
        {
            this.Build();

            silver = new GtkSilver(100, 100);
            silver.Transparent = true;
            canvas = new Canvas();
            canvas.Width = 100;
            canvas.Height = 100;
            canvas.Background = new SolidColorBrush(Colors.White);
            silver.Attach(canvas);

            //			Image image = new Image();
            //			image.Stretch = Stretch.Fill;
            //			image.Width = 100;
            //			image.Height = 100;
            //			Downloader downloader = new Downloader();
            //			downloader.Completed += delegate {
            //				image.SetSource(downloader, null);
            //			};
            //			downloader.Open("GET", new Uri("file:///home/ceronman/Escritorio/images/bigbrother.png"));
            //			downloader.Send();
            //
            //			canvas.Children.Add(image);

            this.Add(silver);
        }
Esempio n. 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main_window = ((ProjectLife.MainWindow)(target));

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

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                this.main_window.Closing += new System.ComponentModel.CancelEventHandler(this.main_window_Closing);

            #line default
            #line hidden
                return;

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

            #line 10 "..\..\MainWindow.xaml"
                this.main_grid.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.main_grid_MouseRightButtonUp);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                this.main_grid.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.main_grid_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 3:
                this.canvas_column = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 4:
                this.canvas_row = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.controls = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 11:
                this.cb_isLocked = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 14:
                this.dg_logs = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 15:
                this.label = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 23 "..\..\..\MainWindow.xaml"
                ((FramelessWPF.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.taskBarItemInfo1 = ((System.Windows.Shell.TaskbarItemInfo)(target));
                return;

            case 3:
                this.btnPreviewForTaskBar = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 50 "..\..\..\MainWindow.xaml"
                this.btnPreviewForTaskBar.Click += new System.EventHandler(this.BtnPreviewForTaskBar_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnPlayForTaskBar = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 54 "..\..\..\MainWindow.xaml"
                this.btnPlayForTaskBar.Click += new System.EventHandler(this.BtnPlayForTaskBar_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnNextForTaskBar = ((System.Windows.Shell.ThumbButtonInfo)(target));
                return;

            case 6:
                this.dig_ifCreatStream = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 77 "..\..\..\MainWindow.xaml"
                this.dig_ifCreatStream.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.DialogHost_DialogClosing);

            #line default
            #line hidden
                return;

            case 7:
                this.dig_Commander = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 106 "..\..\..\MainWindow.xaml"
                this.dig_Commander.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.dig_Commander_DialogClosing);

            #line default
            #line hidden
                return;

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

            case 9:
                this.dig_Error = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 135 "..\..\..\MainWindow.xaml"
                this.dig_Error.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.Dig_Error_DialogClosing);

            #line default
            #line hidden
                return;

            case 10:
                this.MainMenu = ((System.Windows.Controls.Menu)(target));

            #line 153 "..\..\..\MainWindow.xaml"
                this.MainMenu.MouseMove += new System.Windows.Input.MouseEventHandler(this.MainMenu_MouseMove);

            #line default
            #line hidden

            #line 153 "..\..\..\MainWindow.xaml"
                this.MainMenu.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MainMenu_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 155 "..\..\..\MainWindow.xaml"
                this.MenuItem_OpenFile.Click += new System.Windows.RoutedEventHandler(this.MenuItem_OpenFile_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 163 "..\..\..\MainWindow.xaml"
                this.MenuItem_Exit.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Exit_Click);

            #line default
            #line hidden
                return;

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

            #line 166 "..\..\..\MainWindow.xaml"
                this.MenuItem_Play_Pause.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Play_Pause_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.MenuItem_PlayFromStart = ((System.Windows.Controls.MenuItem)(target));

            #line 167 "..\..\..\MainWindow.xaml"
                this.MenuItem_PlayFromStart.Click += new System.Windows.RoutedEventHandler(this.MenuItem_PlayFromStart_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.MenuItem_StopPlay = ((System.Windows.Controls.MenuItem)(target));

            #line 168 "..\..\..\MainWindow.xaml"
                this.MenuItem_StopPlay.Click += new System.Windows.RoutedEventHandler(this.MenuItem_StopPlay_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.MenuItem_CopyFile = ((System.Windows.Controls.MenuItem)(target));

            #line 172 "..\..\..\MainWindow.xaml"
                this.MenuItem_CopyFile.Click += new System.Windows.RoutedEventHandler(this.MenuItem_CopyFile_Click);

            #line default
            #line hidden
                return;

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

            #line 176 "..\..\..\MainWindow.xaml"
                this.MenuItem_VolumeUp.Click += new System.Windows.RoutedEventHandler(this.MenuItem_VolumeUp_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.MenuItem_VolumeDown = ((System.Windows.Controls.MenuItem)(target));

            #line 177 "..\..\..\MainWindow.xaml"
                this.MenuItem_VolumeDown.Click += new System.Windows.RoutedEventHandler(this.MenuItem_VolumeDown_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.MenuItem_OpenSettingsView = ((System.Windows.Controls.MenuItem)(target));

            #line 179 "..\..\..\MainWindow.xaml"
                this.MenuItem_OpenSettingsView.Click += new System.Windows.RoutedEventHandler(this.MenuItem_OpenSettingsView_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.MenuItem_Commander = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 25:
                this.MenuItem_MaxView = ((System.Windows.Controls.MenuItem)(target));

            #line 188 "..\..\..\MainWindow.xaml"
                this.MenuItem_MaxView.Click += new System.Windows.RoutedEventHandler(this.MenuItem_MaxView_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.MenuItem_MinView = ((System.Windows.Controls.MenuItem)(target));

            #line 189 "..\..\..\MainWindow.xaml"
                this.MenuItem_MinView.Click += new System.Windows.RoutedEventHandler(this.MenuItem_MinView_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.MenuItem_CloseView = ((System.Windows.Controls.MenuItem)(target));

            #line 190 "..\..\..\MainWindow.xaml"
                this.MenuItem_CloseView.Click += new System.Windows.RoutedEventHandler(this.MenuItem_CloseView_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.MenuItem_ToggleTopMost = ((System.Windows.Controls.MenuItem)(target));

            #line 191 "..\..\..\MainWindow.xaml"
                this.MenuItem_ToggleTopMost.Click += new System.Windows.RoutedEventHandler(this.MenuItem_ToggleTopMost_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.MenuItem_About = ((System.Windows.Controls.MenuItem)(target));

            #line 197 "..\..\..\MainWindow.xaml"
                this.MenuItem_About.Click += new System.Windows.RoutedEventHandler(this.MenuItem_About_Click);

            #line default
            #line hidden
                return;

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

            #line 217 "..\..\..\MainWindow.xaml"
                this.btnPlay.Click += new System.Windows.RoutedEventHandler(this.BtnPlay_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.iconPlay = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 32:
                this.BtnchangeVolume = ((System.Windows.Controls.Button)(target));

            #line 225 "..\..\..\MainWindow.xaml"
                this.BtnchangeVolume.Click += new System.Windows.RoutedEventHandler(this.BtnchangeVolume_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.packicon_volumestate = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 34:
                this.MainVolume = ((System.Windows.Controls.Slider)(target));

            #line 235 "..\..\..\MainWindow.xaml"
                this.MainVolume.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.MainVolume_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 36:
                this.ImageAlbumArtBG = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 37:
                this.DropShadowEffect = ((System.Windows.Media.Effects.DropShadowEffect)(target));
                return;

            case 38:
                this.ImageAlbumArt = ((System.Windows.Controls.Image)(target));
                return;

            case 39:
                this.LabelTime = ((System.Windows.Controls.Label)(target));
                return;

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

            case 41:
                this.LabelArtist = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.LabelLeftTime = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.svg3692 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 44:
                this.path3684 = ((System.Windows.Shapes.Path)(target));
                return;

            case 45:
                this.path3686 = ((System.Windows.Shapes.Path)(target));
                return;

            case 46:
                this.path3688 = ((System.Windows.Shapes.Path)(target));
                return;

            case 47:
                this.path3690 = ((System.Windows.Shapes.Path)(target));
                return;

            case 48:
                this.MainProgressBar = ((System.Windows.Controls.Slider)(target));

            #line 322 "..\..\..\MainWindow.xaml"
                this.MainProgressBar.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.MainProgressBar_MouseUp);

            #line default
            #line hidden

            #line 324 "..\..\..\MainWindow.xaml"
                this.MainProgressBar.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.MainProgressBar_DragCompleted));

            #line default
            #line hidden

            #line 325 "..\..\..\MainWindow.xaml"
                this.MainProgressBar.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.MainProgressBar_DragStarted));

            #line default
            #line hidden
                return;

            case 49:
                this.TextBox_Search = ((System.Windows.Controls.TextBox)(target));

            #line 347 "..\..\..\MainWindow.xaml"
                this.TextBox_Search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_Search_TextChanged);

            #line default
            #line hidden

            #line 347 "..\..\..\MainWindow.xaml"
                this.TextBox_Search.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_Search_TextInput);

            #line default
            #line hidden
                return;

            case 50:
                this.Btn_Search = ((System.Windows.Controls.Button)(target));

            #line 350 "..\..\..\MainWindow.xaml"
                this.Btn_Search.Click += new System.Windows.RoutedEventHandler(this.Btn_Search_Click);

            #line default
            #line hidden

            #line 350 "..\..\..\MainWindow.xaml"
                this.Btn_Search.GotFocus += new System.Windows.RoutedEventHandler(this.Btn_Search_GotFocus);

            #line default
            #line hidden

            #line 350 "..\..\..\MainWindow.xaml"
                this.Btn_Search.LostFocus += new System.Windows.RoutedEventHandler(this.Btn_Search_LostFocus);

            #line default
            #line hidden
                return;

            case 51:
                this.PopupBox_List = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 52:
                this.ImageAlbumArtBig = ((System.Windows.Controls.Image)(target));

            #line 407 "..\..\..\MainWindow.xaml"
                this.ImageAlbumArtBig.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ImageAlbumArtBig_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

            case 56:
                this.ListViewCard = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 57:
                this.tb1 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 58:
                this.ListViewItemBit = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 59:
                this.ListViewItemRate = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 60:
                this.ListViewItemWriteTime = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 61:
                this.ListViewItemAddTime = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 62:
                this.ListViewItemFileSize = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 63:
                this.ListViewItemFilePath = ((System.Windows.Controls.ListViewItem)(target));
                return;

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

            #line 538 "..\..\..\MainWindow.xaml"
                this.BtnSaveInfo.Click += new System.Windows.RoutedEventHandler(this.BtnSaveInfo_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.BtnOpenLyric = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

            case 66:
                this.BtnOpenLyricEX = ((System.Windows.Controls.Button)(target));

            #line 554 "..\..\..\MainWindow.xaml"
                this.BtnOpenLyricEX.Click += new System.Windows.RoutedEventHandler(this.BtnOpenLyricEX_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.BtnSearchLyric = ((System.Windows.Controls.Button)(target));

            #line 557 "..\..\..\MainWindow.xaml"
                this.BtnSearchLyric.Click += new System.Windows.RoutedEventHandler(this.BtnOpenLyricEX_Click);

            #line default
            #line hidden
                return;

            case 68:
                this.BaseLineSP = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 69:
                this.BaseLine = ((System.Windows.Shapes.Line)(target));
                return;

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

            case 71:
                this.CanvasLyric = ((System.Windows.Controls.Canvas)(target));
                return;

            case 72:
                this.StackPanelCommonLyric = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 73:
                this.CanvasFocusLyric = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 75:
                this.CanvasFocusLyricFore = ((System.Windows.Controls.Canvas)(target));
                return;

            case 76:
                this.TBFocusLyricFore = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.第二关 = ((WpfApplication1.Page4)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

            case 6:
                this.stone1 = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.stone2 = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.stone3 = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.stone4 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 11:
                this.stone6 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 13:
                this.stone8 = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.stone9 = ((System.Windows.Controls.Image)(target));
                return;

            case 15:
                this.stone10 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 17:
                this.aim1 = ((System.Windows.Controls.Image)(target));
                return;

            case 18:
                this.aim2 = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.aim3 = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.aim4 = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 34 "..\..\Page4.xaml"
                this.Genius.KeyDown += new System.Windows.Input.KeyEventHandler(this.Genius_KeyDown);

            #line default
            #line hidden

            #line 34 "..\..\Page4.xaml"
                this.Genius.LostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.Genius_LostKeyboardFocus);

            #line default
            #line hidden

            #line 34 "..\..\Page4.xaml"
                this.Genius.KeyUp += new System.Windows.Input.KeyEventHandler(this.Genius_KeyUp);

            #line default
            #line hidden
                return;

            case 22:
                this.aa = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 23:
                this.box3 = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.b3 = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 25:
                this.box1 = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.b1 = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 27:
                this.box2 = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.b2 = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 29:
                this.box4 = ((System.Windows.Controls.Image)(target));
                return;

            case 30:
                this.b4 = ((System.Windows.Media.TranslateTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Root = ((System.Windows.Controls.Grid)(target));

            #line 14 "..\..\..\MainWindow.xaml"
                this.Root.MouseMove += new System.Windows.Input.MouseEventHandler(this.DragUnit);

            #line default
            #line hidden

            #line 14 "..\..\..\MainWindow.xaml"
                this.Root.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.DropUnitElsewhere);

            #line default
            #line hidden

            #line 14 "..\..\..\MainWindow.xaml"
                this.Root.MouseLeave += new System.Windows.Input.MouseEventHandler(this.MouseLeavesApplicationWindow);

            #line default
            #line hidden
                return;

            case 2:

            #line 25 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.ComboBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.EN01_Selected);

            #line default
            #line hidden
                return;

            case 3:

            #line 26 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.ComboBoxItem)(target)).Selected += new System.Windows.RoutedEventHandler(this.IN01_Selected);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:
                this.StudyPlan = ((System.Windows.Controls.ListView)(target));
                return;

            case 9:
                this.StudyAreas = ((System.Windows.Controls.TabControl)(target));
                return;

            case 11:
                this.DragAndDropOverlay = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.img1 = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 9 "..\..\..\MainWindow.xaml"
                this.LoadReplay.Click += new System.Windows.RoutedEventHandler(this.LoadReplay_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 10:
                this.generationstatus = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 4:

            #line 26 "..\..\StaticStockCharts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadFile_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 27 "..\..\StaticStockCharts.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 9:
                this.tbYLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.chartGrid = ((System.Windows.Controls.Grid)(target));

            #line 46 "..\..\StaticStockCharts.xaml"
                this.chartGrid.SizeChanged += new System.Windows.SizeChangedEventHandler(this.chartGrid_SizeChanged);

            #line default
            #line hidden
                return;

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

            case 12:
                this.chartCanvas = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnKrajkovi = ((System.Windows.Controls.Button)(target));

            #line 6 "..\..\..\MainWindow.xaml"
                this.btnKrajkovi.Click += new System.Windows.RoutedEventHandler(this.btnKrajkovi_Click);

            #line default
            #line hidden
                return;

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

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

            #line 8 "..\..\..\MainWindow.xaml"
                this.btnKonec.Click += new System.Windows.RoutedEventHandler(this.btnKonec_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.cbxVyplnit = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 9:
                this.rbPravouhliPravy = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.rbRovnoramenny = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 11:
                this.rbPravouhliLevy = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\MainWindow.xaml"
                ((kinematics_20160720.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

            case 3:
                this.model_joints_image = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

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

            case 9:
                this.horizontal_graph_registration_zoom_slider = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

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

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

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

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

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

            case 18:
                this.info_panel_label = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 161 "..\..\MainWindow.xaml"
                this.start_button.Click += new System.Windows.RoutedEventHandler(this.start_button_Click);

            #line default
            #line hidden
                return;

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

            #line 162 "..\..\MainWindow.xaml"
                this.stop_button.Click += new System.Windows.RoutedEventHandler(this.stop_button_Click);

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

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

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                ((Observe.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden

            #line 20 "..\..\MainWindow.xaml"
                ((Observe.MainWindow)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Window_MouseWheel);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\MainWindow.xaml"
                this.cmbGroup.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbGroup_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.cmbPlaceName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbPlaceName_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 9:
                this.cnvsMarkArea = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 44 "..\..\MainWindow.xaml"
                this.cnvsTrans.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.cnvsTrans_PreviewMouseDown);

            #line default
            #line hidden

            #line 45 "..\..\MainWindow.xaml"
                this.cnvsTrans.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.cnvsTrans_PreviewMouseMove);

            #line default
            #line hidden

            #line 45 "..\..\MainWindow.xaml"
                this.cnvsTrans.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.cnvsTrans_PreviewMouseUp);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\MainWindow.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.lvUdalosti = ((System.Windows.Controls.ListView)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\MainWindow.xaml"
                this.tbServer.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbServer_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\MainWindow.xaml"
                this.tbPort.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbPort_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.btnNacteniPravidel.Click += new System.Windows.RoutedEventHandler(this.btnNacteniPravidel_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\MainWindow.xaml"
                this.tbPocetPravidel.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbPocetPravidel_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\MainWindow.xaml"
                this.btnKonec.Click += new System.Windows.RoutedEventHandler(this.btnKonec_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\MainWindow.xaml"
                this.btnSpustit.Click += new System.Windows.RoutedEventHandler(this.btnSpustit_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.btnTest.Click += new System.Windows.RoutedEventHandler(this.btnTest_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 21:
                this.MrizkaVysledku = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.lVyhra = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 25:
                this.cbZobrazeniUdalosti = ((System.Windows.Controls.CheckBox)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.cbZobrazeniUdalosti.Checked += new System.Windows.RoutedEventHandler(this.cbZobrazeniUdalosti_Checked);

            #line default
            #line hidden

            #line 75 "..\..\MainWindow.xaml"
                this.cbZobrazeniUdalosti.Unchecked += new System.Windows.RoutedEventHandler(this.cbZobrazeniUdalosti_Unchecked);

            #line default
            #line hidden
                return;

            case 26:
                this.cbTvorbaPravidel = ((System.Windows.Controls.CheckBox)(target));

            #line 76 "..\..\MainWindow.xaml"
                this.cbTvorbaPravidel.Checked += new System.Windows.RoutedEventHandler(this.cbTvorbaPravidel_Checked);

            #line default
            #line hidden

            #line 76 "..\..\MainWindow.xaml"
                this.cbTvorbaPravidel.Unchecked += new System.Windows.RoutedEventHandler(this.cbTvorbaPravidel_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\MainWindow.xaml"
                this.btnZprava.Click += new System.Windows.RoutedEventHandler(this.btnZprava_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.tbUser = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 31:
                this.tbIpPoslechu = ((System.Windows.Controls.TextBox)(target));

            #line 84 "..\..\MainWindow.xaml"
                this.tbIpPoslechu.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbIpPoslechu_TextChanged);

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

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

            #line default
            #line hidden
                return;

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

            #line 10 "..\..\MainWindow.xaml"
                this.canvas.SizeChanged += new System.Windows.SizeChangedEventHandler(this.canvas_SizeChanged);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                this.canvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseDown);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                this.canvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.Canvas_MouseMove);

            #line default
            #line hidden
                return;

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

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

            #line 18 "..\..\MainWindow.xaml"
                this.CanvasMarginSlider.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.CanvasMarginSlider_MouseDoubleClick);

            #line default
            #line hidden

            #line 18 "..\..\MainWindow.xaml"
                this.CanvasMarginSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.CanvasMarginSlider_DragCompleted));

            #line default
            #line hidden
                return;

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

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

            #line 22 "..\..\MainWindow.xaml"
                this.ShapesCountSlider.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ShapesCountSlider_MouseDoubleClick);

            #line default
            #line hidden

            #line 22 "..\..\MainWindow.xaml"
                this.ShapesCountSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.ShapesCountSlider_DragCompleted));

            #line default
            #line hidden
                return;

            case 7:
                this.AnimateShapes = ((System.Windows.Controls.CheckBox)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.AnimateShapes.Checked += new System.Windows.RoutedEventHandler(this.AnimateShapes_Checked);

            #line default
            #line hidden

            #line 25 "..\..\MainWindow.xaml"
                this.AnimateShapes.Unchecked += new System.Windows.RoutedEventHandler(this.AnimateShapes_Checked);

            #line default
            #line hidden
                return;

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

            case 9:
                this.AnimateShapesSpeed = ((System.Windows.Controls.Slider)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.AnimateShapesSpeed.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.AnimateShapesSpeed_MouseDoubleClick);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                this.AnimateShapesSpeed.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.AnimateShapesSpeed_DragCompleted));

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 16 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.txt_FirstName.GotFocus += new System.Windows.RoutedEventHandler(this.SelectAllGotFocus);

            #line default
            #line hidden

            #line 16 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.txt_FirstName.KeyUp += new System.Windows.Input.KeyEventHandler(this.Key_Up_Event);

            #line default
            #line hidden
                return;

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

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

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

            #line 19 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.txt_LastName.GotFocus += new System.Windows.RoutedEventHandler(this.SelectAllGotFocus);

            #line default
            #line hidden

            #line 19 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.txt_LastName.KeyUp += new System.Windows.Input.KeyEventHandler(this.Key_Up_Event);

            #line default
            #line hidden
                return;

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

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

            #line 21 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.txt_Medical.GotFocus += new System.Windows.RoutedEventHandler(this.SelectAllGotFocus);

            #line default
            #line hidden

            #line 21 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.txt_Medical.KeyUp += new System.Windows.Input.KeyEventHandler(this.Key_Up_Event);

            #line default
            #line hidden
                return;

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

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

            #line 23 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.txt_Allergies.GotFocus += new System.Windows.RoutedEventHandler(this.SelectAllGotFocus);

            #line default
            #line hidden

            #line 23 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.txt_Allergies.KeyUp += new System.Windows.Input.KeyEventHandler(this.Key_Up_Event);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.btn_Submit.Click += new System.Windows.RoutedEventHandler(this.btn_Submit_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.btn_Delete.Click += new System.Windows.RoutedEventHandler(this.btn_Delete_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.btn_MainMenu.Click += new System.Windows.RoutedEventHandler(this.btn_MainMenu_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.lbl_Birthday = ((System.Windows.Controls.Label)(target));
                return;

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

            case 18:
                this.lst_ChildBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 45 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.btn_AddChild.Click += new System.Windows.RoutedEventHandler(this.btn_AddChild_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.dte_Birthday = ((System.Windows.Controls.DatePicker)(target));

            #line 46 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.dte_Birthday.GotFocus += new System.Windows.RoutedEventHandler(this.SelectAllGotFocusDate);

            #line default
            #line hidden

            #line 46 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.dte_Birthday.KeyUp += new System.Windows.Input.KeyEventHandler(this.Key_Up_Event);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.btn_LinkChild.Click += new System.Windows.RoutedEventHandler(this.btn_LinkChild_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.btn_De_LinkChild.Click += new System.Windows.RoutedEventHandler(this.btn_De_LinkChild_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btn_ChangePicture = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.btn_ChangePicture.Click += new System.Windows.RoutedEventHandler(this.btn_ChangePicture_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.txt_FilePath = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 51 "..\..\..\AdminTools\AdminEditChildInfo.xaml"
                this.btn_LinkExistingChild.Click += new System.Windows.RoutedEventHandler(this.btn_LinkExistingChild_Click);

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

            case 2:
                this.openMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

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

            #line 15 "..\..\..\Main\MainWindow.xaml"
                this.searchMenuItem.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.editMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 16 "..\..\..\Main\MainWindow.xaml"
                this.editMenuItem.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\Main\MainWindow.xaml"
                this.addInvoiceBtn.Click += new System.Windows.RoutedEventHandler(this.addInvoiceBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\Main\MainWindow.xaml"
                this.editInvoiceBtn.Click += new System.Windows.RoutedEventHandler(this.editInvoiceBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\Main\MainWindow.xaml"
                this.deleteInvoiceBtn.Click += new System.Windows.RoutedEventHandler(this.deleteInvoiceBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\Main\MainWindow.xaml"
                this.selectedInvoiceDataGrid.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.selectedInvoiceDataGrid_SelectedCellsChanged);

            #line default
            #line hidden
                return;

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

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

            case 11:
                this.itemsComboBox = ((System.Windows.Controls.ComboBox)(target));

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

            #line default
            #line hidden
                return;

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

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

            case 14:
                this.itemCostLbl = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 34 "..\..\..\Main\MainWindow.xaml"
                this.workingInvoiceDataGrid.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.workingInvoiceDataGrid_SelectedCellsChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.totalCostTxtBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.totalCostLbl = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 38 "..\..\..\Main\MainWindow.xaml"
                this.addItemBtn.Click += new System.Windows.RoutedEventHandler(this.addItemBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\Main\MainWindow.xaml"
                this.saveInvoiceBtn.Click += new System.Windows.RoutedEventHandler(this.saveInvoiceBtn_Click);

            #line default
            #line hidden
                return;

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

            case 23:
                this.clearInvoiceBtn = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\Main\MainWindow.xaml"
                this.clearInvoiceBtn.Click += new System.Windows.RoutedEventHandler(this.clearInvoiceBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\Main\MainWindow.xaml"
                this.deleteItemBtn.Click += new System.Windows.RoutedEventHandler(this.deleteItemBtn_Click);

            #line default
            #line hidden
                return;

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

            case 26:
                this.invoiceAddedCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 50 "..\..\..\Main\MainWindow.xaml"
                this.addInvoiceBtn2.Click += new System.Windows.RoutedEventHandler(this.addInvoiceBtn_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.itemEditCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            case 31:
                this.updateItemCbo = ((System.Windows.Controls.ComboBox)(target));

            #line 56 "..\..\..\Main\MainWindow.xaml"
                this.updateItemCbo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.updateItemCbo_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 33:
                this.selectedItemLbl = ((System.Windows.Controls.Label)(target));
                return;

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

            case 35:
                this.selectedItemCostLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.newItemCostLbl = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 62 "..\..\..\Main\MainWindow.xaml"
                this.saveUpdatesBtn.Click += new System.Windows.RoutedEventHandler(this.saveUpdatesBtn_Click);

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:
                this.startScreen = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 9:
                this.wagerText = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 51 "..\..\MainWindow.xaml"
                this.nextButton.Click += new System.Windows.RoutedEventHandler(this.next);

            #line default
            #line hidden
                return;

            case 18:
                this.playerName = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
                this.GridMain = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 4:
                this.tabPush = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 60 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.dgPlan.GotMouseCapture += new System.Windows.Input.MouseEventHandler(this.dgPlan_GotMouseCapture);

            #line default
            #line hidden

            #line 60 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.dgPlan.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.DataGrid_LoadingRow);

            #line default
            #line hidden
                return;

            case 6:
                this.tabStoking = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 91 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.dgStoking.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.DataGrid_LoadingRow);

            #line default
            #line hidden
                return;

            case 8:
                this.tabEdit = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 101 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.dgEdit.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.DataGrid_LoadingRow);

            #line default
            #line hidden
                return;

            case 10:
                this.grpSchedule = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.dpDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 12:
                this.cboPeriod = ((System.Windows.Controls.ComboBox)(target));

            #line 141 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.cboPeriod.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.cboGroup = ((System.Windows.Controls.ComboBox)(target));

            #line 149 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.cboGroup.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.cboArea = ((System.Windows.Controls.ComboBox)(target));

            #line 159 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.cboArea.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.grpRoomInfo = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 170 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtRoom.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Text_PreviewMouseUp);

            #line default
            #line hidden

            #line 170 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtRoom.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden

            #line 171 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtRoom.KeyDown += new System.Windows.Input.KeyEventHandler(this.Text_KeyDown);

            #line default
            #line hidden
                return;

            case 17:
                this.txtPushTime = ((System.Windows.Controls.TextBox)(target));

            #line 175 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtPushTime.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPushTime_TextChanged);

            #line default
            #line hidden

            #line 175 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtPushTime.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Text_PreviewMouseUp);

            #line default
            #line hidden

            #line 175 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtPushTime.KeyDown += new System.Windows.Input.KeyEventHandler(this.Text_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 179 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtBurnTime.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Time_TextChanged);

            #line default
            #line hidden

            #line 179 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtBurnTime.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Text_PreviewMouseUp);

            #line default
            #line hidden

            #line 180 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtBurnTime.KeyDown += new System.Windows.Input.KeyEventHandler(this.Text_KeyDown);

            #line default
            #line hidden
                return;

            case 19:
                this.chkBurnTime = ((System.Windows.Controls.CheckBox)(target));

            #line 181 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.chkBurnTime.Click += new System.Windows.RoutedEventHandler(this.ChkBurnTime_Click);

            #line default
            #line hidden
                return;

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

            #line 186 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtStandardBurnTime.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Time_TextChanged);

            #line default
            #line hidden

            #line 186 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtStandardBurnTime.KeyDown += new System.Windows.Input.KeyEventHandler(this.Text_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.chkStandardBurnTime.Click += new System.Windows.RoutedEventHandler(this.CheckBox_PlanBurnTime_Click);

            #line default
            #line hidden
                return;

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

            #line 192 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtBreak.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Time_TextChanged);

            #line default
            #line hidden

            #line 192 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtBreak.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Text_PreviewMouseUp);

            #line default
            #line hidden

            #line 193 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtBreak.KeyDown += new System.Windows.Input.KeyEventHandler(this.Text_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 199 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.btnEdit_Click);

            #line default
            #line hidden
                return;

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

            #line 200 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.btnGenerate.Click += new System.Windows.RoutedEventHandler(this.btnGenerate_Click);

            #line default
            #line hidden
                return;

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

            #line 201 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.btnDel.Click += new System.Windows.RoutedEventHandler(this.btnDel_Click);

            #line default
            #line hidden
                return;

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

            #line 202 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

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

            #line 210 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtUpdateTime.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Text_PreviewMouseUp);

            #line default
            #line hidden
                return;

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

            #line 211 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.UpdatePushTime_Click);

            #line default
            #line hidden
                return;

            case 31:

            #line 212 "..\..\..\..\R\UI\PlanEdit.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdatePushTime_Click);

            #line default
            #line hidden
                return;

            case 32:

            #line 213 "..\..\..\..\R\UI\PlanEdit.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdatePushTime_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.cboPrintPeriod = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 34:
                this.cboPrintArea = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 35:
                this.rbtnDirect = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 36:
                this.rbtnPreview = ((System.Windows.Controls.RadioButton)(target));

            #line 230 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.rbtnPreview.Checked += new System.Windows.RoutedEventHandler(this.Checked);

            #line default
            #line hidden
                return;

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

            #line 231 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);

            #line default
            #line hidden
                return;

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

            #line 262 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtInsertRoom.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Text_PreviewMouseUp);

            #line default
            #line hidden

            #line 262 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtInsertRoom.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden

            #line 262 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtInsertRoom.KeyDown += new System.Windows.Input.KeyEventHandler(this.Text_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 266 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtInsertPushTime.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPushTime_TextChanged);

            #line default
            #line hidden

            #line 266 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtInsertPushTime.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Text_PreviewMouseUp);

            #line default
            #line hidden

            #line 266 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.txtInsertPushTime.KeyDown += new System.Windows.Input.KeyEventHandler(this.Text_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 268 "..\..\..\..\R\UI\PlanEdit.xaml"
                this.btnInsert.Click += new System.Windows.RoutedEventHandler(this.btnInsert_Click);

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

            #line 14 "..\..\..\Pages\RedditRssPage.xaml"
                this.Accueil.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\Pages\RedditRssPage.xaml"
                this.Meteo.Click += new System.Windows.RoutedEventHandler(this.Meteo_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\Pages\RedditRssPage.xaml"
                this.Rss.Click += new System.Windows.RoutedEventHandler(this.Rss_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\Pages\RedditRssPage.xaml"
                this.slack.Click += new System.Windows.RoutedEventHandler(this.slack_Click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\Pages\RedditRssPage.xaml"
                this.cryptomo.Click += new System.Windows.RoutedEventHandler(this.cryptomo_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\Pages\RedditRssPage.xaml"
                this.pokemon.Click += new System.Windows.RoutedEventHandler(this.pokemon_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.visuel = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.MainGridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 3:
                this.MainBorderOfInputSection = ((System.Windows.Controls.Border)(target));
                return;

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

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

            case 6:
                this.DefaultHouseTypeIsActive = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.DefaultHouseTypeIsInactive = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            #line 132 "..\..\..\MainWindow.xaml"
                this.CreateButton.Click += new System.Windows.RoutedEventHandler(this.CreateInitializationList);

            #line default
            #line hidden
                return;

            case 9:
                this.ErrorMessageBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.WrapperOfOutputSection = ((System.Windows.Controls.Border)(target));
                return;

            case 11:
                this.MainGridOfOutputSection = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.WrapperOfOperationSection = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 13:
                this.InitializeTitle = ((System.Windows.Controls.Border)(target));
                return;

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

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

            case 16:
                this.InitializationPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 17:
                this.WrapperOfButtonSection = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.WrapperOfButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 195 "..\..\..\MainWindow.xaml"
                this.ExecuteButton.Click += new System.Windows.RoutedEventHandler(this.Play);

            #line default
            #line hidden
                return;

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

            #line 200 "..\..\..\MainWindow.xaml"
                this.ResetButtonr.Click += new System.Windows.RoutedEventHandler(this.Reset);

            #line default
            #line hidden
                return;

            case 21:
                this.PlaygroundTitle = ((System.Windows.Controls.Border)(target));
                return;

            case 22:
                this.PlaygroundText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.PlaygroundScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 24:
                this.PlaygroundCanvas = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PoE_Stash_Sorter = ((POEStashSorter.MainWindow)(target));

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.StashTabs = ((System.Windows.Controls.TabControl)(target));

            #line 6 "..\..\MainWindow.xaml"
                this.StashTabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.StashTabs_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 6:
                this.imgRightStash = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.ddlLeague = ((System.Windows.Controls.ComboBox)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.ddlLeague.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlLeague_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\MainWindow.xaml"
                this.ddlSortMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortMode_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\MainWindow.xaml"
                this.StartSorting.Click += new System.Windows.RoutedEventHandler(this.StartSorting_Click);

            #line default
            #line hidden
                return;

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

            case 11:
                this.ddlSortOption = ((System.Windows.Controls.ComboBox)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.ddlSortOption.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortOption_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.sliderSpeed = ((System.Windows.Controls.Slider)(target));

            #line 84 "..\..\MainWindow.xaml"
                this.sliderSpeed.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliderSpeed_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\MainWindow.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);

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

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

            case 3:
                this.Path = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 5:
                this.Path_0 = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 7:
                this.Path_1 = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 9:
                this.Path_2 = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 11:
                this.Path_3 = ((System.Windows.Shapes.Path)(target));
                return;

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

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

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

            #line 70 "..\..\Login.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click_1);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\Login.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click_1);

            #line default
            #line hidden
                return;

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

            case 17:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((Project_do_an_2.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.previewImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\MainWindow.xaml"
                this.canvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseDown);

            #line default
            #line hidden

            #line 18 "..\..\MainWindow.xaml"
                this.canvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.canvas_MouseMove);

            #line default
            #line hidden

            #line 18 "..\..\MainWindow.xaml"
                this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);

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

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

            case 3:
                this.block = ((System.Windows.Shapes.Path)(target));
                return;

            case 4:
                this.block1 = ((System.Windows.Shapes.Path)(target));
                return;

            case 5:
                this.block2 = ((System.Windows.Shapes.Path)(target));
                return;

            case 6:
                this.block3 = ((System.Windows.Shapes.Path)(target));
                return;

            case 7:
                this.block4 = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.block5 = ((System.Windows.Shapes.Path)(target));
                return;

            case 9:
                this.block6 = ((System.Windows.Shapes.Path)(target));
                return;

            case 10:
                this.block7 = ((System.Windows.Shapes.Path)(target));
                return;

            case 11:
                this.block8 = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.block9 = ((System.Windows.Shapes.Path)(target));
                return;

            case 13:
                this.block10 = ((System.Windows.Shapes.Path)(target));
                return;

            case 14:
                this.block11 = ((System.Windows.Shapes.Path)(target));
                return;

            case 15:
                this.block12 = ((System.Windows.Shapes.Path)(target));
                return;

            case 16:
                this.block13 = ((System.Windows.Shapes.Path)(target));
                return;

            case 17:
                this.block14 = ((System.Windows.Shapes.Path)(target));
                return;

            case 18:
                this.block15 = ((System.Windows.Shapes.Path)(target));
                return;

            case 19:
                this.block16 = ((System.Windows.Shapes.Path)(target));
                return;

            case 20:
                this.block17 = ((System.Windows.Shapes.Path)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.RibbonWindow_MouseMove);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

            #line 56 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_LoadGame_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 9:
                this.previewImage = ((System.Windows.Controls.Image)(target));

            #line 86 "..\..\MainWindow.xaml"
                this.previewImage.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.PreviewImage_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\MainWindow.xaml"
                this.btnChoose.Click += new System.Windows.RoutedEventHandler(this.BtnChoose_Click);

            #line default
            #line hidden
                return;

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

            #line 89 "..\..\MainWindow.xaml"
                this.btnUp.Click += new System.Windows.RoutedEventHandler(this.BtnUp_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\MainWindow.xaml"
                this.btnRight.Click += new System.Windows.RoutedEventHandler(this.BtnRight_Click);

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

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

            #line default
            #line hidden
                return;

            case 3:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:
                this.cube_1_1 = ((System.Windows.Shapes.Polygon)(target));

            #line 298 "..\..\MainWindow.xaml"
                this.cube_1_1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 298 "..\..\MainWindow.xaml"
                this.cube_1_1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 298 "..\..\MainWindow.xaml"
                this.cube_1_1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 298 "..\..\MainWindow.xaml"
                this.cube_1_1.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden

            #line 298 "..\..\MainWindow.xaml"
                this.cube_1_1.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_Flip);

            #line default
            #line hidden
                return;

            case 6:
                this.cube_2_1 = ((System.Windows.Shapes.Polygon)(target));

            #line 300 "..\..\MainWindow.xaml"
                this.cube_2_1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 300 "..\..\MainWindow.xaml"
                this.cube_2_1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 300 "..\..\MainWindow.xaml"
                this.cube_2_1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 300 "..\..\MainWindow.xaml"
                this.cube_2_1.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

            case 7:
                this.cube_2_2 = ((System.Windows.Shapes.Polygon)(target));

            #line 301 "..\..\MainWindow.xaml"
                this.cube_2_2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 301 "..\..\MainWindow.xaml"
                this.cube_2_2.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 301 "..\..\MainWindow.xaml"
                this.cube_2_2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 301 "..\..\MainWindow.xaml"
                this.cube_2_2.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

            case 8:
                this.cube_3_1 = ((System.Windows.Shapes.Polygon)(target));

            #line 302 "..\..\MainWindow.xaml"
                this.cube_3_1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 302 "..\..\MainWindow.xaml"
                this.cube_3_1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 302 "..\..\MainWindow.xaml"
                this.cube_3_1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 302 "..\..\MainWindow.xaml"
                this.cube_3_1.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

            case 9:
                this.cube_3_2 = ((System.Windows.Shapes.Polygon)(target));

            #line 303 "..\..\MainWindow.xaml"
                this.cube_3_2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 303 "..\..\MainWindow.xaml"
                this.cube_3_2.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 303 "..\..\MainWindow.xaml"
                this.cube_3_2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 303 "..\..\MainWindow.xaml"
                this.cube_3_2.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

            case 10:
                this.cube_4_1 = ((System.Windows.Shapes.Polygon)(target));

            #line 306 "..\..\MainWindow.xaml"
                this.cube_4_1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 306 "..\..\MainWindow.xaml"
                this.cube_4_1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 306 "..\..\MainWindow.xaml"
                this.cube_4_1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 306 "..\..\MainWindow.xaml"
                this.cube_4_1.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden

            #line 306 "..\..\MainWindow.xaml"
                this.cube_4_1.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_Flip);

            #line default
            #line hidden
                return;

            case 11:
                this.cube_4_2 = ((System.Windows.Shapes.Polygon)(target));

            #line 307 "..\..\MainWindow.xaml"
                this.cube_4_2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 307 "..\..\MainWindow.xaml"
                this.cube_4_2.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 307 "..\..\MainWindow.xaml"
                this.cube_4_2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 307 "..\..\MainWindow.xaml"
                this.cube_4_2.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden

            #line 307 "..\..\MainWindow.xaml"
                this.cube_4_2.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_Flip);

            #line default
            #line hidden
                return;

            case 12:
                this.cube_5_1 = ((System.Windows.Shapes.Polygon)(target));

            #line 308 "..\..\MainWindow.xaml"
                this.cube_5_1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 308 "..\..\MainWindow.xaml"
                this.cube_5_1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 308 "..\..\MainWindow.xaml"
                this.cube_5_1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 308 "..\..\MainWindow.xaml"
                this.cube_5_1.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden

            #line 308 "..\..\MainWindow.xaml"
                this.cube_5_1.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_Flip);

            #line default
            #line hidden
                return;

            case 13:
                this.cube_5_2 = ((System.Windows.Shapes.Polygon)(target));

            #line 309 "..\..\MainWindow.xaml"
                this.cube_5_2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 309 "..\..\MainWindow.xaml"
                this.cube_5_2.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 309 "..\..\MainWindow.xaml"
                this.cube_5_2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 309 "..\..\MainWindow.xaml"
                this.cube_5_2.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden

            #line 309 "..\..\MainWindow.xaml"
                this.cube_5_2.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_Flip);

            #line default
            #line hidden
                return;

            case 14:
                this.cube_6_1 = ((System.Windows.Shapes.Path)(target));

            #line 310 "..\..\MainWindow.xaml"
                this.cube_6_1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 310 "..\..\MainWindow.xaml"
                this.cube_6_1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 310 "..\..\MainWindow.xaml"
                this.cube_6_1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 310 "..\..\MainWindow.xaml"
                this.cube_6_1.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

            case 15:
                this.cube_6_2 = ((System.Windows.Shapes.Path)(target));

            #line 322 "..\..\MainWindow.xaml"
                this.cube_6_2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 322 "..\..\MainWindow.xaml"
                this.cube_6_2.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 322 "..\..\MainWindow.xaml"
                this.cube_6_2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 322 "..\..\MainWindow.xaml"
                this.cube_6_2.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

            case 16:
                this.cube_6_3 = ((System.Windows.Shapes.Path)(target));

            #line 334 "..\..\MainWindow.xaml"
                this.cube_6_3.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 334 "..\..\MainWindow.xaml"
                this.cube_6_3.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 334 "..\..\MainWindow.xaml"
                this.cube_6_3.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 334 "..\..\MainWindow.xaml"
                this.cube_6_3.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

            case 17:
                this.cube_6_4 = ((System.Windows.Shapes.Path)(target));

            #line 346 "..\..\MainWindow.xaml"
                this.cube_6_4.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 346 "..\..\MainWindow.xaml"
                this.cube_6_4.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 346 "..\..\MainWindow.xaml"
                this.cube_6_4.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 346 "..\..\MainWindow.xaml"
                this.cube_6_4.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

            case 18:
                this.cube_7_1 = ((System.Windows.Shapes.Path)(target));

            #line 359 "..\..\MainWindow.xaml"
                this.cube_7_1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 359 "..\..\MainWindow.xaml"
                this.cube_7_1.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 359 "..\..\MainWindow.xaml"
                this.cube_7_1.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 359 "..\..\MainWindow.xaml"
                this.cube_7_1.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

            case 19:
                this.cube_7_2 = ((System.Windows.Shapes.Path)(target));

            #line 368 "..\..\MainWindow.xaml"
                this.cube_7_2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 368 "..\..\MainWindow.xaml"
                this.cube_7_2.MouseMove += new System.Windows.Input.MouseEventHandler(this.Element_MouseMove);

            #line default
            #line hidden

            #line 368 "..\..\MainWindow.xaml"
                this.cube_7_2.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Element_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 368 "..\..\MainWindow.xaml"
                this.cube_7_2.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Element_MouseWheel);

            #line default
            #line hidden
                return;

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

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

            #line 393 "..\..\MainWindow.xaml"
                this.moreBtn.Click += new System.Windows.RoutedEventHandler(this.moreBtn_Click);

            #line default
            #line hidden
                return;

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

            case 23:
                this.allResetBtn = ((System.Windows.Controls.Button)(target));

            #line 404 "..\..\MainWindow.xaml"
                this.allResetBtn.Click += new System.Windows.RoutedEventHandler(this.all_reset);

            #line default
            #line hidden
                return;

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

            #line 405 "..\..\MainWindow.xaml"
                this.refreshBtn.Click += new System.Windows.RoutedEventHandler(this.refresh_programme);

            #line default
            #line hidden
                return;

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

            #line 406 "..\..\MainWindow.xaml"
                this.saveBtn.Click += new System.Windows.RoutedEventHandler(this.save_update);

            #line default
            #line hidden
                return;

            case 26:
                this.settingGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.sectionCBB = ((System.Windows.Controls.ComboBox)(target));

            #line 430 "..\..\MainWindow.xaml"
                this.sectionCBB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.check_update);

            #line default
            #line hidden
                return;

            case 28:
                this.musicCBB = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 29:
                this.sceneCBB = ((System.Windows.Controls.ComboBox)(target));

            #line 438 "..\..\MainWindow.xaml"
                this.sceneCBB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.check_update);

            #line default
            #line hidden
                return;

            case 30:
                this.backgroundCBB = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:
                this.resolutionCBB = ((System.Windows.Controls.ComboBox)(target));

            #line 444 "..\..\MainWindow.xaml"
                this.resolutionCBB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.resolution_change);

            #line default
            #line hidden
                return;

            case 32:
                this.sizeCBB = ((System.Windows.Controls.ComboBox)(target));

            #line 447 "..\..\MainWindow.xaml"
                this.sizeCBB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.size_change);

            #line default
            #line hidden
                return;

            case 33:
                this.programmeLV = ((System.Windows.Controls.ListView)(target));

            #line 454 "..\..\MainWindow.xaml"
                this.programmeLV.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.select_programme);

            #line default
            #line hidden
                return;

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

            #line 504 "..\..\MainWindow.xaml"
                this.deleteProgrammeBtn.Click += new System.Windows.RoutedEventHandler(this.programme_delete);

            #line default
            #line hidden
                return;

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

            #line 505 "..\..\MainWindow.xaml"
                this.addProgrammeBtn.Click += new System.Windows.RoutedEventHandler(this.add_programme);

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

            #line 10 "..\..\MainWindow.xaml"
                this.start.Click += new System.Windows.RoutedEventHandler(this.startCOM);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            #line 74 "..\..\MainWindow.xaml"
                this.distanceGlobal.KeyUp += new System.Windows.Input.KeyEventHandler(this.datachanget);

            #line default
            #line hidden
                return;

            case 13:
                this.checkBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 14:
                this.scan_status = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\UserControls\Import_Product.xaml"
                ((StoreManagement.UserControls.Import_Product)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.loadingGif = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

            #line 27 "..\..\..\UserControls\Import_Product.xaml"
                this.search_text_box.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.search_text_box_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.listBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            case 9:
                this.txt_Id = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

            #line 58 "..\..\..\UserControls\Import_Product.xaml"
                this.txt_Price.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 14:
                this.lbl_Type = ((System.Windows.Controls.Label)(target));
                return;

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

            case 16:
                this.lbl_Brand = ((System.Windows.Controls.Label)(target));
                return;

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

            case 18:
                this.lbl_Quantity = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 70 "..\..\..\UserControls\Import_Product.xaml"
                this.txt_Quantity.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

            #line default
            #line hidden
                return;

            case 20:
                this.lbl_Description = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.txt_Description = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 76 "..\..\..\UserControls\Import_Product.xaml"
                this.btn_Import.Click += new System.Windows.RoutedEventHandler(this.btn_Update_Click);

            #line default
            #line hidden
                return;

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

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

            case 25:
                this.txt_ImportQuantity = ((System.Windows.Controls.TextBox)(target));

            #line 82 "..\..\..\UserControls\Import_Product.xaml"
                this.txt_ImportQuantity.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberValidationTextBox);

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

            #line 34 "..\..\..\..\Views\Persons\PersonView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonCancel_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 9:
                this.extendedDataExpander = ((System.Windows.Controls.Expander)(target));
                return;

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

            case 11:
                this.departmentlevelsListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 12:
                this.levelsListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 13:
                this.historyExpander = ((System.Windows.Controls.Expander)(target));
                return;

            case 14:
                this.personHistoryListView = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ParentWnd = ((DigitalMusicAnalysis.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.ParentWnd.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 13 "..\..\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 162 "..\..\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 163 "..\..\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;
        }
Esempio n. 59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.CameraListBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.SettingsGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.TvCoBox = ((System.Windows.Controls.ComboBox)(target));

            #line 21 "..\..\..\MainWindow.xaml"
                this.TvCoBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TvCoBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.ISOCoBox = ((System.Windows.Controls.ComboBox)(target));

            #line 22 "..\..\..\MainWindow.xaml"
                this.ISOCoBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ISOCoBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.MainProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 13:
                this.BulbSlider = ((System.Windows.Controls.Slider)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.BulbSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.BulbSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 15:
                this.BulbBox = ((System.Windows.Controls.TextBox)(target));

            #line 34 "..\..\..\MainWindow.xaml"
                this.BulbBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BulbBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\MainWindow.xaml"
                this.VideoButton.Click += new System.Windows.RoutedEventHandler(this.VideoButton_Click);

            #line default
            #line hidden
                return;

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

            case 18:
                this.STCameraRdButton = ((System.Windows.Controls.RadioButton)(target));

            #line 40 "..\..\..\MainWindow.xaml"
                this.STCameraRdButton.Checked += new System.Windows.RoutedEventHandler(this.SaveToRdButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\MainWindow.xaml"
                this.STComputerRdButton.Checked += new System.Windows.RoutedEventHandler(this.SaveToRdButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\MainWindow.xaml"
                this.STBothRdButton.Checked += new System.Windows.RoutedEventHandler(this.SaveToRdButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\MainWindow.xaml"
                this.BrowseButton.Click += new System.Windows.RoutedEventHandler(this.BrowseButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 26:
                this.LiveViewGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 54 "..\..\..\MainWindow.xaml"
                this.StarLVButton.Click += new System.Windows.RoutedEventHandler(this.StarLVButton_Click);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\MainWindow.xaml"
                this.FocusNear3Button.Click += new System.Windows.RoutedEventHandler(this.FocusNear3Button_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\MainWindow.xaml"
                this.FocusNear2Button.Click += new System.Windows.RoutedEventHandler(this.FocusNear2Button_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 32:
                this.FocusFar2Button = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 33:
                this.FocusFar1Button = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 34:
                this.LVCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 62 "..\..\..\MainWindow.xaml"
                this.textNear3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textNear3_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\..\MainWindow.xaml"
                this.textNear2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textNear2_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\..\MainWindow.xaml"
                this.textNear1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textNear1_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\..\MainWindow.xaml"
                this.textFar1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textFar1_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\..\MainWindow.xaml"
                this.textFar2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textFar2_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\..\MainWindow.xaml"
                this.textFar3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textFar3_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\..\MainWindow.xaml"
                this.SetFocus.Click += new System.Windows.RoutedEventHandler(this.SetFocus_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\MainWindow.xaml"
                this.FocusDistance.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FocusDistance_TextChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.SetTicks = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\..\MainWindow.xaml"
                this.SetTicks.Click += new System.Windows.RoutedEventHandler(this.SetTicks_Click);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\..\MainWindow.xaml"
                this.FocusTicks.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FocusTicks_TextChanged);

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

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:
                this.canvasMap = ((System.Windows.Controls.Canvas)(target));

            #line 63 "..\..\..\MainWindow.xaml"
                this.canvasMap.DragEnter += new System.Windows.DragEventHandler(this.DropList_DragEnter);

            #line default
            #line hidden

            #line 63 "..\..\..\MainWindow.xaml"
                this.canvasMap.Drop += new System.Windows.DragEventHandler(this.dropOnMe_Drop);

            #line default
            #line hidden
                return;

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

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

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

            #line 70 "..\..\..\MainWindow.xaml"
                this.naziv_textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 98 "..\..\..\MainWindow.xaml"
                this.tip_textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 125 "..\..\..\MainWindow.xaml"
                this.oznaka_textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

            case 18:
                this.datumPicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 20:
                this.labMesto = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.labAlkohol = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.labPublika = ((System.Windows.Controls.Label)(target));
                return;

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

            case 24:
                this.mesto_comboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            #line 162 "..\..\..\MainWindow.xaml"
                this.etikete_textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.cene_comboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 29:
                this.labOpis = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 166 "..\..\..\MainWindow.xaml"
                this.opis_textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 167 "..\..\..\MainWindow.xaml"
                this.novaManifestacijaBtn.Click += new System.Windows.RoutedEventHandler(this.NovaManifestacija_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.izmeniManifestacijuBtn = ((System.Windows.Controls.Button)(target));

            #line 168 "..\..\..\MainWindow.xaml"
                this.izmeniManifestacijuBtn.Click += new System.Windows.RoutedEventHandler(this.izmeniManifestacijuBtn_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.obrisiManifestacijuBtn = ((System.Windows.Controls.Button)(target));

            #line 169 "..\..\..\MainWindow.xaml"
                this.obrisiManifestacijuBtn.Click += new System.Windows.RoutedEventHandler(this.obrisiManifestacijuBtn_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.pusenjeDa = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 35:
                this.pusenjeNe = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 36:
                this.labInvalidi = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.invalidiDa = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 38:
                this.invalidiNe = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 39:
                this.labIkonica = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.ikonica = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 177 "..\..\..\MainWindow.xaml"
                this.odabirIkonice.Click += new System.Windows.RoutedEventHandler(this.odabirIkonice_Click);

            #line default
            #line hidden
                return;

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

            #line 178 "..\..\..\MainWindow.xaml"
                this.noviTip.Click += new System.Windows.RoutedEventHandler(this.NoviTip_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.novaEtiketa = ((System.Windows.Controls.Button)(target));

            #line 179 "..\..\..\MainWindow.xaml"
                this.novaEtiketa.Click += new System.Windows.RoutedEventHandler(this.NovaEtiketa_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.pregledManifestacija = ((System.Windows.Controls.Button)(target));

            #line 181 "..\..\..\MainWindow.xaml"
                this.pregledManifestacija.Click += new System.Windows.RoutedEventHandler(this.PregledManifestacija_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.pregledTipova = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 47:
                this.publika_comboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 186 "..\..\..\MainWindow.xaml"
                this.sacuvaj.Click += new System.Windows.RoutedEventHandler(this.sacuvaj_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.pomoc = ((System.Windows.Controls.Button)(target));

            #line 187 "..\..\..\MainWindow.xaml"
                this.pomoc.Click += new System.Windows.RoutedEventHandler(this.About_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.logout = ((System.Windows.Controls.Button)(target));

            #line 188 "..\..\..\MainWindow.xaml"
                this.logout.Click += new System.Windows.RoutedEventHandler(this.logout_Click);

            #line default
            #line hidden
                return;

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

            #line 189 "..\..\..\MainWindow.xaml"
                this.odabirTipa.Click += new System.Windows.RoutedEventHandler(this.odabirTipa_Click);

            #line default
            #line hidden
                return;

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

            #line 190 "..\..\..\MainWindow.xaml"
                this.odabirEtiketa.Click += new System.Windows.RoutedEventHandler(this.odabirEtiketa_Click);

            #line default
            #line hidden
                return;

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

            #line 193 "..\..\..\MainWindow.xaml"
                this.manifestacijaBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);

            #line default
            #line hidden
                return;

            case 54:
                this.PrikazIkonice = ((System.Windows.Controls.Image)(target));

            #line 201 "..\..\..\MainWindow.xaml"
                this.PrikazIkonice.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PrikazIkonice_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 201 "..\..\..\MainWindow.xaml"
                this.PrikazIkonice.MouseMove += new System.Windows.Input.MouseEventHandler(this.PrikazIkonice_MouseMove);

            #line default
            #line hidden
                return;

            case 55:

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

            #line default
            #line hidden
                return;

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

            #line 204 "..\..\..\MainWindow.xaml"
                this.obrisiSve.Click += new System.Windows.RoutedEventHandler(this.obrisiSve_Click);

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