Inheritance: ContentControl
        public Comment(Node hostNode)
        {
            HostNode = hostNode;

            var scrollViewer = new ScrollViewer
            {
                HorizontalScrollBarVisibility = ScrollBarVisibility.Disabled,
                VerticalScrollBarVisibility = ScrollBarVisibility.Visible,
                Height = 70,
                CanContentScroll = true
            };

            var textBlock = new TextBlock
            {
                Background = Brushes.Transparent,
                TextWrapping = TextWrapping.Wrap,
                Margin = new Thickness(5),
                FontSize = 12
            };

            Child = scrollViewer;
            CornerRadius = new CornerRadius(5);
            scrollViewer.Content = textBlock;


            var bindingTextToTextBlock = new Binding("Text")
            {
                Source = this,
                Mode = BindingMode.OneWay
            };
            textBlock.SetBinding(TextBlock.TextProperty, bindingTextToTextBlock);

            hostNode.SpaceCanvas.Children.Add(this);
        }
 public HorizontalMouseScrollHelper(ScrollViewer scrollviewer, DependencyObject d)
 {
     scrollViewer = scrollviewer;
     source = (HwndSource)PresentationSource.FromDependencyObject(d);
     if (source != null)
         source.AddHook(WindowProc);
 }
        public ExamineKeystrokes()
        {
            Title = "Examine Keystrokes";
            FontFamily = new FontFamily("Courier New");

            Grid grid = new Grid();
            Content = grid;

            // Make one row "auto" and the other fill the remaining space.
            RowDefinition rowdef = new RowDefinition();
            rowdef.Height = GridLength.Auto;
            grid.RowDefinitions.Add(rowdef);
            grid.RowDefinitions.Add(new RowDefinition());

            // Display header text.
            TextBlock textHeader = new TextBlock();
            textHeader.FontWeight = FontWeights.Bold;
            textHeader.Text = strHeader;
            grid.Children.Add(textHeader);

            // Create StackPanel as child of ScrollViewer for displaying events.
            scroll = new ScrollViewer();
            grid.Children.Add(scroll);
            Grid.SetRow(scroll, 1);

            stack = new StackPanel();
            scroll.Content = stack;
        }
        public void Render(IUIContainer container)
        {
            _stackPanel = container.GetInterface<IStackPanel>();

            if (!_stackPanel.DisplaySummary)
            {
                if (_hasChildren == null) return;

                var scrollViewer = new ScrollViewer();
                var newStackPanel = new StackPanel();
                scrollViewer.Content = newStackPanel;
                scrollViewer.HorizontalScrollBarVisibility = ScrollBarVisibility.Auto;

                var newStackPanelWrapper = new StackPanelWrapper(newStackPanel, scrollViewer, true);

                foreach (var child in _hasChildren.UIElements)
                {
                    if (child == null) continue;

                    child.Render(newStackPanelWrapper);
                }

                _stackPanel.AddChild(scrollViewer);

                var grid = (Grid) ((StackPanel) scrollViewer.Parent).Parent;
                var parent = (Window)grid.Parent;
                parent.SizeChanged += ParentSizeChanged;
            }
            else
            {
                if (_block.Parent != null)
                    ((StackPanel)_block.Parent).Children.Remove(_block);
                _stackPanel.AddChild(_block);
            }
        }
 public ClosableTabItem(string title, FrameworkElement image)
 {
     CloseableHeader closableTabHeader = new CloseableHeader();
     closableTabHeader.FileName.Content = title;
     closableTabHeader.close_button.Click += new System.Windows.RoutedEventHandler(close_button_Click);
     this.Header = closableTabHeader;
     ScrollViewer sv = new ScrollViewer();
     sv.HorizontalScrollBarVisibility = ScrollBarVisibility.Visible;
     sv.Loaded += new RoutedEventHandler(sv_Loaded);
     Canvas svContent = new Canvas();
     svContent.Background = Brushes.DarkGray;
     //svContent.MouseWheel += new MouseWheelEventHandler(sv_MouseWheel);
     sv.Content = svContent;
     Canvas viewPort = new Canvas();
     viewPort.Background = Brushes.White;
     viewPort.ClipToBounds = true;
     viewPort.MouseDown += new MouseButtonEventHandler(SelectItem);
     viewPort.LayoutTransform = newTransformations();
     viewPort.Children.Add(image);
     Canvas.SetTop(image, 0);
     Canvas.SetLeft(image, 0);
     image.Loaded += new RoutedEventHandler(image_Loaded);
     svContent.Children.Add(viewPort);
     this.Content = sv;
 }
		public SettingItemCanvas()
		{
			InitializeComponent();

			mItemrList = new List<Item>();

			canvas.Width = SettingItemButton.WIDTH;
			canvas.Height = SettingItemButton.HEIGHT * 7;
			canvas.Background = MetrialColor.getBrush(MetrialColor.Name.LightBlue, 0);
			setHeader();

			mSettingItemButtonScrollViewer = new ScrollViewer();
			mSettingItemButtonScrollViewer.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
			mSettingItemButtonScrollViewer.Width = SettingItemButton.WIDTH;
			mSettingItemButtonScrollViewer.Height = SettingItemButton.HEIGHT * 14;
			Canvas.SetTop(mSettingItemButtonScrollViewer, 100);
			Canvas.SetLeft(mSettingItemButtonScrollViewer, 50);
			canvas.Children.Add(mSettingItemButtonScrollViewer);

			mSettingItemButtonStackPanel = new StackPanel();
			mSettingItemButtonStackPanel.Orientation = Orientation.Vertical;
			mSettingItemButtonStackPanel.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
			Canvas.SetTop(mSettingItemButtonStackPanel, 0);
			Canvas.SetLeft(mSettingItemButtonStackPanel, 0);
			mSettingItemButtonScrollViewer.Content = mSettingItemButtonStackPanel;
			mSettingItemButtonStackPanel.Background = MetrialColor.getBrush(MetrialColor.Name.LightBlue, 0);

			updateSettingItemButton();
		}
Example #7
0
 /// <summary>
 /// Asynchronously loads content from specified uri.
 /// </summary>
 /// <param name="uri">The content uri.</param>
 /// <param name="ct">Cancellation token</param>
 /// <returns>The loaded content.</returns>
 public async Task<object> LoadContentAsync(Uri uri, CancellationToken ct)
 {
     var page = 0;
     var modList = new List<Mod>();
     var client = new HttpClient();
     while (true)
     {
         var symbol = uri.AbsoluteUri.Contains("?") ? "&" : "?";
         var result = await client.GetStringAsync(uri + $"{symbol}page={page++}");
         var mods = JsonConvert.DeserializeObject<Mod[]>(result);
         if (mods.Any())
         {
             foreach (var mod in mods.Where(mod => !modList.Contains(mod)))
             {
                 modList.Add(mod);
             }
             continue;
         }
         break;
     }
     
     var sv = new ScrollViewer
     {
         Content = modList.Aggregate(string.Empty, (current, mod) => current + (mod.title + Environment.NewLine))
     };
     return sv;
 }
Example #8
0
        public override void Show(System.Windows.Controls.ContentControl contentControl, object writer)
        {
            ScrollViewer scrollViewer = new ScrollViewer();
            StackPanel stackPanel = new StackPanel();
            stackPanel.Orientation = Orientation.Vertical;
            scrollViewer.Content = stackPanel;

            this.m_ImageStreamSource = new FileStream(this.FullFileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
            TiffBitmapDecoder tiffDecoder = new TiffBitmapDecoder(this.m_ImageStreamSource, BitmapCreateOptions.PreservePixelFormat, BitmapCacheOption.Default);
            try
            {
                for (int i = 0; i < tiffDecoder.Frames.Count; i++)
                {
                    BitmapSource bitMapSource = tiffDecoder.Frames[i];
                    Image image = new Image();
                    image.Source = bitMapSource;
                    stackPanel.Children.Add(image);
                }
                contentControl.Content = scrollViewer;
            }
            catch
            {

            }
        }
Example #9
0
        // Constructor.
        public Lister()
        {
            Focusable = false;

            // Make Border the content of the ContentControl.
            Border bord = new Border();
            bord.BorderThickness = new Thickness(1);
            bord.BorderBrush = SystemColors.ActiveBorderBrush;
            bord.Background = SystemColors.WindowBrush;
            Content = bord;

            // Make ScrollViewer the child of the border.
            scroll = new ScrollViewer();
            scroll.Focusable = false;
            scroll.Padding = new Thickness(2, 0, 0, 0);
            bord.Child = scroll;

            // Make StackPanel the content of the ScrollViewer.
            stack = new StackPanel();
            scroll.Content = stack;

            // Install a handler for the mouse left button down.
            AddHandler(TextBlock.MouseLeftButtonDownEvent,
                new MouseButtonEventHandler(TextBlockOnMouseLeftButtonDown));

            Loaded += OnLoaded;
        }
        /// <summary>
        /// Добавляет изображение в StackPanel с одной стороны и удоляет изображение с другой
        ///</summary>
        ///<remarks>Следит что бы было только 3 изображения в StackPanel</remarks>
        /// <param name="panel">ScrollViewer</param>
        public void AddAndRemoveImage(ScrollViewer panel)
        {
            var someWidth = panel.HorizontalOffset; //текущее состояние прокрутки
            Image img;
            if (Math.Abs(someWidth - panel.ScrollableWidth) < 0.001) //ScrollableWidth - максимально возможная прокрутка
            {
                img = new Image
                {
                    Width = _size.Width,
                    Height = _size.Height,
                    Source = NextImg(NextImage.Right)
                };
                StackPanel1.Children.Add(img);
                if (StackPanel1.Children.Count > 3)
                    StackPanel1.Children.RemoveAt(0);
                panel.ScrollToHorizontalOffset(panel.ScrollableWidth - img.Width);
            }
            if(StackPanel1.Children.Count > 1)
                _indexCurr = ImageList.Children.IndexOf(StackPanel1.Children[1]);
            if (Math.Abs(someWidth) > 0.001) return;
            img = new Image
            {
                Width = _size.Width,
                Height = _size.Height,
                Source = NextImg(NextImage.Left)
            };
            StackPanel1.Children.Insert(0, img);
            if (StackPanel1.Children.Count > 3)
                StackPanel1.Children.RemoveAt(StackPanel1.Children.Count - 1);

            panel.ScrollToHorizontalOffset(0 + img.Width);
            if (StackPanel1.Children.Count > 1)
                _indexCurr = ImageList.Children.IndexOf(StackPanel1.Children[1]);
        }
        public WatchNode(Core.VplControl hostCanvas) : base(hostCanvas)
        {
            AddInputPortToNode("Object", typeof (object));

            var textBlock = new TextBlock
            {
                TextWrapping = TextWrapping.Wrap,
                FontSize = 14,
                Padding = new Thickness(5),
                IsHitTestVisible = false
            };

            var scrollViewer = new ScrollViewer
            {
                HorizontalScrollBarVisibility = ScrollBarVisibility.Auto,
                VerticalScrollBarVisibility = ScrollBarVisibility.Auto,
                MinWidth = 120,
                MinHeight = 20,
                MaxWidth = 200,
                MaxHeight = 400,
                CanContentScroll = true,
                Content = textBlock
                //IsHitTestVisible = false
            };


            AddControlToNode(scrollViewer);
        }
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     _tabScrollViewer = GetTemplateChild("TabScrollViewerTop") as ScrollViewer;
     _tabPanelTop = GetTemplateChild("HeaderPanel") as Panel;
     SelectionChanged += (s, e) => scrollToSelectedItem();
 }
Example #13
0
 public ScrollAdjustmentBackend(ScrollViewer s, bool isVertical)
 {
     TargetScrollViewer = s;
     this.isVertical = isVertical;
     scrollValue = 0;
     lowerValue = 0;
 }
Example #14
0
        private void MainPage_Loaded(object sender, RoutedEventArgs e)
        {
            if (!viewModel.IsDataLoaded)
            {
                viewModel.LoadPhotosDown();
            }

            if (_alreadyHookedScrollEvents)
                return;

            _alreadyHookedScrollEvents = true;
            Photos.AddHandler(
                ManipulationCompletedEvent,
                (EventHandler<ManipulationCompletedEventArgs>)ListBox_ManipulationCompleted, true);

            _sv = (ScrollViewer)FindElementRecursive(Photos, typeof(ScrollViewer));

            if (_sv != null)
            {
                // Visual States are always on the first child of the control template 
                var element = VisualTreeHelper.GetChild(_sv, 0) as FrameworkElement;
                if (element != null)
                {
                    VisualStateGroup vgroup = FindVisualState(element, "VerticalCompression");
                    if (vgroup != null)
                    {
                        vgroup.CurrentStateChanging += vgroup_CurrentStateChanging;
                    }
                }
            }

        }
Example #15
0
 public ScrollControlBackend(ScrollViewer s, bool isVertical)
 {
     targetScrollViewer = s;
     this.isVertical = isVertical;
     scrollValue = Value;
     targetScrollViewer.ScrollChanged += HandleScrollChanged;
 }
Example #16
0
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     Scroll = (ScrollViewer)GetTemplateChild("Scroll");
     
     PreviewMouseWheel += StartMenu_MouseWheel;
 }
Example #17
0
        public ExamineKeystrokes()
        {
            Title = "Examine Keystrokes";
            FontFamily = new FontFamily("Courier New");

            Grid grid = new Grid();
            Content = grid;

            RowDefinition rowdef = new RowDefinition();
            rowdef.Height = GridLength.Auto;
            grid.RowDefinitions.Add(rowdef);
            grid.RowDefinitions.Add(new RowDefinition());

            TextBlock textHeader = new TextBlock();
            textHeader.FontWeight = FontWeights.Bold;
            textHeader.Text = strHeader;
            grid.Children.Add(textHeader);

            scroll = new ScrollViewer();
            grid.Children.Add(scroll);
            Grid.SetRow(scroll, 1);

            stack = new StackPanel();
            scroll.Content = stack;
        }
Example #18
0
        public PageCalendar()
        {
            InitializeComponent();

            this.Uid = "1000";
            this.Title = Translator.GetInstance().GetString("PageCalendar", this.Uid);

            StackPanel calendarPanel = new StackPanel();
            calendarPanel.Margin = new Thickness(10, 0, 10, 0);

            cbShowAll = new CheckBox();
            cbShowAll.Content = Translator.GetInstance().GetString("PageCalendar","200");
            cbShowAll.FlowDirection = System.Windows.FlowDirection.RightToLeft;
            cbShowAll.Checked += new RoutedEventHandler(cbShowAll_Checked);
            cbShowAll.Unchecked += new RoutedEventHandler(cbShowAll_Unchecked);
            cbShowAll.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            cbShowAll.IsChecked = false;

            calendarPanel.Children.Add(cbShowAll);

            ScrollViewer viewer = new ScrollViewer();
            viewer.MaxHeight = GraphicsHelpers.GetContentHeight() - 50;

            ucCalendar = new ucCalendar();

            viewer.Content = ucCalendar;

            calendarPanel.Children.Add(viewer);

            base.setContent(calendarPanel);

            base.setHeaderContent(this.Title);

            showPage(this);
        }
Example #19
0
		public OrderItemCanvas()
		{
			InitializeComponent();

			mOrderList = new List<Order>();

			canvas.Width = OrderItemButton.WIDTH;
			canvas.Height = OrderItemButton.HEIGHT * 7;

			setHeader();

			mOrderItemButtonScrollViewer = new ScrollViewer();
			mOrderItemButtonScrollViewer.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
			mOrderItemButtonScrollViewer.Width = OrderItemButton.WIDTH;
			mOrderItemButtonScrollViewer.Height = OrderItemButton.HEIGHT * 7;
			Canvas.SetTop(mOrderItemButtonScrollViewer, 50);
			Canvas.SetLeft(mOrderItemButtonScrollViewer, 0);
			canvas.Children.Add(mOrderItemButtonScrollViewer);

			mOrderItemButtonStackPanel = new StackPanel();
			mOrderItemButtonStackPanel.Orientation = Orientation.Vertical;
			mOrderItemButtonStackPanel.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
			Canvas.SetTop(mOrderItemButtonStackPanel, 0);
			Canvas.SetLeft(mOrderItemButtonStackPanel, 0);
			mOrderItemButtonScrollViewer.Content = mOrderItemButtonStackPanel;
		}
Example #20
0
        public override void OnApplyTemplate()
        {
            _scrollViewer = (ScrollViewer)FindElementRecursive(this, typeof(ScrollViewer));
            _scrollViewer.ScrollChanged += _scrollViewer_ScrollChanged;

            base.OnApplyTemplate();
        }
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            _scrollViewer = GetTemplateChild(ScrollableListBoxVisualElements.ScrollViewer) as ScrollViewer;
            _fowardButtonElement =
                GetTemplateChild(ScrollableListBoxVisualElements.ForwardButtonElement) as RepeatButton;
            _backButtonElement = GetTemplateChild(ScrollableListBoxVisualElements.BackButtonElement) as RepeatButton;

            if (_fowardButtonElement != null)
            {
                if (IncrementDelay > TimeSpan.Zero)
                {
                    _fowardButtonElement.Interval = (int) IncrementDelay.TotalMilliseconds;
                }

                _fowardButtonElement.Click += FowardButtonElement_Click;
            }

            if (_backButtonElement != null)
            {
                if (IncrementDelay > TimeSpan.Zero)
                {
                    _backButtonElement.Interval = (int) IncrementDelay.TotalMilliseconds;
                }

                _backButtonElement.Click += BackButtonElement_Click;
            }
        }
 public ScrollBarStyleApplier(ScrollViewer scrollViewer, double size, double opacity)
 {
     this.scrollViewer = scrollViewer;
     this.size = size;
     this.opacity = opacity.WithinBounds(0, 1);
     if (!ApplyStyles()) scrollViewer.Loaded += OnLoaded;
 }
Example #23
0
        private void WpfPropertyPage_Load(object sender, EventArgs e) {
            SuspendLayout();

            _host = new PropertyPageElementHost();
            _host.AutoSize = false;
            _host.Dock = DockStyle.Fill;

            if (_control == null) {
                _control = CreatePropertyPageControl();
            }

            ScrollViewer viewer = new ScrollViewer {
                VerticalScrollBarVisibility = ScrollBarVisibility.Auto,
                HorizontalScrollBarVisibility = ScrollBarVisibility.Auto
            };

            viewer.Content = _control;
            _host.Child = viewer;

            wpfHostPanel.Dock = DockStyle.Fill;
            wpfHostPanel.Controls.Add(_host);

            ResumeLayout(true);
            _control.StatusChanged += _control_OnControlStatusChanged;
        }
        public BorderSelectionLogic(MultiSelectTreeView treeView, Border selectionBorder, ScrollViewer scrollViewer, ItemsPresenter content, IEnumerable<MultiSelectTreeViewItem> items)
        {
            if (treeView == null)
            {
                throw new ArgumentNullException("treeView");
            }
            if (selectionBorder == null)
            {
                throw new ArgumentNullException("selectionBorder");
            }
            if (scrollViewer == null)
            {
                throw new ArgumentNullException("scrollViewer");
            }
            if (content == null)
            {
                throw new ArgumentNullException("content");
            }
            if (items == null)
            {
                throw new ArgumentNullException("items");
            }

            this.treeView = treeView;
            this.border = selectionBorder;
            this.scrollViewer = scrollViewer;
            this.content = content;
            this.items = items;

            treeView.MouseDown += OnMouseDown;
            treeView.MouseMove += OnMouseMove;
            treeView.MouseUp += OnMouseUp;
            treeView.KeyDown += OnKeyDown;
            treeView.KeyUp += OnKeyUp;
        }
Example #25
0
        protected override void OnInitialized(EventArgs e)
        {
            base.OnInitialized(e);
            initialized = true;
            ColumnDefinitions.Add(new ColumnDefinition ());
            ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(5) });
            ColumnDefinitions.Add(new ColumnDefinition());

            Children.Add(instances);
            instances.SelectionChanged += Instances_SelectionChanged;

            var splitter = new GridSplitter { Width = 5, HorizontalAlignment = HorizontalAlignment.Stretch };
            Children.Add(splitter);
            Grid.SetColumn(splitter, 1);
            Grid.SetRowSpan(splitter, 2);

            properties = new Properties { DataContext = null };
            var scrollViewer = new ScrollViewer {
                HorizontalScrollBarVisibility = ScrollBarVisibility.Disabled,
                VerticalScrollBarVisibility = ScrollBarVisibility.Auto,
                Content = properties
            };
            Children.Add(scrollViewer);
            Grid.SetColumn(scrollViewer, 2);
            Update();
        }
        public InternalOptionsControl(string featureOptionName, IServiceProvider serviceProvider)
            : base(serviceProvider)
        {
            _featureOptionName = featureOptionName;

            var panel = new StackPanel();
            this.AddOptions(panel);

            var viewer = new ScrollViewer();
            viewer.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
            viewer.HorizontalScrollBarVisibility = ScrollBarVisibility.Auto;

            var checkAllButton = new Button() { Content = "Check All" };
            checkAllButton.Click += (o, a) => panel.Children.OfType<CheckBox>().Do(c => c.IsChecked = true);

            var uncheckAllButton = new Button() { Content = "Uncheck All" };
            uncheckAllButton.Click += (o, a) => panel.Children.OfType<CheckBox>().Do(c => c.IsChecked = false);

            var selectionPanel = new StackPanel();
            selectionPanel.Children.Add(checkAllButton);
            selectionPanel.Children.Add(uncheckAllButton);

            panel.Children.Add(selectionPanel);

            viewer.Content = panel;

            this.Content = viewer;
        }
        // --------------------------------------------------------------------
        // Ctor and event handlers
        // --------------------------------------------------------------------
        public SyntaxHighlightBox()
        {
            InitializeComponent();

            MaxLineCountInBlock = 100;
            LineHeight = FontSize * 1.3;
            totalLineCount = 1;
            blocks = new List<InnerTextBlock>();

            Loaded += (s, e) => {
                renderCanvas = (DrawingControl)Template.FindName("PART_RenderCanvas", this);
                scrollViewer = (ScrollViewer)Template.FindName("PART_ContentHost", this);

                scrollViewer.ScrollChanged += OnScrollChanged;

                InvalidateBlocks(0);
                InvalidateVisual();
            };

            SizeChanged += (s, e) => {
                if (e.HeightChanged == false)
                    return;
                UpdateBlocks();
                InvalidateVisual();
            };

            TextChanged += (s, e) => {
                UpdateTotalLineCount();
                InvalidateBlocks(e.Changes.First().Offset);
                InvalidateVisual();
            };
        }
                public ContentPanel(string name, HeaderPanel headerPanel)
                {
                        //Setting properties
                        this.Height = Dimensions.GetHeight()*0.75;
                        this.Margin = new System.Windows.Thickness(0, 10, 0, 0);
                        this.Orientation = System.Windows.Controls.Orientation.Horizontal;

                        //Setting fields
                        RightPanelCoordinator coord = new RightPanelCoordinator(this);
                        _taskPanel = new TaskPanel(_detailsPanel,name,coord);        
                        _optionsPanel = new OptionsPanel(_taskPanel);                        

                        _rightPanel = _optionsPanel;
                        _firstLoad = true;
                        _isOnOptions = true;
                        _projectName = name;
                        _scroller = new ScrollViewer();
                        _headerPanel = headerPanel;

                        //Adding children
                        _scroller.Content = _taskPanel;
                        this.Children.Add(_scroller);
                        this.Children.Add(_rightPanel);

                        //Loading Brainstormings on beginning by default
                        LoadBrainstorming();
                }
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     ParamContainer = GetTemplateChild(PART_ParamContainer) as Grid;
     paramsScroller = GetTemplateChild(PART_ParamsScroller) as ScrollViewer;
     BuildUI();
 }
Example #30
0
        private void DocumentViewLoaded(object sender, RoutedEventArgs e)
        {
            using (var stream = Assembly.GetEntryAssembly().GetManifestResourceStream("MarkPad.Syntax.Markdown.xshd"))
            using (var reader = new XmlTextReader(stream))
            {
                Editor.SyntaxHighlighting = HighlightingLoader.Load(reader, HighlightingManager.Instance);
            }

            documentScrollViewer = Editor.FindVisualChild<ScrollViewer>();

            if (documentScrollViewer != null)
            {
                documentScrollViewer.ScrollChanged += (i, j) => wb.ExecuteJavascript("window.scrollTo(0," + j.VerticalOffset + ");");
                var x = ((DocumentViewModel)DataContext);
                x.Document.TextChanged += (i, j) =>
                                              {
                                                  wb.LoadCompleted += (k, l) => wb.ExecuteJavascript("window.scrollTo(0," + documentScrollViewer.VerticalOffset + ");");
                                              };
            }

            //  AvalonEdit hijacks Ctrl+I. We need to free that mutha up
            var editCommandBindings = Editor.TextArea.DefaultInputHandler.Editing.CommandBindings;

            editCommandBindings
                .FirstOrDefault(b => b.Command == ICSharpCode.AvalonEdit.AvalonEditCommands.IndentSelection)
                .ExecuteSafely(b => editCommandBindings.Remove(b));
        }
Example #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ViewChatMessageDetailUserControl = ((dodicall.View.ViewChatMessageDetail)(target));

            #line 27 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ViewChatMessageDetailUserControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.ViewChatMessageDetail_OnSizeChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 58 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.StackPanelTitle.MouseEnter += new System.Windows.Input.MouseEventHandler(this.OnTitleChatMouseEnter);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ChatTitleTextBlock.MouseEnter += new System.Windows.Input.MouseEventHandler(this.OnTitleChatMouseEnter);

            #line default
            #line hidden

            #line 59 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ChatTitleTextBlock.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OnChatTitleTextBlock_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ChatTitleEditButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.OnTitleChatMouseEnter);

            #line default
            #line hidden

            #line 60 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ChatTitleEditButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.OnTitleChatMouseLeave);

            #line default
            #line hidden

            #line 60 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ChatTitleEditButton.Click += new System.Windows.RoutedEventHandler(this.TitleChatEditMouseButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line 65 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ChatTitleTextBox.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.ChatTitleTextBox_OnPreviewKeyDown);

            #line default
            #line hidden

            #line 65 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ChatTitleTextBox.LostFocus += new System.Windows.RoutedEventHandler(this.ChatTitleTextBox_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ChatTitleEditConfirmButton.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ChatTitleEditConfirmButton_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ChatTitleEditAbortButton.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TitleChatAbortEditMouseButtonDown);

            #line default
            #line hidden
                return;

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

            case 12:
                this.EllipseStatus = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

            #line 81 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.StackPanelCountModelContact.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanelCountModelContact_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

            #line 91 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ButtonPhone.Click += new System.Windows.RoutedEventHandler(this.ButtonPhone_OnClick);

            #line default
            #line hidden
                return;

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

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

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

            case 20:

            #line 99 "..\..\..\View\ViewChatMessageDetail.xaml"
                ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ContextMenuOpen);

            #line default
            #line hidden
                return;

            case 21:

            #line 102 "..\..\..\View\ViewChatMessageDetail.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnInviteMembers_MouseClick);

            #line default
            #line hidden
                return;

            case 22:
                this.Sep1 = ((System.Windows.Controls.Separator)(target));
                return;

            case 23:
                this.LeaveChatSeparator = ((System.Windows.Controls.Separator)(target));
                return;

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

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

            #line 107 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.MultipleChoiceMenuItem.Click += new System.Windows.RoutedEventHandler(this.MultipleChoiceMenuItem_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.ScrollChatUserList = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 27:
                this.ItemsControlChatUserList = ((System.Windows.Controls.ItemsControl)(target));
                return;

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

            case 30:
                this.CheckBoxSelectAll = ((System.Windows.Controls.CheckBox)(target));

            #line 169 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.CheckBoxSelectAll.Click += new System.Windows.RoutedEventHandler(this.CheckBoxSelectAll_Click);

            #line default
            #line hidden
                return;

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

            #line 172 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ButtonCancelMultipleChoice.Click += new System.Windows.RoutedEventHandler(this.ButtonCancelMultipleChoice_Click);

            #line default
            #line hidden
                return;

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

            case 33:
                this.ScrollViewerListMessage = ((System.Windows.Controls.ScrollViewer)(target));

            #line 179 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ScrollViewerListMessage.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.ScrollViewerListMessage_ScrollChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            case 38:
                this.RectangleQuotedMessage = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 39:
                this.GridQuotedMessage = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 199 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ButtonRemoveQuotedMessage.Click += new System.Windows.RoutedEventHandler(this.ButtonRemoveQuotedMessage_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.RectangleMessage = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 42:
                this.GridSetMessage = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 212 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.TextBoxWriteMessage.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.TextBoxWriteMessage_OnPreviewKeyDown);

            #line default
            #line hidden

            #line 212 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.TextBoxWriteMessage.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxWriteMessage_TextChanged);

            #line default
            #line hidden

            #line 213 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.TextBoxWriteMessage.GotFocus += new System.Windows.RoutedEventHandler(this.TextBoxWriteMessage_GotFocus);

            #line default
            #line hidden

            #line 213 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.TextBoxWriteMessage.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxWriteMessage_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 214 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.TextBlockWriteMessage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlockEnterMessage_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 45:

            #line 216 "..\..\..\View\ViewChatMessageDetail.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_ClipButton);

            #line default
            #line hidden
                return;

            case 46:

            #line 220 "..\..\..\View\ViewChatMessageDetail.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_ClipSendContact);

            #line default
            #line hidden
                return;

            case 47:
                this.ImageSendMessage = ((System.Windows.Controls.Image)(target));

            #line 225 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ImageSendMessage.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ImageSendMessage_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 48:
                this.RectangleSendMessage = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 49:
                this.GridWriteMessageDisable = ((System.Windows.Controls.Grid)(target));
                return;

            case 50:
                this.BottomMenuMultipleChoice = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 240 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ButtonMultipleForwardMessage.Click += new System.Windows.RoutedEventHandler(this.ButtonMultipleForwardMessage_Click);

            #line default
            #line hidden
                return;

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

            #line 248 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ButtonMultipleCopyMessage.Click += new System.Windows.RoutedEventHandler(this.ButtonMultipleCopyMessage_Click);

            #line default
            #line hidden
                return;

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

            #line 256 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ButtonMultipleCiteMessage.Click += new System.Windows.RoutedEventHandler(this.ButtonMultipleCiteMessage_Click);

            #line default
            #line hidden
                return;

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

            #line 264 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ButtonMultipleExportMessage.Click += new System.Windows.RoutedEventHandler(this.ButtonMultipleExportMessage_Click);

            #line default
            #line hidden
                return;

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

            #line 272 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ButtonMultipleFavoriteMessage.Click += new System.Windows.RoutedEventHandler(this.ButtonMultipleFavoriteMessage_Click);

            #line default
            #line hidden
                return;

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

            #line 280 "..\..\..\View\ViewChatMessageDetail.xaml"
                this.ButtonMultipleDeleteMessage.Click += new System.Windows.RoutedEventHandler(this.ButtonMultipleDeleteMessage_Click);

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 35 "..\..\..\SudokuWindow.xaml"
                this.LoadBtn.Click += new System.Windows.RoutedEventHandler(this.LoadBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\SudokuWindow.xaml"
                this.SolveBtn.Click += new System.Windows.RoutedEventHandler(this.SolveBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\SudokuWindow.xaml"
                this.PlaybackBtn.Click += new System.Windows.RoutedEventHandler(this.PlaybackBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\SudokuWindow.xaml"
                this.StopBtn.Click += new System.Windows.RoutedEventHandler(this.StopBtn_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ConsoleScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            #line 44 "..\..\..\SudokuWindow.xaml"
                this.ClearBtn.Click += new System.Windows.RoutedEventHandler(this.ClearBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\SudokuWindow.xaml"
                this.SaveBtn.Click += new System.Windows.RoutedEventHandler(this.SaveBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.GameGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((TextEd.MainWindow)(target));
                return;

            case 2:
                this.mainGrid = ((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.page1 = ((System.Windows.Controls.RichTextBox)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.page1.SelectionChanged += new System.Windows.RoutedEventHandler(this.RichTxtBoxSelectionChanged);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.page1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.CountWords);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

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

            #line 76 "..\..\MainWindow.xaml"
                [email protected] += new System.Windows.RoutedEventHandler(this.NewOrNewWindow);

            #line default
            #line hidden
                return;

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

            #line 79 "..\..\MainWindow.xaml"
                this.newWindow.Click += new System.Windows.RoutedEventHandler(this.NewOrNewWindow);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\MainWindow.xaml"
                this.docx.Click += new System.Windows.RoutedEventHandler(this.ExportAs);

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\MainWindow.xaml"
                this.html.Click += new System.Windows.RoutedEventHandler(this.ExportAs);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\MainWindow.xaml"
                this.jpg.Click += new System.Windows.RoutedEventHandler(this.ExportAs);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\MainWindow.xaml"
                this.png.Click += new System.Windows.RoutedEventHandler(this.ExportAs);

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

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

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

            #line 129 "..\..\MainWindow.xaml"
                this.menuHome.Click += new System.Windows.RoutedEventHandler(this.MenuItemClick);

            #line default
            #line hidden

            #line 133 "..\..\MainWindow.xaml"
                this.menuHome.MouseEnter += new System.Windows.Input.MouseEventHandler(this.MouseEnterToBold);

            #line default
            #line hidden

            #line 134 "..\..\MainWindow.xaml"
                this.menuHome.MouseLeave += new System.Windows.Input.MouseEventHandler(this.MouseLeaveToNormal);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 142 "..\..\MainWindow.xaml"
                this.menuInsert.MouseEnter += new System.Windows.Input.MouseEventHandler(this.MouseEnterToBold);

            #line default
            #line hidden

            #line 143 "..\..\MainWindow.xaml"
                this.menuInsert.MouseLeave += new System.Windows.Input.MouseEventHandler(this.MouseLeaveToNormal);

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\MainWindow.xaml"
                this.menuFormat.Click += new System.Windows.RoutedEventHandler(this.MenuItemClick);

            #line default
            #line hidden

            #line 151 "..\..\MainWindow.xaml"
                this.menuFormat.MouseEnter += new System.Windows.Input.MouseEventHandler(this.MouseEnterToBold);

            #line default
            #line hidden

            #line 152 "..\..\MainWindow.xaml"
                this.menuFormat.MouseLeave += new System.Windows.Input.MouseEventHandler(this.MouseLeaveToNormal);

            #line default
            #line hidden
                return;

            case 25:
                this.homeTray = ((System.Windows.Controls.ToolBarTray)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 29:
                this.lbCopy = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.cmbFonts = ((System.Windows.Controls.ComboBox)(target));

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

            #line default
            #line hidden
                return;

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

            #line 225 "..\..\MainWindow.xaml"
                this.cmbFontSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TxtFontSize);

            #line default
            #line hidden
                return;

            case 32:
                this.alignmentLeft = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 229 "..\..\MainWindow.xaml"
                this.alignmentLeft.Checked += new System.Windows.RoutedEventHandler(this.Alignment);

            #line default
            #line hidden
                return;

            case 33:
                this.alignmentCenter = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 236 "..\..\MainWindow.xaml"
                this.alignmentCenter.Checked += new System.Windows.RoutedEventHandler(this.Alignment);

            #line default
            #line hidden
                return;

            case 34:
                this.alignmentRight = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 243 "..\..\MainWindow.xaml"
                this.alignmentRight.Checked += new System.Windows.RoutedEventHandler(this.Alignment);

            #line default
            #line hidden
                return;

            case 35:
                this.alignmentJustify = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 250 "..\..\MainWindow.xaml"
                this.alignmentJustify.Checked += new System.Windows.RoutedEventHandler(this.Alignment);

            #line default
            #line hidden
                return;

            case 36:
                this.bold = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 37:
                this.italic = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 38:
                this.underline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 39:
                this.txtHeight = ((System.Windows.Controls.Image)(target));

            #line 293 "..\..\MainWindow.xaml"
                this.txtHeight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.AaMenuOpen);

            #line default
            #line hidden
                return;

            case 40:

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

            #line default
            #line hidden
                return;

            case 41:

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

            #line default
            #line hidden
                return;

            case 42:

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

            #line default
            #line hidden
                return;

            case 43:
                this.superscript = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 320 "..\..\MainWindow.xaml"
                this.superscript.Click += new System.Windows.RoutedEventHandler(this.Superscript);

            #line default
            #line hidden
                return;

            case 44:
                this.subscript = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 328 "..\..\MainWindow.xaml"
                this.subscript.Click += new System.Windows.RoutedEventHandler(this.Subscript);

            #line default
            #line hidden
                return;

            case 45:
                this.foregroundColor = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 343 "..\..\MainWindow.xaml"
                this.foregroundColor.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.ForegroundColor);

            #line default
            #line hidden
                return;

            case 46:
                this.backgroundColor = ((Xceed.Wpf.Toolkit.ColorPicker)(target));

            #line 347 "..\..\MainWindow.xaml"
                this.backgroundColor.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.Windows.Media.Color> >(this.BackgroundColor);

            #line default
            #line hidden
                return;

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

            #line 355 "..\..\MainWindow.xaml"
                this.btnFindReplace.Click += new System.Windows.RoutedEventHandler(this.FindReplace);

            #line default
            #line hidden
                return;

            case 48:
                this.insertTray = ((System.Windows.Controls.ToolBarTray)(target));
                return;

            case 49:
                this.txtToUrl = ((System.Windows.Controls.Button)(target));

            #line 384 "..\..\MainWindow.xaml"
                this.txtToUrl.Click += new System.Windows.RoutedEventHandler(this.TxtToUrl);

            #line default
            #line hidden
                return;

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

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

            #line 397 "..\..\MainWindow.xaml"
                this.btnNumbering.Click += new System.Windows.RoutedEventHandler(this.Numbering);

            #line default
            #line hidden
                return;

            case 52:
                this.lbSpecialChars = ((System.Windows.Controls.Label)(target));
                return;

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

            case 54:
                this.lbBulletPoints = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 426 "..\..\MainWindow.xaml"
                this.btnBulletPoints.Click += new System.Windows.RoutedEventHandler(this.BulletPoints);

            #line default
            #line hidden
                return;

            case 56:
                this.formatTray = ((System.Windows.Controls.ToolBarTray)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Patient = ((TestApp.Pages.PagePatient)(target));
                return;

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

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

            #line 648 "..\..\..\Pages\PagePatient.xaml"
                this.TextBox1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 649 "..\..\..\Pages\PagePatient.xaml"
                this.TextBox2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 8:
                this.DatePickerJour = ((System.Windows.Controls.DatePicker)(target));

            #line 673 "..\..\..\Pages\PagePatient.xaml"
                this.DatePickerJour.CalendarClosed += new System.Windows.RoutedEventHandler(this.DatePicker_CalendarClosed);

            #line default
            #line hidden
                return;

            case 9:
                this.DatePickerNaissance = ((System.Windows.Controls.DatePicker)(target));

            #line 674 "..\..\..\Pages\PagePatient.xaml"
                this.DatePickerNaissance.CalendarClosed += new System.Windows.RoutedEventHandler(this.DatePicker_CalendarClosed);

            #line default
            #line hidden
                return;

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

            case 11:
                this.ScrollContacts = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 13:
                this.GridContactLigne = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 15:

            #line 695 "..\..\..\Pages\PagePatient.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ajouterUnContactClick);

            #line default
            #line hidden
                return;

            case 16:
                this.PopUpEnglobanteContact = ((System.Windows.Controls.Primitives.Popup)(target));

            #line 703 "..\..\..\Pages\PagePatient.xaml"
                this.PopUpEnglobanteContact.Closed += new System.EventHandler(this.PopUpClosed);

            #line default
            #line hidden
                return;

            case 17:
                this.PopUpContact = ((TestApp.UI_Elements.PopUp)(target));
                return;

            case 18:
                this.ScrollAdresses = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 19:
                this.GridAdresses = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 760 "..\..\..\Pages\PagePatient.xaml"
                this.OrigineDemande.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.ScrollSuivis = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 23:
                this.GridSuivis = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 829 "..\..\..\Pages\PagePatient.xaml"
                this.TextBox3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 30:
                this.Acuite = ((System.Windows.Controls.ComboBox)(target));

            #line 872 "..\..\..\Pages\PagePatient.xaml"
                this.Acuite.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 887 "..\..\..\Pages\PagePatient.xaml"
                this.Orthoptie.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.ReflexeVisuel = ((System.Windows.Controls.ComboBox)(target));

            #line 896 "..\..\..\Pages\PagePatient.xaml"
                this.ReflexeVisuel.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 901 "..\..\..\Pages\PagePatient.xaml"
                this.TestLateralite.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 908 "..\..\..\Pages\PagePatient.xaml"
                this.ConnaissanceLateralite.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.Pattes = ((System.Windows.Controls.ComboBox)(target));

            #line 909 "..\..\..\Pages\PagePatient.xaml"
                this.Pattes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.Onglets = ((System.Windows.Controls.TabControl)(target));
                return;

            case 37:
                this.GridTabControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.Arbre = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.GrandsParents = ((System.Windows.Controls.StackPanel)(target));

            #line 935 "..\..\..\Pages\PagePatient.xaml"
                this.GrandsParents.Drop += new System.Windows.DragEventHandler(this.panel_Drop);

            #line default
            #line hidden
                return;

            case 40:
                this.Parents = ((System.Windows.Controls.StackPanel)(target));

            #line 936 "..\..\..\Pages\PagePatient.xaml"
                this.Parents.Drop += new System.Windows.DragEventHandler(this.panel_Drop);

            #line default
            #line hidden
                return;

            case 41:
                this.Fraterie = ((System.Windows.Controls.StackPanel)(target));

            #line 937 "..\..\..\Pages\PagePatient.xaml"
                this.Fraterie.Drop += new System.Windows.DragEventHandler(this.panel_Drop);

            #line default
            #line hidden
                return;

            case 42:
                this.FormulaireProche = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 44:
                this.radioDroit = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 45:
                this.radioGauche = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 46:
                this.Diponibilité = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 47:
                this.GarconDroitier = ((TestApp.UI_Elements.Circle)(target));
                return;

            case 48:
                this.GarconGaucher = ((TestApp.UI_Elements.Circle)(target));
                return;

            case 49:
                this.FilleDroitiere = ((TestApp.UI_Elements.Circle)(target));
                return;

            case 50:
                this.FilleGauchere = ((TestApp.UI_Elements.Circle)(target));
                return;

            case 51:
                this.Commentaire = ((System.Windows.Controls.RichTextBox)(target));

            #line 995 "..\..\..\Pages\PagePatient.xaml"
                this.Commentaire.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.richTextBox_TextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        private static void scrollerLoaded(object sender, RoutedEventArgs e)
        {
            System.Windows.Controls.ScrollViewer scroller = sender as System.Windows.Controls.ScrollViewer;

            SetEventHandlersForScrollViewer(scroller);
        }
Example #36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonPlay = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\MenuWindow.xaml"
                this.ButtonPlay.Click += new System.Windows.RoutedEventHandler(this.ClickPlay);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\MenuWindow.xaml"
                this.ButtonSeeScores.Click += new System.Windows.RoutedEventHandler(this.ClickSeeScores);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MenuWindow.xaml"
                this.ButtonChangePassword.Click += new System.Windows.RoutedEventHandler(this.ClickChangePassword);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MenuWindow.xaml"
                this.ButtonLogOut.Click += new System.Windows.RoutedEventHandler(this.ClickLogOut);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MenuWindow.xaml"
                this.ButtonValidate.Click += new System.Windows.RoutedEventHandler(this.ClickValidate);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\MenuWindow.xaml"
                this.TextBoxChat.KeyDown += new System.Windows.Input.KeyEventHandler(this.IsEnter);

            #line default
            #line hidden
                return;

            case 7:
                this.ButtonChat = ((MaterialDesignThemes.Wpf.PackIcon)(target));

            #line 39 "..\..\MenuWindow.xaml"
                this.ButtonChat.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ClickIconChat);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\MenuWindow.xaml"
                this.ScrollViewer.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.ScrollViewer_OnScrollChanged);

            #line default
            #line hidden
                return;

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

            case 10:
                this.IconToken = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            case 12:
                this.LabelAlert = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DiffPatch = ((DiffPatchWpf.MainWindow)(target));
                return;

            case 2:
                this.Scroller = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.labelSoft = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ScrollGlobalContainer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 2:
                this.DockPanelOR = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            case 4:
                this.ScrollViewerOR = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 6:
                this.DockPanelAND = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            case 8:
                this.ScrollViewerAND = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 10:
                this.DockPanelFUYZZY = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            case 12:
                this.ScrollViewerFUZYY = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 14:
                this.DockPanelINPUT = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            case 16:
                this.ScrollViewerINPUT = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 17:
                this.GridOfScrollViewerINPUT = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.Configuration = ((PointOfSale.ConfigurationManager)(target));
                return;

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

            #line 25 "..\..\..\DragScrollPane.xaml"
                this.scrollViewer.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ScrollViewer_PreviewMouseDown);

            #line default
            #line hidden

            #line 26 "..\..\..\DragScrollPane.xaml"
                this.scrollViewer.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.ScrollViewer_PreviewMouseUp);

            #line default
            #line hidden

            #line 27 "..\..\..\DragScrollPane.xaml"
                this.scrollViewer.MouseMove += new System.Windows.Input.MouseEventHandler(this.scrollViewer_MouseMove);

            #line default
            #line hidden

            #line 28 "..\..\..\DragScrollPane.xaml"
                this.scrollViewer.MouseLeave += new System.Windows.Input.MouseEventHandler(this.scrollViewer_MouseLeave);

            #line default
            #line hidden

            #line 29 "..\..\..\DragScrollPane.xaml"
                this.scrollViewer.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.scrollViewer_ScrollChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.borderControl = ((System.Windows.Controls.Border)(target));
                return;

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

            case 6:
                this.maskBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 7:
                this.canvasControl = ((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.greet = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 34 "..\..\menuControl.xaml"
                this.easteregg.MouseEnter += new System.Windows.Input.MouseEventHandler(this.easteregg_MouseEnter);

            #line default
            #line hidden

            #line 34 "..\..\menuControl.xaml"
                this.easteregg.MouseLeave += new System.Windows.Input.MouseEventHandler(this.easteregg_MouseLeave);

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\menuControl.xaml"
                this.result.Click += new System.Windows.RoutedEventHandler(this.result_Click);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\menuControl.xaml"
                this.userChange.Click += new System.Windows.RoutedEventHandler(this.userChange_Click);

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\menuControl.xaml"
                this.exit.Click += new System.Windows.RoutedEventHandler(this.exit_Click);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\menuControl.xaml"
                this.menuCombo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MenuCombo_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 114 "..\..\menuControl.xaml"
                this.menuTestStart.Click += new System.Windows.RoutedEventHandler(this.MenuTestStart_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.easterImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.maingrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line 12 "..\..\MyView.xaml"
                this.myimage.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.myimage_MouseWheel);

            #line default
            #line hidden

            #line 12 "..\..\MyView.xaml"
                this.myimage.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.myimage_MouseDown);

            #line default
            #line hidden

            #line 12 "..\..\MyView.xaml"
                this.myimage.MouseMove += new System.Windows.Input.MouseEventHandler(this.myimage_MouseMove);

            #line default
            #line hidden

            #line 12 "..\..\MyView.xaml"
                this.myimage.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.myimage_MouseUp);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\MyView.xaml"
                this.btn_fangda.Click += new System.Windows.RoutedEventHandler(this.btn_fangda_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\MyView.xaml"
                this.btn_suoxiao.Click += new System.Windows.RoutedEventHandler(this.btn_suoxiao_Click);

            #line default
            #line hidden
                return;

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

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

            #line 19 "..\..\MyView.xaml"
                this.image_slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.image_slider_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 10:
                this.myDataList = ((WpfBrowser_warningsystem.DataList)(target));
                return;

            case 11:
                this.label_updatetime = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 private static void SetEventHandlersForScrollViewer(System.Windows.Controls.ScrollViewer scroller)
 {
     scroller.PreviewMouseWheel += new MouseWheelEventHandler(ScrollViewerPreviewMouseWheel);
     scroller.PreviewKeyDown    += new KeyEventHandler(ScrollViewerPreviewKeyDown);
 }
Example #43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RollD = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\MobileVer.xaml"
                this.RollD.Click += new System.Windows.RoutedEventHandler(this.RollD_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 25 "..\..\MobileVer.xaml"
                this.StartB.Click += new System.Windows.RoutedEventHandler(this.Start_Click);

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\MobileVer.xaml"
                this.NoB.Click += new System.Windows.RoutedEventHandler(this.NoB_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\MobileVer.xaml"
                this.YesB.Click += new System.Windows.RoutedEventHandler(this.YesB_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 37 "..\..\MobileVer.xaml"
                this.ReB.Click += new System.Windows.RoutedEventHandler(this.ReB_Click);

            #line default
            #line hidden
                return;

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

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

            #line 41 "..\..\MobileVer.xaml"
                this.P1.Click += new System.Windows.RoutedEventHandler(this.P1_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 46 "..\..\MobileVer.xaml"
                this.P2.Click += new System.Windows.RoutedEventHandler(this.P2_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 51 "..\..\MobileVer.xaml"
                this.P3.Click += new System.Windows.RoutedEventHandler(this.P3_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 56 "..\..\MobileVer.xaml"
                this.P4.Click += new System.Windows.RoutedEventHandler(this.P4_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 26:
                this.Pstat = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

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

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

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

            #line 72 "..\..\MobileVer.xaml"
                this.CloseB.Click += new System.Windows.RoutedEventHandler(this.CloseB_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 39:
                this.player1 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InheritanceExample = ((InheritanceExample.MainWindow)(target));

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

            #line default
            #line hidden
                return;

            case 2:
                this.InformationScroller = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 10 "..\..\..\..\Domain\Exam\ExamResultUC.xaml"
                ((Personal_App.Domain.Exam.ExamResultUC)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ExamResultUC_OnLoaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.TotalResultView = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.ResultSV = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            #line 136 "..\..\..\..\Domain\Exam\ExamResultUC.xaml"
                this.btnOkCommand.Click += new System.Windows.RoutedEventHandler(this.BtnOkCommand_OnClick);

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\..\..\Domain\Exam\ExamResultUC.xaml"
                this.BtnReturnHome.Click += new System.Windows.RoutedEventHandler(this.BtnReturnHome_OnClick);

            #line default
            #line hidden
                return;

            case 9:
                this.QsItemlb = ((System.Windows.Controls.ListBox)(target));
                return;

            case 10:
                this.CloseCurrentBtn = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #46
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\MainWindow.xaml"
     ((VFile_Manager.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 8 "..\..\MainWindow.xaml"
     ((VFile_Manager.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.mkfileBut = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\MainWindow.xaml"
     this.mkfileBut.Click += new System.Windows.RoutedEventHandler(this.mkfileBut_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.mkdirBut = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\MainWindow.xaml"
     this.mkdirBut.Click += new System.Windows.RoutedEventHandler(this.mkdirBut_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.copyBut = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.copyBut.Click += new System.Windows.RoutedEventHandler(this.copyBut_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.movBut = ((System.Windows.Controls.Button)(target));
     
     #line 35 "..\..\MainWindow.xaml"
     this.movBut.Click += new System.Windows.RoutedEventHandler(this.movBut_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.renBut = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\MainWindow.xaml"
     this.renBut.Click += new System.Windows.RoutedEventHandler(this.renBut_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.delBut = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\MainWindow.xaml"
     this.delBut.Click += new System.Windows.RoutedEventHandler(this.delBut_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.findBut = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.findBut.Click += new System.Windows.RoutedEventHandler(this.findBut_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.compHash = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.compHash.Click += new System.Windows.RoutedEventHandler(this.compHash_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.cmdHere = ((System.Windows.Controls.Button)(target));
     
     #line 50 "..\..\MainWindow.xaml"
     this.cmdHere.Click += new System.Windows.RoutedEventHandler(this.cmdHere_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.setBut = ((System.Windows.Controls.Button)(target));
     
     #line 54 "..\..\MainWindow.xaml"
     this.setBut.Click += new System.Windows.RoutedEventHandler(this.setBut_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.toParentDirButL = ((System.Windows.Controls.Button)(target));
     
     #line 70 "..\..\MainWindow.xaml"
     this.toParentDirButL.Click += new System.Windows.RoutedEventHandler(this.toParentDirButL_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.pathRowL = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.leftSortChooseBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 74 "..\..\MainWindow.xaml"
     this.leftSortChooseBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.leftSortChooseBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.rootComboBoxL = ((System.Windows.Controls.ComboBox)(target));
     
     #line 84 "..\..\MainWindow.xaml"
     this.rootComboBoxL.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.rootComboBoxL_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.toParentDirButR = ((System.Windows.Controls.Button)(target));
     
     #line 93 "..\..\MainWindow.xaml"
     this.toParentDirButR.Click += new System.Windows.RoutedEventHandler(this.toParentDirButR_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.pathRowR = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.rightSortChooseBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 97 "..\..\MainWindow.xaml"
     this.rightSortChooseBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.rightSortChooseBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.rootComboBoxR = ((System.Windows.Controls.ComboBox)(target));
     
     #line 107 "..\..\MainWindow.xaml"
     this.rootComboBoxR.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.rootComboBoxR_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 20:
     this.leftScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 21:
     this.leftView = ((System.Windows.Controls.ListBox)(target));
     
     #line 122 "..\..\MainWindow.xaml"
     this.leftView.Drop += new System.Windows.DragEventHandler(this.leftView_Drop);
     
     #line default
     #line hidden
     
     #line 124 "..\..\MainWindow.xaml"
     this.leftView.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.leftView_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 125 "..\..\MainWindow.xaml"
     this.leftView.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.leftView_PreviewMouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 125 "..\..\MainWindow.xaml"
     this.leftView.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.leftView_PreviewMouseWheel);
     
     #line default
     #line hidden
     return;
     case 24:
     this.StatusStrL = ((System.Windows.Controls.Grid)(target));
     return;
     case 25:
     this.fileInfo = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 26:
     this.operationTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 27:
     this.StatusStrR = ((System.Windows.Controls.Grid)(target));
     return;
     case 28:
     this.rightScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 29:
     this.rightView = ((System.Windows.Controls.ListBox)(target));
     
     #line 190 "..\..\MainWindow.xaml"
     this.rightView.Drop += new System.Windows.DragEventHandler(this.rightView_Drop);
     
     #line default
     #line hidden
     
     #line 191 "..\..\MainWindow.xaml"
     this.rightView.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.rightView_PreviewMouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 192 "..\..\MainWindow.xaml"
     this.rightView.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.rightView_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 193 "..\..\MainWindow.xaml"
     this.rightView.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.rightView_PreviewMouseLeftButtonUp);
     
     #line default
     #line hidden
     
     #line 193 "..\..\MainWindow.xaml"
     this.rightView.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.rightView_PreviewMouseWheel);
     
     #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:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\PadControl.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 8:
                this.scrolls = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 33 "..\..\PadControl.xaml"
                this.canvas_PadControl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.canvas_PadControl_MouseDown);

            #line default
            #line hidden

            #line 33 "..\..\PadControl.xaml"
                this.canvas_PadControl.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_PadControl_MouseUp);

            #line default
            #line hidden

            #line 33 "..\..\PadControl.xaml"
                this.canvas_PadControl.ManipulationInertiaStarting += new System.EventHandler <System.Windows.Input.ManipulationInertiaStartingEventArgs>(this.canvas_PadControl_ManipulationInertiaStarting);

            #line default
            #line hidden

            #line 33 "..\..\PadControl.xaml"
                this.canvas_PadControl.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.canvas_PadControl_TouchDown);

            #line default
            #line hidden

            #line 33 "..\..\PadControl.xaml"
                this.canvas_PadControl.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.canvas_PadControl_TouchUp);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 17:
                this.canvas_PadControl_speed = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            #line 48 "..\..\PadControl.xaml"
                this.canvas_PadControl_speedcontrol.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.canvas_PadControl_speedcontrol_MouseDown);

            #line default
            #line hidden

            #line 48 "..\..\PadControl.xaml"
                this.canvas_PadControl_speedcontrol.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_PadControl_speedcontrol_MouseUp);

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

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

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

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

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

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

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

            case 8:
                this.addFuncionario = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 19 "..\..\..\Pages\Settings.xaml"
                this.addFuncionario.Checked += new System.Windows.RoutedEventHandler(this.FilterActivated);

            #line default
            #line hidden
                return;

            case 9:
                this.listaFuncionario = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 20 "..\..\..\Pages\Settings.xaml"
                this.listaFuncionario.Checked += new System.Windows.RoutedEventHandler(this.FilterActivated);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\Pages\Settings.xaml"
                this.addAderente.Checked += new System.Windows.RoutedEventHandler(this.FilterActivated);

            #line default
            #line hidden
                return;

            case 11:
                this.listaAderente = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 22 "..\..\..\Pages\Settings.xaml"
                this.listaAderente.Checked += new System.Windows.RoutedEventHandler(this.FilterActivated);

            #line default
            #line hidden
                return;

            case 12:
                this.addLoja = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 23 "..\..\..\Pages\Settings.xaml"
                this.addLoja.Checked += new System.Windows.RoutedEventHandler(this.FilterActivated);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\Pages\Settings.xaml"
                this.listaLoja.Checked += new System.Windows.RoutedEventHandler(this.FilterActivated);

            #line default
            #line hidden
                return;

            case 14:
                this.ScrollerPessoas = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 16:
                this.ScrollerInfo = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 18:
                this.ScrollerGerentes = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 19:
                this.GerentesGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 42 "..\..\..\Pages\Settings.xaml"
                this.sale.Click += new System.Windows.RoutedEventHandler(this.ButtonOnClick);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\Pages\Settings.xaml"
                this.stocks.Click += new System.Windows.RoutedEventHandler(this.ButtonOnClick);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\Pages\Settings.xaml"
                this.dados.Click += new System.Windows.RoutedEventHandler(this.ButtonOnClick);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\Pages\Settings.xaml"
                this.logOut.Click += new System.Windows.RoutedEventHandler(this.ButtonOnClick);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\Pages\Settings.xaml"
                this.settings.Click += new System.Windows.RoutedEventHandler(this.ButtonOnClick);

            #line default
            #line hidden
                return;

            case 25:
                this.lojaView = ((System.Windows.Controls.Viewbox)(target));
                return;

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

            case 27:
                this.funcView = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 28:
                this.funcData = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\View\reports\uc_storage.xaml"
                ((POS.View.reports.uc_storage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\View\reports\uc_storage.xaml"
                ((POS.View.reports.uc_storage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.grid_stock = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line 55 "..\..\..\..\View\reports\uc_storage.xaml"
                this.btn_stock.Click += new System.Windows.RoutedEventHandler(this.Btn_stock_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 100 "..\..\..\..\View\reports\uc_storage.xaml"
                this.btn_external.Click += new System.Windows.RoutedEventHandler(this.Btn_external_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 148 "..\..\..\..\View\reports\uc_storage.xaml"
                this.btn_internal.Click += new System.Windows.RoutedEventHandler(this.Btn_internal_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.grid_direct = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line 185 "..\..\..\..\View\reports\uc_storage.xaml"
                this.btn_direct.Click += new System.Windows.RoutedEventHandler(this.Btn_direct_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 223 "..\..\..\..\View\reports\uc_storage.xaml"
                this.btn_stocktaking.Click += new System.Windows.RoutedEventHandler(this.Btn_stocktaking_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.grid_destroied = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            #line 260 "..\..\..\..\View\reports\uc_storage.xaml"
                this.btn_destroied.Click += new System.Windows.RoutedEventHandler(this.Btn_destroied_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:
                this.headingDeg = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 2:
                this.headingDeg_errors = ((System.Windows.Controls.ScrollViewer)(target));

            #line 71 "..\..\..\controls\DashBoard.xaml"
                this.headingDeg_errors.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.errors_ScrollChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.headingDeg_errors_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:
                this.verticalSpeed = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 5:
                this.verticalSpeed_errors = ((System.Windows.Controls.ScrollViewer)(target));

            #line 101 "..\..\..\controls\DashBoard.xaml"
                this.verticalSpeed_errors.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.errors_ScrollChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.groundSpeed = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 8:
                this.groundSpeed_errors = ((System.Windows.Controls.ScrollViewer)(target));

            #line 127 "..\..\..\controls\DashBoard.xaml"
                this.groundSpeed_errors.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.errors_ScrollChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.groundSpeed_errors_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 10:
                this.indicatedSpeed = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 11:
                this.indicatedSpeed_errors = ((System.Windows.Controls.ScrollViewer)(target));

            #line 153 "..\..\..\controls\DashBoard.xaml"
                this.indicatedSpeed_errors.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.errors_ScrollChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.indicatedSpeed_errors_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 13:
                this.gpsAltitude = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 14:
                this.gpsAltitude_errors = ((System.Windows.Controls.ScrollViewer)(target));

            #line 180 "..\..\..\controls\DashBoard.xaml"
                this.gpsAltitude_errors.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.errors_ScrollChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.gpsAltitude_errors_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 16:
                this.internalRoll = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 207 "..\..\..\controls\DashBoard.xaml"
                this.internalRoll_errors.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.errors_ScrollChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.internalRoll_errors_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 19:
                this.internalPitch = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 20:
                this.internalPitch_errors = ((System.Windows.Controls.ScrollViewer)(target));

            #line 235 "..\..\..\controls\DashBoard.xaml"
                this.internalPitch_errors.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.errors_ScrollChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.internalPitch_errors_list = ((System.Windows.Controls.ListView)(target));
                return;

            case 22:
                this.altimeterAltitude = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 260 "..\..\..\controls\DashBoard.xaml"
                this.altimeterAltitude_errors.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.errors_ScrollChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.altimeterAltitude_errors_list = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grdRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 6 "..\..\..\MainWindow.xaml"
                this.brdWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.brdWindow_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line 34 "..\..\..\MainWindow.xaml"
                this.grdTop.MouseEnter += new System.Windows.Input.MouseEventHandler(this.grdTop_MouseEnter);

            #line default
            #line hidden
                return;

            case 5:

            #line 41 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.txtMinimize_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\MainWindow.xaml"
                this.txtMinimize.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.txtMinimize_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\MainWindow.xaml"
                this.txtMaximize.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.txtMaximize_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\MainWindow.xaml"
                this.txtClose.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.txtClose_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 9:

            #line 46 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.StackPanel_MouseEnter);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\..\MainWindow.xaml"
                this.btnNewPuzzle.Click += new System.Windows.RoutedEventHandler(this.btnNewPuzzle_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 67 "..\..\..\MainWindow.xaml"
                this.btnShowPuzzle.Click += new System.Windows.RoutedEventHandler(this.btnShowPuzzle_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 89 "..\..\..\MainWindow.xaml"
                this.grdPuzzle.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DockPanel_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            case 20:
                this.pnlPickUp = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            case 22:
                this.imgShowImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.scroll2 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

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

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

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

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

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

            #line 33 "..\..\..\Views\New_k_record_1.xaml"
                this.timeok.Click += new System.Windows.RoutedEventHandler(this.timeok_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\..\Views\New_k_record_1.xaml"
                this.scoreok.Click += new System.Windows.RoutedEventHandler(this.scoreok_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 21:
                this.timedate3 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.timeChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;

            case 23:
                this.scoreChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ScrollImageViewer = ((System.Windows.Controls.ScrollViewer)(target));

            #line 18 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.ScrollImageViewer.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.ScrollImageViewer_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 22 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.gridContainer.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.OnPreviewMouseMove);

            #line default
            #line hidden
                return;

            case 4:
                this.imageCanvas = ((VirtualCanvasLib.VirtualCanvas)(target));
                return;

            case 5:
                this.annotationCanvas = ((DrawToolsLib.DrawingCanvas)(target));
                return;

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

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

            case 8:
                this.vbMagnifier = ((System.Windows.Media.VisualBrush)(target));
                return;

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

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

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

            #line 61 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.btnZoomFit.Click += new System.Windows.RoutedEventHandler(this.btnZoomFit_Click);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.btnZoom1x.Click += new System.Windows.RoutedEventHandler(this.btnZoom1x_Click);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.btnZoom2x.Click += new System.Windows.RoutedEventHandler(this.btnZoom2x_Click);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.btnZoom4x.Click += new System.Windows.RoutedEventHandler(this.btnZoom4x_Click);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.btnZoom5x.Click += new System.Windows.RoutedEventHandler(this.btnZoom5x_Click);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.btnZoom10x.Click += new System.Windows.RoutedEventHandler(this.btnZoom10x_Click);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.btnZoom20x.Click += new System.Windows.RoutedEventHandler(this.btnZoom20x_Click);

            #line default
            #line hidden
                return;

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

            #line 98 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.zoomSlider.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.zoomSlider_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line 106 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.thumbnailCanvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.thumbnailCanvas_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 22:
                this.thumbnailZoomRectThumb = ((System.Windows.Controls.Primitives.Thumb)(target));

            #line 110 "..\..\..\ImageViewer\ImageViewer.xaml"
                this.thumbnailZoomRectThumb.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.thumbnailZoomRectThumb_DragDelta);

            #line default
            #line hidden
                return;

            case 23:
                this.ThumbnailImage_Brush = ((System.Windows.Media.ImageBrush)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.sv_home = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 2:
                this.wrap_1 = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 15 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseLeave);

            #line default
            #line hidden

            #line 15 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_1.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            #line 21 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseLeave);

            #line default
            #line hidden

            #line 21 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_2.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            #line 27 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_3.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseLeave);

            #line default
            #line hidden

            #line 27 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_3.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            #line 33 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_4.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseLeave);

            #line default
            #line hidden

            #line 33 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_4.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            #line 40 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_5.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseLeave);

            #line default
            #line hidden

            #line 40 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_5.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            #line 47 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_6.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseLeave);

            #line default
            #line hidden

            #line 47 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_6.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            #line 54 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_7.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseLeave);

            #line default
            #line hidden

            #line 54 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_7.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            #line 61 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_8.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseLeave);

            #line default
            #line hidden

            #line 61 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_8.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseEnter);

            #line default
            #line hidden
                return;

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

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

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

            #line 67 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_9.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseLeave);

            #line default
            #line hidden

            #line 67 "..\..\..\..\..\Pages\Core\Model.xaml"
                this.grid_9.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Grid_Effect_MouseEnter);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 29 "..\..\..\..\Views\UpdateOutsoleReleaseMaterialWindow.xaml"
                this.btnAddMore.Click += new System.Windows.RoutedEventHandler(this.btnAddMore_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\..\Views\UpdateOutsoleReleaseMaterialWindow.xaml"
                this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\..\Views\UpdateOutsoleReleaseMaterialWindow.xaml"
                this.btnRelease.Click += new System.Windows.RoutedEventHandler(this.btnRelease_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.popupAddMore = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

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

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

            #line 46 "..\..\..\..\Views\UpdateOutsoleReleaseMaterialWindow.xaml"
                this.btnAddMoreOk.Click += new System.Windows.RoutedEventHandler(this.btnAddMoreOk_Click);

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

            #line 26 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 2:

            #line 27 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 3:

            #line 28 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 4:

            #line 29 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 5:

            #line 30 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

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

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

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

            #line 9 "..\..\..\..\Resource\control\AppForm.xaml"
                ((GameHaker.Resource.control.AppForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Resource\control\AppForm.xaml"
                ((GameHaker.Resource.control.AppForm)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_PreviewMouseDown);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Resource\control\AppForm.xaml"
                ((GameHaker.Resource.control.AppForm)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.UserControl_GotFocus);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Resource\control\AppForm.xaml"
                ((GameHaker.Resource.control.AppForm)(target)).LostFocus += new System.Windows.RoutedEventHandler(this.Window_LostFocus);

            #line default
            #line hidden
                return;

            case 2:
                this.OnMouseEnter1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.OnMouseLeave1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.OnMouseLeftButtonDown1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 5:
                this.OnPreviewMouseLeftButtonUp1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 6:
                this.OnMouseEnter2_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 7:
                this.OnMouseLeave2_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 8:
                this.OnPreviewMouseLeftButtonDown1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 9:
                this.OnPreviewMouseLeftButtonUp1_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 10:
                this.OnMouseEnter3_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 11:
                this.OnMouseLeave3_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 12:
                this.OnPreviewMouseLeftButtonDown2_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 13:
                this.OnPreviewMouseLeftButtonUp3_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 14:
                this.drag = ((Microsoft.Expression.Interactivity.Layout.MouseDragElementBehavior)(target));
                return;

            case 15:
                this.Window = ((System.Windows.Controls.Border)(target));
                return;

            case 16:
                this.content = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

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

            case 20:
                this.rectangle2 = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 22:
                this.fullS = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 24:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 26:
                this.close = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 28:
                this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 30:
                this.Title = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 187 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r1.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.r_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 187 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r1.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.r_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r2.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.r_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 188 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r2.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.r_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 189 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r3.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.r_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 189 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r3.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.r_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 190 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r4.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.r_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 190 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r4.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.r_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 191 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r5.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.r_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 191 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r5.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.r_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 192 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r6.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.r_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 192 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r6.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.r_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 193 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r7.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.r_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 193 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r7.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.r_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

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

            #line 194 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r8.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.r_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 194 "..\..\..\..\Resource\control\AppForm.xaml"
                this.r8.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.r_PreviewMouseLeftButtonUp);

            #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.quoteStack = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.DayPicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

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

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

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

            case 10:
                this.HourScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

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

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

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

            case 16:
                this.Agent2 = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 18:
                this.DayPicker2 = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 20:
                this.Timepick = ((Xceed.Wpf.Toolkit.DateTimePicker)(target));
                return;

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

            case 22:
                this.DetailBody = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.TardyGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            case 27:
                this.DayPicker3 = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 29:
                this.TardyScroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            #line 6 "..\..\..\UserControls\OutboundUserControl.xaml"
                ((Pointel.Interactions.Email.UserControls.OutboundUserControl)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            #line 31 "..\..\..\UserControls\OutboundUserControl.xaml"
                this.cmbFromAddress.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbFromAddress_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            case 8:
                this.colAddCcBcc = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            #line 48 "..\..\..\UserControls\OutboundUserControl.xaml"
                this.btnOutboundTo.Click += new System.Windows.RoutedEventHandler(this.btnOutboundTo_Click);

            #line default
            #line hidden
                return;

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

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

            #line 53 "..\..\..\UserControls\OutboundUserControl.xaml"
                this.btnAddCcandBcc.Click += new System.Windows.RoutedEventHandler(this.btnAddCcandBcc_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\UserControls\OutboundUserControl.xaml"
                this.btnMenuCCBcc.Click += new System.Windows.RoutedEventHandler(this.btnMenuCCBcc_Click);

            #line default
            #line hidden
                return;

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

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

            #line 68 "..\..\..\UserControls\OutboundUserControl.xaml"
                this.btnOutboundCc.Click += new System.Windows.RoutedEventHandler(this.btnOutboundCc_Click);

            #line default
            #line hidden
                return;

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

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

            #line 73 "..\..\..\UserControls\OutboundUserControl.xaml"
                this.btnCcDelete.Click += new System.Windows.RoutedEventHandler(this.btnCcDelete_Click);

            #line default
            #line hidden
                return;

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

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

            #line 97 "..\..\..\UserControls\OutboundUserControl.xaml"
                this.btnOutboundBcc.Click += new System.Windows.RoutedEventHandler(this.btnOutboundBcc_Click);

            #line default
            #line hidden
                return;

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

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

            #line 101 "..\..\..\UserControls\OutboundUserControl.xaml"
                this.btnBccDelete.Click += new System.Windows.RoutedEventHandler(this.btnBccDelete_Click);

            #line default
            #line hidden
                return;

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

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

            case 23:
                this.colAttachError = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 24:
                this.attscroll = ((System.Windows.Controls.ScrollViewer)(target));

            #line 138 "..\..\..\UserControls\OutboundUserControl.xaml"
                this.attscroll.SizeChanged += new System.Windows.SizeChangedEventHandler(this.attscroll_SizeChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.dockOutboundAttachments = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 26:
                this.dockOutboundContent = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 27:
                this.expOrginalEmail = ((System.Windows.Controls.Expander)(target));
                return;

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

            #line 10 "..\..\..\Properties\SpreadTraderWindow.xaml"
                ((Zweistein.SpreadTraderWindow)(target)).LocationChanged += new System.EventHandler(this.Window_LocationChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 9:
                this.realizedPNL = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 10:
                this.opentickets = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            #line 44 "..\..\..\Properties\SpreadTraderWindow.xaml"
                this.btnAddTicket.Click += new System.Windows.RoutedEventHandler(this.btnAddTicket_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.pgScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 15:
                this.Parameters = ((System.Windows.Controls.WpfPropertyGrid.PropertyGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }