public override bool AttachControl(FilterPropertiesControl control)
        {
            Control = control;

            Grid grid = new Grid();
            int rowIndex = 0;

            TextBlock brightnessText = new TextBlock();
            brightnessText.Text = "Threshold";
            Grid.SetRow(brightnessText, rowIndex++);

            Slider brightnessSlider = new Slider();
            brightnessSlider.Minimum = 0.0;
            brightnessSlider.Maximum = 1.0;
            brightnessSlider.Value = _colorSwapFilter.Threshold;
            brightnessSlider.ValueChanged += brightnessSlider_ValueChanged;
            Grid.SetRow(brightnessSlider, rowIndex++);


            for (int i = 0; i < rowIndex; ++i)
            {
                RowDefinition rd = new RowDefinition();
                grid.RowDefinitions.Add(rd);
            }

            grid.Children.Add(brightnessText);
            grid.Children.Add(brightnessSlider);

            control.ControlsContainer.Children.Add(grid);

            return true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.FontSizeSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 2:
     
     #line 10 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToSmall);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 11 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToMiddle);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 12 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToLarge);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Example #3
0
 public void setObjects(Type ShapeType, StackPanel dp)
 {
     Elements.Clear();
     dp.Children.Clear();
     if(ShapeType == typeof(GoodStar))
     {
         dp.Children.Add(new TextBlock() { Text = "Tops Count: " });
        // dp.Children.Add(new TextBox() { Name= "topsCount",Width = 30 });
         Slider tops = new Slider() { Name = "topsCount", Value =5, Minimum = 1, Maximum = 30, SmallChange = 1, LargeChange = 1, Width = 100 };
         tops.ValueChanged += tops_ValueChanged;
         dp.Children.Add(tops);
         dp.Children.Add(new TextBlock() { Text = "Coeficient: " });
         Slider coef = new Slider() { Name = "Coefficient",Value = 0.5, Minimum = 0.01, Maximum = 1, SmallChange = 0.01, LargeChange = 0.1, Width = 100 };
         coef.ValueChanged += coef_ValueChanged;
         dp.Children.Add(coef);
     }
     if(ShapeType == typeof(GoodPolygon))
     {
         dp.Children.Add(new TextBlock() { Name= "topsCount", Text = "Tops Count: " });
         Slider tops = new Slider() { Name = "topsCount", Value = 5, Minimum = 1, Maximum = 30, SmallChange = 1, LargeChange = 1, Width = 100 };
         tops.ValueChanged += tops_ValueChanged;
         dp.Children.Add(tops);
     }
     if(ShapeType == typeof(GoodRectangle))
     {
         dp.Children.Add(new TextBlock() { Text = "X radius: " });
         Slider xRadius = new Slider() { Name = "xRadius", Value = 0, Minimum = 0, Maximum = 90, SmallChange = 1, LargeChange = 1, Width = 100 };
         xRadius.ValueChanged += Angle_ValueChanged;
         dp.Children.Add(xRadius);
         dp.Children.Add(new TextBlock() { Text = "Y radius: " });
         Slider yRadius = new Slider() { Name = "yRadius", Value = 0, Minimum = 0, Maximum = 90, SmallChange = 1, LargeChange = 1, Width = 100 };
         yRadius.ValueChanged += Angle_ValueChanged;
         dp.Children.Add(yRadius);
     }
 }
Example #4
0
 private SliderExtensions(Slider attachedObject)
 {
     this.element = attachedObject as Slider;
     this.element.AddHandler(FrameworkElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(element_MouseLeftButtonDown), true);
     this.element.MouseMove += new MouseEventHandler(element_MouseMove);
     this.element.MouseLeftButtonUp += new MouseButtonEventHandler(element_MouseLeftButtonUp);
 }
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            this.sliderElement = base.GetTemplateChild("ZoomSlider") as Slider;
            this.zoomInElement = base.GetTemplateChild("ZoomInElement") as RepeatButton;
            this.zoomOutElement = base.GetTemplateChild("ZoomOutElement") as RepeatButton;

            this.SetupZoom();

            if (this.sliderElement != null)
            {
                sliderElement.MouseEnter += new MouseEventHandler(zoomSliderElement_MouseEnter);
                sliderElement.MouseLeave += new MouseEventHandler(zoomSliderElement_MouseLeave);

                this.sliderElement.ValueChanged += new RoutedPropertyChangedEventHandler<double>(this.ZoomSlider_ValueChanged);
            }
            if (this.zoomInElement != null)
            {
                this.zoomInElement.Click += new RoutedEventHandler(this.ZoomInButton_Click);
            }
            if (this.zoomOutElement != null)
            {
                this.zoomOutElement.Click += new RoutedEventHandler(this.ZoomOutButton_Click);
            }
        }
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            m_panelOffscreenOffsetX = DefaultOffscreenOffsetX;

            m_floorSlider = GetTemplateChild("FloorSlider") as Slider;
            m_floorSlider.ValueChanged += OnSliderValueChanged;

            m_floorSlider.ApplyTemplate();

            m_sliderTickBar = GetTickBar(m_floorSlider);

            var sliderThumb = GetThumb(m_floorSlider);

            sliderThumb.DragStarted += OnSliderDragStarted;
            sliderThumb.DragCompleted += OnSliderDragCompleted;

            m_floorName = (TextBlock)GetTemplateChild("FloorName");

            m_dismissButton = (Button)GetTemplateChild("DismissButton");
            m_dismissButton.Click += OnClickDismiss;

            m_floorPanel = (Grid)GetTemplateChild("FloorPanel");

            m_detailsPanel = (Grid)GetTemplateChild("DetailsPanel");

            m_detailsPanel.Opacity = 0.0f;
            var currentPosition = m_floorPanel.RenderTransform.Transform(new Point(0.0, 0.0));
            m_floorPanel.RenderTransform = new TranslateTransform(m_panelOffscreenOffsetX, currentPosition.Y);
        }
Example #7
0
		public void Creation ()
		{
			Slider p = new Slider ();
			p.Measure (new Size (double.PositiveInfinity, double.PositiveInfinity));
			Assert.AreEqual (p.DesiredSize.Width, 0, "DesiredSize.Width");
			Assert.AreEqual (p.DesiredSize.Height, 0, "DesiredSize.Height");
		}
Example #8
0
        public ZoomSliderControl(BIT.AVL.Silver.Map.Map map)
        {
            _Map = map;
            DefaultStyleKey = typeof(ZoomSliderControl);

            if(HtmlPage.IsEnabled)
            {
                _Thumb = new Thumb();
                _Slider = this;

                // Slider Events
                _Slider.GotFocus += Slider_GotFocus;
                _Slider.LostFocus += Slider_LostFocus;
                _Slider.ValueChanged += ZoomControl_ValueChanged;

                // Map Events
                _Map.Events.MapMouseEnter += Events_MapMouseEnter;
                _Map.Events.MapMouseLeave += Events_MapMouseLeave;
                _Map.Events.MapZoomStarted += Events_MapZoomStarted;
                _Map.Events.MapZoomEnded += Events_MapZoomEnded;
                _Map.Events.MapZoomChanged += Events_MapZoomChanged;
                _Map.Events.MapMouseWheel += Events_MapMouseWheel;
                _Map.Events.MapDoubleClick += Events_MapDoubleClick;
                _Map.Events.MapTileSourceChanged += Events_MapTileSourceChanged;

                SetTileSourceZoomLevels();
                _UpdateSlider = true;
            }
        }
Example #9
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            if (ScrollViewer == null)
                return;

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

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

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

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

            f_designerCanvas.LayoutUpdated += DesignerCanvas_LayoutUpdated;

            //f_zoomThumb.DragDelta += Thumb_DragDelta;

            f_zoomSlider.ValueChanged += ZoomSlider_ValueChanged;

            f_scaleTransform = new ScaleTransform();
            f_designerCanvas.LayoutTransform = f_scaleTransform;
        }
        public override bool AttachControl(FilterPropertiesControl control)
        {
            Control = control;

            var grid = new Grid();
            int rowIndex = 0;

            TextBlock levelText = new TextBlock()
            {
                Text = "Level"
            };
            Grid.SetRow(levelText, rowIndex++);

            Slider levelSlider = new Slider() { Minimum = 0.0, Maximum = 1.0, Value = _filter.Level};
            levelSlider.ValueChanged += levelSlider_ValueChanged;
            Grid.SetRow(levelSlider, rowIndex++);

            for (int i = 0; i < rowIndex; ++i)
            {
                RowDefinition rd = new RowDefinition();
                grid.RowDefinitions.Add(rd);
            }

            grid.Children.Add(levelText);
            grid.Children.Add(levelSlider);

            control.ControlsContainer.Children.Add(grid);

            return true;
        }
Example #11
0
		public void ReadOnlyProperties ()
		{
			Slider s = new Slider ();
			Assert.Throws<InvalidOperationException> (delegate {
				s.SetValue (Thumb.IsFocusedProperty, true);
			}, "IsFocusedProperty");
		}
Example #12
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            if (this.ScrollViewer == null)
                return;

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

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

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

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

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

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

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

            this.scaleTransform = new ScaleTransform();
            this.designerCanvas.LayoutTransform = this.scaleTransform;
        }
 public ColorMixerVIewModel(Slider red, Slider green, Slider blue)
 {
     CurrentColor = "Click me";
     selector = new Selector(red, green, blue);
     clickMeCommand=new ClickMeCommand(selector);
     selector.ColorChanged += selector_ColorChanged;
     selector.CurrentColor += selector_CurrentColor;
 }
Example #14
0
		public void Initialize (Orientation dir)
		{
			Widget = new System.Windows.Controls.Slider () {
				Orientation = dir == Orientation.Horizontal ? SWC.Orientation.Horizontal : SWC.Orientation.Vertical,
			};
			Widget.MouseWheel += HandleMouseWheel;
			Slider.ValueChanged += ValueChanged;
		}
Example #15
0
		public void ApplyDefaultStyle ()
		{
			// Default style is applied when the element is added to the visual tree
			Slider s = new Slider ();
			Assert.AreEqual (1, s.Maximum, "#1");
			TestPanel.Children.Add (s);
			Assert.AreEqual (10, s.Maximum, "#2");
		}
			public static AbsRelSpeed Create(PtzAxis ax, PtzView view, Slider slider) {
				AbsRelSpeed res = null;
				do {
					var spdInf = GetSpeedInfo(view)[ax];
					if (spdInf == null) {
						break;
					}
					var range = spdInf.Item1;
					if (range == null) {
						break;
					}
					var def = spdInf.Item2;
					if (range == null) {
						break;
					}
					if (float.IsNaN(def)) {
						break;
					}
					var min = range.min;
					var max = range.max;
					if (float.IsNaN(min) || float.IsNaN(max) || min > max) {
						break;
					}
					if (float.IsNegativeInfinity(min)) {
						min = float.MinValue;
					}
					if (float.IsPositiveInfinity(max)) {
						max = float.MaxValue;
					}
					if (def > max || def < min) {
						res = new AbsRelSpeed(def, def, def);
						break;
					}
					res = new AbsRelSpeed(min, max, def);
					if (slider != null) {
						slider.Minimum = min;
						slider.Maximum = max;
						slider.SmallChange = (max - min) / 100f;
						slider.LargeChange = (max - min) / 10f;
						slider.Value = def;
						slider.Visibility = Visibility.Visible;
						if (min != max) {
							slider.IsEnabled = true;
							slider.ValueChanged += (s, a) => {
								res.val = res.rng.Coerce((float)a.NewValue);
							};
						} else {
							slider.IsEnabled = false;
						}
					}
					return res;
				} while (false);

				if (slider != null) {
					slider.Visibility = Visibility.Collapsed;
				}
				return res;
			}
Example #17
0
 void OnClick(object sender, RoutedEventArgs e)
 {
   cv1.Children.Clear();
   //Slider Orientation="Horizontal" hslider = new Slider Orientation="Horizontal"();
   Slider hslider = new Slider();
   hslider.Orientation = Orientation.Horizontal;
   hslider.Width = 100;
   cv1.Children.Add(hslider);
 }
Example #18
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MoodTracker;component/UserControls/CustomeSlider.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.UC_Slider = ((System.Windows.Controls.Slider)(this.FindName("UC_Slider")));
 }
Example #19
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mySlider = ((System.Windows.Controls.Slider)(target));
     return;
     }
     this._contentLoaded = true;
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/iServerJava6R_SampleCode;component/DynamicLayerOverlay/IServerAndWMS.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MyMap = ((SuperMap.Web.Mapping.Map)(this.FindName("MyMap")));
     this.layerOpacity = ((System.Windows.Controls.Slider)(this.FindName("layerOpacity")));
 }
Example #21
0
 public OperatorControl(Operator @operator)
 {
     Orientation = Orientation.Horizontal;
     Operator = @operator;
     _checkBox = new CheckBox { Content = Operator.Name, Width = 50};
     SliderWithValueText sliderWithValueText = new SliderWithValueText(190, 0, 100, 50);
     _probabilitySlider = sliderWithValueText.Slider;
     Children.Add(_checkBox);
     Children.Add(sliderWithValueText);
 }
Example #22
0
 private static SliderCommandBehavior GetOrCreateBehavior(Slider slider)
 {
     var behavior = slider.GetValue(SliderCommandBehaviorProperty) as SliderCommandBehavior;
     if (behavior == null)
     {
         behavior = new SliderCommandBehavior(slider);
         slider.SetValue(SliderCommandBehaviorProperty, behavior);
     }
     return behavior;
 }
 public VolumeHandler(ref MediaElement mediaElement, ref Slider volumeSlider, ref Image pic,
                      ImageSource otherImage)
 {
     _mediaElement = mediaElement;
     _volumeImageToggle = new ImageToggle(otherImage,ref pic);
     LastOnVolumeValue = Globals.MaxVolume;
     LastOnVolumeSliderValue = Globals.MaxSliderValue;
     _volumeSlider = volumeSlider;
     forceOn();
 }
Example #24
0
		public void Properties ()
		{
			Slider s = new Slider ();
			// default properties on Slider
			s.IsDirectionReversed = !s.IsDirectionReversed;

			Assert.AreEqual (Orientation.Horizontal, s.Orientation, "Orientation");
			s.Orientation = (Orientation) Int32.MaxValue;
			Assert.AreEqual ((Orientation) Int32.MaxValue, s.Orientation, "MaxValue");
		}
        public SliderNode(Core.VplControl hostCanvas) : base(hostCanvas)
        {
            AddOutputPortToNode("Number", typeof (double));

            var slider = new Slider {Value = 0.5, Minimum = 0, Maximum = 1, IsHitTestVisible = true, Width = 135};

            AddControlToNode(slider);
            OutputPorts[0].Data = slider.Value;
            slider.ValueChanged += slider_ValueChanged;
        }
Example #26
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/YoutubeApp;component/View/VideoPage2.xaml", System.UriKind.Relative));
     this.video_element = ((System.Windows.Controls.MediaElement)(this.FindName("video_element")));
     this.timelineSlider = ((System.Windows.Controls.Slider)(this.FindName("timelineSlider")));
     this.button = ((System.Windows.Controls.Button)(this.FindName("button")));
 }
        public Slider AddSlider(Color rectangleColor)
        {
            Slider slider = new Slider()
            {
                Tag = _sliders.Count,
                Minimum = this.Minimum,
                Maximum = this.Maximum,
                Orientation = this.Orientation,                
                Cursor = Orientation == Orientation.Vertical ? Cursors.SizeNS : Cursors.SizeWE
            };
            Style sliderStyle = Application.Current.Resources["SliderStyle"] as Style;
            if (sliderStyle != null)
                slider.Style = sliderStyle;
            if (Orientation == Orientation.Vertical)
            {
                slider.Height = this.Height;
                slider.Width = 22;
            }
            else
            {
                if (_sliders.Count > 0)
                    slider.Width = _sliders[0].Width;
                //else if (_maxLabel != null)
                //    slider.Width = this.Width - _maxLabel.ActualWidth;
                else
                    slider.Width = this.Width;
                slider.Height = 26;
            }

            if (_sliders.Count == 0)
                slider.Value = (this.Minimum + this.Maximum) / 2;
            else
                slider.Value = (_sliders[_sliders.Count - 1].Value + this.Maximum) / 2;

            slider.MouseEnter += new MouseEventHandler(slider_MouseEnter);
            slider.MouseLeave += new MouseEventHandler(slider_MouseLeave);
            slider.MouseMove += new MouseEventHandler(slider_MouseMove);
            if (sliderTooltip == null)
            {
                sliderTooltip = new Popup();
                sliderTooltipControl = new SliderTooltipControl();
                sliderTooltip.Child = sliderTooltipControl;
                sliderTooltipControl.SetTooltipText(slider.Value.ToString("N2"));
            }

            _sliders.Add(slider);

            if(CanvasRoot != null)
                CanvasRoot.Children.Add(slider);

            addRectangle(rectangleColor);

            slider.ValueChanged += Slider_ValueChanged;
            return slider;
        }
Example #28
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/7;component/HelpPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.LocationSlider = ((System.Windows.Controls.Slider)(this.FindName("LocationSlider")));
     this.LocationTextBlockState = ((System.Windows.Controls.TextBlock)(this.FindName("LocationTextBlockState")));
 }
Example #29
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/My_Note;component/Setting.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ShowFontSize = ((System.Windows.Controls.TextBlock)(this.FindName("ShowFontSize")));
     this.TextFontSizeSlider = ((System.Windows.Controls.Slider)(this.FindName("TextFontSizeSlider")));
     this.FontFamilyListBox = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("FontFamilyListBox")));
 }
Example #30
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Cognascence;component/PageHome.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.SliderSessionDuration = ((System.Windows.Controls.Slider)(this.FindName("SliderSessionDuration")));
 }
Example #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 16 "..\..\..\Views\Busca.xaml"
                this.btnAgendar1.Click += new System.Windows.RoutedEventHandler(this.BtnAgendar1_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\Views\Busca.xaml"
                this.btnAgendar2.Click += new System.Windows.RoutedEventHandler(this.BtnAgendar2_Click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\Views\Busca.xaml"
                this.btnAgendar3.Click += new System.Windows.RoutedEventHandler(this.BtnAgendar3_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 14:
                this.sld2 = ((System.Windows.Controls.Slider)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\Window\MainWindow.xaml"
                this.MItemSave.Click += new System.Windows.RoutedEventHandler(this.MItemSave_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\Window\MainWindow.xaml"
                this.MItemOpt.Click += new System.Windows.RoutedEventHandler(this.MItemOpt_Click);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\..\Window\MainWindow.xaml"
                this.MItemAbt.Click += new System.Windows.RoutedEventHandler(this.MItemAbt_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.mapMenu = ((System.Windows.Controls.Menu)(target));
                return;

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

            #line 69 "..\..\..\Window\MainWindow.xaml"
                this.MItemBrush.Click += new System.Windows.RoutedEventHandler(this.Manage_Brush);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\Window\MainWindow.xaml"
                this.CBoxShowGridLine.Checked += new System.Windows.RoutedEventHandler(this.CBoxShowGridLine_Checked);

            #line default
            #line hidden

            #line 70 "..\..\..\Window\MainWindow.xaml"
                this.CBoxShowGridLine.Unchecked += new System.Windows.RoutedEventHandler(this.CBoxShowGridLine_Unchecked);

            #line default
            #line hidden
                return;

            case 17:
                this.GridOpacityPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 18:
                this.GridOpacitySlider = ((System.Windows.Controls.Slider)(target));

            #line 73 "..\..\..\Window\MainWindow.xaml"
                this.GridOpacitySlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.GridOpacitySlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.Map = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            #line 90 "..\..\..\Window\MainWindow.xaml"
                this.Grid.MouseMove += new System.Windows.Input.MouseEventHandler(this.Grid_MouseMove);

            #line default
            #line hidden

            #line 90 "..\..\..\Window\MainWindow.xaml"
                this.Grid.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 90 "..\..\..\Window\MainWindow.xaml"
                this.Grid.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonUp);

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

            #line 11 "..\..\SettingsWindow.xaml"
                this.bConfirm.Click += new System.Windows.RoutedEventHandler(this.BConfirm_Click);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\SettingsWindow.xaml"
                this.bCancel.Click += new System.Windows.RoutedEventHandler(this.BCancel_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line 26 "..\..\SettingsWindow.xaml"
                this.buttonColorSets.Click += new System.Windows.RoutedEventHandler(this.ButtonColorSets_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.rectInfo = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rzThumb = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.rzThumb.DragCompleted += new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.rzThumb_DragCompleted);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 69 "..\..\MainWindow.xaml"
                this.Reboot.Click += new System.Windows.RoutedEventHandler(this.Reboot_OnClick);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\MainWindow.xaml"
                this.TurnOff.Click += new System.Windows.RoutedEventHandler(this.TurnOff_OnClick);

            #line default
            #line hidden
                return;

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

            case 8:
                this.Brightness = ((System.Windows.Controls.Slider)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\MainWindow.xaml"
                ((GraphicsVisionFusion.MainWindow)(target)).Closed += new System.EventHandler(this.destroyAll);

            #line default
            #line hidden
                return;

            case 2:
                this.imgBox = ((Emgu.CV.UI.ImageBox)(target));
                return;

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

            #line 29 "..\..\MainWindow.xaml"
                this.col1up.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.col1up_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 8:
                this.colorPicker = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.colorPicker.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.ColorPicker_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

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

            #line 4 "..\..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.GreenScreen.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 4 "..\..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.GreenScreen.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.MediaEL = ((System.Windows.Controls.MediaElement)(target));
                return;

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

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

            case 7:
                this.CaptureRect = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 98 "..\..\..\MainWindow.xaml"
                this.checkBoxNearMode.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxNearModeChanged);

            #line default
            #line hidden

            #line 98 "..\..\..\MainWindow.xaml"
                this.checkBoxNearMode.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxNearModeChanged);

            #line default
            #line hidden
                return;

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

            #line 99 "..\..\..\MainWindow.xaml"
                this.btnOpen.Click += new System.Windows.RoutedEventHandler(this.btnOpen_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\..\MainWindow.xaml"
                this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\..\MainWindow.xaml"
                this.btnMoveBackward.Click += new System.Windows.RoutedEventHandler(this.btnMoveBackward_Click);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\..\MainWindow.xaml"
                this.btnMoveForward.Click += new System.Windows.RoutedEventHandler(this.btnMoveForward_Click);

            #line default
            #line hidden
                return;

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

            #line 104 "..\..\..\MainWindow.xaml"
                this.imgOpen.Click += new System.Windows.RoutedEventHandler(this.imgOpen_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.checkBoxUseFiltering = ((System.Windows.Controls.CheckBox)(target));

            #line 106 "..\..\..\MainWindow.xaml"
                this.checkBoxUseFiltering.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxUseFilteringChanged);

            #line default
            #line hidden

            #line 106 "..\..\..\MainWindow.xaml"
                this.checkBoxUseFiltering.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxUseFilteringChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.SliderInnerBand = ((System.Windows.Controls.Slider)(target));

            #line 122 "..\..\..\MainWindow.xaml"
                this.SliderInnerBand.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SliderInnerBand_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\..\MainWindow.xaml"
                this.SliderOuterBand.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SliderOuterBand_ValueChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.checkBoxUseAverage = ((System.Windows.Controls.CheckBox)(target));

            #line 146 "..\..\..\MainWindow.xaml"
                this.checkBoxUseAverage.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxUseAverageChanged);

            #line default
            #line hidden

            #line 146 "..\..\..\MainWindow.xaml"
                this.checkBoxUseAverage.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxUseAverageChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.SliderAverage = ((System.Windows.Controls.Slider)(target));

            #line 163 "..\..\..\MainWindow.xaml"
                this.SliderAverage.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SliderAverage_ValueChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 21:
                this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.statusBar2 = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

            case 24:
                this.AudioDevicesComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 185 "..\..\..\MainWindow.xaml"
                this.AudioDevicesComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AudioDevicesComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 187 "..\..\..\MainWindow.xaml"
                this.CaptureButton.Click += new System.Windows.RoutedEventHandler(this.CaptureButton_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 8 "..\..\MainWindow.xaml"
                ((MyPlayer.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MOVE);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

            #line 450 "..\..\MainWindow.xaml"
                this.PlayButton.Click += new System.Windows.RoutedEventHandler(this.Button_Play);

            #line default
            #line hidden
                return;

            case 6:
                this.Playlist = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            case 9:

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

            #line default
            #line hidden
                return;

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

            case 11:
                this.Prog = ((System.Windows.Controls.ProgressBar)(target));

            #line 464 "..\..\MainWindow.xaml"
                this.Prog.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Prog_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:
                this.Vol = ((System.Windows.Controls.Slider)(target));

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:

            #line 23 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 33 "..\..\MainWindow.xaml"
                this.XI.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden

            #line 33 "..\..\MainWindow.xaml"
                this.XI.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\MainWindow.xaml"
                this.YI.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden

            #line 34 "..\..\MainWindow.xaml"
                this.YI.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.ZI.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden

            #line 35 "..\..\MainWindow.xaml"
                this.ZI.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\MainWindow.xaml"
                this.RI.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden

            #line 36 "..\..\MainWindow.xaml"
                this.RI.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.XN.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden

            #line 40 "..\..\MainWindow.xaml"
                this.XN.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\MainWindow.xaml"
                this.YN.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden

            #line 41 "..\..\MainWindow.xaml"
                this.YN.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\MainWindow.xaml"
                this.ZN.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.ZN.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\MainWindow.xaml"
                this.RN.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.RN.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnEvent);

            #line default
            #line hidden
                return;

            case 13:

            #line 50 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ComboBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.cbGrab = ((System.Windows.Controls.CheckBox)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.cbGrab.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden

            #line 57 "..\..\MainWindow.xaml"
                this.cbGrab.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

            case 15:
                this.cbLaser = ((System.Windows.Controls.CheckBox)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.cbLaser.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden

            #line 58 "..\..\MainWindow.xaml"
                this.cbLaser.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 59 "..\..\MainWindow.xaml"
                this.cbSuctionCup.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

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

            case 21:
                this.modeStyle = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:
                this.isGrab = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            case 25:
                this.Z = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

            case 29:

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

            #line default
            #line hidden
                return;

            case 30:

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

            #line default
            #line hidden
                return;

            case 31:
                this.sync = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 32:
                this.sld1 = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 12 "..\..\MainWindow.xaml"
                ((Tetris.MainWindow)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden
                return;

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

            case 3:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 51 "..\..\MainWindow.xaml"
                this.speedSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.speedSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.start.Click += new System.Windows.RoutedEventHandler(this.start_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.goOn.Click += new System.Windows.RoutedEventHandler(this.goOn_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.leftButton = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 54 "..\..\MainWindow.xaml"
                this.leftButton.Click += new System.Windows.RoutedEventHandler(this.leftButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.rightButton = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.rightButton.Click += new System.Windows.RoutedEventHandler(this.leftButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.upButton = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.upButton.Click += new System.Windows.RoutedEventHandler(this.leftButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.downButton = ((System.Windows.Controls.Primitives.RepeatButton)(target));

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 82 "..\..\MainWindow.xaml"
                this.recoder.Click += new System.Windows.RoutedEventHandler(this.recoder_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 89 "..\..\MainWindow.xaml"
                this.db.Checked += new System.Windows.RoutedEventHandler(this.cb_Checked);

            #line default
            #line hidden
                return;

            case 18:
                this.cgame = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #40
0
        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;
        }
Example #41
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.listBox1 = ((System.Windows.Controls.ListBox)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listBox1_SelectionChanged_1);

            #line default
            #line hidden
                return;

            case 3:
                this.gridSplitter1 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 4:
                this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 5:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\MainWindow.xaml"
                this.hi.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Hi_MouseRightButtonDown);

            #line default
            #line hidden
                return;

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

            case 13:
                this.startFrom = ((System.Windows.Controls.Slider)(target));
                return;

            case 14:
                this.endFrom = ((System.Windows.Controls.Slider)(target));
                return;

            case 15:

            #line 76 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 17:

            #line 81 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseLeftButtonDown_2);

            #line default
            #line hidden
                return;

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

            case 19:

            #line 85 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseLeftButtonDown_1);

            #line default
            #line hidden
                return;

            case 20:

            #line 88 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.DatePicker)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DatePicker_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\MainWindow.xaml"
                this.groping.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.groping_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.Listfillters = ((System.Windows.Controls.ListBox)(target));
                return;

            case 24:
                this.lstNames10 = ((System.Windows.Controls.ListView)(target));

            #line 123 "..\..\MainWindow.xaml"
                this.lstNames10.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstNames_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.lstNames11 = ((System.Windows.Controls.ListView)(target));

            #line 141 "..\..\MainWindow.xaml"
                this.lstNames11.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstNames_SelectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.lstNames12 = ((System.Windows.Controls.ListView)(target));

            #line 159 "..\..\MainWindow.xaml"
                this.lstNames12.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstNames_SelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.lstNames = ((System.Windows.Controls.ListBox)(target));

            #line 183 "..\..\MainWindow.xaml"
                this.lstNames.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstNames_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 216 "..\..\MainWindow.xaml"
                this.lstNames2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstNames_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.lstNames3 = ((System.Windows.Controls.ListBox)(target));

            #line 248 "..\..\MainWindow.xaml"
                this.lstNames3.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstNames_SelectionChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.lstNames5 = ((System.Windows.Controls.ListBox)(target));

            #line 282 "..\..\MainWindow.xaml"
                this.lstNames5.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstNames_SelectionChanged);

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

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

#line 10 "..\..\MainWindow.xaml"
                this.kivalaszt.Click += new System.Windows.RoutedEventHandler(this.kivalaszt_Click);

#line default
#line hidden
                return;

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

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

#line default
#line hidden
                return;

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

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

#line default
#line hidden
                return;

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

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

#line default
#line hidden
                return;

            case 6:
                this.zenek = ((System.Windows.Controls.ListBox)(target));

#line 14 "..\..\MainWindow.xaml"
                this.zenek.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.zenek_SelectionChanged);

#line default
#line hidden
                return;

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

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

#line default
#line hidden
                return;

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

#line 25 "..\..\MainWindow.xaml"
                this.helyzet1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.helyzet1_ValueChanged_1);

#line default
#line hidden

#line 25 "..\..\MainWindow.xaml"
                this.helyzet1.LostMouseCapture += new System.Windows.Input.MouseEventHandler(this.Tekeres);

#line default
#line hidden
                return;

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

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

#line default
#line hidden
                return;

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

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

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

#line default
#line hidden
                return;

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

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

#line default
#line hidden
                return;

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

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

#line default
#line hidden
                return;

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

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

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

            #line 54 "..\..\PlanView.xaml"
                this.LayersBtn.Click += new System.Windows.RoutedEventHandler(this.LayersButton_Click);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\PlanView.xaml"
                this.RotateBtn.Click += new System.Windows.RoutedEventHandler(this.RotateButton_Click);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\PlanView.xaml"
                this.PinBtn.Click += new System.Windows.RoutedEventHandler(this.PinButton_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\PlanView.xaml"
                this.SelectBtn.Click += new System.Windows.RoutedEventHandler(this.SelectButton_Click);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\PlanView.xaml"
                this.DrawBtn.Click += new System.Windows.RoutedEventHandler(this.DrawButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 7:
                this.MainMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

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

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

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

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

            case 12:
                this.mapRotationControl = ((System.Windows.Controls.Border)(target));
                return;

            case 13:
                this.rotationSlider = ((System.Windows.Controls.Slider)(target));

            #line 141 "..\..\PlanView.xaml"
                this.rotationSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.rotationSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden

            #line 4 "..\..\..\..\xaml\Dialog\VideoPlayback.xaml"
                ((AIO.xaml.Dialog.VideoPlayback)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 2:
                this.listView1 = ((System.Windows.Controls.ListView)(target));

            #line 33 "..\..\..\..\xaml\Dialog\VideoPlayback.xaml"
                this.listView1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listView1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.mediaElement1 = ((System.Windows.Controls.MediaElement)(target));

            #line 34 "..\..\..\..\xaml\Dialog\VideoPlayback.xaml"
                this.mediaElement1.MediaEnded += new System.Windows.RoutedEventHandler(this.mediaElement1_MediaEnded);

            #line default
            #line hidden
                return;

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

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

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

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

            case 8:
                this.wrapPanel1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 40 "..\..\..\..\xaml\Dialog\VideoPlayback.xaml"
                this.btnSuspended.Click += new System.Windows.RoutedEventHandler(this.btnSuspended_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\..\xaml\Dialog\VideoPlayback.xaml"
                this.btnStop.Click += new System.Windows.RoutedEventHandler(this.btnStop_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\..\xaml\Dialog\VideoPlayback.xaml"
                this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\..\xaml\Dialog\VideoPlayback.xaml"
                this.btnForward.Click += new System.Windows.RoutedEventHandler(this.btnForward_Click);

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.imgServ = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 185 "..\..\..\MainWindow.xaml"
                this.btnPortao.Click += new System.Windows.RoutedEventHandler(this.btnPortao_Click);

            #line default
            #line hidden
                return;

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

            #line 214 "..\..\..\MainWindow.xaml"
                this.sldSala.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.UpdatePWM);

            #line default
            #line hidden

            #line 214 "..\..\..\MainWindow.xaml"
                this.sldSala.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.PWMMouseWheel);

            #line default
            #line hidden
                return;

            case 6:
                this.lightPoste = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.lightGaragem = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.lightServ = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 9:
                this.lightExt1 = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 10:
                this.sldQuarto = ((System.Windows.Controls.Slider)(target));

            #line 328 "..\..\..\MainWindow.xaml"
                this.sldQuarto.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.UpdatePWM);

            #line default
            #line hidden

            #line 328 "..\..\..\MainWindow.xaml"
                this.sldQuarto.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.PWMMouseWheel);

            #line default
            #line hidden
                return;

            case 11:
                this.lightExt2 = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

            case 13:
                this.tgbIntServico = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 14:
                this.tgbIntGaragem = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 15:
                this.tgbIntPoste = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 16:
                this.tgbIntExt = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 17:
                this.TabModulo = ((System.Windows.Controls.TabControl)(target));
                return;

            case 18:
                this.tbM1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 19:
                this.tbM2 = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.miOpen = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 4:
                this.lvAirport = ((System.Windows.Controls.ListView)(target));

            #line 18 "..\..\MainWindow.xaml"
                this.lvAirport.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lvAirport_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.ctxMenuMain = ((System.Windows.Controls.ContextMenu)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\MainWindow.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MainWindow.xaml"
                this.btnUpdate.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\MainWindow.xaml"
                this.tbCode.LostFocus += new System.Windows.RoutedEventHandler(this.tbCode_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\MainWindow.xaml"
                this.tbCity.LostFocus += new System.Windows.RoutedEventHandler(this.tbCity_LostFocus);

            #line default
            #line hidden
                return;

            case 15:
                this.tbLat = ((System.Windows.Controls.TextBox)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.tbLat.LostFocus += new System.Windows.RoutedEventHandler(this.tbLat_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\MainWindow.xaml"
                this.tbLog.LostFocus += new System.Windows.RoutedEventHandler(this.tbLog_LostFocus);

            #line default
            #line hidden
                return;

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

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

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

            case 20:
                this.lbLatError = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.lbLogError = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.contentControl = ((System.Windows.Controls.ContentControl)(target));
                return;

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

            #line 363 "..\..\MainWindow.xaml"
                this.connect_button.Click += new System.Windows.RoutedEventHandler(this.connect_button_Click);

            #line default
            #line hidden
                return;

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

            #line 364 "..\..\MainWindow.xaml"
                this.enter_button.Click += new System.Windows.RoutedEventHandler(this.enter_button_Click);

            #line default
            #line hidden
                return;

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

            #line 365 "..\..\MainWindow.xaml"
                this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider_ValueChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.pwm_progress = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

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

            #line 378 "..\..\MainWindow.xaml"
                this.update_button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

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

            #line 7 "..\..\..\View\MediaView.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Grid_MouseWheel);

            #line default
            #line hidden
                return;

            case 2:
                this.myMediaElement = ((System.Windows.Controls.MediaElement)(target));

            #line 13 "..\..\..\View\MediaView.xaml"
                this.myMediaElement.MediaOpened += new System.Windows.RoutedEventHandler(this.Element_MediaOpened);

            #line default
            #line hidden

            #line 13 "..\..\..\View\MediaView.xaml"
                this.myMediaElement.MediaEnded += new System.Windows.RoutedEventHandler(this.Element_MediaEnded);

            #line default
            #line hidden
                return;

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

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

            #line 22 "..\..\..\View\MediaView.xaml"
                this.timelineSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.sliProgress_DragStarted));

            #line default
            #line hidden

            #line 22 "..\..\..\View\MediaView.xaml"
                this.timelineSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.sliProgress_DragCompleted));

            #line default
            #line hidden

            #line 23 "..\..\..\View\MediaView.xaml"
                this.timelineSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliProgress_ValueChanged);

            #line default
            #line hidden
                return;

            case 5:

            #line 36 "..\..\..\View\MediaView.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDownPlayMedia);

            #line default
            #line hidden
                return;

            case 6:

            #line 40 "..\..\..\View\MediaView.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDownPauseMedia);

            #line default
            #line hidden
                return;

            case 7:

            #line 44 "..\..\..\View\MediaView.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseDownStopMedia);

            #line default
            #line hidden
                return;

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

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

            #line 65 "..\..\..\View\MediaView.xaml"
                this.volumeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ChangeMediaVolume);

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

            #line 8 "..\..\MainWindow.xaml"
                this.Main_Window.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Main_Window_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                this.Main_Window.Loaded += new System.Windows.RoutedEventHandler(this.Main_Window_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                this.Main_Window.Closed += new System.EventHandler(this.Main_Window_Closed);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:
                this.Rec_Name = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 11:
                this.tab = ((System.Windows.Controls.TabControl)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.tab.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tab_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.GridLyric = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.Grid_Now = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 15:
                this.Grid_Search_Tool = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.TabControl_Music = ((System.Windows.Controls.TabControl)(target));
                return;

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

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

            case 19:
                this.List_Now_Playing = ((System.Windows.Controls.ListView)(target));

            #line 128 "..\..\MainWindow.xaml"
                this.List_Now_Playing.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.List_Now_Playing_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.Column_Nowplaying_Header = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 22:
                this.List_Playlist = ((System.Windows.Controls.ListView)(target));
                return;

            case 24:

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

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:
                this.List_Song_Playlist = ((System.Windows.Controls.ListView)(target));
                return;

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

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

            case 30:
                this.Slider_Time = ((System.Windows.Controls.Slider)(target));

            #line 302 "..\..\MainWindow.xaml"
                this.Slider_Time.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Slider_Time_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 302 "..\..\MainWindow.xaml"
                this.Slider_Time.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Slider_Time_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 303 "..\..\MainWindow.xaml"
                this.Slider_Time.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_Time_ValueChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.Grid_MediaElement = ((System.Windows.Controls.Grid)(target));
                return;

            case 32:
                this.Image_Slider = ((System.Windows.Controls.Image)(target));
                return;

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

            case 34:
                this.Grid_Toolbar_MME = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 313 "..\..\MainWindow.xaml"
                this.Button_Setting.Click += new System.Windows.RoutedEventHandler(this.Button_Setting_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.Grid_Viewer = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BrowseButton = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.BrowseButton.Click += new System.Windows.RoutedEventHandler(this.BrowseButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 59 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.play.Click += new System.Windows.RoutedEventHandler(this.play_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.stop.Click += new System.Windows.RoutedEventHandler(this.stop_Click);

            #line default
            #line hidden
                return;

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

            #line 99 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.goToStart.Click += new System.Windows.RoutedEventHandler(this.goToStart_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.goLeft.Click += new System.Windows.RoutedEventHandler(this.goLeft_Click);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.pause.Click += new System.Windows.RoutedEventHandler(this.pause_Click);

            #line default
            #line hidden
                return;

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

            #line 141 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.goRight.Click += new System.Windows.RoutedEventHandler(this.goRight_Click);

            #line default
            #line hidden
                return;

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

            #line 155 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.goToEnd.Click += new System.Windows.RoutedEventHandler(this.goToEnd_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.PropertiesList = ((milestone1.DataList)(target));
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:
                this.speedSlider = ((System.Windows.Controls.Slider)(target));

            #line 207 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.speedSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SimulatorSpeed_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 217 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.SimulatorSpeed.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SimulatorSpeed_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 231 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.LabelplaySpeed.Click += new System.Windows.RoutedEventHandler(this.LabelplaySpeed_Click);

            #line default
            #line hidden
                return;

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

            #line 240 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.BrowseDllFile.Click += new System.Windows.RoutedEventHandler(this.BrowseDllFile_Click);

            #line default
            #line hidden
                return;

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

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

            #line 270 "..\..\..\..\..\milestone1\MainWindow.xaml"
                this.BrowseTestFile.Click += new System.Windows.RoutedEventHandler(this.BrowseTestFileButton_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.testFilePathTextBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dragSelectionCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this.dragSelectionBorder = ((System.Windows.Controls.Border)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 6:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 7:
                this.statusTextWrapper = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

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

            case 9:
                this.photoSizeSliderWrapper = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 10:
                this.photoSizeSlider = ((System.Windows.Controls.Slider)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.photoSizeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.photoSizeSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\MainWindow.xaml"
                this.searchBar.GotFocus += new System.Windows.RoutedEventHandler(this.searchBar_GotFocus);

            #line default
            #line hidden

            #line 34 "..\..\MainWindow.xaml"
                this.searchBar.LostFocus += new System.Windows.RoutedEventHandler(this.searchBar_LostFocus);

            #line default
            #line hidden

            #line 34 "..\..\MainWindow.xaml"
                this.searchBar.KeyDown += new System.Windows.Input.KeyEventHandler(this.searchBar_KeyDown);

            #line default
            #line hidden
                return;

            case 12:
                this.sort = ((System.Windows.Controls.Menu)(target));
                return;

            case 13:
                this.sortByDate = ((System.Windows.Controls.RadioButton)(target));

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

            #line default
            #line hidden
                return;

            case 14:
                this.sortByName = ((System.Windows.Controls.RadioButton)(target));

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

            #line default
            #line hidden
                return;

            case 15:
                this.sortByFileType = ((System.Windows.Controls.RadioButton)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.sortByFileType.Click += new System.Windows.RoutedEventHandler(this.sortByFileType_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.sortAscending = ((System.Windows.Controls.RadioButton)(target));

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

            #line default
            #line hidden
                return;

            case 17:
                this.sortDescending = ((System.Windows.Controls.RadioButton)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.sortDescending.Click += new System.Windows.RoutedEventHandler(this.sortDescending_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.collectionsMenu = ((System.Windows.Controls.Menu)(target));
                return;

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

            case 20:

            #line 50 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_1);

            #line default
            #line hidden
                return;

            case 21:

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

            #line default
            #line hidden
                return;

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

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

            case 24:
                this.trashCan = ((System.Windows.Controls.Image)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.trashCan.Drop += new System.Windows.DragEventHandler(this.trashCan_Drop);

            #line default
            #line hidden
                return;

            case 25:
                this._listbox = ((System.Windows.Controls.ListBox)(target));

            #line 79 "..\..\MainWindow.xaml"
                this._listbox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.spaceKeyDown);

            #line default
            #line hidden

            #line 79 "..\..\MainWindow.xaml"
                this._listbox.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this._listbox_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 26:
                this.noEntryLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.noPhotosLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.canvasKinect = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this.canvasDesenho = ((ComandosVoz.Auxiliar.CanvasInteracao)(target));
                return;

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

            case 4:
                this.ponteiroBeamAngle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.ponteiroSoundSourceAngle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 6:
                this.kinectRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
                return;

            case 7:

            #line 40 "..\..\MainWindow.xaml"
                ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnFecharClick);

            #line default
            #line hidden
                return;

            case 8:
                this.btnEscalaCinza = ((ComandosVoz.Auxiliar.KinectToggleButton)(target));
                return;

            case 9:
                this.btnEsqueletoUsuario = ((ComandosVoz.Auxiliar.KinectToggleButton)(target));
                return;

            case 10:
                this.btnDesenhar = ((ComandosVoz.Auxiliar.KinectToggleButton)(target));
                return;

            case 11:

            #line 45 "..\..\MainWindow.xaml"
                ((Microsoft.Kinect.Toolkit.Controls.KinectTileButton)(target)).Click += new System.Windows.RoutedEventHandler(this.btnVoltarClick);

            #line default
            #line hidden
                return;

            case 12:
                this.seletorSensorUI = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
                return;

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

            #line 51 "..\..\MainWindow.xaml"
                this.slider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.slider_DragCompleted));

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

            #line 7 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Open_CanExecute);

            #line default
            #line hidden

            #line 7 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Open_Executed);

            #line default
            #line hidden
                return;

            case 2:

            #line 8 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Play_CanExecute);

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Play_Executed);

            #line default
            #line hidden
                return;

            case 3:

            #line 9 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Pause_CanExecute);

            #line default
            #line hidden

            #line 9 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Pause_Executed);

            #line default
            #line hidden
                return;

            case 4:

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.Stop_CanExecute);

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Stop_Executed);

            #line default
            #line hidden
                return;

            case 5:

            #line 12 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Grid_MouseWheel);

            #line default
            #line hidden
                return;

            case 6:
                this.mePlayer = ((System.Windows.Controls.MediaElement)(target));
                return;

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

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

            #line 52 "..\..\MainWindow.xaml"
                this.sliProgress.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.sliProgress_DragStarted));

            #line default
            #line hidden

            #line 52 "..\..\MainWindow.xaml"
                this.sliProgress.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.sliProgress_DragCompleted));

            #line default
            #line hidden

            #line 52 "..\..\MainWindow.xaml"
                this.sliProgress.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliProgress_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\CreateForecastWindow.xaml"
                ((_18003144_Task_1_v2.CreateForecastWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden

            #line 16 "..\..\CreateForecastWindow.xaml"
                ((_18003144_Task_1_v2.CreateForecastWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.pnlNavigation = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 23 "..\..\CreateForecastWindow.xaml"
                this.btnHome.Click += new System.Windows.RoutedEventHandler(this.BtnHome_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\CreateForecastWindow.xaml"
                this.btnViewForecasts.Click += new System.Windows.RoutedEventHandler(this.BtnViewForecasts_Click);

            #line default
            #line hidden
                return;

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

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

            #line 33 "..\..\CreateForecastWindow.xaml"
                this.txtCity.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtCity_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.lstCities = ((System.Windows.Controls.ListBox)(target));

            #line 52 "..\..\CreateForecastWindow.xaml"
                this.lstCities.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LstCities_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\CreateForecastWindow.xaml"
                this.sldMin.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldMin_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\CreateForecastWindow.xaml"
                this.txtMin.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtMin_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.sldMax = ((System.Windows.Controls.Slider)(target));

            #line 55 "..\..\CreateForecastWindow.xaml"
                this.sldMax.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldMax_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\CreateForecastWindow.xaml"
                this.txtMax.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtMax_TextChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.sldWind = ((System.Windows.Controls.Slider)(target));

            #line 57 "..\..\CreateForecastWindow.xaml"
                this.sldWind.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldWind_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\CreateForecastWindow.xaml"
                this.txtWind.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtWind_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.sldHumidity = ((System.Windows.Controls.Slider)(target));

            #line 59 "..\..\CreateForecastWindow.xaml"
                this.sldHumidity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldHumidity_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\CreateForecastWindow.xaml"
                this.txtHumidity.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtHumidity_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\CreateForecastWindow.xaml"
                this.sldPrecip.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SldPrecip_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\CreateForecastWindow.xaml"
                this.txtPrecip.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtPrecip_TextChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.dtpDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 65 "..\..\CreateForecastWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.BtnSave_Click);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\CreateForecastWindow.xaml"
                this.btnAutofill.Click += new System.Windows.RoutedEventHandler(this.BtnAutofill_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.crdError = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 23:
                this.lblError = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.imageProps = ((Novartis.Msi.MSImageView.ImagePropsContent)(target));
                return;

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

            case 3:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            #line 24 "..\..\ImagePropsContent.xaml"
                this.cbImageRepresentation.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbImageRepresentationSelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\ImagePropsContent.xaml"
                this.maxIntensity.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.MaxIntensityTextChanged);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\ImagePropsContent.xaml"
                this.slMaxIntensity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SlMaxIntensityValueChanged);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\ImagePropsContent.xaml"
                this.minIntensity.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.MinIntensityTextChanged);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\ImagePropsContent.xaml"
                this.slMinIntensity.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SlMinIntensityValueChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 41 "..\..\ImagePropsContent.xaml"
                this.currMass.LostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.CurrMassLostKeyboardFocus);

            #line default
            #line hidden

            #line 41 "..\..\ImagePropsContent.xaml"
                this.currMass.KeyDown += new System.Windows.Input.KeyEventHandler(this.CurrMassKeyDown);

            #line default
            #line hidden
                return;

            case 13:
                this.slCurrMass = ((System.Windows.Controls.Slider)(target));

            #line 42 "..\..\ImagePropsContent.xaml"
                this.slCurrMass.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SlCurrScanNumberValueChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 45 "..\..\ImagePropsContent.xaml"
                this.ShowTICBtn.Click += new System.Windows.RoutedEventHandler(this.ShowTicBtnClick);

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

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

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

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

            #line 36 "..\..\Music.xaml"
                this.fundo.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.fundo_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\Music.xaml"
                this.car.Click += new System.Windows.RoutedEventHandler(this.car_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.@lock = ((System.Windows.Controls.Button)(target));
                return;

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

            #line 70 "..\..\Music.xaml"
                this.fan.Click += new System.Windows.RoutedEventHandler(this.fan_Click);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\Music.xaml"
                this.phone.Click += new System.Windows.RoutedEventHandler(this.phone_Click);

            #line default
            #line hidden
                return;

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

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

            case 11:

            #line 117 "..\..\Music.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_MouseLeftButtonDown_3);

            #line default
            #line hidden
                return;

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

            case 13:

            #line 127 "..\..\Music.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_MouseLeftButtonDown_1);

            #line default
            #line hidden
                return;

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

            case 15:

            #line 137 "..\..\Music.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_MouseLeftButtonDown_2);

            #line default
            #line hidden
                return;

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

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

            #line 149 "..\..\Music.xaml"
                this.fechar.Click += new System.Windows.RoutedEventHandler(this.fechar_Click);

            #line default
            #line hidden
                return;

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

            #line 165 "..\..\Music.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            case 25:

            #line 199 "..\..\Music.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 27:
                this.sintonia = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

            #line 208 "..\..\Music.xaml"
                this.comercial.Click += new System.Windows.RoutedEventHandler(this.comercial_Click);

            #line default
            #line hidden
                return;

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

            #line 209 "..\..\Music.xaml"
                this.rfm.Click += new System.Windows.RoutedEventHandler(this.rfm_Click);

            #line default
            #line hidden
                return;

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

            case 33:
                this.botao4 = ((System.Windows.Controls.Button)(target));
                return;

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

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

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

            case 37:

            #line 218 "..\..\Music.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseLeftButtonDown);

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

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

            #line default
            #line hidden

            #line 8 "..\..\WModeling.xaml"
                ((Modeling.WModeling)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 10 "..\..\WModeling.xaml"
                this.grid_Container.SizeChanged += new System.Windows.SizeChangedEventHandler(this.grid_Container_SizeChanged);

            #line default
            #line hidden
                return;

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

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

            #line 49 "..\..\WModeling.xaml"
                this.im_Back.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.im_Back_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\WModeling.xaml"
                this.btn_ToStart.Click += new System.Windows.RoutedEventHandler(this.btn_ToStart_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\WModeling.xaml"
                this.btn_Start_Pause.Click += new System.Windows.RoutedEventHandler(this.btn_Start_Pause_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\WModeling.xaml"
                this.btn_Stop.Click += new System.Windows.RoutedEventHandler(this.btn_Stop_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\WModeling.xaml"
                this.btn_ToEnd.Click += new System.Windows.RoutedEventHandler(this.btn_ToEnd_Click);

            #line default
            #line hidden
                return;

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

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

            #line 58 "..\..\WModeling.xaml"
                this.im_Settings.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.im_Settings_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\WModeling.xaml"
                this.slider.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.slider_MouseDown);

            #line default
            #line hidden

            #line 60 "..\..\WModeling.xaml"
                this.slider.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.slider_MouseUp);

            #line default
            #line hidden

            #line 60 "..\..\WModeling.xaml"
                this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slider_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 13:
                this.lb_SpeedRatio = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtResults = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 19 "..\..\..\Home.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 20 "..\..\..\Home.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 5:

            #line 21 "..\..\..\Home.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 24 "..\..\..\Home.xaml"
                this.btnOut.Click += new System.Windows.RoutedEventHandler(this.btnOut_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\Home.xaml"
                this.comboxtm.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboxtm_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:

            #line 34 "..\..\..\Home.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

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

            case 11:
                this.slprice = ((System.Windows.Controls.Slider)(target));

            #line 37 "..\..\..\Home.xaml"
                this.slprice.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.slprice_ValueChanged_1);

            #line default
            #line hidden
                return;

            case 12:
                this.lblPrice = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }