public VerticalExpander()
        {
            headerColumnDefinition = new ColumnDefinition();
            headerColumnDefinition.Width = GridLength.Auto;
            base.ColumnDefinitions.Add(headerColumnDefinition);
            base.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(0.0, GridUnitType.Pixel) });
            base.RowDefinitions.Add(new RowDefinition() { Height = new GridLength(1.0, GridUnitType.Star) });

            StackPanel header = new StackPanel();
            header.Orientation = Orientation.Vertical;
            base.Children.Add(header);

            m_ExpandButton = new RanetButton();
            Image icon = new Image();
            icon.Source = UriResources.Images.ForwardDouble16;
            m_ExpandButton.Content = icon;
            m_ExpandButton.Width = 20;
            m_ExpandButton.Height = 20;
            m_ExpandButton.Click += new RoutedEventHandler(ExpandButton_Click);
            header.Children.Add(m_ExpandButton);

            m_Caption = new TextBlock();
            m_Caption.RenderTransform = new RotateTransform() { Angle = 90, CenterX = 5, CenterY = 20 };
            header.Children.Add(m_Caption);

            //m_Content = new ContentControl();
            //m_Content.VerticalAlignment = VerticalAlignment.Stretch;
            //m_Content.HorizontalAlignment = HorizontalAlignment.Stretch;
        }
 private void AddChildrenToGrid(Grid grid, UIElement obj)
 {
     ColumnDefinition col = new ColumnDefinition();
     grid.ColumnDefinitions.Add(col);
     grid.Children.Add(obj);
     Grid.SetColumn(obj, grid.Children.Count - 1);
 }
        private Grid SetupDetailGrid()
        {
            Grid detailGrid = new Grid();

            ColumnDefinition col1 = new ColumnDefinition();
            col1.Width = new GridLength(96 * 0.65);
            detailGrid.ColumnDefinitions.Add(col1);

            ColumnDefinition col2 = new ColumnDefinition();
            col2.Width = new GridLength(96 * 2.5);
            detailGrid.ColumnDefinitions.Add(col2);

            ColumnDefinition col3 = new ColumnDefinition();
            col3.Width = new GridLength(96 * 1.65);
            detailGrid.ColumnDefinitions.Add(col3);

            ColumnDefinition col4 = new ColumnDefinition();
            col4.Width = new GridLength(96 * 1.15);
            detailGrid.ColumnDefinitions.Add(col4);

            ColumnDefinition col5 = new ColumnDefinition();
            col5.Width = new GridLength(96 * 1.15);
            detailGrid.ColumnDefinitions.Add(col5);

            RowDefinition row = new RowDefinition();
            detailGrid.RowDefinitions.Add(row);

            return detailGrid;
        }
示例#4
0
        public BoardView(Board myBoard)
        {
            InitializeComponent();
            this.myBoard = myBoard;

            LoadPictures();

            for (int i = 0; i < nCols; i++)
            {
                ColumnDefinition col = new ColumnDefinition();
                col.Width = new GridLength(cellSize);
                FieldsGrid.ColumnDefinitions.Add(col);
            }

            for (int i = 0; i < nRows; i++)
            {
                RowDefinition row = new RowDefinition();
                row.Height = new GridLength(cellSize);
                FieldsGrid.RowDefinitions.Add(row);
            }

            UpdateView();

            Dice = new Label();
            Dice.FontSize = 35;
            Dice.Height = 50;
            Dice.Width = 50;
            Dice.HorizontalAlignment = HorizontalAlignment.Center;
            Dice.VerticalAlignment = VerticalAlignment.Center;
            Grid.SetColumn(Dice, 5);
            Grid.SetRow(Dice, 5);
            FieldsGrid.Children.Add(Dice);
        }
示例#5
0
文件: Vc01.xaml.cs 项目: burstas/rmps
        private void ShowView(Grid grid)
        {
            //grid.RowDefinitions.Clear();
            //grid.ColumnDefinitions.Clear();
            //grid.Children.Clear();

            for (int i = 0; i < _Round.ColCount; i += 1)
            {
                ColumnDefinition col = new ColumnDefinition();
                grid.ColumnDefinitions.Add(col);
            }

            for (int i = 0; i < _Round.RowCount; i += 1)
            {
                RowDefinition row = new RowDefinition();
                grid.RowDefinitions.Add(row);
            }

            _Ucs = new List<Uc1>(_Round.ColCount * _Round.RowCount);
            Uc1 uc;
            for (int i = 0; i < _Round.RowCount; i += 1)
            {
                for (int j = 0; j < _Round.ColCount; j += 1)
                {
                    uc = new Uc1();
                    uc.SetValue(Grid.RowProperty, i);
                    uc.SetValue(Grid.ColumnProperty, j);
                    grid.Children.Add(uc);
                    _Ucs.Add(uc);
                }
            }
        }
示例#6
0
        private void setUpMap()
        {
            for (int i = 0; i < 20; i++)
            {
                RowDefinition rowDef = new RowDefinition();
                rowDef.Height = new GridLength(1, GridUnitType.Star);
                mapGrid.RowDefinitions.Add(rowDef);
            }

            for (int i = 0; i < 15; i++)
            {
                ColumnDefinition colDef = new ColumnDefinition();
                colDef.Width = new GridLength(1, GridUnitType.Star);
                mapGrid.ColumnDefinitions.Add(colDef);
            }
            var bc = new BrushConverter();
            mapGrid.ShowGridLines = true;
            for (int i = 0; i < 9; i++)
            {
                Label label = new Label();
                label.Background = (Brush)bc.ConvertFrom("#FF28701C");
                Grid.SetRow(label, 19 - i / 3);
                Grid.SetColumn(label, i % 3);
                mapGrid.Children.Add(label);
            }

            for (int i = 0; i < 9; i++)
            {
                Label label = new Label();
                label.Background = (Brush)bc.ConvertFrom("#FF28701C");
                Grid.SetRow(label, i / 3);
                Grid.SetColumn(label, 14 - i % 3);
                mapGrid.Children.Add(label);
            }
        }
        private void DrawGameBoard(int desiredSlots)
        {
            RowDefinition[] rowDefinitions = new RowDefinition[desiredSlots];
            ColumnDefinition[] columnDefinitions = new ColumnDefinition[desiredSlots];

            for (int i = 0; i < desiredSlots; i++)
            {
                rowDefinitions[i] = new RowDefinition();
                columnDefinitions[i] = new ColumnDefinition();

                grdGameBoard.RowDefinitions.Add(rowDefinitions[i]);
                grdGameBoard.ColumnDefinitions.Add(columnDefinitions[i]);
            }
            for (int i = 0; i < grdGameBoard.RowDefinitions.Count; i++)
            {
                for (int j = 0; j < grdGameBoard.ColumnDefinitions.Count; j++)
                {
                    var slot = new TextBox();
                    slot.Margin = new Thickness(5);
                    slot.HorizontalContentAlignment = System.Windows.HorizontalAlignment.Center;
                    slot.VerticalContentAlignment = System.Windows.VerticalAlignment.Center;
                    Grid.SetRow(slot, i);
                    Grid.SetColumn(slot, j);
                    grdGameBoard.Children.Add(slot);
                }
            }
        }
示例#8
0
		public override void OnApplyTemplate() {
			base.OnApplyTemplate();

			PART_LeftSplitter = GetTemplateChild("PART_LeftSplitter") as GridSplitter;
			PART_RightSplitter = GetTemplateChild("PART_RightSplitter") as GridSplitter;
			PART_TopSplitter = GetTemplateChild("PART_TopSplitter") as GridSplitter;
			PART_BottomSplitter = GetTemplateChild("PART_BottomSplitter") as GridSplitter;

			PART_LeftSection = GetTemplateChild("PART_LeftSection") as ColumnDefinition;
			PART_RightSection = GetTemplateChild("PART_RightSection") as ColumnDefinition;
			PART_TopSection = GetTemplateChild("PART_TopSection") as RowDefinition;
			PART_BottomSection = GetTemplateChild("PART_BottomSection") as RowDefinition;

			PART_LeftCollapsedBar = GetTemplateChild("PART_LeftCollapsedBar") as ContentPresenter;
			PART_RightCollapsedBar = GetTemplateChild("PART_RightCollapsedBar") as ContentPresenter;
			PART_TopHeader = GetTemplateChild("PART_TopHeader") as ContentPresenter;
			PART_BottomHeader = GetTemplateChild("PART_BottomHeader") as ContentPresenter;

			PART_LeftSplitter.DragStarted += PART_LeftSplitter_DragStarted;
			PART_RightSplitter.DragStarted += PART_RightSplitter_DragStarted;
			PART_TopSplitter.DragStarted += PART_TopSplitter_DragStarted;
			PART_BottomSplitter.DragStarted += PART_BottomSplitter_DragStarted;
			
			PART_LeftSplitter.DragCompleted += PART_LeftSplitter_DragCompleted;
			PART_RightSplitter.DragCompleted += PART_RightSplitter_DragCompleted;
			PART_TopSplitter.DragCompleted += PART_TopSplitter_DragCompleted;
			PART_BottomSplitter.DragCompleted += PART_BottomSplitter_DragCompleted;


			PART_LeftSplitter.MouseDoubleClick += GridSplitter_MouseDoubleClick;
			PART_RightSplitter.MouseDoubleClick += GridSplitter_MouseDoubleClick;
			PART_TopSplitter.MouseDoubleClick += GridSplitter_MouseDoubleClick;
			PART_BottomSplitter.MouseDoubleClick += GridSplitter_MouseDoubleClick;
		}
 private void CreateColumnsRows(){
     // Create columns
     for (int i = 1; i <= columns; i++)
     {
         ColumnDefinition temp = new ColumnDefinition();
         temp.Name = String.Format("c{0}", i);
         temp.Width = new GridLength(205, GridUnitType.Pixel);
         columnsList.Add(temp);
     }
     // Create rows
     for (int i = 1; i <= rows; i++)
     {
         RowDefinition temp = new RowDefinition();
         temp.Name = String.Format("c{0}", i);
         temp.Height = new GridLength(205, GridUnitType.Pixel);
         rowsList.Add(temp);
     }
     // Add Columns and Rows to Grid
     foreach (ColumnDefinition tempColumn in columnsList)
     {
         mainGrid.ColumnDefinitions.Add(tempColumn);
     }
     foreach (RowDefinition tempRow in rowsList)
     {
         mainGrid.RowDefinitions.Add(tempRow);
     }
 }
        public static void GridCopyToGrid(Grid from, Grid to)
        {
            UIElement[] temp = new UIElement[from.Children.Count];
            from.Children.CopyTo(temp, 0);
            from.Children.Clear();

            for (int i = 0; i < temp.Length; i++)
            {
                to.Children.Add(temp[i]);
            }

            to.ColumnDefinitions.Clear();
            to.RowDefinitions.Clear();

            ColumnDefinition[] tempColumns = new ColumnDefinition[from.ColumnDefinitions.Count];
            RowDefinition[] tempRows = new RowDefinition[from.RowDefinitions.Count];

            from.ColumnDefinitions.CopyTo(tempColumns, 0);
            from.RowDefinitions.CopyTo(tempRows, 0);

            from.ColumnDefinitions.Clear();
            from.RowDefinitions.Clear();

            for(int i = 0; i < tempColumns.Length; i++)
            {
                to.ColumnDefinitions.Add(tempColumns[i]);
            }

            for(int i= 0; i < tempRows.Length; i++)
            {
                to.RowDefinitions.Add(tempRows[i]);
            }

            to.Margin = new Thickness(from.Margin.Left, from.Margin.Top, from.Margin.Right, from.Margin.Bottom);
        }
示例#11
0
        public Grid ShowGrid()
        {
            Grid grid = new Grid();

            for (var i = 0; i < tileLayer.Count; i++)
            {
                RowDefinition row = new RowDefinition();
                grid.RowDefinitions.Add(row);

                for (var j = 0; j < tileLayer[i].Count; j++)
                {
                    ColumnDefinition col = new ColumnDefinition();
                    grid.ColumnDefinitions.Add(col);

                    List<Tile> sublist = tileLayer[i];
                    Tile temp = sublist[j];

                    Image img = new Image();
                    img.Source = temp.BackgroundImage;

                    img.SetValue(Grid.ColumnProperty, j);
                    img.SetValue(Grid.RowProperty, i);
                    img.Stretch = Stretch.UniformToFill;
                    grid.Children.Add(img);
                }
            }

            return grid;
        }
示例#12
0
        public override void Write(Grid grid)
        {
            ColumnDefinition col1 = new ColumnDefinition();
            col1.Width = new GridLength(ReportPage.ReportWidth * ReportPage.DisplayResolution);
            grid.ColumnDefinitions.Add(col1);
            RowDefinition row1 = new RowDefinition();
            grid.RowDefinitions.Add(row1);

            TextBlock textBlockPageNumber = new TextBlock();
            textBlockPageNumber.Text = "Page: " + m_PageNumber.ToString();
            textBlockPageNumber.FontSize = 10;
            textBlockPageNumber.Margin = new Thickness(2, 0, 2, 0);
            textBlockPageNumber.HorizontalAlignment = HorizontalAlignment.Right;
            textBlockPageNumber.VerticalAlignment = VerticalAlignment.Center;

            Grid.SetColumn(textBlockPageNumber, 0);
            Grid.SetRow(textBlockPageNumber, 0);
            grid.Children.Add(textBlockPageNumber);

            TextBlock textBlockGenerationDate = new TextBlock();
            textBlockGenerationDate.Text = "Generated On: " + System.DateTime.Now.ToString("MM/dd/yyyy HH:mm");
            textBlockGenerationDate.FontSize = 10;
            textBlockGenerationDate.Margin = new Thickness(2, 0, 2, 0);
            textBlockGenerationDate.HorizontalAlignment = HorizontalAlignment.Left;
            textBlockGenerationDate.VerticalAlignment = VerticalAlignment.Center;

            Grid.SetColumn(textBlockGenerationDate, 0);
            Grid.SetRow(textBlockGenerationDate, 0);
            grid.Children.Add(textBlockGenerationDate);
        }
示例#13
0
        /// <summary>
        /// Kreiranje listview-a na temelju liste objetata u parametru.
        /// </summary>
        /// <param name="classesList"></param>
        public void CreateList(List<object> classesList)
        {
            foreach (String[] classArrayString in classesList) {
                Grid grid = new Grid();
                grid.ShowGridLines = true;
                grid.RowDefinitions.Add(new RowDefinition());
                grid.Margin = new Thickness(30, 10, 30, 0);

                for (int i=0; i < classArrayString.Length; i++) {
                    ColumnDefinition columnDef = new ColumnDefinition();
                    columnDef.Width = new GridLength(150);
                    grid.ColumnDefinitions.Add(columnDef);

                    Label label = new Label();
                    label.Content = classArrayString[i];
                    Grid.SetColumn(label, i);
                    Grid.SetRow(label, 0);

                    grid.Children.Add(label);
                }

                ListViewItem listItem = new ListViewItem();
                listItem.Content = grid;
                currentListView.Items.Add(listItem);
            }
        }
示例#14
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            ApplicationBar.Opacity = 0.5;
            if (this.NavigationContext.QueryString.ContainsKey("nid"))
            {
                var nid = Int32.Parse(this.NavigationContext.QueryString["nid"]);
                Capitulo c;

                if (AU.Instance.Capitulos.TryGetValue(nid, out c))
                {
                    PageTitle.Text = c.Nombre;
                    sinopsis.Text = c.TextoNoti;
                    textAutor.Text = c.NotiAutor;
                    textFecha.Text = c.ReleaseDate.ToString();
                    var i = 0;

                    serieId = c.Serie;
                    foreach (String file in c.Imagenes)
                    {
                        using (IsolatedStorageFile myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication())
                        {

                            if (myIsolatedStorage.FileExists(file))
                            {
                                using (var imageStream = myIsolatedStorage.OpenFile(file, FileMode.Open, FileAccess.Read))
                                {
                                    WriteableBitmap temp = new WriteableBitmap(0, 0);
                                    try
                                    {
                                        Image image1 = new Image();
                                        WriteableBitmap aux = new WriteableBitmap(0, 0);
                                        aux.SetSource(imageStream);
                                        image1.Source = (ImageSource)aux;
                                        image1.HorizontalAlignment = HorizontalAlignment.Left;
                                        image1.VerticalAlignment = VerticalAlignment.Top;
                                        image1.Stretch = Stretch.Uniform;
                                        ColumnDefinition colDef3 = new ColumnDefinition();
                                        imagenes.ColumnDefinitions.Add(colDef3);
                                        Grid.SetColumn(image1, i);
                                        i++;
                                        imagenes.Children.Add(image1);


                                    }
                                    catch (ArgumentException ae)
                                    {

                                    }

                                }
                            }
                        }
                    }
                }
            }
            else
            {
                // I use this condition to handle creating new items.
            }
        }
示例#15
0
        public static Grid GetNewKeymapGrid(int numRows, int numCols, Keymap[,] keymaps)
        {
            var keymapGrid = new Grid();
            keymapGrid.Children.Clear();

            var rows = new RowDefinition[numRows];
            var columns = new ColumnDefinition[numCols];

            for (var i = 0; i < numRows; i++)
            {
                rows[i] = new RowDefinition();
                keymapGrid.RowDefinitions.Add(rows[i]);
            }

            for (var i = 0; i < numCols; i++)
            {
                columns[i] = new ColumnDefinition();
                keymapGrid.ColumnDefinitions.Add(columns[i]);
            }

            for (var i = 0; i < numRows; i++)
            {
                for (var j = 0; j < numCols; j++)
                {
                    var button = new Button();
                    keymaps[i, j].Button = button;
                    Grid.SetRow(button, i);
                    Grid.SetColumn(button, j);
                    keymapGrid.Children.Add(button);
                }
            }

            return keymapGrid;
        }
示例#16
0
        /// <summary>
        /// Kreiranje "tablice" ocjena na temelju proslijeđene string matrice.
        /// </summary>
        /// <param name="matrix"></param>
        public void CreateGrid(String[,] matrix)
        {
            contentGrid.ColumnDefinitions.Clear();
            contentGrid.RowDefinitions.Clear();
            contentGrid.Children.Clear();

            int height = 50;
            while (height * (matrix.GetLength(0) + 1) > contentGrid.Height)
                height--;

            for (int i = 0; i < matrix.GetLength(0); i++) {
                RowDefinition rowDef = new RowDefinition();
                rowDef.Height = new GridLength(height);
                contentGrid.RowDefinitions.Add(rowDef);

                for (int j = 0; j < matrix.GetLength(1); j++) {
                    ColumnDefinition columnDef = new ColumnDefinition();
                    columnDef.Width = new GridLength(j == 0 ? 150 : (contentGrid.Width / (matrix.GetLength(1) + 2)));
                    contentGrid.ColumnDefinitions.Add(columnDef);

                    Label label = new Label();
                    if (i == 0 || j == 0)
                        label.FontWeight = FontWeights.Bold;

                    Grid.SetRow(label, i);
                    Grid.SetColumn(label, j);
                    label.Content = matrix[i, j];
                    contentGrid.Children.Add(label);
                }//for 2
            }
        }
示例#17
0
 public DocUITabbed(XmlNode xmlNode, XmlSchemaAnnotated xsdNode, Panel contentpanel, Panel overlaypanel, DynamicForm parentForm)
     : base(xmlNode, xsdNode, contentpanel, overlaypanel, parentForm)
 {
     this.Sideways = true;
     _tabControl = new TabControl();
     this.Control = _tabControl;
     _optlist = new List<AbstractDocUIComponent>();
     XmlSchemaElement schemaEl = xsdNode as XmlSchemaElement;
     if (schemaEl != null)
     {
         XmlSchemaSequence seq = XmlSchemaUtilities.tryGetSequence(schemaEl.ElementSchemaType);
         if (seq != null)
         {
             foreach (XmlSchemaElement el in seq.Items)
             {
                 TabItem ti = new TabItem();
                 ti.Header = XmlSchemaUtilities.tryGetDocumentation(el); ;
                 Grid newpanel = new Grid();
                 ColumnDefinition cdnew1 = new ColumnDefinition();
                 cdnew1.Width = new GridLength(1, GridUnitType.Auto);
                 ColumnDefinition cdnew2 = new ColumnDefinition();
                 newpanel.ColumnDefinitions.Add(cdnew1);
                 newpanel.ColumnDefinitions.Add(cdnew2);
                 Utilities.recursive(el, xmlNode.SelectSingleNode(el.Name), newpanel, overlaypanel, (comp) =>
                 {
                     _optlist.Add(comp);
                     comp.placeOption();
                 }, parentForm);
                 ti.Content = newpanel;
                 this._tabControl.Items.Add(ti);
             }
         }
     }
 }
        public override UIElement GetUIElement()
        {
            var grid = new Grid();

            ColumnDefinition columnDefinition1 = new ColumnDefinition();
            ColumnDefinition columnDefinition2 = new ColumnDefinition();
            columnDefinition1.Width = new GridLength(1, GridUnitType.Auto);
            columnDefinition2.Width = new GridLength(1, GridUnitType.Star);

            grid.ColumnDefinitions.Add(columnDefinition1);
            grid.ColumnDefinitions.Add(columnDefinition2);

            foreach (var gt in ApplicationData.Instance.GeocacheContainers)
            {
                RowDefinition rowDefinition = new RowDefinition();
                rowDefinition.Height = GridLength.Auto;
                grid.RowDefinitions.Add(rowDefinition);

                var cb = new CheckBox();
                cb.IsChecked = Values.Contains(gt.Name);
                grid.Children.Add(cb);
                Grid.SetRow(cb, grid.RowDefinitions.Count - 1);
                Grid.SetColumn(cb, 0);

                var txt = new TextBlock();
                txt.Text = gt.Name;
                grid.Children.Add(txt);
                Grid.SetRow(txt, grid.RowDefinitions.Count - 1);
                Grid.SetColumn(txt, 1);
            }

            return grid;
        }
示例#19
0
        public void CreateTestWindow()
        {
            Application.ResourceAssembly = typeof (InsertGistControl).Assembly;

            WpfHelper.RunBlockAsSTA(() => {
                var grid = new Grid();
                var lhs = new ColumnDefinition() {Width = new GridLength(0.5, GridUnitType.Star)};
                var rhs = new ColumnDefinition() {Width = new GridLength(0.5, GridUnitType.Star)};
                grid.ColumnDefinitions.Add(lhs);    grid.ColumnDefinitions.Add(rhs);

                var textBox = new TextBox();
                var control = new InsertGistControl() {
                    HorizontalAlignment = HorizontalAlignment.Center,
                    VerticalAlignment = VerticalAlignment.Center,
                };

                Grid.SetColumn(textBox, 0);
                Grid.SetColumn(control, 1);
                textBox.TextChanged += (o, e) => control.ViewModel.SelectionText = textBox.Text;
                grid.Children.Add(textBox); grid.Children.Add(control);

                var wnd = new Window() {
                    Content = grid,
                };

                wnd.ShowDialog();
            });
        }
示例#20
0
 public Panel AddNewPanel()
 {
     ListView newLV = new ListView();
     ComboBox newCB = new ComboBox();
     panels.Add(new Panel(newCB, newLV));
     newLV.Style = Resources["PanelListView"] as Style;
     newLV.ItemContainerStyle = Resources["PanelListViewItem"] as Style; ;
     GridView columns = new GridView();
     columns.Columns.Add(AddGridViewColumn( "Name", "Name"));
     columns.Columns.Add(AddGridViewColumn( "Type", "Extension"));
     columns.Columns.Add(AddGridViewColumn( "Size", "Length"));
     columns.Columns.Add(AddGridViewColumn( "Date of creation", "CreationTime"));
     newLV.View = columns;
     newLV.Loaded += PanelInitialized;
     newCB.Style = Resources["DrivesComboBox"] as Style;
     ColumnDefinition newColumn = new ColumnDefinition();
     newColumn.Width = new GridLength(1, GridUnitType.Star);
     PanelsGrid.ColumnDefinitions.Add(newColumn);
     newLV.SetValue(Grid.RowProperty, 1);
     newLV.SetValue(Grid.ColumnProperty, numOfPanels);
     newCB.SetValue(Grid.RowProperty, 0);
     newCB.SetValue(Grid.ColumnProperty, numOfPanels);
     PanelsGrid.Children.Add(newLV);
     PanelsGrid.Children.Add(newCB);
     AddDrivesInComboBox(newCB);
     newCB.SelectionChanged += DiskChanged;
     return panels[numOfPanels++];
 }
示例#21
0
		private void OnLoaded(object sender, RoutedEventArgs e)
		{
			base.Loaded -= OnLoaded;

			int index = 0;
			foreach (UIElement child in base.Children)
			{
				FrameworkElement element = child as FrameworkElement;
				GridLength length = StretchPanel.GetLength(element);

				if (Orientation == Orientation.Horizontal)
				{
					ColumnDefinition definition = new ColumnDefinition() { Width = length };
					if (index == 0)
						base.ColumnDefinitions.Clear();
					base.ColumnDefinitions.Add(definition);
					Grid.SetColumn(element, index++);
					Grid.SetColumnSpan(element, 1);
				}
				else
				{
					RowDefinition definition = new RowDefinition() { Height = length };
					if (index == 0)
						base.RowDefinitions.Clear();
					base.RowDefinitions.Add(definition);
					Grid.SetRow(element, index++);
					Grid.SetRowSpan(element, 1);
				}
			}

			base.Visibility = Visibility.Visible;
		}
示例#22
0
        public void display()
        {
            playArea.ColumnDefinitions.Clear();
            playArea.RowDefinitions.Clear();
            ColumnDefinition[] colDefs = new ColumnDefinition[testMap.x];
            RowDefinition[] rowDefs = new RowDefinition[testMap.y];
            testMap.populate();

            for (int i = 0; i < testMap.x; i++)
            {
                colDefs[i] = new ColumnDefinition();
                playArea.ColumnDefinitions.Add(colDefs[i]);
            }
            for (int i = 0; i < testMap.y; i++)
            {
                rowDefs[i] = new RowDefinition();
                playArea.RowDefinitions.Add(rowDefs[i]);
            }

            for (int i = 0; i < testMap.x; i++)
            {
                for (int j = 0; j < testMap.y; j++)
                {
                    playArea.Children.Add(testMap.layout[i][j]);
                    Grid.SetRow(testMap.layout[i][j], j);
                    Grid.SetColumn(testMap.layout[i][j], i);
                }
            }
        }
示例#23
0
        public void createGrid(int x, int y)
        {
            Border border = new Border();
            border.Background = new SolidColorBrush(Colors.Black);
            levelGrid = new Grid();
            level.Children.Add(levelGrid);
            levelGrid.Background = new SolidColorBrush(Colors.Green);
            levelGrid.Width = x * levelGridCellSize;
            levelGrid.Height = y * levelGridCellSize;
            levelGrid.ShowGridLines = true;
            levelGrid.MouseDown += new MouseButtonEventHandler(levelGrid_MouseDown);

            for (int i = 0; i < x; i++)
            {
                ColumnDefinition col = new ColumnDefinition();
                col.Width = new GridLength(levelGridCellSize);
                levelGrid.ColumnDefinitions.Add(col);
            }

            for (int i = 0; i < y; i++)
            {
                RowDefinition row = new RowDefinition();
                row.Height = new GridLength(levelGridCellSize);
                levelGrid.RowDefinitions.Add(row);

                for (int j = 0; j < y; j++)
                {
                    Label label = new Label();
                    label.Content = i + " " + j;
                    label.SetValue(Grid.ColumnProperty, j);
                    label.SetValue(Grid.RowProperty, i);
                    levelGrid.Children.Add(label);
                }
            }
        }
示例#24
0
        public Layer_Two()
            : base()
        {
            titleBlock = new TextBlock();
            titleBlock.Width = STATICS.DEAULT_CARD_SIZE.Width;
            titleBlock.Foreground = new SolidColorBrush(Colors.Black);
            titleBlock.LineHeight = 1;
            titleBlock.TextWrapping = TextWrapping.Wrap;
            titleBlock.HorizontalAlignment = HorizontalAlignment.Left;
            titleBlock.TextAlignment = TextAlignment.Left;
            titleBlock.FontStretch = FontStretches.Normal;
            titleBlock.Margin = new Thickness(3);
            this.Children.Add(titleBlock);
            Grid.SetRow(titleBlock, 0);
            Grid.SetColumn(titleBlock, 0);
            Grid.SetColumnSpan(titleBlock, 2);

            RowDefinition rd = new RowDefinition();
            rd.Height = new GridLength(STATICS.DEAULT_CARD_SIZE.Height-1.5* STATICS.ZOOMWHEEL_RADIUS);
            this.RowDefinitions.Add(rd);
            rd = new RowDefinition();
            rd.Height = new GridLength(STATICS.ZOOMWHEEL_RADIUS);
            this.RowDefinitions.Add(rd);
            ColumnDefinition gridCol1 = new ColumnDefinition();
            gridCol1.Width = new GridLength(this.Width / 2);
            this.ColumnDefinitions.Add(gridCol1);
            ColumnDefinition gridCol2 = new ColumnDefinition();
            gridCol2.Width = new GridLength(this.Width / 2);
            this.ColumnDefinitions.Add(gridCol2);
        }
        private Grid SetupClientInfoGrid()
        {
            Grid grid = new Grid();

            RowDefinition row = new RowDefinition();
            grid.RowDefinitions.Add(row);

            ColumnDefinition col1 = new ColumnDefinition();
            col1.Width = new GridLength(96 * 2);
            grid.ColumnDefinitions.Add(col1);

            ColumnDefinition col2 = new ColumnDefinition();
            col2.Width = new GridLength(96 * 1.3);
            grid.ColumnDefinitions.Add(col2);

            ColumnDefinition col3 = new ColumnDefinition();
            col3.Width = new GridLength(96 * .9);
            grid.ColumnDefinitions.Add(col3);

            ColumnDefinition col4 = new ColumnDefinition();
            col4.Width = new GridLength(96 * .7);
            grid.ColumnDefinitions.Add(col4);

            ColumnDefinition col5 = new ColumnDefinition();
            col5.Width = new GridLength(96 * .9);
            grid.ColumnDefinitions.Add(col5);

            ColumnDefinition col6 = new ColumnDefinition();
            col6.Width = new GridLength(96 * 1.3);
            grid.ColumnDefinitions.Add(col6);

            return grid;
        }
		public void AddTwice ()
		{
			ColumnDefinitionCollection c = new Grid ().ColumnDefinitions;
			ColumnDefinition d = new ColumnDefinition ();
			c.Add (d);
			c.Add (d);
		}
示例#27
0
 public Grid CreateHotKeyControl()
 {
     this.grid.Width = 300;
     this.grid.HorizontalAlignment = HorizontalAlignment.Left;
     ColumnDefinition col0 = new ColumnDefinition();
     ColumnDefinition col1 = new ColumnDefinition();
     ColumnDefinition col2 = new ColumnDefinition();
     this.grid.ColumnDefinitions.Add(col0);
     this.grid.ColumnDefinitions.Add(col1);
     this.grid.ColumnDefinitions.Add(col2);
     RowDefinition row0 = new RowDefinition();
     this.grid.RowDefinitions.Add(row0);
     this.label.Width = 60;
     this.label.HorizontalAlignment = HorizontalAlignment.Left;
     this.label.Margin = new Thickness(10);
     Grid.SetColumn(this.label, 0);
     Grid.SetRow(this.label, 0);
     this.comboBox.Width = 60;
     this.comboBox.HorizontalAlignment = HorizontalAlignment.Left;
     this.comboBox.Margin = new Thickness(10);
     Grid.SetColumn(this.comboBox, 1);
     Grid.SetRow(this.comboBox, 0);
     this.textBox.Width = 60;
     this.textBox.HorizontalAlignment = HorizontalAlignment.Left;
     this.textBox.Margin = new Thickness(10);
     Grid.SetColumn(this.textBox, 2);
     Grid.SetRow(this.textBox, 0);
     this.grid.Children.Add(this.label);
     this.grid.Children.Add(this.comboBox);
     this.grid.Children.Add(this.textBox);
     return this.grid;
 }
        private void UpdateColumns()
        {
            this.Dispatcher.InvokeAsync(
                () =>
                {
                    this.ColumnDefinitions.Clear();
                    int i = 0;
                    foreach (FrameworkElement item in this.Children.Cast<FrameworkElement>())
                    {
                        EntityGroup entityGroup = (EntityGroup)item.DataContext;

                        ColumnDefinition columnDefinition = new ColumnDefinition()
                        {
                            DataContext = entityGroup
                        };
                        Grid.SetColumn(item, i);

                        if (entityGroup.IsVisible)
                        {
                            columnDefinition.SetBinding(ColumnDefinition.WidthProperty, "Width");
                        }
                        else
                        {
                            columnDefinition.Width = new GridLength(0);
                        }

                        this.ColumnDefinitions.Add(columnDefinition);

                        ++i;
                    }
                });
        }
        void CollapseColumn(GridSplitter splitter, ColumnDefinition def, string content)
        {
            // Ignore collapse if popup is opened
            if (PopupManager.ActivePopup != null)
                return;

            int collapsed = 0;

            // Count the number of collapsed items (exclusing collapseView and rockScroll)
            for (int i = 0; i < OverviewContainerRootGrid.ColumnDefinitions.Count -2; i++)
            {
                if (OverviewContainerRootGrid.ColumnDefinitions[i].Width.Value == 0)
                    collapsed++;
            }

            // Only allowed to collapse when there are at least two columns which have Width > 0
            if (collapsed >= OverviewContainerRootGrid.ColumnDefinitions.Count - 3)
                return;

            GridColumnSizeHelper.SetPreviousGridLength(def, def.Width);

            //Start Collapse Column Animation, only when the column Width != 0
            if (def.Width != new GridLength(0))
            {
                Storyboard CollapseColumnGrid = (Storyboard)FindResource("CollapseColumn");
                Storyboard.SetTarget(CollapseColumnGrid, def);

                GridLengthAnimation gla = CollapseColumnGrid.Children[0] as GridLengthAnimation;
                gla.From = def.Width;
                gla.To = new GridLength(0);

                CollapseColumnGrid.Begin(this);
            }

            if (splitter != null)
                splitter.IsEnabled = false;

            collapseView.AddCollapsedView(def, content, delegate
            {
                //Start Expand Column Animation, only when the column Width = 0
                if (def.Width == new GridLength(0))
                {
                    def.Width = GridColumnSizeHelper.GetPreviousGridLength(def);
                    GridLength previousWidth = def.Width;
                    def.Width = new GridLength(0);

                    Storyboard ExpandColumnGrid = (Storyboard)FindResource("CollapseColumn");
                    Storyboard.SetTarget(ExpandColumnGrid, def);

                    GridLengthAnimation gla = ExpandColumnGrid.Children[0] as GridLengthAnimation;
                    gla.From = new GridLength(0);
                    gla.To = previousWidth;

                    ExpandColumnGrid.Begin(this);
                }

                if (splitter != null)
                    splitter.IsEnabled = true;
            });
        }
示例#30
0
        public void FillMasterGrid(IEnumerable<Grid> lyricGrids, Grid masterGrid)
        {
            // Create the Grid

               masterGrid.Width = 510; //TODO: Auto width

               masterGrid.HorizontalAlignment = HorizontalAlignment.Left;
               masterGrid.VerticalAlignment = VerticalAlignment.Top;
               masterGrid.ShowGridLines = false;
               masterGrid.Background = new SolidColorBrush(Colors.LightSteelBlue);

               //add one column
               var column = new ColumnDefinition { Width = GridLength.Auto };
               masterGrid.ColumnDefinitions.Add(column);

               // Create Rows
               var row = new RowDefinition { Height = GridLength.Auto };

               masterGrid.RowDefinitions.Add(row);

               // fill rows with lyric grids
               var lGrids = lyricGrids.ToList();
               for (var i = 0; i < lGrids.Count(); i++)
               {
               var lyricGrid = lGrids[i];

               Grid.SetRow(lyricGrid, i);
               Grid.SetColumn(lyricGrid, 0);
               masterGrid.Children.Add(lyricGrid);
               }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.registerWindow = ((WpfAppEnglishGrammar.RegisterWindow)(target));

            #line 8 "..\..\RegisterWindow.xaml"
                this.registerWindow.Closing += new System.ComponentModel.CancelEventHandler(this.registerWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.tbPersonInfoIconColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

            case 5:
                this.tbPasswordRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 6:
                this.tbPasswordConfirmRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 7:
                this.tbFirstNameRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 8:
                this.tbLastNameRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 9:
                this.tbButtonRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            #line 65 "..\..\RegisterWindow.xaml"
                this.registerButton.Click += new System.Windows.RoutedEventHandler(this.registerButton_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.tbPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 13:
                this.tbPasswordConfirm = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

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

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

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

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

            case 20:
                this.lastNameLabel = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.maincolumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            #line 38 "..\..\MasterPage.xaml"
                this.sepetim.Click += new System.Windows.RoutedEventHandler(this.sepetim_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\MasterPage.xaml"
                this.magaza.Click += new System.Windows.RoutedEventHandler(this.magaza_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.iletişim = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\MasterPage.xaml"
                this.iletişim.Click += new System.Windows.RoutedEventHandler(this.iletişim_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\MasterPage.xaml"
                this.sepet.Click += new System.Windows.RoutedEventHandler(this.sepetim_Click);

            #line default
            #line hidden
                return;

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

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

            #line 69 "..\..\MasterPage.xaml"
                this.ara.Click += new System.Windows.RoutedEventHandler(this.ara_Click);

            #line default
            #line hidden
                return;

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

            #line 83 "..\..\MasterPage.xaml"
                this.Anasayfa.Click += new System.Windows.RoutedEventHandler(this.Anasayfa_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.Mağaza = ((System.Windows.Controls.Button)(target));

            #line 112 "..\..\MasterPage.xaml"
                this.Mağaza.Click += new System.Windows.RoutedEventHandler(this.Mağaza_Click);

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\MasterPage.xaml"
                this.Blog.Click += new System.Windows.RoutedEventHandler(this.Blog_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.Hakkımızda = ((System.Windows.Controls.Button)(target));

            #line 120 "..\..\MasterPage.xaml"
                this.Hakkımızda.Click += new System.Windows.RoutedEventHandler(this.Hakkımızda_Click);

            #line default
            #line hidden
                return;

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

            #line 125 "..\..\MasterPage.xaml"
                this.Sepetim.Click += new System.Windows.RoutedEventHandler(this.sepetim_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.Hesabım = ((System.Windows.Controls.Button)(target));

            #line 128 "..\..\MasterPage.xaml"
                this.Hesabım.Click += new System.Windows.RoutedEventHandler(this.Hesabım_Click);

            #line default
            #line hidden
                return;

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

            #line 133 "..\..\MasterPage.xaml"
                this.GirisYap.Click += new System.Windows.RoutedEventHandler(this.GirisYap_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.KayıtOl = ((System.Windows.Controls.Button)(target));

            #line 137 "..\..\MasterPage.xaml"
                this.KayıtOl.Click += new System.Windows.RoutedEventHandler(this.KayıtOl_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.sayfa = ((System.Windows.Controls.Frame)(target));
                return;

            case 17:

            #line 217 "..\..\MasterPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.KayıtOl_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 220 "..\..\MasterPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GirisYap_Click);

            #line default
            #line hidden
                return;

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

            #line 296 "..\..\MasterPage.xaml"
                this.sepetkapat.Click += new System.Windows.RoutedEventHandler(this.sepetkapat_Click);

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

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

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.column2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 5:
                this.column3 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            #line 46 "..\..\MainWindow.xaml"
                this.serialPort.DropDownOpened += new System.EventHandler(this.portName_DropDownOpened);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\MainWindow.xaml"
                this.bps.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.bps_selectedChanged);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\MainWindow.xaml"
                this.link.Click += new System.Windows.RoutedEventHandler(this.openSerialPort);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 14:
                this.zedgraph = ((ZedGraph.ZedGraphControl)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 20:
                this.led_color = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 275 "..\..\MainWindow.xaml"
                this.send.Click += new System.Windows.RoutedEventHandler(this.DataSend);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 297 "..\..\MainWindow.xaml"
                this.end.Click += new System.Windows.RoutedEventHandler(this.End_Click);

            #line default
            #line hidden
                return;

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

            #line 314 "..\..\MainWindow.xaml"
                this.cancel.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

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

            case 2:
                this.row1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 49 "..\..\MouseWheelZooming.xaml"
                this.chartCanvas.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.OnMouseWheel);

            #line default
            #line hidden

            #line 49 "..\..\MouseWheelZooming.xaml"
                this.chartCanvas.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseRightButtonDown);

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

            case 2:
                this.ChangeColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

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

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

            #line 28 "..\..\..\Pages\StudentsPage.xaml"
                this.filterTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.filterTextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 13:

            #line 110 "..\..\..\Pages\StudentsPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CommitChangeClick);

            #line default
            #line hidden
                return;

            case 14:

            #line 112 "..\..\..\Pages\StudentsPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseChangeFieldClick);

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

            #line 7 "..\..\..\Forms\EmailNotifier.xaml"
                ((Pointel.Interactions.Email.Forms.EmailNotifier)(target)).Loaded += new System.Windows.RoutedEventHandler(this.TaskbarNotifier_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\Forms\EmailNotifier.xaml"
                ((Pointel.Interactions.Email.Forms.EmailNotifier)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.TaskbarNotifier_KeyUp);

            #line default
            #line hidden

            #line 8 "..\..\..\Forms\EmailNotifier.xaml"
                ((Pointel.Interactions.Email.Forms.EmailNotifier)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.TaskbarNotifier_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            case 4:

            #line 35 "..\..\..\Forms\EmailNotifier.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.Expander_Expanded);

            #line default
            #line hidden

            #line 35 "..\..\..\Forms\EmailNotifier.xaml"
                ((System.Windows.Controls.Expander)(target)).Collapsed += new System.Windows.RoutedEventHandler(this.Expander_Collapsed);

            #line default
            #line hidden
                return;

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

            case 6:
                this.dgEmailCaseData = ((Microsoft.Windows.Controls.DataGrid)(target));
                return;

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

            #line 50 "..\..\..\Forms\EmailNotifier.xaml"
                this.btnAccept.Click += new System.Windows.RoutedEventHandler(this.btnAccept_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\Forms\EmailNotifier.xaml"
                this.btnReject.Click += new System.Windows.RoutedEventHandler(this.btnReject_Click);

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

            #line 8 "..\..\CaseWindow.xaml"
                this.UserCaseWindow.Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 8 "..\..\CaseWindow.xaml"
                this.UserCaseWindow.Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden

            #line 9 "..\..\CaseWindow.xaml"
                this.UserCaseWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\CaseWindow.xaml"
                this.UserCaseWindow.Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 9 "..\..\CaseWindow.xaml"
                this.UserCaseWindow.StateChanged += new System.EventHandler(this.Window_StateChanged);

            #line default
            #line hidden
                return;

            case 2:

            #line 23 "..\..\CaseWindow.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.Storyboard_Completed);

            #line default
            #line hidden
                return;

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

            case 4:

            #line 40 "..\..\CaseWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

            #line 58 "..\..\CaseWindow.xaml"
                this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.btnMinimize_Click);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\CaseWindow.xaml"
                this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.btnMaximize_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 86 "..\..\CaseWindow.xaml"
                this.btnDone.Click += new System.Windows.RoutedEventHandler(this.btnDone_Click);

            #line default
            #line hidden
                return;

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

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

            case 14:
                this.brdData = ((System.Windows.Controls.Border)(target));
                return;

            case 15:
                this.columnUrlSpace = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 16:
                this.columnButtons = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 17:
                this.columnData = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 19:
                this.webBrowser = ((System.Windows.Controls.WebBrowser)(target));

            #line 118 "..\..\CaseWindow.xaml"
                this.webBrowser.LoadCompleted += new System.Windows.Navigation.LoadCompletedEventHandler(this.webBrowser_LoadCompleted);

            #line default
            #line hidden
                return;

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

            #line 131 "..\..\CaseWindow.xaml"
                this.btnShowHideUrlPanel.Click += new System.Windows.RoutedEventHandler(this.btnShowHideUrlPanel_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 24:
                this.btnData = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 150 "..\..\CaseWindow.xaml"
                this.btnData.Click += new System.Windows.RoutedEventHandler(this.btnData_Click);

            #line default
            #line hidden
                return;

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

            case 26:
                this.btnContacts = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 157 "..\..\CaseWindow.xaml"
                this.btnContacts.Click += new System.Windows.RoutedEventHandler(this.btnContacts_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 30:
                this.DataTabControl = ((System.Windows.Controls.TabControl)(target));

            #line 169 "..\..\CaseWindow.xaml"
                this.DataTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataTabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.tabCaseData = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

            #line 178 "..\..\CaseWindow.xaml"
                this.btnAddCallData.Click += new System.Windows.RoutedEventHandler(this.btnAddCallData_Click);

            #line default
            #line hidden
                return;

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

            case 35:
                this.DGAttachData = ((Microsoft.Windows.Controls.DataGrid)(target));

            #line 201 "..\..\CaseWindow.xaml"
                this.DGAttachData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DGAttachData_SelectionChanged);

            #line default
            #line hidden

            #line 201 "..\..\CaseWindow.xaml"
                this.DGAttachData.BeginningEdit += new System.EventHandler <Microsoft.Windows.Controls.DataGridBeginningEditEventArgs>(this.DGAttachData_BeginningEdit);

            #line default
            #line hidden

            #line 201 "..\..\CaseWindow.xaml"
                this.DGAttachData.PreparingCellForEdit += new System.EventHandler <Microsoft.Windows.Controls.DataGridPreparingCellForEditEventArgs>(this.DGAttachData_PreparingCellForEdit);

            #line default
            #line hidden

            #line 201 "..\..\CaseWindow.xaml"
                this.DGAttachData.RowEditEnding += new System.EventHandler <Microsoft.Windows.Controls.DataGridRowEditEndingEventArgs>(this.DGAttachData_RowEditEnding);

            #line default
            #line hidden
                return;

            case 36:
                this.Copy = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 39:
                this.tabDisposition = ((System.Windows.Controls.TabItem)(target));
                return;

            case 40:
                this.tabNotes = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 286 "..\..\CaseWindow.xaml"
                this.txtNotes.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtNotes_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 290 "..\..\CaseWindow.xaml"
                this.btnSaveNote.Click += new System.Windows.RoutedEventHandler(this.btnSaveNote_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.grdContacts = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\Fenetres\Statistiques.xaml"
                ((ProjetWPF.Fenetres.Statistiques)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Row2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 3:
                this.ToggTempurature = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 23 "..\..\..\Fenetres\Statistiques.xaml"
                this.ToggTempurature.Click += new System.EventHandler <System.Windows.RoutedEventArgs>(this.Togg_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ToggPression = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 27 "..\..\..\Fenetres\Statistiques.xaml"
                this.ToggPression.Click += new System.EventHandler <System.Windows.RoutedEventArgs>(this.Togg_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ToggHumidite = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 31 "..\..\..\Fenetres\Statistiques.xaml"
                this.ToggHumidite.Click += new System.EventHandler <System.Windows.RoutedEventArgs>(this.Togg_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.ToggVent = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 35 "..\..\..\Fenetres\Statistiques.xaml"
                this.ToggVent.Click += new System.EventHandler <System.Windows.RoutedEventArgs>(this.Togg_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.ToggVisibilite = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 39 "..\..\..\Fenetres\Statistiques.xaml"
                this.ToggVisibilite.Click += new System.EventHandler <System.Windows.RoutedEventArgs>(this.Togg_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ToggPrecipitation = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 43 "..\..\..\Fenetres\Statistiques.xaml"
                this.ToggPrecipitation.Click += new System.EventHandler <System.Windows.RoutedEventArgs>(this.Togg_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.ToggNebulosite = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 47 "..\..\..\Fenetres\Statistiques.xaml"
                this.ToggNebulosite.Click += new System.EventHandler <System.Windows.RoutedEventArgs>(this.Togg_Click);

            #line default
            #line hidden
                return;

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

            case 11:
                this.algerie = ((ProjetWPF.Fenetres.CarteInteractive)(target));
                return;

            case 12:

            #line 75 "..\..\..\Fenetres\Statistiques.xaml"
                ((System.Windows.Controls.Slider)(target)).ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged);

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

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

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

            #line 26 "..\..\MainWindow.xaml"
                this.textBox1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox1_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            case 14:
                this.txttest = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Admin = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 42 "..\..\MainWindow.xaml"
                this.phone_txt.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.phone_txt_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 13:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 15:
                this.combobox = ((System.Windows.Controls.ComboBox)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.combobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.combobox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:
                this.resize_canvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.height_text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.height_text_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 23:

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

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\MainWindow.xaml"
                this.width_text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.width_text_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden

            #line 84 "..\..\MainWindow.xaml"
                this.search_text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.search_text_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 29:

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

            #line default
            #line hidden
                return;

            case 30:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

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

            case 32:
                this.delete_canvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 101 "..\..\MainWindow.xaml"
                this.delete_text.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden

            #line 101 "..\..\MainWindow.xaml"
                this.delete_text.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.delete_text_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 35:

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

            #line default
            #line hidden
                return;

            case 36:
                this.rotate_canvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

            #line 110 "..\..\MainWindow.xaml"
                this.apply_rotate.Click += new System.Windows.RoutedEventHandler(this.Apply_rotate);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\MainWindow.xaml"
                this.rotate_txt.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.rotate_txt_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 39:

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

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\MainWindow.xaml"
                this.admins_btn.Click += new System.Windows.RoutedEventHandler(this.admins_btn_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 43:

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

            #line default
            #line hidden
                return;

            case 44:
                this.crop_canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 45:

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

            #line default
            #line hidden
                return;

            case 46:

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

            #line default
            #line hidden
                return;

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

            #line 128 "..\..\MainWindow.xaml"
                this.X_txt.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.X_txt_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 129 "..\..\MainWindow.xaml"
                this.height_txt.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.height_txt_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\MainWindow.xaml"
                this.Y_txt.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Y_txt_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 50:
                this.width_txt = ((System.Windows.Controls.TextBox)(target));

            #line 132 "..\..\MainWindow.xaml"
                this.width_txt.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.width_txt_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 51:
                this.username_image = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 26 "..\..\..\Pages\ShellView.xaml"
                ((Weitedianlan.WinUI.Pages.ShellView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:
                this.WinTabControl = ((System.Windows.Controls.TabControl)(target));

            #line 103 "..\..\..\Pages\ShellView.xaml"
                this.WinTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.WinTabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.OrderTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 8:
                this.colum = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 10:
                this.BeingDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

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

            case 15:
                this.OrderListBox = ((System.Windows.Controls.ListBox)(target));

            #line 196 "..\..\..\Pages\ShellView.xaml"
                this.OrderListBox.Loaded += new System.Windows.RoutedEventHandler(this.OrderListBox_Loaded);

            #line default
            #line hidden

            #line 197 "..\..\..\Pages\ShellView.xaml"
                this.OrderListBox.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OrderListBox_PreviewMouseDoubleClick);

            #line default
            #line hidden

            #line 202 "..\..\..\Pages\ShellView.xaml"
                this.OrderListBox.SourceUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.OrderListBox_SourceUpdated);

            #line default
            #line hidden
                return;

            case 16:
                this.ListVieworderDetail = ((System.Windows.Controls.ListView)(target));
                return;

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

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:
                this.ScanTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 373 "..\..\..\Pages\ShellView.xaml"
                this.SanCodeText.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyDown);

            #line default
            #line hidden
                return;

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

            case 22:

            #line 384 "..\..\..\Pages\ShellView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CommandBut_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 426 "..\..\..\Pages\ShellView.xaml"
                this.ErrorInfoLabel.TargetUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.ErrorInfoLabel_TargetUpdated);

            #line default
            #line hidden
                return;

            case 27:
                this.ScanListView = ((System.Windows.Controls.ListView)(target));

            #line 447 "..\..\..\Pages\ShellView.xaml"
                this.ScanListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ScanListView_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 28:
                this.ScanListViewError = ((System.Windows.Controls.ListView)(target));

            #line 464 "..\..\..\Pages\ShellView.xaml"
                this.ScanListViewError.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ScanListViewError_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

            #line 500 "..\..\..\Pages\ShellView.xaml"
                this.ReBut.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyDown_1);

            #line default
            #line hidden
                return;

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

            case 32:

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

            #line default
            #line hidden
                return;

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

            #line 514 "..\..\..\Pages\ShellView.xaml"
                this.DeSendbackBut.Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

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

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

            case 36:
                this.ListViewDetele = ((System.Windows.Controls.ListView)(target));

            #line 544 "..\..\..\Pages\ShellView.xaml"
                this.ListViewDetele.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListViewDetele_PreviewMouseDoubleClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#42
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.ControlColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

            #line default
            #line hidden

            #line 16 "..\..\..\Views\MainWindow.xaml"
                this.Canvas.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Canvas_SizeChanged);

            #line default
            #line hidden

            #line 16 "..\..\..\Views\MainWindow.xaml"
                this.Canvas.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseRightButtonDown);

            #line default
            #line hidden

            #line 16 "..\..\..\Views\MainWindow.xaml"
                this.Canvas.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseRightButtonUp);

            #line default
            #line hidden

            #line 16 "..\..\..\Views\MainWindow.xaml"
                this.Canvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 16 "..\..\..\Views\MainWindow.xaml"
                this.Canvas.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseLeftButtonUp);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 9:
                this.measurementProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 27 "..\..\..\Views\MainWindow.xaml"
                this.ButtonImageManipulation.Click += new System.Windows.RoutedEventHandler(this.ButtonImageMamipulation_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\Views\MainWindow.xaml"
                this.ButtonCancelMeasurement.Click += new System.Windows.RoutedEventHandler(this.ButtonCancelMeasurement_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\Views\MainWindow.xaml"
                this.ButtonSelectImage.Click += new System.Windows.RoutedEventHandler(this.ButtonSelectImage_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\Views\MainWindow.xaml"
                this.ButtonMeasure.Click += new System.Windows.RoutedEventHandler(this.ButtonMeasure_Click);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\..\Views\MainWindow.xaml"
                this.ButtonShowContrastImage.Click += new System.Windows.RoutedEventHandler(this.ButtonShowContrastImage_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\Views\MainWindow.xaml"
                this.ButtonShowCoronalNoiseImage.Click += new System.Windows.RoutedEventHandler(this.ButtonShowCoronalNoiseImage_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\Views\MainWindow.xaml"
                this.ButtonShowSagittalNoiseImage.Click += new System.Windows.RoutedEventHandler(this.ButtonShowSagittalNoiseImage_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\Views\MainWindow.xaml"
                this.ButtonShowCalcificationImage.Click += new System.Windows.RoutedEventHandler(this.ButtonShowCalcificationImage_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\Views\MainWindow.xaml"
                this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 126 "..\..\..\Views\MainWindow.xaml"
                this.ButtonSaveImage.Click += new System.Windows.RoutedEventHandler(this.ButtonSaveImage_Click);

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 51 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_search_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.tt_search = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 64 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 95 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tgl_isActive.Checked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Checked);

            #line default
            #line hidden

            #line 96 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tgl_isActive.Unchecked += new System.Windows.RoutedEventHandler(this.Tgl_isActive_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line 108 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.dg_sysEmail.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dg_sysEmail_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 13:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 15:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 17:
                this.tt_pieChart = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 241 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 21:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

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

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

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

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

            #line 317 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.tt_clear = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 332 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_name.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 332 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden
                return;

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

            case 29:
                this.tt_errorName = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 350 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_email.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_email_LostFocus);

            #line default
            #line hidden
                return;

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

            case 32:
                this.tt_errorEmail = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 367 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_password.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_password_LostFocus);

            #line default
            #line hidden
                return;

            case 34:
                this.pb_password = ((System.Windows.Controls.PasswordBox)(target));

            #line 375 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.pb_password.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_password_LostFocus);

            #line default
            #line hidden

            #line 376 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.pb_password.PasswordChanged += new System.Windows.RoutedEventHandler(this.Pb_password_PasswordChanged);

            #line default
            #line hidden
                return;

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

            case 36:
                this.tt_errorPassword = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 37:
                this.p_showPassword = ((System.Windows.Shapes.Path)(target));

            #line 391 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.p_showPassword.MouseEnter += new System.Windows.Input.MouseEventHandler(this.P_showPassword_MouseEnter);

            #line default
            #line hidden

            #line 392 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.p_showPassword.MouseLeave += new System.Windows.Input.MouseEventHandler(this.P_showPassword_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 399 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_port.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 399 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_port.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden

            #line 400 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_port.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_PreventSpaces);

            #line default
            #line hidden

            #line 401 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_port.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_Numbers_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            case 40:
                this.tt_errorPort = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 42:
                this.tgl_isSSL = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            #line 428 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_smtpClient.LostFocus += new System.Windows.RoutedEventHandler(this.validationControl_LostFocus);

            #line default
            #line hidden

            #line 428 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.tb_smtpClient.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.validationTextbox_TextChanged);

            #line default
            #line hidden
                return;

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

            case 45:
                this.tt_errorSmtpClient = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 46:
                this.cb_side = ((System.Windows.Controls.ComboBox)(target));

            #line 448 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.cb_side.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

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

            case 48:
                this.tt_errorSide = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 49:
                this.cb_branchId = ((System.Windows.Controls.ComboBox)(target));

            #line 471 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.cb_branchId.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden
                return;

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

            case 51:
                this.tt_errorBranchId = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 53:
                this.tgl_isMajor = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            case 55:
                this.tt_error_note = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 524 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.Btn_add_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.txt_add_Icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            case 59:
                this.tt_add_Button = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 60:
                this.btn_update = ((System.Windows.Controls.Button)(target));

            #line 546 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.Btn_update_Click);

            #line default
            #line hidden
                return;

            case 61:
                this.txt_update_Icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            case 63:
                this.tt_update_Button = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 570 "..\..\..\..\View\Settings\uc_emailsSetting.xaml"
                this.btn_delete.Click += new System.Windows.RoutedEventHandler(this.Btn_delete_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.txt_delete_Icon = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.Local = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 5:
                this.repoDirectories = ((System.Windows.Controls.ListBox)(target));

            #line 91 "..\..\MainWindow.xaml"
                this.repoDirectories.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.repoDirectories_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\MainWindow.xaml"
                this.testLogFiles.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.testLogFile_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\MainWindow.xaml"
                this.RemoteTop.Click += new System.Windows.RoutedEventHandler(this.sendClick);

            #line default
            #line hidden
                return;

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

            #line 121 "..\..\MainWindow.xaml"
                this.buildRequestFiles.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.requestFile_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 137 "..\..\MainWindow.xaml"
                this.buildLogFiles.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.buildLogFiles_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

            case 13:
                this.testDrivers = ((System.Windows.Controls.ListBox)(target));

            #line 168 "..\..\MainWindow.xaml"
                this.testDrivers.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.testDrivers_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 15:
                this.addtest = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 17:
                this.testcase = ((System.Windows.Controls.ListBox)(target));

            #line 198 "..\..\MainWindow.xaml"
                this.testcase.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.testCase_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 212 "..\..\MainWindow.xaml"
                this.RemoteUp.Click += new System.Windows.RoutedEventHandler(this.create);

            #line default
            #line hidden
                return;

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

            #line 214 "..\..\MainWindow.xaml"
                this.send.Click += new System.Windows.RoutedEventHandler(this.createAndSend);

            #line default
            #line hidden
                return;

            case 20:
                this.buildRequest = ((System.Windows.Controls.ListBox)(target));
                return;

            case 21:
                this.results = ((System.Windows.Controls.TabItem)(target));
                return;

            case 22:

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

            #line default
            #line hidden
                return;

            case 23:
                this.col1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 24:
                this.col2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 26:
                this.pro1 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 27:
                this.pro2 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

            #line 235 "..\..\MainWindow.xaml"
                this.startProcessPool.Click += new System.Windows.RoutedEventHandler(this.startButton_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.col0 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 31:
                this.listBox1 = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\Pages\Home\Home.xaml"
                ((CashierRegister.Pages.Home.Home)(target)).LayoutUpdated += new System.EventHandler(this.UserControl_LayoutUpdated);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Pages\Home\Home.xaml"
                ((CashierRegister.Pages.Home.Home)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Pages\Home\Home.xaml"
                ((CashierRegister.Pages.Home.Home)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.UserControl_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.cd1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

            case 6:
                this.muiBtnCustomer = ((FirstFloor.ModernUI.Windows.Controls.ModernButton)(target));

            #line 33 "..\..\..\..\Pages\Home\Home.xaml"
                this.muiBtnCustomer.Click += new System.Windows.RoutedEventHandler(this.muiBtnCustomer_Click);

            #line default
            #line hidden
                return;

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

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

            #line 42 "..\..\..\..\Pages\Home\Home.xaml"
                this.txbSearch.KeyDown += new System.Windows.Input.KeyEventHandler(this.txbSearch_KeyDown);

            #line default
            #line hidden
                return;

            case 9:
                this.muiBtnSearch = ((FirstFloor.ModernUI.Windows.Controls.ModernButton)(target));

            #line 48 "..\..\..\..\Pages\Home\Home.xaml"
                this.muiBtnSearch.Click += new System.Windows.RoutedEventHandler(this.muiBtnSearch_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.muiBtnScanBarcode = ((FirstFloor.ModernUI.Windows.Controls.ModernButton)(target));

            #line 53 "..\..\..\..\Pages\Home\Home.xaml"
                this.muiBtnScanBarcode.Click += new System.Windows.RoutedEventHandler(this.muiBtnScanBarcode_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.bdOrderDetail = ((System.Windows.Controls.Border)(target));

            #line 70 "..\..\..\..\Pages\Home\Home.xaml"
                this.bdOrderDetail.SizeChanged += new System.Windows.SizeChangedEventHandler(this.bdOrderDetail_SizeChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.dtgOrderDetail = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

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

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

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

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

            case 22:
                this.bdUndo = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 227 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnUndo.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnUndo_MouseEnter);

            #line default
            #line hidden

            #line 227 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnUndo.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnUndo_MouseLeave);

            #line default
            #line hidden

            #line 227 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnUndo.Click += new System.Windows.RoutedEventHandler(this.btnUndo_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.bdSendEmail = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 235 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnSendEmail.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnSendEmail_MouseEnter);

            #line default
            #line hidden

            #line 235 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnSendEmail.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSendEmail_MouseLeave);

            #line default
            #line hidden

            #line 235 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnSendEmail.Click += new System.Windows.RoutedEventHandler(this.btnSendEmail_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.bdClearAll = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 243 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnClearAll.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnClearAll_MouseEnter);

            #line default
            #line hidden

            #line 243 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnClearAll.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnClearAll_MouseLeave);

            #line default
            #line hidden

            #line 243 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnClearAll.Click += new System.Windows.RoutedEventHandler(this.btnClearAll_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.bdPayCash = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 251 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnPayCash.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnPayCash_MouseEnter);

            #line default
            #line hidden

            #line 251 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnPayCash.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnPayCash_MouseLeave);

            #line default
            #line hidden

            #line 251 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnPayCash.Click += new System.Windows.RoutedEventHandler(this.btnPayCash_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.bdDiscount = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 259 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnDiscount.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnDiscount_MouseEnter);

            #line default
            #line hidden

            #line 259 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnDiscount.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnDiscount_MouseLeave);

            #line default
            #line hidden

            #line 259 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnDiscount.Click += new System.Windows.RoutedEventHandler(this.btnDiscount_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.bdSalesperson = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 275 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnSalesperson.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnSalesperson_MouseEnter);

            #line default
            #line hidden

            #line 275 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnSalesperson.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnSalesperson_MouseLeave);

            #line default
            #line hidden

            #line 275 "..\..\..\..\Pages\Home\Home.xaml"
                this.btnSalesperson.Click += new System.Windows.RoutedEventHandler(this.btnSalesperson_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.gs = ((System.Windows.Controls.GridSplitter)(target));
                return;

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

            case 36:
                this.cb_SortBy = ((System.Windows.Controls.ComboBox)(target));

            #line 315 "..\..\..\..\Pages\Home\Home.xaml"
                this.cb_SortBy.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_SortBy_SelectionChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.UCSortDirect = ((CashierRegister.UserControls.BCButtonAscDesc)(target));
                return;

            case 38:
                this.mprProduct = ((FirstFloor.ModernUI.Windows.Controls.ModernProgressRing)(target));
                return;

            case 39:
                this.wpProduct = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            case 41:
                this.prbScanBarcode = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 334 "..\..\..\..\Pages\Home\Home.xaml"
                this.txbBarcode.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txbBarcode_TextChanged);

            #line default
            #line hidden

            #line 334 "..\..\..\..\Pages\Home\Home.xaml"
                this.txbBarcode.LostFocus += new System.Windows.RoutedEventHandler(this.txbBarcode_LostFocus);

            #line default
            #line hidden

            #line 334 "..\..\..\..\Pages\Home\Home.xaml"
                this.txbBarcode.GotFocus += new System.Windows.RoutedEventHandler(this.txbBarcode_GotFocus);

            #line default
            #line hidden
                return;

            case 43:
                this.mprcat = ((FirstFloor.ModernUI.Windows.Controls.ModernProgressRing)(target));
                return;

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

            #line 341 "..\..\..\..\Pages\Home\Home.xaml"
                this.scvCategory.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.scvCategory_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 45:
                this.wpCategory = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\MainWindow.xaml"
                ((jg.Editor.MainWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.RibbonWindow_KeyUp);

            #line default
            #line hidden

            #line 9 "..\..\..\MainWindow.xaml"
                ((jg.Editor.MainWindow)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.RibbonWindow_PreviewMouseDown);

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 11 "..\..\..\MainWindow.xaml"
                ((jg.Editor.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 16:
                this.col1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 17:
                this.col5 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 18:
                this.rowStage = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 19:
                this.row4 = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 21:
                this.ribbon = ((Fluent.Ribbon)(target));
                return;

            case 22:
                this.invisibleTabGroup = ((Fluent.RibbonContextualTabGroup)(target));
                return;

            case 23:

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

            #line default
            #line hidden
                return;

            case 24:

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

            #line default
            #line hidden
                return;

            case 25:
                this.tabItem1 = ((Fluent.RibbonTabItem)(target));
                return;

            case 26:
                this.Clipboard = ((Fluent.RibbonGroupBox)(target));
                return;

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

            #line 342 "..\..\..\MainWindow.xaml"
                this.btnCreate.Click += new System.Windows.RoutedEventHandler(this.btnCreate_Click);

            #line default
            #line hidden
                return;

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

            #line 365 "..\..\..\MainWindow.xaml"
                this.btnLoad.Click += new System.Windows.RoutedEventHandler(this.btnLoad_Click);

            #line default
            #line hidden
                return;

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

            #line 387 "..\..\..\MainWindow.xaml"
                this.btnClone.Click += new System.Windows.RoutedEventHandler(this.btnClone_Click);

            #line default
            #line hidden
                return;

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

            #line 409 "..\..\..\MainWindow.xaml"
                this.btnPageAdd.Click += new System.Windows.RoutedEventHandler(this.btnPageAdd_Click);

            #line default
            #line hidden
                return;

            case 31:

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

            #line default
            #line hidden
                return;

            case 32:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 442 "..\..\..\MainWindow.xaml"
                this.btnCut.Click += new System.Windows.RoutedEventHandler(this.btnCut_Click);

            #line default
            #line hidden
                return;

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

            #line 465 "..\..\..\MainWindow.xaml"
                this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.btnCopy_Click);

            #line default
            #line hidden
                return;

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

            #line 488 "..\..\..\MainWindow.xaml"
                this.btnPaste.Click += new System.Windows.RoutedEventHandler(this.btnPaste_Click);

            #line default
            #line hidden
                return;

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

            #line 511 "..\..\..\MainWindow.xaml"
                this.Preview.Click += new System.Windows.RoutedEventHandler(this.Preview_Click);

            #line default
            #line hidden
                return;

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

            #line 525 "..\..\..\MainWindow.xaml"
                this.btnPublish.Click += new System.Windows.RoutedEventHandler(this.btnPublish_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 566 "..\..\..\MainWindow.xaml"
                this.btnRedo.Click += new System.Windows.RoutedEventHandler(this.btnRedo_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.toggleButton1 = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 42:
                this.popup1 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 43:

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

            #line default
            #line hidden
                return;

            case 44:

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

            #line default
            #line hidden
                return;

            case 45:

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

            #line default
            #line hidden
                return;

            case 46:

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

            #line default
            #line hidden
                return;

            case 47:
                this.tabItem2 = ((Fluent.RibbonTabItem)(target));
                return;

            case 48:
                this.ResourcesRibbonGroupBox = ((Fluent.RibbonGroupBox)(target));
                return;

            case 49:
                this.localImgMenu = ((Fluent.MenuItem)(target));
                return;

            case 50:
                this.localMovieMenu = ((Fluent.MenuItem)(target));
                return;

            case 51:
                this.localSoundMenu = ((Fluent.MenuItem)(target));
                return;

            case 52:
                this.localDocumentMenu = ((Fluent.MenuItem)(target));
                return;

            case 53:
                this.localTPageGroupMenu = ((Fluent.MenuItem)(target));
                return;

            case 54:

            #line 721 "..\..\..\MainWindow.xaml"
                ((Fluent.SplitButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SplitButton_Click);

            #line default
            #line hidden
                return;

            case 55:

            #line 736 "..\..\..\MainWindow.xaml"
                ((Fluent.SplitButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SplitButton_Click);

            #line default
            #line hidden
                return;

            case 56:

            #line 750 "..\..\..\MainWindow.xaml"
                ((Fluent.SplitButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SplitButton_Click);

            #line default
            #line hidden
                return;

            case 57:

            #line 765 "..\..\..\MainWindow.xaml"
                ((Fluent.SplitButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SplitButton_Click);

            #line default
            #line hidden
                return;

            case 58:

            #line 779 "..\..\..\MainWindow.xaml"
                ((Fluent.SplitButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SplitButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 76:

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

            #line default
            #line hidden
                return;

            case 77:
                this.treeViewControl1 = ((System.Windows.Controls.TreeView)(target));

            #line 896 "..\..\..\MainWindow.xaml"
                this.treeViewControl1.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.treeViewControl1_SelectedItemChanged);

            #line default
            #line hidden

            #line 897 "..\..\..\MainWindow.xaml"
                this.treeViewControl1.Drop += new System.Windows.DragEventHandler(this.PubDropTreeAndBlockEvent);

            #line default
            #line hidden
                return;

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

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

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

            case 81:
                this.propertyManage1 = ((jg.Editor.Library.Property.PropertyManage)(target));
                return;

            case 82:

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

            #line default
            #line hidden
                return;

            case 83:

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

            #line default
            #line hidden
                return;

            case 84:

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

            #line default
            #line hidden
                return;

            case 85:

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

            #line default
            #line hidden
                return;

            case 86:

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

            #line default
            #line hidden
                return;

            case 87:

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

            #line default
            #line hidden
                return;

            case 88:

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

            #line default
            #line hidden
                return;

            case 89:

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

            #line default
            #line hidden
                return;

            case 90:
                this.controlTimeLine = ((jg.Editor.Library.ControlTimeLine)(target));
                return;

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

            case 92:
                this.ShowNewWin = ((System.Windows.Controls.Grid)(target));
                return;

            case 93:
                this.ProgressEditBusyName = ((jg.Editor.Library.Control.ProgressEditBusy)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mindmaps_window = ((Jiu_Jitsu_Assistant.MindMaps)(target));
                return;

            case 2:
                this.gameplayColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

            #line 26 "..\..\MindMaps.xaml"
                this.newRoundButton.Click += new System.Windows.RoutedEventHandler(this.newRoundClicked);

            #line default
            #line hidden

            #line 26 "..\..\MindMaps.xaml"
                this.newRoundButton.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.newRoundButton_IsEnabledChanged);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\MindMaps.xaml"
                this.resetButton.Click += new System.Windows.RoutedEventHandler(this.resetClicked);

            #line default
            #line hidden

            #line 27 "..\..\MindMaps.xaml"
                this.resetButton.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.newRoundButton_IsEnabledChanged);

            #line default
            #line hidden
                return;

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

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

            #line 45 "..\..\MindMaps.xaml"
                this.gi_radioButton.Checked += new System.Windows.RoutedEventHandler(this.gi_radioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MindMaps.xaml"
                this.nogi_radioButton.Checked += new System.Windows.RoutedEventHandler(this.nogi_radioButton_Checked);

            #line default
            #line hidden
                return;

            case 10:
                this.setup_textBox = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));

            #line 50 "..\..\MindMaps.xaml"
                this.setup_textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.enableTechniques);

            #line default
            #line hidden
                return;

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

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

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

            case 14:
                this.lastTechniqueLabel = ((System.Windows.Controls.AccessText)(target));
                return;

            case 15:
                this.buttonsGrid = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.pnlMenu = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\MainWindow.xaml"
                this.btnAutoBus.Click += new System.Windows.RoutedEventHandler(this.btnAutobus_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\..\MainWindow.xaml"
                this.btnPasaje.Click += new System.Windows.RoutedEventHandler(this.btnPasaje_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\MainWindow.xaml"
                this.btnConfiguracion.Click += new System.Windows.RoutedEventHandler(this.btnConfiguracion_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.pnlConfiguracion = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 93 "..\..\..\MainWindow.xaml"
                this.btnActualizarPerfil.Click += new System.Windows.RoutedEventHandler(this.btnActualizarPerfil_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\..\MainWindow.xaml"
                this.btnAyuda.Click += new System.Windows.RoutedEventHandler(this.btnAyuda_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.pnlAyuda = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 115 "..\..\..\MainWindow.xaml"
                this.btnManual.Click += new System.Windows.RoutedEventHandler(this.btnManual_Click);

            #line default
            #line hidden
                return;

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

            #line 121 "..\..\..\MainWindow.xaml"
                this.btnAcercaDe.Click += new System.Windows.RoutedEventHandler(this.btnAcercaDe_Click);

            #line default
            #line hidden
                return;

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

            #line 131 "..\..\..\MainWindow.xaml"
                this.btnSalir.Click += new System.Windows.RoutedEventHandler(this.btnSalir_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.dockPanel1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 24:
                this.imgPerfil = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

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

            case 27:

            #line 149 "..\..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.btnActualizarPerfil_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

            #line 44 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_search_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.tt_search = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 56 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 9:
                this.tt_startDate = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 10:
                this.dp_endSearchDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 11:
                this.tt_endDate = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 12:
                this.chb_all = ((System.Windows.Controls.CheckBox)(target));

            #line 126 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chb_all.Checked += new System.Windows.RoutedEventHandler(this.Chb_all_Checked);

            #line default
            #line hidden

            #line 126 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chb_all.Unchecked += new System.Windows.RoutedEventHandler(this.Chb_all_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line 162 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chk_deposit.Checked += new System.Windows.RoutedEventHandler(this.search_Checking);

            #line default
            #line hidden

            #line 163 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chk_deposit.Unchecked += new System.Windows.RoutedEventHandler(this.chk_uncheck);

            #line default
            #line hidden
                return;

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

            #line 170 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chk_receive.Checked += new System.Windows.RoutedEventHandler(this.search_Checking);

            #line default
            #line hidden

            #line 171 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.chk_receive.Unchecked += new System.Windows.RoutedEventHandler(this.chk_uncheck);

            #line default
            #line hidden
                return;

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

            #line 180 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.dg_posAccounts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Dg_posAccounts_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 215 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 230 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 245 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_pieChart.Click += new System.Windows.RoutedEventHandler(this.Btn_pieChart_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.tt_pieChart = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 289 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 306 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 28:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 30:
                this.grid_bankAccounts = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 406 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.tt_clear = ((System.Windows.Controls.ToolTip)(target));
                return;

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

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

            case 36:
                this.cb_fromBranch = ((System.Windows.Controls.ComboBox)(target));

            #line 448 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_fromBranch.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden

            #line 449 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_fromBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_fromBranch_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 38:
                this.tt_errorFromBranch = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 39:
                this.cb_pos1 = ((System.Windows.Controls.ComboBox)(target));

            #line 466 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_pos1.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden

            #line 467 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_pos1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_pos1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.tt_Pos1 = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 42:
                this.tt_errorPos1 = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 43:
                this.cb_toBranch = ((System.Windows.Controls.ComboBox)(target));

            #line 490 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_toBranch.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden

            #line 491 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_toBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_toBranch_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 45:
                this.tt_errorToBranch = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 46:
                this.cb_pos2 = ((System.Windows.Controls.ComboBox)(target));

            #line 508 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_pos2.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden

            #line 509 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.cb_pos2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_pos2_SelectionChanged);

            #line default
            #line hidden
                return;

            case 47:
                this.tt_Pos2 = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 49:
                this.tt_errorPos2 = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 50:
                this.tb_cash = ((System.Windows.Controls.TextBox)(target));

            #line 538 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_cash.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_validateEmptyTextChange);

            #line default
            #line hidden

            #line 539 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_cash.LostFocus += new System.Windows.RoutedEventHandler(this.Tb_validateEmptyLostFocus);

            #line default
            #line hidden

            #line 540 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_cash.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.PreventSpaces);

            #line default
            #line hidden

            #line 541 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.tb_cash.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Tb_cash_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 51:
                this.tt_cash = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 53:
                this.tt_errorCash = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 55:
                this.tt_notes = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 603 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.Btn_add_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.btn_update = ((System.Windows.Controls.Button)(target));

            #line 606 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_update.Click += new System.Windows.RoutedEventHandler(this.Btn_update_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.btn_delete = ((System.Windows.Controls.Button)(target));

            #line 609 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_delete.Click += new System.Windows.RoutedEventHandler(this.Btn_delete_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.btn_confirm = ((System.Windows.Controls.Button)(target));

            #line 612 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_confirm.Click += new System.Windows.RoutedEventHandler(this.Btn_confirm_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.btn_cancel = ((System.Windows.Controls.Button)(target));

            #line 615 "..\..\..\..\View\accounts\uc_posAccounts.xaml"
                this.btn_cancel.Click += new System.Windows.RoutedEventHandler(this.Btn_cancel_Click);

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

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

            #line 52 "..\..\MainWindow.xaml"
                this.btnMenuExit.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnMenuExit_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 3:

            #line 55 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MenuItemSetting_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 4:

            #line 56 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MenuItemSetting_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 5:

            #line 57 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MenuItemSetting_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 6:

            #line 58 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MenuItemSetting_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 7:

            #line 59 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MenuItemSetting_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 60 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MenuItemSetting_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 9:

            #line 63 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MenuItemRun_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.tab1Column = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 11:
                this.tab2Column = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 12:
                this.tab3Column = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 14:
                this.wfCogDisplayMain1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

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

            case 16:
                this.wfCogDisplayMain2 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

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

            case 18:
                this.wfCogDisplayMain3 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

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

            case 20:
                this.wfCogDisplayMain4 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 21:

            #line 164 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LabelNextBackCamera_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            case 23:

            #line 167 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LabelNextBackCamera_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            #line 181 "..\..\MainWindow.xaml"
                this.btnSettingCameraInitial.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.BtnSettingSelect_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            #line 182 "..\..\MainWindow.xaml"
                this.btnSettingCalib.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.BtnSettingSelect_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            #line 183 "..\..\MainWindow.xaml"
                this.btnSettingAlign.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.BtnSettingSelect_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            #line 184 "..\..\MainWindow.xaml"
                this.btnSettingInspection.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.BtnSettingSelect_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            #line 185 "..\..\MainWindow.xaml"
                this.btnSaveJob.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.BtnSettingSelect_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

            #line 186 "..\..\MainWindow.xaml"
                this.btnSettingFinish.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.BtnSettingSelect_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 30:
                this.SettingsSmallGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 32:

            #line 205 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.radioModeImagebtn_MouseDown);

            #line default
            #line hidden
                return;

            case 33:

            #line 206 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.radioModeImagebtn_MouseDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 230 "..\..\MainWindow.xaml"
                this.btnTrainInspectionSettings.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.BtnTrainInspectionSettings_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 40:
                this.SSmallFinish = ((System.Windows.Controls.Grid)(target));
                return;

            case 41:
                this.gridSetting = ((System.Windows.Controls.Grid)(target));
                return;

            case 42:
                this.wfSettingPanel = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

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

            case 44:
                this.btnViewLog = ((System.Windows.Controls.Button)(target));

            #line 257 "..\..\MainWindow.xaml"
                this.btnViewLog.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btnViewLog_PreviewMouseDown);

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

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

            #line default
            #line hidden

            #line 4 "..\..\..\WMainWindow.xaml"
                ((GedcomViewCompare.WMainWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.rowMenu = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 3:
                this.rowInformation = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 5:
                this.rowDecorator = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 6:
                this.columnDecorator = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 7:
                this.GridColumn1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 8:
                this.GridColumn2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 9:
                this.GridColumn3 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 10:
                this.columnDecorator2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 11:
                this.menuFile = ((System.Windows.Controls.Menu)(target));
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

            #line 22 "..\..\..\WMainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.saveFiles_Click);

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:
                this.textBoxGDI1 = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

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

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

            #line 36 "..\..\..\WMainWindow.xaml"
                this.buttonSort.Click += new System.Windows.RoutedEventHandler(this.buttonSort_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\WMainWindow.xaml"
                this.buttonHighlight.Click += new System.Windows.RoutedEventHandler(this.buttonHighlight_Click);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\WMainWindow.xaml"
                this.buttonDiff.Click += new System.Windows.RoutedEventHandler(this.buttonDiff_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\WMainWindow.xaml"
                this.buttonIntersection.Click += new System.Windows.RoutedEventHandler(this.buttonIntersection_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\WMainWindow.xaml"
                this.buttonUnion.Click += new System.Windows.RoutedEventHandler(this.buttonUnion_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#52
0
        public static Grid CreateDynamicGrid(dynamic data)
        {
            Grid grid = new Grid()
            {
                ShowGridLines       = true,
                VerticalAlignment   = VerticalAlignment.Stretch,
                HorizontalAlignment = HorizontalAlignment.Stretch
            };

            if (data is IList list)
            {
                RowDefinition rowDef;
                rowDef = new RowDefinition()
                {
                    Height = new GridLength()
                };
                grid.RowDefinitions.Add(rowDef); // headers row

                for (int i = 0; i < list.Count; i++)
                {
                    rowDef = new RowDefinition()
                    {
                        Height = new GridLength()
                    };
                    grid.RowDefinitions.Add(rowDef);
                }

                if (list.Count > 0)
                {
                    ExpandoObject item = list[0] as ExpandoObject;
                    int           ii   = 0;
                    foreach (var column in item)
                    {
                        WPF.ColumnDefinition colDef = new WPF.ColumnDefinition()
                        {
                            Width = new GridLength(1, GridUnitType.Auto)
                        };
                        grid.ColumnDefinitions.Add(colDef);

                        TextBlock block = new TextBlock()
                        {
                            Text              = column.Key,
                            FontSize          = 14,
                            FontWeight        = FontWeights.Bold,
                            VerticalAlignment = VerticalAlignment.Top
                        };
                        Grid.SetRow(block, 0);
                        Grid.SetColumn(block, ii);
                        grid.Children.Add(block);
                        ii++;
                    }
                }
                int r = 0;
                int c = 0;
                foreach (ExpandoObject obj in list)
                {
                    r++;
                    foreach (var item in obj)
                    {
                        TextBlock block = new TextBlock()
                        {
                            Text              = item.Value == null ? string.Empty : item.Value.ToString(),
                            FontSize          = 14,
                            VerticalAlignment = VerticalAlignment.Center
                        };
                        Grid.SetRow(block, r);
                        Grid.SetColumn(block, c);
                        grid.Children.Add(block);
                        c++;
                    }
                }
            }

            return(grid);
        }
示例#53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window1 = ((ЗАГС_ЕИИС.MainWindow)(target));

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\MainWindow.xaml"
                this.menu1_Copy.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.menu1_Copy_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 9:
                this.StatusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

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

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

            #line 62 "..\..\..\MainWindow.xaml"
                this.gridSplitter1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.gridSplitter1_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 158 "..\..\..\MainWindow.xaml"
                this.dataGrid2.AutoGeneratingColumn += new System.EventHandler <System.Windows.Controls.DataGridAutoGeneratingColumnEventArgs>(this.dataGrid2_AutoGeneratingColumn);

            #line default
            #line hidden
                return;

            case 33:
                this.dataGrid5 = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 38:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 7 "..\..\..\..\View\Settings\uc_packageBookSetting.xaml"
                ((POS.View.Settings.uc_packageBookSetting)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\View\Settings\uc_packageBookSetting.xaml"
                ((POS.View.Settings.uc_packageBookSetting)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 172 "..\..\..\..\View\Settings\uc_packageBookSetting.xaml"
                this.btn_serials.Click += new System.Windows.RoutedEventHandler(this.Btn_serials_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 28:
                this.col_extend = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 29:
                this.col_upgrade = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            #line 228 "..\..\..\..\View\Settings\uc_packageBookSetting.xaml"
                this.btn_extend.Click += new System.Windows.RoutedEventHandler(this.Btn_extend_Click);

            #line default
            #line hidden
                return;

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

            #line 233 "..\..\..\..\View\Settings\uc_packageBookSetting.xaml"
                this.btn_upgrade.Click += new System.Windows.RoutedEventHandler(this.Btn_upgrade_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            case 40:
                this.dpnl_store = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

            case 46:
                this.dpnl_user = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

            case 52:
                this.dpnl_pos = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

            case 58:
                this.dpnl_customer = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

            case 64:
                this.dpnl_vendor = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

            case 70:
                this.dpnl_salesInv = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

            case 76:
                this.dpnl_item = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            case 80:
                this.txt_itemUnlimited = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Prototype_05.InstanceDetailWidget)(target));
                return;

            case 2:
                this.RootSurfaceButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

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

            case 4:
                this.Column2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 5:
                this.ChangeStateButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 6:
                this.ShowInfosButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 18:
                this.ProgressWarningText = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window1 = ((TechnoFriend.MainWindow)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.window1.StateChanged += new System.EventHandler(this.Window1_StateChanged);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 3:

            #line 81 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown_1);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

            #line 136 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line 147 "..\..\MainWindow.xaml"
                this.tabcontrol.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.statustab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 12:
                this.col0 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 14:
                this.status_list = ((System.Windows.Controls.ListBox)(target));

            #line 206 "..\..\MainWindow.xaml"
                this.status_list.Loaded += new System.Windows.RoutedEventHandler(this.Status_list_Loaded);

            #line default
            #line hidden
                return;

            case 19:
                this.definetab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 20:
                this.row1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 21:
                this.define_list = ((System.Windows.Controls.ListBox)(target));
                return;

            case 31:

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

            #line default
            #line hidden
                return;

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

            #line 531 "..\..\MainWindow.xaml"
                this.speedTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            case 34:
                this.settingstab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 564 "..\..\MainWindow.xaml"
                this.path.Loaded += new System.Windows.RoutedEventHandler(this.Path_Loaded);

            #line default
            #line hidden

            #line 569 "..\..\MainWindow.xaml"
                this.path.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Path_TextChanged);

            #line default
            #line hidden
                return;

            case 36:

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

            #line default
            #line hidden
                return;

            case 37:
                this.schedtab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 38:
                this.selection = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 39:
                this.schedcombo = ((System.Windows.Controls.ComboBox)(target));

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 44:
                this.overridecb = ((System.Windows.Controls.CheckBox)(target));

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            #line 648 "..\..\MainWindow.xaml"
                this.overridespeed.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Overridespeed_TextChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.checkpic = ((System.Windows.Controls.Image)(target));

            #line 667 "..\..\MainWindow.xaml"
                this.checkpic.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Checkpic_MouseDown);

            #line default
            #line hidden
                return;

            case 47:
                this.datecb = ((System.Windows.Controls.CheckBox)(target));

            #line 672 "..\..\MainWindow.xaml"
                this.datecb.Checked += new System.Windows.RoutedEventHandler(this.Datecb_Checked);

            #line default
            #line hidden

            #line 674 "..\..\MainWindow.xaml"
                this.datecb.Unchecked += new System.Windows.RoutedEventHandler(this.Datecb_Unchecked);

            #line default
            #line hidden
                return;

            case 48:
                this.dateofrun = ((System.Windows.Controls.DatePicker)(target));

            #line 683 "..\..\MainWindow.xaml"
                this.dateofrun.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dateofrun_SelectedDateChanged);

            #line default
            #line hidden

            #line 686 "..\..\MainWindow.xaml"
                this.dateofrun.Loaded += new System.Windows.RoutedEventHandler(this.Dateofrun_Loaded);

            #line default
            #line hidden
                return;

            case 49:
                this.timeofrun = ((Xceed.Wpf.Toolkit.TimePicker)(target));

            #line 700 "..\..\MainWindow.xaml"
                this.timeofrun.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.Timeofrun_ValueChanged);

            #line default
            #line hidden
                return;

            case 50:
                this.selectall = ((System.Windows.Controls.CheckBox)(target));

            #line 724 "..\..\MainWindow.xaml"
                this.selectall.Checked += new System.Windows.RoutedEventHandler(this.Selectall_Checked);

            #line default
            #line hidden

            #line 725 "..\..\MainWindow.xaml"
                this.selectall.Unchecked += new System.Windows.RoutedEventHandler(this.Selectall_Unchecked);

            #line default
            #line hidden
                return;

            case 51:
                this.tasksselector = ((System.Windows.Controls.ListBox)(target));

            #line 731 "..\..\MainWindow.xaml"
                this.tasksselector.Loaded += new System.Windows.RoutedEventHandler(this.Tasksselector_Loaded);

            #line default
            #line hidden
                return;

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

            #line 763 "..\..\MainWindow.xaml"
                this.startButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

            #line default
            #line hidden
                return;

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

            #line 768 "..\..\MainWindow.xaml"
                this.stopButton.Click += new System.Windows.RoutedEventHandler(this.StopButton_Click);

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 8 "..\..\MainWindow.xaml"
                this.main_Form.KeyDown += new System.Windows.Input.KeyEventHandler(this.main_Form_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

            case 5:

            #line 331 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReporteFactura);

            #line default
            #line hidden
                return;

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

            case 7:

            #line 334 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReporteResumen);

            #line default
            #line hidden
                return;

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

            case 9:

            #line 337 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReporteBoleta);

            #line default
            #line hidden
                return;

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

            case 11:

            #line 340 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReporteBaja);

            #line default
            #line hidden
                return;

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

            case 13:

            #line 343 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReporteRetencion);

            #line default
            #line hidden
                return;

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

            case 15:

            #line 346 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReportGeneral);

            #line default
            #line hidden
                return;

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

            case 17:

            #line 361 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkFacturaSunat);

            #line default
            #line hidden
                return;

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

            case 19:

            #line 364 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkFacturaAlerta);

            #line default
            #line hidden
                return;

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

            case 21:

            #line 379 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkResumenDiarioGenerar);

            #line default
            #line hidden
                return;

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

            case 23:

            #line 382 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkResumenDiarioSunat);

            #line default
            #line hidden
                return;

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

            case 25:

            #line 385 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkResumenDiarioAlerta);

            #line default
            #line hidden
                return;

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

            case 27:

            #line 400 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkComunicacionGenerar);

            #line default
            #line hidden
                return;

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

            case 29:

            #line 403 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkComunicacionSunat);

            #line default
            #line hidden
                return;

            case 30:
                this.lblItem14 = ((System.Windows.Controls.Label)(target));
                return;

            case 31:

            #line 419 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkRetencionEnvio);

            #line default
            #line hidden
                return;

            case 32:
                this.lblItem15 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:

            #line 422 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkRetencionAlertas);

            #line default
            #line hidden
                return;

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

            case 35:

            #line 438 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReversionGenerar);

            #line default
            #line hidden
                return;

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

            case 37:

            #line 441 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReversionSunat);

            #line default
            #line hidden
                return;

            case 38:
                this.lblItem30 = ((System.Windows.Controls.Label)(target));
                return;

            case 39:

            #line 460 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReceptorValidar);

            #line default
            #line hidden
                return;

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

            case 41:

            #line 463 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkReceptorCompras);

            #line default
            #line hidden
                return;

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

            case 43:
                this.btnConfigurarDB = ((System.Windows.Documents.Hyperlink)(target));

            #line 479 "..\..\MainWindow.xaml"
                this.btnConfigurarDB.Click += new System.Windows.RoutedEventHandler(this.btnConfigurarDB_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.lblItem18 = ((System.Windows.Controls.Label)(target));
                return;

            case 45:

            #line 482 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkConfiguracionEmpresa);

            #line default
            #line hidden
                return;

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

            case 47:

            #line 485 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkConfiguracionUsuario);

            #line default
            #line hidden
                return;

            case 48:
                this.lblItem20 = ((System.Windows.Controls.Label)(target));
                return;

            case 49:

            #line 488 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkConfiguracionPermisos);

            #line default
            #line hidden
                return;

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

            case 51:

            #line 505 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkConfiguracionGenbackup);

            #line default
            #line hidden
                return;

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

            case 53:

            #line 508 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkConfiguracionRestbackup);

            #line default
            #line hidden
                return;

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

            case 55:

            #line 511 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkConfiguracionRuta);

            #line default
            #line hidden
                return;

            case 56:
                this.lblItem24 = ((System.Windows.Controls.Label)(target));
                return;

            case 57:

            #line 514 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkConfiguracionEstructura);

            #line default
            #line hidden
                return;

            case 58:
                this.lblItem32 = ((System.Windows.Controls.Label)(target));
                return;

            case 59:

            #line 517 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkTransferenciaDatos);

            #line default
            #line hidden
                return;

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

            case 61:

            #line 520 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkConfiguracionLicencia);

            #line default
            #line hidden
                return;

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

            case 63:

            #line 536 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkAyuda);

            #line default
            #line hidden
                return;

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

            case 65:

            #line 539 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkAcercaDe);

            #line default
            #line hidden
                return;

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

            case 67:

            #line 542 "..\..\MainWindow.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).Click += new System.Windows.RoutedEventHandler(this.clkCertificadoDigital);

            #line default
            #line hidden
                return;

            case 68:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 69:
                this.pageContainer = ((System.Windows.Controls.Frame)(target));

            #line 566 "..\..\MainWindow.xaml"
                this.pageContainer.LoadCompleted += new System.Windows.Navigation.LoadCompletedEventHandler(this.pageContainer_LoadCompleted);

            #line default
            #line hidden
                return;

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

            case 71:
                this.lblUsuario = ((System.Windows.Controls.Label)(target));
                return;

            case 72:
                this.btnCerrarSesion = ((System.Windows.Controls.Button)(target));

            #line 582 "..\..\MainWindow.xaml"
                this.btnCerrarSesion.Click += new System.Windows.RoutedEventHandler(this.btnCerrarSesion_Click);

            #line default
            #line hidden
                return;

            case 73:
                this.imageButton = ((System.Windows.Controls.Image)(target));
                return;

            case 74:
                this.TextBoton = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mazeWindow = ((TheMaze.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.mazeWindow.KeyDown += new System.Windows.Input.KeyEventHandler(this.OnKeyDownHandler);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.mazePlace = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 53 "..\..\MainWindow.xaml"
                this.mazeRows.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.MazeSizeTextBox);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\MainWindow.xaml"
                this.mazeCols.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.MazeSizeTextBox);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 18:
                this.timer = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ServerGameplay_window = ((Jiu_Jitsu_Assistant.ServerGameplay)(target));
                return;

            case 2:
                this.gameplayColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

            #line 26 "..\..\ServerGameplay.xaml"
                this.newRoundButton.Click += new System.Windows.RoutedEventHandler(this.startNewGameplay);

            #line default
            #line hidden

            #line 26 "..\..\ServerGameplay.xaml"
                this.newRoundButton.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.newRoundButton_IsEnabledChanged);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\ServerGameplay.xaml"
                this.resetButton.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.newRoundButton_IsEnabledChanged);

            #line default
            #line hidden
                return;

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

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

            case 9:
                this.selectedTime_textbox = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));

            #line 46 "..\..\ServerGameplay.xaml"
                this.selectedTime_textbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.timeTextBoxChanged);

            #line default
            #line hidden
                return;

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

            case 11:
                this.opponentSetupTimeMin_textBox = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));

            #line 48 "..\..\ServerGameplay.xaml"
                this.opponentSetupTimeMin_textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.timeTextBoxChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.gi_radioButton = ((System.Windows.Controls.RadioButton)(target));

            #line 49 "..\..\ServerGameplay.xaml"
                this.gi_radioButton.Checked += new System.Windows.RoutedEventHandler(this.gi_radioButton_Checked);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\ServerGameplay.xaml"
                this.nogi_radioButton.Checked += new System.Windows.RoutedEventHandler(this.nogi_radioButton_Checked);

            #line default
            #line hidden
                return;

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

            case 15:
                this.opponentSetupTimeMax_textBox = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));

            #line 52 "..\..\ServerGameplay.xaml"
                this.opponentSetupTimeMax_textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.timeTextBoxChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 19:
                this.lastTechniqueLabel = ((System.Windows.Controls.AccessText)(target));
                return;

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

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

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

            case 23:
                this.opponentLastTechniqueLabel = ((System.Windows.Controls.AccessText)(target));
                return;

            case 24:
                this.setup_textBox = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));

            #line 72 "..\..\ServerGameplay.xaml"
                this.setup_textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.enableTechniques);

            #line default
            #line hidden
                return;

            case 25:
                this.helper_textBox = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
                return;

            case 26:
                this.helper_textBox2 = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
                return;

            case 27:
                this.buttonsGrid = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 2:
                this.objMainPanelCol = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            #line 70 "..\..\..\MainWindow.xaml"
                this.sliderExClockRatio.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliderExClockRatio_ValueChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 11:
                this.MainMap = ((TDSClient.GMapEx)(target));
                return;
            }
            this._contentLoaded = true;
        }