コード例 #1
1
        public override bool AttachControl(FilterPropertiesControl control)
        {
            Control = control;

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

            CheckBox distinctEdgesCheckBox = new CheckBox();
            TextBlock textBlock = new TextBlock {Text = AppResources.DistinctEdges};
            distinctEdgesCheckBox.Content = textBlock;
            distinctEdgesCheckBox.IsChecked = _cartoonFilter.DistinctEdges;
            distinctEdgesCheckBox.Checked += distinctEdgesCheckBox_Checked;
            distinctEdgesCheckBox.Unchecked += distinctEdgesCheckBox_Unchecked;
            Grid.SetRow(distinctEdgesCheckBox, rowIndex++);

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

            grid.Children.Add(distinctEdgesCheckBox);

            control.ControlsContainer.Children.Add(grid);

            return true;
        }
コード例 #2
1
        public override bool AttachControl(FilterPropertiesControl control)
        {
            Control = control;

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

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

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


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

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

            control.ControlsContainer.Children.Add(grid);

            return true;
        }
コード例 #3
0
        public override bool AttachControl(FilterPropertiesControl control)
        {
            Control = control;

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

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

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

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

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

            control.ControlsContainer.Children.Add(grid);

            return true;
        }
コード例 #4
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;
        }
コード例 #5
0
ファイル: GameLayer.cs プロジェクト: JeroenEgelmeers/Sokoban
        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;
        }
コード例 #6
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);
                }
            }
        }
コード例 #7
0
    public bool Contains(RowDefinition row)
    {
      if (row == null)
      {
        throw new ArgumentNullException("row");
      }

      return List.Contains(row);
    }
コード例 #8
0
    public void CopyTo(RowDefinition[] array, int arrayIndex)
    {
      if (array == null)
      {
        throw new ArgumentNullException("array");
      }

      List.CopyTo(array, arrayIndex);
    }
コード例 #9
0
    public int IndexOf(RowDefinition row)
    {
      if (row == null)
      {
        throw new ArgumentNullException("row");
      }

      return List.IndexOf(row);
    }
コード例 #10
0
    public void Insert(int index, RowDefinition row)
    {
      if (row == null)
      {
        throw new ArgumentNullException("row");
      }

      List.Insert(index, row);
    }
コード例 #11
0
    public void Add(RowDefinition row)
    {
      if (row == null)
      {
        throw new ArgumentNullException("row");
      }

      List.Add(row);
    }
コード例 #12
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._candidatesParaRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #13
0
        public override bool AttachControl(FilterPropertiesControl control)
        {
            Control = control;

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

            TextBlock sketchModeText = new TextBlock();
            sketchModeText.Text = AppResources.SketchMode;
            Grid.SetRow(sketchModeText, rowIndex++);

            RadioButton grayRadioButton = new RadioButton();
            grayRadioButton.GroupName = SketchModeGroup;
            TextBlock textBlock = new TextBlock();
            textBlock.Text = AppResources.Gray;
            grayRadioButton.Content = textBlock;
            grayRadioButton.Checked += grayRadioButton_Checked;
            Grid.SetRow(grayRadioButton, rowIndex++);

            RadioButton colorRadioButton = new RadioButton();
            colorRadioButton.GroupName = SketchModeGroup;
            textBlock = new TextBlock();
            textBlock.Text = AppResources.Color;
            colorRadioButton.Content = textBlock;
            colorRadioButton.Checked += colorRadioButton_Checked;
            Grid.SetRow(colorRadioButton, rowIndex++);

            if (_sketchFilter.SketchMode == SketchMode.Gray)
            {
                grayRadioButton.IsChecked = true;
            }
            else
            {
                colorRadioButton.IsChecked = true;
            }

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

            grid.Children.Add(sketchModeText);
            grid.Children.Add(grayRadioButton);
            grid.Children.Add(colorRadioButton);

            control.ControlsContainer.Children.Add(grid);

            return true;
        }
コード例 #14
0
ファイル: GameListViewItem.cs プロジェクト: raven-ie/MASGAU
        public GameListViewItem()
        {
            gameTitle.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;

            monitorCheck.VerticalAlignment = System.Windows.VerticalAlignment.Center;
            monitorCheck.HorizontalAlignment = System.Windows.HorizontalAlignment.Center;

            gameVersion.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            gameVersion.HorizontalContentAlignment = System.Windows.HorizontalAlignment.Right;

            gameVersion.Padding = new System.Windows.Thickness(0);
            gameTitle.Padding = new System.Windows.Thickness(0);

            gameGrid.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            gameGrid.Margin = new System.Windows.Thickness(0);

            gameTitle.Margin = new System.Windows.Thickness(0);
            gameVersion.Margin = new System.Windows.Thickness(0);

            ColumnDefinition col = new ColumnDefinition();
            col.Width = new System.Windows.GridLength(1, System.Windows.GridUnitType.Star);
            gameGrid.ColumnDefinitions.Add(col);

            col = new ColumnDefinition();
            col.Width = new System.Windows.GridLength(1, System.Windows.GridUnitType.Star);
            gameGrid.ColumnDefinitions.Add(col);

            monitorColumn.Width = new System.Windows.GridLength(50, System.Windows.GridUnitType.Pixel);
            gameGrid.ColumnDefinitions.Add(monitorColumn);

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

            Grid.SetColumn(gameTitle, 0);
            Grid.SetRow(gameTitle, 0);
            Grid.SetColumn(gameVersion, 1);
            Grid.SetRow(gameVersion, 0);
            Grid.SetColumn(monitorCheck, 2);
            Grid.SetRow(monitorCheck, 0);

            gameGrid.Children.Add(gameTitle);
            gameGrid.Children.Add(gameVersion);
            gameGrid.Children.Add(monitorCheck);

            Content = gameGrid;
        }
コード例 #15
0
    public bool Remove(RowDefinition row)
    {
      if (row == null)
      {
        throw new ArgumentNullException("row");
      }

      if (List.Contains(row) == false)
      {
        return false;
      }

      List.Remove(row);

      return true;
    }
コード例 #16
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/PeopleSelectorDialog.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.gridEditFields = ((System.Windows.Controls.Grid)(this.FindName("gridEditFields")));
     this.rowSearchBox = ((System.Windows.Controls.RowDefinition)(this.FindName("rowSearchBox")));
     this.rowResultsDisplay = ((System.Windows.Controls.RowDefinition)(this.FindName("rowResultsDisplay")));
     this.rowOkancel = ((System.Windows.Controls.RowDefinition)(this.FindName("rowOkancel")));
     this.txtSearch = ((System.Windows.Controls.TextBox)(this.FindName("txtSearch")));
     this.btnSearch = ((System.Windows.Controls.Button)(this.FindName("btnSearch")));
     this.gridPeopleResults = ((System.Windows.Controls.DataGrid)(this.FindName("gridPeopleResults")));
     this.colDisplayName = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("colDisplayName")));
     this.brid = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("brid")));
     this.colEmail = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("colEmail")));
     this.colAccountName = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("colAccountName")));
     this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
     this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator")));
 }
コード例 #17
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ctlDetop_Sharing = ((Desktop_Sharing.Presentation.ctlDesktop_Sharing)(target));
     return;
     case 2:
     this.grdMain = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.row1 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.row2 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 5:
     this.col1 = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 6:
     this.cnvTop = ((System.Windows.Controls.Canvas)(target));
     return;
     case 7:
     this.txtInput = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.lblResolution = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.lblUser_Desktop = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.btnView = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.btnControl = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.btnClose = ((System.Windows.Controls.Button)(target));
     return;
     case 13:
     this.desktopViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 14:
     this.imgUser_Desktop = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.myViewer = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 16:
     this.cnvDesktops = ((System.Windows.Controls.WrapPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ColorStack = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

            case 6:
                this.four = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

            case 10:
                this.cuatro = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

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

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

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

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

            case 18:
                this.fourth = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 20:
                this.kk = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 21:
                this.kkkk = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

            case 25:
                this.slider3 = ((System.Windows.Controls.Slider)(target));
                return;

            case 26:
                this.slider4 = ((System.Windows.Controls.Slider)(target));
                return;

            case 27:
                this.Alpha = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 30:
                this.Blue = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #19
0
ファイル: MainWindow.g.i.cs プロジェクト: Liadi/plunge
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Checkers = ((Draught.MainWindow)(target));
                return;

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 10 "..\..\MainWindow.xaml"
                this.Board.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Board_MouseUp_1);

            #line default
            #line hidden
                return;

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

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

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

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

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

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

            case 11:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tableroIMG = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 22 "..\..\PartidaMultijugador.xaml"
                this.tirarBT.Click += new System.Windows.RoutedEventHandler(this.tirarBT_Click);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

            case 6:
                this.C1 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 7:
                this.C2 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 9:
                this.C4 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 10:
                this.C5 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 11:
                this.C6 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 12:
                this.C7 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 13:
                this.C8 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 14:
                this.C9 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

            case 16:
                this.R1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 17:
                this.R2 = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

            case 20:
                this.R5 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 21:
                this.R6 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 22:
                this.R7 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 23:
                this.R8 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 24:
                this.R9 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 25:
                this.R10 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 26:
                this.ficha1IMG = ((System.Windows.Controls.Image)(target));
                return;

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

            case 28:
                this.ficha3IMG = ((System.Windows.Controls.Image)(target));
                return;

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

            case 30:
                this.turnoLB = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            #line 69 "..\..\PartidaMultijugador.xaml"
                this.enviarBT.Click += new System.Windows.RoutedEventHandler(this.enviarTF_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.chatJuegoLB = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\StackerControl.xaml"
                ((WpfStackerLibrary.StackerControl)(target)).Initialized += new System.EventHandler(this.UserControl_Initialized);

            #line default
            #line hidden

            #line 8 "..\..\StackerControl.xaml"
                ((WpfStackerLibrary.StackerControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded_1);

            #line default
            #line hidden
                return;

            case 2:

            #line 10 "..\..\StackerControl.xaml"
                ((System.ComponentModel.BackgroundWorker)(target)).DoWork += new System.ComponentModel.DoWorkEventHandler(this.BackgroundWorker_DoWork);

            #line default
            #line hidden

            #line 10 "..\..\StackerControl.xaml"
                ((System.ComponentModel.BackgroundWorker)(target)).RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.BackgroundWorker_RunWorkerCompleted);

            #line default
            #line hidden
                return;

            case 3:
                this.stacker_left_panel = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

            case 7:
                this.stacker_rect = ((System.Windows.Controls.DockPanel)(target));

            #line 51 "..\..\StackerControl.xaml"
                this.stacker_rect.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.stacker_rails_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:
                this.StackerStyles = ((System.Windows.ResourceDictionary)(target));
                return;

            case 9:
                this.y_rect = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

            case 12:
                this.rack_right = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #22
0
ファイル: MainWindow.g.cs プロジェクト: njpanzarino/Kinect
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.OptionsRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 2:
     this.OptionsColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 3:
     this.checkBox_MotionType = ((System.Windows.Controls.CheckBox)(target));
     
     #line 21 "..\..\MainWindow.xaml"
     this.checkBox_MotionType.Checked += new System.Windows.RoutedEventHandler(this.checkBox_MotionType_Checked);
     
     #line default
     #line hidden
     
     #line 21 "..\..\MainWindow.xaml"
     this.checkBox_MotionType.Click += new System.Windows.RoutedEventHandler(this.checkBox_MotionType_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.checkBox1 = ((System.Windows.Controls.CheckBox)(target));
     
     #line 22 "..\..\MainWindow.xaml"
     this.checkBox1.Checked += new System.Windows.RoutedEventHandler(this.checkBox1_Checked);
     
     #line default
     #line hidden
     
     #line 22 "..\..\MainWindow.xaml"
     this.checkBox1.Click += new System.Windows.RoutedEventHandler(this.checkBox1_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 6:
     this.gridSplitter1 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 7:
     this.slider = ((System.Windows.Controls.Slider)(target));
     
     #line 31 "..\..\MainWindow.xaml"
     this.slider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.textBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     
     #line 34 "..\..\MainWindow.xaml"
     this.slider1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider1_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #23
0
ファイル: SimulateTracking.g.cs プロジェクト: RazaChohan/Cab9
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Prototype;component/SimulateTracking.xaml", System.UriKind.Relative));
     this.OK = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("OK")));
     this.Sms = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Sms")));
     this.Help = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Help")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.DirectionsTitleRowDefinition = ((System.Windows.Controls.RowDefinition)(this.FindName("DirectionsTitleRowDefinition")));
     this.DirectionsRowDefinition = ((System.Windows.Controls.RowDefinition)(this.FindName("DirectionsRowDefinition")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.googlemap = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("googlemap")));
     this.street = ((Microsoft.Phone.Controls.Maps.MapTileLayer)(this.FindName("street")));
     this.ModePanel = ((System.Windows.Controls.Grid)(this.FindName("ModePanel")));
     this.texts = ((System.Windows.Controls.StackPanel)(this.FindName("texts")));
     this.LatitudeTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("LatitudeTextBlock")));
     this.LongitudeTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("LongitudeTextBlock")));
     this.Address = ((System.Windows.Controls.TextBlock)(this.FindName("Address")));
     this.zzoom = ((Telerik.Windows.Controls.RadNumericUpDown)(this.FindName("zzoom")));
 }
コード例 #24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.ribbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.ribbon.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ribbon_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.tab_users = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

            case 5:
                this.menu_addUser = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

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

            #line default
            #line hidden
                return;

            case 6:
                this.menu_deleteUser = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

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

            #line default
            #line hidden
                return;

            case 7:
                this.tab_organization = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

            case 8:
                this.menu_chooseBoss = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

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

            #line default
            #line hidden
                return;

            case 9:
                this.menu_addChild = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

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

            #line default
            #line hidden
                return;

            case 10:
                this.menu_deleteChild = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));

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

            #line default
            #line hidden
                return;

            case 11:
                this.grid_content = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));

            #line 21 "..\..\SearchEmployee.xaml"
                this.dialogHost.DialogClosing += new MaterialDesignThemes.Wpf.DialogClosingEventHandler(this.dialogHost_DialogClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.treeView = ((System.Windows.Controls.TreeView)(target));
                return;

            case 3:
                this.rowDataGridView = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

            #line 126 "..\..\SearchEmployee.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\SearchEmployee.xaml"
                this.btnExportExcel.Click += new System.Windows.RoutedEventHandler(this.btnExportExcel_Click);

            #line default
            #line hidden
                return;

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

            #line 128 "..\..\SearchEmployee.xaml"
                this.btnImportExcel.Click += new System.Windows.RoutedEventHandler(this.btnImportExcel_Click);

            #line default
            #line hidden
                return;

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

            #line 129 "..\..\SearchEmployee.xaml"
                this.btnSelectNew.Click += new System.Windows.RoutedEventHandler(this.btnSelect_Click);

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\SearchEmployee.xaml"
                this.btnSelectImport.Click += new System.Windows.RoutedEventHandler(this.btnSelect_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #26
0
ファイル: MedipacLogin.g.i.cs プロジェクト: jkaran/ela_aid
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MedipacLogin.xaml"
                ((Agent.Interaction.Desktop.MedipacLogin)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 6 "..\..\..\MedipacLogin.xaml"
                ((Agent.Interaction.Desktop.MedipacLogin)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden
                return;

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

            case 3:
                this.mainRowHeader = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

            case 7:

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

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\MedipacLogin.xaml"
                this.image1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 9:

            #line 36 "..\..\..\MedipacLogin.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\MedipacLogin.xaml"
                this.loginTitle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\..\MedipacLogin.xaml"
                this.loginTitleversion.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 17:
                this.txtInfoNetPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 18:
                this.gbMedipac = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

            case 22:
                this.txtMediPacPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 23:
                this.cbxKeepPlace = ((System.Windows.Controls.CheckBox)(target));

            #line 94 "..\..\..\MedipacLogin.xaml"
                this.cbxKeepPlace.Checked += new System.Windows.RoutedEventHandler(this.cbxKeepPlace_Checked);

            #line default
            #line hidden

            #line 94 "..\..\..\MedipacLogin.xaml"
                this.cbxKeepPlace.Unchecked += new System.Windows.RoutedEventHandler(this.cbxKeepPlace_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\..\MedipacLogin.xaml"
                this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\..\MedipacLogin.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

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

            #line 21 "..\..\Mainframe.xaml"
                ((LogicCircuit.Mainframe)(target)).AddHandler(System.Windows.Input.Keyboard.KeyDownEvent, new System.Windows.Input.KeyEventHandler(this.WindowKeyDown));

            #line default
            #line hidden

            #line 22 "..\..\Mainframe.xaml"
                ((LogicCircuit.Mainframe)(target)).AddHandler(System.Windows.Input.Keyboard.KeyUpEvent, new System.Windows.Input.KeyEventHandler(this.WindowKeyUp));

            #line default
            #line hidden
                return;

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

            case 3:
                this.runningTree = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 5:

            #line 176 "..\..\Mainframe.xaml"
                ((System.Windows.Controls.TreeView)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.RunningMapDoubleClick);

            #line default
            #line hidden

            #line 177 "..\..\Mainframe.xaml"
                ((System.Windows.Controls.TreeView)(target)).SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.RunningMapTreeViewSelectedItemChanged);

            #line default
            #line hidden
                return;

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

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

            #line 620 "..\..\Mainframe.xaml"
                this.DiagramScroll.LostFocus += new System.Windows.RoutedEventHandler(this.DiagramLostFocus);

            #line default
            #line hidden

            #line 620 "..\..\Mainframe.xaml"
                this.DiagramScroll.LostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.DiagramLostKeyboardFocus);

            #line default
            #line hidden
                return;

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

            #line 628 "..\..\Mainframe.xaml"
                this.Diagram.DragOver += new System.Windows.DragEventHandler(this.DiagramDragOver);

            #line default
            #line hidden

            #line 629 "..\..\Mainframe.xaml"
                this.Diagram.Drop += new System.Windows.DragEventHandler(this.DiagramDrop);

            #line default
            #line hidden

            #line 630 "..\..\Mainframe.xaml"
                this.Diagram.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DiagramMouseDown);

            #line default
            #line hidden

            #line 631 "..\..\Mainframe.xaml"
                this.Diagram.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.DiagramMouseUp);

            #line default
            #line hidden

            #line 632 "..\..\Mainframe.xaml"
                this.Diagram.MouseMove += new System.Windows.Input.MouseEventHandler(this.DiagramMouseMove);

            #line default
            #line hidden

            #line 633 "..\..\Mainframe.xaml"
                this.Diagram.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.DiagramMouseWheel);

            #line default
            #line hidden

            #line 634 "..\..\Mainframe.xaml"
                this.Diagram.LostFocus += new System.Windows.RoutedEventHandler(this.DiagramLostFocus);

            #line default
            #line hidden

            #line 635 "..\..\Mainframe.xaml"
                this.Diagram.LostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.DiagramLostKeyboardFocus);

            #line default
            #line hidden
                return;

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

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

            case 12:

            #line 704 "..\..\Mainframe.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PowerButtonMouseDown);

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

            #line 5 "..\..\..\Forms\MessageBox.xaml"
                ((Pointel.Interactions.Email.Forms.MessageBox)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 6 "..\..\..\Forms\MessageBox.xaml"
                ((Pointel.Interactions.Email.Forms.MessageBox)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\Forms\MessageBox.xaml"
                ((Pointel.Interactions.Email.Forms.MessageBox)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden

            #line 6 "..\..\..\Forms\MessageBox.xaml"
                ((Pointel.Interactions.Email.Forms.MessageBox)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 22 "..\..\..\Forms\MessageBox.xaml"
                this.lblTitle.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lblTitle_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 36 "..\..\..\Forms\MessageBox.xaml"
                this.btn_right.Click += new System.Windows.RoutedEventHandler(this.btn_right_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\..\Forms\MessageBox.xaml"
                this.btn_left.Click += new System.Windows.RoutedEventHandler(this.btn_left_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #29
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.ExpressionTextBoxRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 3:
                this.AvailableFunctions = ((CalculatorExample.Controls.AvailableFunctionsTreeView)(target));
                return;

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

            #line 39 "..\..\..\Controls\AdvancedFilter.xaml"
                this.AvailableFields.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.AvailableFields_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 5:
                this.TestWindow = ((CalculatorExample.Controls.ExpressionTextBox)(target));
                return;

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

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

            #line 46 "..\..\..\Controls\AdvancedFilter.xaml"
                this.IsCaseSensitive.Unchecked += new System.Windows.RoutedEventHandler(this.IsCaseSensitive_Unchecked);

            #line default
            #line hidden

            #line 46 "..\..\..\Controls\AdvancedFilter.xaml"
                this.IsCaseSensitive.Checked += new System.Windows.RoutedEventHandler(this.IsCaseSensitive_Checked);

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\..\Controls\AdvancedFilter.xaml"
                this.CmdErrorLog.Click += new System.Windows.RoutedEventHandler(this.CmdErrorLog_Click);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\Controls\AdvancedFilter.xaml"
                this.CmdExecute.Click += new System.Windows.RoutedEventHandler(this.CmdExecute_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\Controls\AdvancedFilter.xaml"
                this.CmdClose.Click += new System.Windows.RoutedEventHandler(this.CmdClose_Click);

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

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

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

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

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

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

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

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

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

            case 10:
                this.Password = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 11:
                this.ConnetionTimeOut = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 12:
                this.CommandTimeOut = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

            case 15:
                this.btnSave = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #31
0
ファイル: ctlGrid.g.cs プロジェクト: jiangguang5201314/VMukti
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CtlGrid = ((VMuktiGrid.CustomGrid.ctlGrid)(target));
     return;
     case 2:
     this.DocumentRoot = ((System.Windows.Controls.Grid)(target));
     
     #line 17 "..\..\..\..\..\Controls\VMuktiGrid\Grid\ctlGrid.xaml"
     this.DocumentRoot.SizeChanged += new System.Windows.SizeChangedEventHandler(this.DocumentRoot_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.rowOne = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.rowTwo = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 5:
     this.rowThree = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 6:
     this.rowFour = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 7:
     this.TopPanelContainer = ((System.Windows.Controls.ItemsControl)(target));
     
     #line 34 "..\..\..\..\..\Controls\VMuktiGrid\Grid\ctlGrid.xaml"
     this.TopPanelContainer.PreviewDragEnter += new System.Windows.DragEventHandler(this.TopPanelContainer_PreviewDragEnter);
     
     #line default
     #line hidden
     return;
     case 8:
     this.LeftPanelContainer = ((System.Windows.Controls.ItemsControl)(target));
     
     #line 39 "..\..\..\..\..\Controls\VMuktiGrid\Grid\ctlGrid.xaml"
     this.LeftPanelContainer.PreviewDragEnter += new System.Windows.DragEventHandler(this.LeftPanelContainer_PreviewDragEnter);
     
     #line default
     #line hidden
     return;
     case 9:
     this.CentralPanelContainer = ((System.Windows.Controls.ItemsControl)(target));
     
     #line 44 "..\..\..\..\..\Controls\VMuktiGrid\Grid\ctlGrid.xaml"
     this.CentralPanelContainer.PreviewDragEnter += new System.Windows.DragEventHandler(this.CentralPanelContainer_PreviewDragEnter);
     
     #line default
     #line hidden
     return;
     case 10:
     this.RightPanelContainer = ((System.Windows.Controls.ItemsControl)(target));
     
     #line 49 "..\..\..\..\..\Controls\VMuktiGrid\Grid\ctlGrid.xaml"
     this.RightPanelContainer.PreviewDragEnter += new System.Windows.DragEventHandler(this.RightPanelContainer_PreviewDragEnter);
     
     #line default
     #line hidden
     return;
     case 11:
     this.BottomPanelContainer = ((System.Windows.Controls.ItemsControl)(target));
     
     #line 54 "..\..\..\..\..\Controls\VMuktiGrid\Grid\ctlGrid.xaml"
     this.BottomPanelContainer.PreviewDragEnter += new System.Windows.DragEventHandler(this.BottomPanelContainer_PreviewDragEnter);
     
     #line default
     #line hidden
     return;
     case 12:
     this.TopSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 13:
     this.TopSplitter_1 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 14:
     this.LeftSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 15:
     this.LeftSplitter_1 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 16:
     this.RightSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 17:
     this.RightSplitter_1 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 18:
     this.MiddleSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 19:
     this.MiddleSplitter_1 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 20:
     this.BottomSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 21:
     this.BottomSplitter_1 = ((System.Windows.Controls.GridSplitter)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._analysis_theme = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            #line 45 "..\..\..\Manager\SysTrendAnalysis.xaml"
                this._query.Click += new System.Windows.RoutedEventHandler(this._query_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\Manager\SysTrendAnalysis.xaml"
                this._export.Click += new System.Windows.RoutedEventHandler(this._export_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            case 13:
                this._tableview = ((FoodSafetyMonitoring.Manager.UserControls.UcTableView_NoTitle)(target));
                return;

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

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

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

            #line 105 "..\..\..\Manager\SysTrendAnalysis.xaml"
                this._image.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this._changeSize_MouseDown);

            #line default
            #line hidden

            #line 105 "..\..\..\Manager\SysTrendAnalysis.xaml"
                this._image.MouseEnter += new System.Windows.Input.MouseEventHandler(this._changeSize_MouseEnter);

            #line default
            #line hidden

            #line 105 "..\..\..\Manager\SysTrendAnalysis.xaml"
                this._image.MouseLeave += new System.Windows.Input.MouseEventHandler(this._changeSize_MouseLeave);

            #line default
            #line hidden
                return;

            case 17:
                this._chart = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #33
0
        private void AddPropertyPanel(Panel panel, PropertyItem pi, object instance, Tab tab)
        {
            // TODO: refactor this method - too long and complex...
            var propertyPanel = new Grid();
            if (!pi.FillTab)
            {
                propertyPanel.Margin = new Thickness(2);
            }

            var labelColumn = new System.Windows.Controls.ColumnDefinition
                                  {
                                      Width = GridLength.Auto,
                                      MinWidth = this.MinimumLabelWidth,
                                      MaxWidth = this.MaximumLabelWidth,
                                      SharedSizeGroup =
                                          this.LabelWidthSharing
                                          != LabelWidthSharing.NotShared
                                              ? "labelColumn"
                                              : null
                                  };

            propertyPanel.ColumnDefinitions.Add(labelColumn);
            propertyPanel.ColumnDefinitions.Add(new System.Windows.Controls.ColumnDefinition());
            var rd = new System.Windows.Controls.RowDefinition
                         {
                             Height =
                                 pi.FillTab
                                     ? new GridLength(1, GridUnitType.Star)
                                     : GridLength.Auto
                         };
            propertyPanel.RowDefinitions.Add(rd);

            var propertyLabel = this.CreateLabel(pi);
            var propertyControl = this.CreatePropertyControl(pi);
            if (propertyControl != null)
            {
                if (!double.IsNaN(pi.Width))
                {
                    propertyControl.Width = pi.Width;
                    propertyControl.HorizontalAlignment = HorizontalAlignment.Left;
                }

                if (!double.IsNaN(pi.Height))
                {
                    propertyControl.Height = pi.Height;
                }

                if (!double.IsNaN(pi.MinimumHeight))
                {
                    propertyControl.MinHeight = pi.MinimumHeight;
                }

                if (!double.IsNaN(pi.MaximumHeight))
                {
                    propertyControl.MaxHeight = pi.MaximumHeight;
                }

                if (pi.IsOptional)
                {
                    propertyControl.SetBinding(
                        IsEnabledProperty,
                        pi.OptionalDescriptor != null ? new Binding(pi.OptionalDescriptor.Name) : new Binding(pi.Descriptor.Name) { Converter = NullToBoolConverter });
                }

                if (pi.IsEnabledByRadioButton)
                {
                    propertyControl.SetBinding(
                        IsEnabledProperty,
                        new Binding(pi.RadioDescriptor.Name) { Converter = new EnumToBooleanConverter() { EnumType = pi.RadioDescriptor.PropertyType }, ConverterParameter = pi.RadioValue });
                }

                var dataErrorInfoInstance = instance as IDataErrorInfo;
                if (dataErrorInfoInstance != null)
                {
                    if (this.ValidationTemplate != null)
                    {
                        Validation.SetErrorTemplate(propertyControl, this.ValidationTemplate);
                    }

                    if (this.ValidationErrorStyle != null)
                    {
                        propertyControl.Style = this.ValidationErrorStyle;
                    }

                    var errorControl = new ContentControl
                                           {
                                               ContentTemplate = this.ValidationErrorTemplate,
                                               Focusable = false
                                           };
                    var errorConverter = new DataErrorInfoConverter(dataErrorInfoInstance, pi.PropertyName);
                    var visibilityBinding = new Binding(pi.PropertyName)
                                      {
                                          Converter = errorConverter,
                                          NotifyOnTargetUpdated = true,
                                          //                                          ValidatesOnDataErrors = false,
#if !NET40
                                          ValidatesOnNotifyDataErrors = false,
#endif
                                          //                                          ValidatesOnExceptions = false
                                      };
                    errorControl.SetBinding(VisibilityProperty, visibilityBinding);

                    // When the visibility of the error control is changed, updated the HasErrors of the tab
                    errorControl.TargetUpdated += (s, e) => tab.UpdateHasErrors(dataErrorInfoInstance);

                    var contentBinding = new Binding(pi.PropertyName)
                                             {
                                                 Converter = errorConverter,
                                                 //                                                 ValidatesOnDataErrors = false,
#if !NET40
                                                 ValidatesOnNotifyDataErrors = false,
#endif
                                                 //                                                 ValidatesOnExceptions = false
                                             };
                    errorControl.SetBinding(ContentControl.ContentProperty, contentBinding);

                    // Add a row to the panel
                    propertyPanel.RowDefinitions.Add(new System.Windows.Controls.RowDefinition { Height = GridLength.Auto });
                    propertyPanel.Children.Add(errorControl);
                    Grid.SetRow(errorControl, 1);
                    Grid.SetColumn(errorControl, 1);
                }

                Grid.SetColumn(propertyControl, 1);
            }

            var actualHeaderPlacement = pi.HeaderPlacement;

            var checkBoxPropertyControl = propertyControl as CheckBox;

            if (checkBoxPropertyControl != null)
            {
                if (this.CheckBoxLayout != CheckBoxLayout.Header)
                {
                    checkBoxPropertyControl.Content = propertyLabel;
                    propertyLabel = null;
                }

                if (this.CheckBoxLayout == CheckBoxLayout.CollapseHeader)
                {
                    actualHeaderPlacement = HeaderPlacement.Collapsed;
                }
            }

            switch (actualHeaderPlacement)
            {
                case HeaderPlacement.Hidden:
                    break;

                case HeaderPlacement.Collapsed:
                    {
                        if (propertyControl != null)
                        {
                            Grid.SetColumn(propertyControl, 0);
                            Grid.SetColumnSpan(propertyControl, 2);
                        }

                        break;
                    }

                default:
                    {
                        // create the label panel
                        var labelPanel = new DockPanel();
                        if (pi.HeaderPlacement == HeaderPlacement.Left)
                        {
                            DockPanel.SetDock(labelPanel, Dock.Left);
                        }
                        else
                        {
                            // Above
                            if (propertyControl != null)
                            {
                                propertyPanel.RowDefinitions.Add(new System.Windows.Controls.RowDefinition());
                                Grid.SetColumnSpan(labelPanel, 2);
                                Grid.SetRow(propertyControl, 1);
                                Grid.SetColumn(propertyControl, 0);
                                Grid.SetColumnSpan(propertyControl, 2);
                            }
                        }

                        propertyPanel.Children.Add(labelPanel);

                        if (propertyLabel != null)
                        {
                            DockPanel.SetDock(propertyLabel, Dock.Left);
                            labelPanel.Children.Add(propertyLabel);
                        }

                        if (this.ShowDescriptionIcons && this.DescriptionIcon != null)
                        {
                            if (!string.IsNullOrWhiteSpace(pi.Description))
                            {
                                var descriptionIconImage = new Image
                                                               {
                                                                   Source = this.DescriptionIcon,
                                                                   Stretch = Stretch.None,
                                                                   Margin = new Thickness(0, 4, 4, 4),
                                                                   VerticalAlignment = VerticalAlignment.Top,
                                                                   HorizontalAlignment =
                                                                       this.DescriptionIconAlignment
                                                               };

                                // RenderOptions.SetBitmapScalingMode(descriptionIconImage, BitmapScalingMode.NearestNeighbor);
                                labelPanel.Children.Add(descriptionIconImage);
                                if (!string.IsNullOrWhiteSpace(pi.Description))
                                {
                                    descriptionIconImage.ToolTip = this.CreateToolTip(pi.Description);
                                }
                            }
                        }
                        else
                        {
                            labelPanel.ToolTip = this.CreateToolTip(pi.Description);
                        }
                    }

                    break;
            }

            // add the property control
            if (propertyControl != null)
            {
                propertyPanel.Children.Add(propertyControl);
            }

            // Set the IsEnabled binding of the label
            if (pi.IsEnabledDescriptor != null && propertyLabel != null)
            {
                var isEnabledBinding = new Binding(pi.IsEnabledDescriptor.Name);
                if (pi.IsEnabledValue != null)
                {
                    isEnabledBinding.ConverterParameter = pi.IsEnabledValue;
                    isEnabledBinding.Converter = ValueToBooleanConverter;
                }

                propertyLabel.SetBinding(IsEnabledProperty, isEnabledBinding);
            }

            // Set the IsEnabled binding of the property control
            if (pi.IsEnabledDescriptor != null && propertyControl != null)
            {
                var isEnabledBinding = new Binding(pi.IsEnabledDescriptor.Name);
                if (pi.IsEnabledValue != null)
                {
                    isEnabledBinding.ConverterParameter = pi.IsEnabledValue;
                    isEnabledBinding.Converter = ValueToBooleanConverter;
                }

                var currentBindingExpression = propertyControl.GetBindingExpression(IsEnabledProperty);
                if (currentBindingExpression != null)
                {
                    var multiBinding = new MultiBinding();
                    multiBinding.Bindings.Add(isEnabledBinding);
                    multiBinding.Bindings.Add(currentBindingExpression.ParentBinding);
                    multiBinding.Converter = AllMultiValueConverter;
                    multiBinding.ConverterParameter = true;
                    propertyControl.SetBinding(IsEnabledProperty, multiBinding);
                }
                else
                {
                    propertyControl.SetBinding(IsEnabledProperty, isEnabledBinding);
                }
            }

            if (pi.IsVisibleDescriptor != null)
            {
                propertyPanel.SetBinding(
                    VisibilityProperty,
                    new Binding(pi.IsVisibleDescriptor.Name) { Converter = BoolToVisibilityConverter });
            }

            if (this.EnableLabelWidthResizing && pi.HeaderPlacement == HeaderPlacement.Left)
            {
                propertyPanel.Children.Add(
                    new GridSplitter
                        {
                            Width = 4,
                            Background = Brushes.Transparent,
                            HorizontalAlignment = HorizontalAlignment.Right,
                            Focusable = false
                        });
            }

            panel.Children.Add(propertyPanel);
        }
コード例 #34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main_Window = ((XMonitor_GUI.MainWindow)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.Main_Window.Closing += new System.ComponentModel.CancelEventHandler(this.MainWindowCosing);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                this.Main_Window.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                this.Main_Window.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.MainMap = ((GMap.NET.WindowsPresentation.GMapControl)(target));
                return;

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

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

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

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

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

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

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

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

            case 11:
                this.TimerName = ((ControlsUnit.TimerView)(target));
                return;

            case 12:
                this.BatteryName = ((ControlsUnit.BatteryView)(target));
                return;

            case 13:
                this.GPSName = ((ControlsUnit.GPSView)(target));
                return;

            case 14:
                this.LinkName = ((ControlsUnit.LinkView)(target));
                return;

            case 15:
                this.RCrecName = ((ControlsUnit.RCrecView)(target));
                return;

            case 16:
                this.ControlModeName = ((ControlsUnit.ControlModeView)(target));
                return;

            case 17:
                this.FlightModeName = ((ControlsUnit.FlightModeView)(target));
                return;

            case 18:
                this.SpeedName = ((ControlsUnit.SpeedView)(target));
                return;

            case 19:
                this.Altitude = ((ControlsUnit.UAVAltitude)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 114 "..\..\MainWindow.xaml"
                this.SendFlightPlan.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_FplaTrans);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\MainWindow.xaml"
                this.OpenFlightLog.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_FlogOpen);

            #line default
            #line hidden
                return;

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

            #line 118 "..\..\MainWindow.xaml"
                this.CloseFlightLog.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_FlogClose);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 120 "..\..\MainWindow.xaml"
                this.OpenExplorer.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_OpenExplorer);

            #line default
            #line hidden
                return;

            case 28:

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

            #line default
            #line hidden
                return;

            case 29:

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

            #line default
            #line hidden
                return;

            case 30:

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

            #line default
            #line hidden
                return;

            case 31:

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

            #line default
            #line hidden
                return;

            case 32:

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

            #line default
            #line hidden
                return;

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

            #line 134 "..\..\MainWindow.xaml"
                this.MarkerIcon.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MarkerIcon_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\MainWindow.xaml"
                this.TouchIcon.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TouchIconMouse);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\MainWindow.xaml"
                this.SettingIcon.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.SettingIconMouseLeftButton);

            #line default
            #line hidden
                return;

            case 36:
                this.GridLine = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 152 "..\..\MainWindow.xaml"
                this.canvas.Loaded += new System.Windows.RoutedEventHandler(this.canvas_Loaded);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            case 40:
                this.Dis1 = ((System.Windows.Shapes.Line)(target));
                return;

            case 41:
                this.Dis2 = ((System.Windows.Shapes.Line)(target));
                return;

            case 42:
                this.Dis3 = ((System.Windows.Shapes.Line)(target));
                return;

            case 43:
                this.DisName = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.User1 = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.User2 = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.User3 = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.User4 = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.PosSet = ((System.Windows.Controls.Label)(target));
                return;

            case 49:
                this.PosSpd = ((System.Windows.Controls.Label)(target));

            #line 186 "..\..\MainWindow.xaml"
                this.PosSpd.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.PosSpd_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            case 51:
                this.MapRotate = ((ControlsUnit.RotateAzimuthal)(target));

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

            #line default
            #line hidden

            #line 188 "..\..\MainWindow.xaml"
                this.MapRotate.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MapRotate_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 52:
                this.Container = ((WPF.MDI.MdiContainer)(target));

            #line 195 "..\..\MainWindow.xaml"
                this.Container.SizeChanged += new System.Windows.SizeChangedEventHandler(this.OptionAreaSizeChanged);

            #line default
            #line hidden
                return;

            case 53:
                this.cm = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 54:

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

            #line default
            #line hidden
                return;

            case 55:

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

            #line default
            #line hidden
                return;

            case 56:

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

            #line default
            #line hidden
                return;

            case 57:

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

            #line default
            #line hidden
                return;

            case 58:

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

            #line default
            #line hidden
                return;

            case 59:

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

            #line default
            #line hidden
                return;

            case 60:

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

            #line default
            #line hidden
                return;

            case 61:

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

            #line default
            #line hidden
                return;

            case 62:
                this.OptionGridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 63:
                this.ZoomName = ((ControlsUnit.MapZoom)(target));

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

            #line default
            #line hidden
                return;

            case 64:
                this.AlertMessageName = ((ControlsUnit.AlarmMessage)(target));
                return;

            case 65:
                this.PlayerSlide = ((ControlsUnit.TrimmingSlide)(target));

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

            #line default
            #line hidden
                return;

            case 66:
                this.test = ((System.Windows.Controls.TextBox)(target));
                return;

            case 67:
                this.TransmitWindow = ((System.Windows.Controls.Grid)(target));
                return;

            case 68:

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

            #line default
            #line hidden
                return;

            case 69:
                this.TransmitBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 70:

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

            #line default
            #line hidden
                return;

            case 71:

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

            #line default
            #line hidden
                return;

            case 72:
                this.WaitWindow = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 75:

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

            #line default
            #line hidden
                return;

            case 76:

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

            #line default
            #line hidden
                return;

            case 77:

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

            #line default
            #line hidden
                return;

            case 78:

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

            #line default
            #line hidden
                return;

            case 79:
                this.me1 = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 80:
                this.me2 = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 81:
                this.SendSound = ((System.Windows.Controls.MediaElement)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Toolbar = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

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

            case 6:
                this.XMLafter = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

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

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

            case 11:
                this.Title = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 12:
                this.Input = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

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

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

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

            case 19:

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

            #line default
            #line hidden
                return;

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

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

            case 22:
                this.TitleRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 23:
                this.ChooseFileRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 24:
                this.AlgorithmTypeSelection = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 25:
                this.RunAlgorithmRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 27:

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

            #line default
            #line hidden
                return;

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

            case 29:
                this.RButton1KAnoAlgorithm = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 30:
                this.RButton1KAlfaAnoAlgorithm = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            case 41:
                this.Prompt = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 43:
                this.MetadataDocumentView = ((System.Windows.Controls.Grid)(target));
                return;

            case 44:
                this.DetailsGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

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

            case 51:

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

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

            #line 14 "..\..\MainWindow.xaml"
                this.CmdWindow.StateChanged += new System.EventHandler(this.CmdWindow_StateChanged);

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                this.CmdWindow.KeyUp += new System.Windows.Input.KeyEventHandler(this.CmdWindow_KeyUp);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 4:

            #line 42 "..\..\MainWindow.xaml"
                ((Hardcodet.Wpf.TaskbarNotification.TaskbarIcon)(target)).TrayLeftMouseDown += new System.Windows.RoutedEventHandler(this.TaskbarIcon_TrayLeftMouseDown);

            #line default
            #line hidden
                return;

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

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:
                this.CommandBox = ((ICSharpCode.AvalonEdit.TextEditor)(target));
                return;

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

            case 13:
                this.FileContextMenu = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

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

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

            case 3:
                this.infoitem = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.myFirstControl1 = ((Engl.Operation.MyFirstControl)(target));
                return;

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

            #line 45 "..\..\Addwin.xaml"
                this.data.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.data_SelectedCellsChanged);

            #line default
            #line hidden

            #line 45 "..\..\Addwin.xaml"
                this.data.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.data_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\Addwin.xaml"
                this.PartOfSpeechCOM.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PartOfSpeechCOM_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\Addwin.xaml"
                this.PodPunk.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PodPunk_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\Addwin.xaml"
                this.topic.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PodPunk_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 53 "..\..\Addwin.xaml"
                this.En.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.En_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\Addwin.xaml"
                this.Ru.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.En_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 59 "..\..\Addwin.xaml"
                this.ADD.Click += new System.Windows.RoutedEventHandler(this.ADD_Click);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\Addwin.xaml"
                this.UpDate.Click += new System.Windows.RoutedEventHandler(this.UpDate_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\Addwin.xaml"
                this.DELETE.Click += new System.Windows.RoutedEventHandler(this.DELETE_Click);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\Addwin.xaml"
                this.FindOfFiltr.Unchecked += new System.Windows.RoutedEventHandler(this.FindOfFiltr_Checked);

            #line default
            #line hidden

            #line 62 "..\..\Addwin.xaml"
                this.FindOfFiltr.Checked += new System.Windows.RoutedEventHandler(this.FindOfFiltr_Checked);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\Addwin.xaml"
                this.Clear.Click += new System.Windows.RoutedEventHandler(this.Clear_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 32:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 76 "..\..\Addwin.xaml"
                this.Ok.Click += new System.Windows.RoutedEventHandler(this.Ok_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.ClientRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.ApplicationRibbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));

            #line 74 "..\..\..\..\MVVM\Views\ShellWindow.xaml"
                this.ApplicationRibbon.Loaded += new System.Windows.RoutedEventHandler(this.ApplicationRibbon_Loaded);

            #line default
            #line hidden
                return;

            case 5:
                this.EditionTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

            case 6:
                this.SaveGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 7:
                this.SaveRecordButton = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 8:
                this.NewGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 9:
                this.NewRecordButton = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 10:
                this.EditGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 11:
                this.EditRecordButton = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 12:
                this.DeleteRecordButton = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 13:
                this.SearchGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 14:
                this.GetRecordsButton = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 15:
                this.PagingGroup = ((Microsoft.Windows.Controls.Ribbon.RibbonGroup)(target));
                return;

            case 16:
                this.GoBeginingButton = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 17:
                this.ForwardPageButton = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 18:
                this.NextPageButton = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 19:
                this.LastPageButton = ((Microsoft.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

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

            case 21:
                this.dockingManager = ((AvalonDock.DockingManager)(target));
                return;

            case 22:
                this.TaskRegion = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 23:
                this.NavigationRegion = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.TextBox1 = ((System.Windows.Controls.RichTextBox)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.TextBox1.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.TextBox1_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 38 "..\..\MainWindow.xaml"
                this.TextBox1.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.TextBox1_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\MainWindow.xaml"
                this.ToolBar.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden

            #line 55 "..\..\MainWindow.xaml"
                this.ToolBar.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ToolBar_MouseLeave);

            #line default
            #line hidden

            #line 55 "..\..\MainWindow.xaml"
                this.ToolBar.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolBar_MouseEnter);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\MainWindow.xaml"
                this.ButtonSave.Click += new System.Windows.RoutedEventHandler(this.ButtonSave_Click);

            #line default
            #line hidden
                return;

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

            #line 98 "..\..\MainWindow.xaml"
                this.ButtonSaveAS.Click += new System.Windows.RoutedEventHandler(this.ButtonSaveAS_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.ButtonOABackGroundColor = ((System.Windows.Controls.CheckBox)(target));

            #line 115 "..\..\MainWindow.xaml"
                this.ButtonOABackGroundColor.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 13:
                this.ButtonOAFontColor = ((System.Windows.Controls.CheckBox)(target));

            #line 116 "..\..\MainWindow.xaml"
                this.ButtonOAFontColor.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\MainWindow.xaml"
                this.ButtonOAFontFamily.Click += new System.Windows.RoutedEventHandler(this.ButtonOAFontFamily_Click);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\MainWindow.xaml"
                this.ComboBoxOAFontSize.LostFocus += new System.Windows.RoutedEventHandler(this.ComboBoxOAFontSize_LostFocus);

            #line default
            #line hidden

            #line 119 "..\..\MainWindow.xaml"
                this.ComboBoxOAFontSize.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.ComboBoxOAFontSize_PreviewKeyDown);

            #line default
            #line hidden

            #line 119 "..\..\MainWindow.xaml"
                this.ComboBoxOAFontSize.DropDownClosed += new System.EventHandler(this.ComboBoxOAFontSize_DropDownClosed);

            #line default
            #line hidden
                return;

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

            #line 137 "..\..\MainWindow.xaml"
                this.ButtonFontFamily.Click += new System.Windows.RoutedEventHandler(this.ButtonFontFamily_Click);

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\MainWindow.xaml"
                this.ComboBoxFontSize.DropDownClosed += new System.EventHandler(this.ComboBoxFontSize_DropDownClosed);

            #line default
            #line hidden

            #line 139 "..\..\MainWindow.xaml"
                this.ComboBoxFontSize.LostFocus += new System.Windows.RoutedEventHandler(this.ComboBoxFontSize_LostFocus);

            #line default
            #line hidden

            #line 139 "..\..\MainWindow.xaml"
                this.ComboBoxFontSize.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.ComboBoxFontSize_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 152 "..\..\MainWindow.xaml"
                this.ButtonBold.Click += new System.Windows.RoutedEventHandler(this.ButtonBold_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 170 "..\..\MainWindow.xaml"
                this.ButtonUnderline.Click += new System.Windows.RoutedEventHandler(this.ButtonUnderline_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 206 "..\..\MainWindow.xaml"
                this.ButtonAjustify.Click += new System.Windows.RoutedEventHandler(this.ButtonAjustify_Click);

            #line default
            #line hidden
                return;

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

            #line 215 "..\..\MainWindow.xaml"
                this.ButtonAleft.Click += new System.Windows.RoutedEventHandler(this.ButtonAleft_Click);

            #line default
            #line hidden
                return;

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

            #line 224 "..\..\MainWindow.xaml"
                this.ButtonAright.Click += new System.Windows.RoutedEventHandler(this.ButtonAright_Click);

            #line default
            #line hidden
                return;

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

            #line 234 "..\..\MainWindow.xaml"
                this.ButtonSizebig.Click += new System.Windows.RoutedEventHandler(this.ButtonSizebig_Click);

            #line default
            #line hidden

            #line 234 "..\..\MainWindow.xaml"
                this.ButtonSizebig.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 243 "..\..\MainWindow.xaml"
                this.ButtonSizesmall.Click += new System.Windows.RoutedEventHandler(this.ButtonSizesmall_Click);

            #line default
            #line hidden

            #line 243 "..\..\MainWindow.xaml"
                this.ButtonSizesmall.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 252 "..\..\MainWindow.xaml"
                this.ButtonFontColor.Click += new System.Windows.RoutedEventHandler(this.ButtonFontColor_Click);

            #line default
            #line hidden
                return;

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

            #line 261 "..\..\MainWindow.xaml"
                this.ButtonBackColor.Click += new System.Windows.RoutedEventHandler(this.ButtonBackColor_Click);

            #line default
            #line hidden
                return;

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

            #line 270 "..\..\MainWindow.xaml"
                this.ButtonCGFontColor.Click += new System.Windows.RoutedEventHandler(this.ButtonCGFontColor_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.ButtonCGBackColor = ((System.Windows.Controls.CheckBox)(target));

            #line 271 "..\..\MainWindow.xaml"
                this.ButtonCGBackColor.Click += new System.Windows.RoutedEventHandler(this.ButtonCGBackColor_Click);

            #line default
            #line hidden
                return;

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

            #line 278 "..\..\MainWindow.xaml"
                this.ButtonNewPage.Click += new System.Windows.RoutedEventHandler(this.ButtonNewPage_Click);

            #line default
            #line hidden
                return;

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

            #line 292 "..\..\MainWindow.xaml"
                this.ButtonInsertPage.Click += new System.Windows.RoutedEventHandler(this.ButtonInsertPage_Click);

            #line default
            #line hidden
                return;

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

            #line 305 "..\..\MainWindow.xaml"
                this.ButtonDeletePage.Click += new System.Windows.RoutedEventHandler(this.ButtonDeletePage_Click);

            #line default
            #line hidden
                return;

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

            #line 322 "..\..\MainWindow.xaml"
                this.ButtonStart.Click += new System.Windows.RoutedEventHandler(this.ButtonStart_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.ConsoleBox = ((System.Windows.Controls.RichTextBox)(target));

            #line 378 "..\..\MainWindow.xaml"
                this.ConsoleBox.GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);

            #line default
            #line hidden

            #line 378 "..\..\MainWindow.xaml"
                this.ConsoleBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabControl_MouseDoubleClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid_ban_co = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

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

            #line 16 "..\..\MainWindow.xaml"
                this.ban_co.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ban_co_MouseDown);

            #line default
            #line hidden

            #line 16 "..\..\MainWindow.xaml"
                this.ban_co.SizeChanged += new System.Windows.SizeChangedEventHandler(this.ban_co_SizeChanged);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\MainWindow.xaml"
                this.txt_name.GotFocus += new System.Windows.RoutedEventHandler(this.txt_name_GotFocus);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.btn_ai_row.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.btn_ai_row_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\MainWindow.xaml"
                this.btn_ai_col.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.btn_ai_col_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WinForm = ((_10_TelegramBot.MainWindow)(target));

            #line 13 "..\..\..\MainWindow.xaml"
                this.WinForm.Loaded += new System.Windows.RoutedEventHandler(this.WinForm_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\..\MainWindow.xaml"
                this.WinForm.Closed += new System.EventHandler(this.WinForm_Closed);

            #line default
            #line hidden
                return;

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

            case 3:
                this.FromControl = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 5:
                this.WinPanel = ((System.Windows.Controls.DockPanel)(target));

            #line 65 "..\..\..\MainWindow.xaml"
                this.WinPanel.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WinPanel_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line 68 "..\..\..\MainWindow.xaml"
                this.WinClose.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WinClose_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\..\MainWindow.xaml"
                this.WinMaximized.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WinMaximized_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\MainWindow.xaml"
                this.WinMinimize.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.WinMinimize_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.PHBlock = ((Placeholder.PlaceholderBlock)(target));
                return;

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

            case 12:
                this.WPMenu = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 13:
                this.DataGridChat = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #42
0
ファイル: MainWindow.g.cs プロジェクト: mrShpit/GEMC
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainPostWindow = ((GEMC.MainWindow)(target));
     
     #line 8 "..\..\MainWindow.xaml"
     this.MainPostWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 9 "..\..\MainWindow.xaml"
     this.MainPostWindow.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DragPanel_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.DragPanel = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     
     #line 204 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btAddProfile_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 212 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btGetMail_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 220 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btSendLetter_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.MenuPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 7:
     this.btClose = ((System.Windows.Controls.Button)(target));
     
     #line 264 "..\..\MainWindow.xaml"
     this.btClose.Click += new System.Windows.RoutedEventHandler(this.btClose_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btMinimize = ((System.Windows.Controls.Button)(target));
     
     #line 266 "..\..\MainWindow.xaml"
     this.btMinimize.Click += new System.Windows.RoutedEventHandler(this.btMinimize_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.SearchBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 10:
     this.tbSearch = ((System.Windows.Controls.TextBox)(target));
     
     #line 282 "..\..\MainWindow.xaml"
     this.tbSearch.KeyDown += new System.Windows.Input.KeyEventHandler(this.tbSearch_KeyDown);
     
     #line default
     #line hidden
     return;
     case 11:
     this.tvMain = ((System.Windows.Controls.TreeView)(target));
     
     #line 325 "..\..\MainWindow.xaml"
     this.tvMain.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.tvMain_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.rowMailBoxWorkPanel = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 16:
     this.rowMailBox = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 17:
     this.rowletterTab = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 18:
     this.rowLetterWorkPlace = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 19:
     this.MailDesk = ((System.Windows.Controls.Grid)(target));
     return;
     case 20:
     this.btDelete = ((System.Windows.Controls.Button)(target));
     
     #line 473 "..\..\MainWindow.xaml"
     this.btDelete.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.btSpam = ((System.Windows.Controls.Button)(target));
     
     #line 480 "..\..\MainWindow.xaml"
     this.btSpam.Click += new System.Windows.RoutedEventHandler(this.btSpam_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.btRestore = ((System.Windows.Controls.Button)(target));
     
     #line 487 "..\..\MainWindow.xaml"
     this.btRestore.Click += new System.Windows.RoutedEventHandler(this.btRestore_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.checkBoxAbs = ((System.Windows.Controls.CheckBox)(target));
     
     #line 493 "..\..\MainWindow.xaml"
     this.checkBoxAbs.Checked += new System.Windows.RoutedEventHandler(this.checkBoxAbs_Checked);
     
     #line default
     #line hidden
     
     #line 493 "..\..\MainWindow.xaml"
     this.checkBoxAbs.Unchecked += new System.Windows.RoutedEventHandler(this.checkBoxAbs_Unchecked);
     
     #line default
     #line hidden
     return;
     case 24:
     this.lbMailBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 503 "..\..\MainWindow.xaml"
     this.lbMailBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbMailBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 25:
     this.splitLetterBox = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 26:
     this.tabLetterBox = ((System.Windows.Controls.TabControl)(target));
     
     #line 581 "..\..\MainWindow.xaml"
     this.tabLetterBox.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tabLetterBox_MouseDown);
     
     #line default
     #line hidden
     return;
     case 27:
     this.LetterReplyDesk = ((System.Windows.Controls.Grid)(target));
     return;
     case 28:
     this.btAnswer = ((System.Windows.Controls.Button)(target));
     
     #line 683 "..\..\MainWindow.xaml"
     this.btAnswer.Click += new System.Windows.RoutedEventHandler(this.btAnswer_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.btResend = ((System.Windows.Controls.Button)(target));
     
     #line 686 "..\..\MainWindow.xaml"
     this.btResend.Click += new System.Windows.RoutedEventHandler(this.btResend_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.btCloseAllTabs = ((System.Windows.Controls.Button)(target));
     
     #line 689 "..\..\MainWindow.xaml"
     this.btCloseAllTabs.Click += new System.Windows.RoutedEventHandler(this.btCloseAllTabs_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.btCloseTab = ((System.Windows.Controls.Button)(target));
     
     #line 693 "..\..\MainWindow.xaml"
     this.btCloseTab.Click += new System.Windows.RoutedEventHandler(this.btCloseTab_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #43
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.ClientRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 4:
                this.ApplicationRibbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
                return;

            case 5:
                this.MenuItem1 = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
                return;

            case 6:
                this.HomeTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
                return;

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

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

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

            case 10:
                this.NavigationColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 11:
                this.WorkspaceColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

            case 14:
                this.TaskButtons = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 15:
                this.NavigatorRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 16:
                this.TaskButtonRegion = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 17:
                this.WorkspaceRegion = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #44
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Healthcare;component/AboutPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.Row0Logo = ((System.Windows.Controls.RowDefinition)(this.FindName("Row0Logo")));
     this.Row1 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row1")));
     this.Row2Title = ((System.Windows.Controls.RowDefinition)(this.FindName("Row2Title")));
     this.Row3 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row3")));
     this.Row4Title = ((System.Windows.Controls.RowDefinition)(this.FindName("Row4Title")));
     this.Row5 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row5")));
     this.Row6 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row6")));
     this.Row7Title = ((System.Windows.Controls.RowDefinition)(this.FindName("Row7Title")));
     this.Row8 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row8")));
     this.Row9Title = ((System.Windows.Controls.RowDefinition)(this.FindName("Row9Title")));
     this.Row10 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row10")));
     this.Row11 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row11")));
     this.Row12 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row12")));
     this.Row13 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row13")));
     this.Row14 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row14")));
     this.TBVersion = ((System.Windows.Documents.Run)(this.FindName("TBVersion")));
     this.TBVersion2 = ((System.Windows.Documents.Run)(this.FindName("TBVersion2")));
     this.BTNLove = ((System.Windows.Controls.Button)(this.FindName("BTNLove")));
     this.BTNMail = ((System.Windows.Controls.HyperlinkButton)(this.FindName("BTNMail")));
     this.BTNWeibo = ((System.Windows.Controls.HyperlinkButton)(this.FindName("BTNWeibo")));
 }
コード例 #45
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.resizeThumb = ((System.Windows.Controls.Primitives.Thumb)(target));
     
     #line 61 "..\..\..\..\Views\Nodes\ComponentNodeInfoControl.xaml"
     this.resizeThumb.DragDelta += new System.Windows.Controls.Primitives.DragDeltaEventHandler(this.resizeThumb_DragDelta);
     
     #line default
     #line hidden
     return;
     case 2:
     this.iospecRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 3:
     this.iospecExpander = ((System.Windows.Controls.Expander)(target));
     
     #line 74 "..\..\..\..\Views\Nodes\ComponentNodeInfoControl.xaml"
     this.iospecExpander.Expanded += new System.Windows.RoutedEventHandler(this.iospecExpander_Expanded);
     
     #line default
     #line hidden
     
     #line 74 "..\..\..\..\Views\Nodes\ComponentNodeInfoControl.xaml"
     this.iospecExpander.Collapsed += new System.Windows.RoutedEventHandler(this.iospecExpander_Collapsed);
     
     #line default
     #line hidden
     return;
     case 4:
     this.inputsLV = ((System.Windows.Controls.ListView)(target));
     return;
     case 7:
     this.outputsLV = ((System.Windows.Controls.ListView)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\Views\Shared\SoftMgrWindow.xaml"
                ((AYQQMGR2018.Views.SoftMgrWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.AyWindow_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Views\Shared\SoftMgrWindow.xaml"
                ((AYQQMGR2018.Views.SoftMgrWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 7:
                this.TopCol = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

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

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

            case 10:
                this.BottomRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 11:
                this.img_lt = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 12:
                this.img_lb = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 13:
                this.img_rt = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 14:
                this.img_rb = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 15:
                this.img_topline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 16:
                this.img_leftline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 17:
                this.img_bottomline = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 18:
                this.img_rightline = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            case 20:
                this.layoutMain = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #47
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MusicPlayer;component/SettingPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SPBackgroundSetting = ((System.Windows.Controls.StackPanel)(this.FindName("SPBackgroundSetting")));
     this.TBBackgroundKey = ((System.Windows.Controls.TextBlock)(this.FindName("TBBackgroundKey")));
     this.SPSleepMode = ((System.Windows.Controls.StackPanel)(this.FindName("SPSleepMode")));
     this.TBTerminatorTimingKey = ((System.Windows.Controls.TextBlock)(this.FindName("TBTerminatorTimingKey")));
     this.SPPlaySetting = ((System.Windows.Controls.StackPanel)(this.FindName("SPPlaySetting")));
     this.TBPlayMode = ((System.Windows.Controls.TextBlock)(this.FindName("TBPlayMode")));
     this.TBIsStopWhenTerminate = ((System.Windows.Controls.TextBlock)(this.FindName("TBIsStopWhenTerminate")));
     this.TBAutoLrc = ((System.Windows.Controls.TextBlock)(this.FindName("TBAutoLrc")));
     this.TBAutoOffset = ((System.Windows.Controls.TextBlock)(this.FindName("TBAutoOffset")));
     this.Row0Logo = ((System.Windows.Controls.RowDefinition)(this.FindName("Row0Logo")));
     this.Row1 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row1")));
     this.Row2Title = ((System.Windows.Controls.RowDefinition)(this.FindName("Row2Title")));
     this.Row3 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row3")));
     this.Row4Title = ((System.Windows.Controls.RowDefinition)(this.FindName("Row4Title")));
     this.Row5 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row5")));
     this.Row6 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row6")));
     this.Row7Title = ((System.Windows.Controls.RowDefinition)(this.FindName("Row7Title")));
     this.Row8 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row8")));
     this.Row9Title = ((System.Windows.Controls.RowDefinition)(this.FindName("Row9Title")));
     this.Row10 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row10")));
     this.Row11 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row11")));
     this.Row12 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row12")));
     this.Row13 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row13")));
     this.Row14 = ((System.Windows.Controls.RowDefinition)(this.FindName("Row14")));
     this.TBVersion = ((System.Windows.Documents.Run)(this.FindName("TBVersion")));
     this.TBVersion2 = ((System.Windows.Documents.Run)(this.FindName("TBVersion2")));
     this.BTNHelp = ((System.Windows.Controls.Button)(this.FindName("BTNHelp")));
     this.BTNLove = ((System.Windows.Controls.Button)(this.FindName("BTNLove")));
     this.BTNMail = ((System.Windows.Controls.HyperlinkButton)(this.FindName("BTNMail")));
     this.BTNWeibo = ((System.Windows.Controls.HyperlinkButton)(this.FindName("BTNWeibo")));
     this.BTNAlipay = ((System.Windows.Controls.HyperlinkButton)(this.FindName("BTNAlipay")));
 }
コード例 #48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RowAuto = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 2:

            #line 147 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseDown);

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #49
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.TopTopGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.kinectRegion = ((Microsoft.Kinect.Toolkit.Controls.KinectRegion)(target));
     return;
     case 3:
     this.TopRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.BackButton = ((Microsoft.Kinect.Toolkit.Controls.KinectCircleButton)(target));
     
     #line 55 "..\..\MainWindow.xaml"
     this.BackButton.Click += new System.Windows.RoutedEventHandler(this.BackAction);
     
     #line default
     #line hidden
     return;
     case 5:
     this.PageContentGrid = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\..\..\Controls\ContactResponse.xaml"
                ((Pointel.Interactions.Contact.Controls.ContactResponse)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Controls\ContactResponse.xaml"
                ((Pointel.Interactions.Contact.Controls.ContactResponse)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            #line 37 "..\..\..\..\Controls\ContactResponse.xaml"
                this.cmbFrom.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbSearch_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 45 "..\..\..\..\Controls\ContactResponse.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged_1);

            #line default
            #line hidden
                return;

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

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

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

            #line 63 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnAdvanceSearchResponse.Click += new System.Windows.RoutedEventHandler(this.btnAdvanceSearchResponse_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 86 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnAdvanceSearch.Click += new System.Windows.RoutedEventHandler(this.btnAdvanceSearch_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 15:
                this.rowCheckSearch = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 16:
                this.rowCheckSearch1 = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

            #line 140 "..\..\..\..\Controls\ContactResponse.xaml"
                this.chkResponseName.Checked += new System.Windows.RoutedEventHandler(this.ResponseName_Checked);

            #line default
            #line hidden

            #line 140 "..\..\..\..\Controls\ContactResponse.xaml"
                this.chkResponseName.Unchecked += new System.Windows.RoutedEventHandler(this.ResponseName_Checked);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\..\..\Controls\ContactResponse.xaml"
                this.chkResponseBody.Checked += new System.Windows.RoutedEventHandler(this.ResponseBodyChecked);

            #line default
            #line hidden

            #line 142 "..\..\..\..\Controls\ContactResponse.xaml"
                this.chkResponseBody.Unchecked += new System.Windows.RoutedEventHandler(this.ResponseBodyChecked);

            #line default
            #line hidden
                return;

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

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

            #line 158 "..\..\..\..\Controls\ContactResponse.xaml"
                this.cmbResponse.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbResponse_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 172 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnAddResponseCompose.Click += new System.Windows.RoutedEventHandler(this.btnAddResponseCompose_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 191 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnAddResponse.Click += new System.Windows.RoutedEventHandler(this.btnAddResponse_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 213 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnRemoveResponse.Click += new System.Windows.RoutedEventHandler(this.btnRemoveResponse_Click);

            #line default
            #line hidden
                return;

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

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

            #line 232 "..\..\..\..\Controls\ContactResponse.xaml"
                this.btnContactExpand.Click += new System.Windows.RoutedEventHandler(this.btnContactExpand_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 36:
                this.ExpandGridAuto = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 37:
                this.ListView1 = ((System.Windows.Controls.ListView)(target));
                return;

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

            case 39:
                this.TreeView1 = ((System.Windows.Controls.TreeView)(target));

            #line 268 "..\..\..\..\Controls\ContactResponse.xaml"
                this.TreeView1.AddHandler(System.Windows.Controls.TreeViewItem.SelectedEvent, new System.Windows.RoutedEventHandler(this.OnItemSelected));

            #line default
            #line hidden

            #line 269 "..\..\..\..\Controls\ContactResponse.xaml"
                this.TreeView1.AddHandler(System.Windows.Controls.TreeViewItem.UnselectedEvent, new System.Windows.RoutedEventHandler(this.TreeView1_Unselected));

            #line default
            #line hidden
                return;

            case 40:
                this.grd_ResponseContent = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 42:
                this.wpAttachments = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #51
0
ファイル: 0.5MainWindow.g.i.cs プロジェクト: 1RedOne/psDSCMan
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.GridSplitterRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 2:
     this.GridSplitterRow2 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 3:
     this.GridSplitterRow3 = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.groupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 5:
     this.Resources = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 6:
     this.Clear = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.tabControl = ((System.Windows.Controls.TabControl)(target));
     return;
     case 8:
     this.ConfName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.Export = ((System.Windows.Controls.Button)(target));
     return;
     case 10:
     this.Clearv2 = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.DSCBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.StatusPanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 13:
     this.StatuBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 14:
     this.StatusText = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ToolBarRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 3:
                this.NotificationRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

            case 6:
                this.MapWindow = ((OpenGLMapping.WPFMapWindow)(target));
                return;

            case 7:
                this.TOC_GridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 8:
                this.Map_GridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

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

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

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

            case 12:
                this.MapTreeView = ((OpenGLMapping.MapTreeView)(target));
                return;

            case 13:
                this.MapToolBarTray = ((System.Windows.Controls.ToolBarTray)(target));
                return;

            case 14:
                this.MapToolbar = ((OpenGLMapping.BasicMapToolbar)(target));
                return;

            case 15:
                this.SelectionToolbar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 16:
                this.SelectableLayers = ((OpenGLMapping.SelectableLayersControl)(target));
                return;

            case 17:
                this.FeatureEditorToolbar = ((OpenGLMapping.FeatureEditToolbar)(target));
                return;

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

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

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

            case 21:
                this.StatusBorder = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #53
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 23 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 26 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RefreshCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 29 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 32 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.BackCommandCanExecute);
     
     #line default
     #line hidden
     
     #line 33 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BackCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 36 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ForwardCommandCanExecute);
     
     #line default
     #line hidden
     
     #line 37 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ForwardCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 40 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SearchCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 7:
     this.mainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 8:
     this.toolBar = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 9:
     this.languageComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 10:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 11:
     this.StatusLabel = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.leftColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 13:
     this.rightColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 14:
     this.treeView = ((ICSharpCode.TreeView.SharpTreeView)(target));
     
     #line 113 "..\..\..\MainWindow.xaml"
     this.treeView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeView_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.topPaneRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 16:
     this.textViewRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 17:
     this.bottomPaneRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 18:
     this.updateAvailablePanel = ((System.Windows.Controls.Border)(target));
     return;
     case 19:
     
     #line 142 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.updateAvailablePanelCloseButtonClick);
     
     #line default
     #line hidden
     return;
     case 20:
     
     #line 145 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.downloadUpdateButtonClick);
     
     #line default
     #line hidden
     return;
     case 21:
     this.topPane = ((ICSharpCode.ILSpy.Controls.DockedPane)(target));
     return;
     case 22:
     this.mainPane = ((System.Windows.Controls.ContentPresenter)(target));
     return;
     case 23:
     this.bottomPane = ((ICSharpCode.ILSpy.Controls.DockedPane)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #54
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 "..\..\ChartZooming.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 "..\..\ChartZooming.xaml"
                this.chartCanvas.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseLeftButtonDown);

            #line default
            #line hidden

            #line 50 "..\..\ChartZooming.xaml"
                this.chartCanvas.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseLeftButtonUp);

            #line default
            #line hidden

            #line 51 "..\..\ChartZooming.xaml"
                this.chartCanvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnMouseMove);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #55
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Headers = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 2:
     this.Values = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 3:
     this.Tag = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.Type = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 5:
     this.XpathRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 6:
     this.Value = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 7:
     this.lblTagHeader = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.lblTypeHeader = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.lblXpathHeader = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.lblValueHeader = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.lblTag = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.lblType = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.lblValue = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.btnCheckXpath = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\HtmlAttributeViewer.xaml"
     this.btnCheckXpath.Click += new System.Windows.RoutedEventHandler(this.btnCheckXpath_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.lblXpath = ((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:

            #line 9 "..\..\..\..\Views\GenerateView.xaml"
                ((MetroDemo.ExampleViews.GenerateView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.GenerateView_OnLoaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

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

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

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

            #line 76 "..\..\..\..\Views\GenerateView.xaml"
                this.ProductInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\..\..\Views\GenerateView.xaml"
                this.InstallMsi.Checked += new System.Windows.RoutedEventHandler(this.InstallExecutable_OnChecked);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\..\Views\GenerateView.xaml"
                this.InstallExecutable.Checked += new System.Windows.RoutedEventHandler(this.InstallExecutable_OnChecked);

            #line default
            #line hidden
                return;

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

            #line 114 "..\..\..\..\Views\GenerateView.xaml"
                this.SignInstallerInfo.Click += new System.Windows.RoutedEventHandler(this.SignInstallerInfo_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.SignInstaller = ((System.Windows.Controls.CheckBox)(target));

            #line 123 "..\..\..\..\Views\GenerateView.xaml"
                this.SignInstaller.Checked += new System.Windows.RoutedEventHandler(this.SignWithCert_OnCheck);

            #line default
            #line hidden

            #line 123 "..\..\..\..\Views\GenerateView.xaml"
                this.SignInstaller.Unchecked += new System.Windows.RoutedEventHandler(this.SignWithCert_OnCheck);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\..\..\Views\GenerateView.xaml"
                this.OpenCertificateBrowser.Click += new System.Windows.RoutedEventHandler(this.OpenCertificateBrowser_OnClick);

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\..\..\Views\GenerateView.xaml"
                this.OpenCertGenerator.Click += new System.Windows.RoutedEventHandler(this.OpenCertGenerator_OnClick);

            #line default
            #line hidden
                return;

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

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

            #line 188 "..\..\..\..\Views\GenerateView.xaml"
                this.VersionInfoGen.Click += new System.Windows.RoutedEventHandler(this.VersionInfoGen_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.MajorVersion = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 16:
                this.MinorVersion = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 17:
                this.ReleaseVersion = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

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

            #line 222 "..\..\..\..\Views\GenerateView.xaml"
                this.SilentInstallInfo.Click += new System.Windows.RoutedEventHandler(this.SilentInstallInfo_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.SilentInstall = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 231 "..\..\..\..\Views\GenerateView.xaml"
                this.SilentInstall.Checked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.SilentInstall_OnChecked);

            #line default
            #line hidden

            #line 231 "..\..\..\..\Views\GenerateView.xaml"
                this.SilentInstall.Unchecked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.SilentInstall_OnChecked);

            #line default
            #line hidden
                return;

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

            #line 248 "..\..\..\..\Views\GenerateView.xaml"
                this.FilePathGen.Click += new System.Windows.RoutedEventHandler(this.FilePathGen_Click);

            #line default
            #line hidden
                return;

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

            #line 256 "..\..\..\..\Views\GenerateView.xaml"
                this.FileSavePath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FileSavePath_OnTextChanged);

            #line default
            #line hidden
                return;

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

            #line 259 "..\..\..\..\Views\GenerateView.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

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

            #line 260 "..\..\..\..\Views\GenerateView.xaml"
                this.OpenExeFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenExeFolderButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 282 "..\..\..\..\Views\GenerateView.xaml"
                this.EmbedOfficeInstall.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

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

            #line 290 "..\..\..\..\Views\GenerateView.xaml"
                this.IncludeBuild.Checked += new System.Windows.RoutedEventHandler(this.IncludeBuild_OnChecked);

            #line default
            #line hidden

            #line 290 "..\..\..\..\Views\GenerateView.xaml"
                this.IncludeBuild.Unchecked += new System.Windows.RoutedEventHandler(this.IncludeBuild_OnChecked);

            #line default
            #line hidden
                return;

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

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

            #line 308 "..\..\..\..\Views\GenerateView.xaml"
                this.SourceFilePathGen.Click += new System.Windows.RoutedEventHandler(this.SourceFilePathGen_Click);

            #line default
            #line hidden
                return;

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

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

            #line 319 "..\..\..\..\Views\GenerateView.xaml"
                this.BuildFilePath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BuildFilePath_OnTextChanged);

            #line default
            #line hidden
                return;

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

            #line 323 "..\..\..\..\Views\GenerateView.xaml"
                this.BrowseSourcePathButton.Click += new System.Windows.RoutedEventHandler(this.BrowseSourcePathButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 325 "..\..\..\..\Views\GenerateView.xaml"
                this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);

            #line default
            #line hidden
                return;

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

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

            #line 350 "..\..\..\..\Views\GenerateView.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);

            #line default
            #line hidden
                return;

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

            #line 351 "..\..\..\..\Views\GenerateView.xaml"
                this.GenerateButton.Click += new System.Windows.RoutedEventHandler(this.GenerateButton_OnClick);

            #line default
            #line hidden
                return;

            case 35:
                this.xmlBrowser = ((MahApps.Metro.Controls.XmlBrowser.XmlBrowserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((KyoeiSystem.Framework.Reports.Preview.ReportPreviewWPF)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 15 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((KyoeiSystem.Framework.Reports.Preview.ReportPreviewWPF)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.movingFrame_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

            #line 38 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.CurrentPage_GotFocus);

            #line default
            #line hidden

            #line 38 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CurrentPage_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

            #line 55 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Reload_Click);

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

            #line 57 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Save_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 59 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Initialize_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 60 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Close_Click);

            #line default
            #line hidden
                return;

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

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

            #line 80 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.chkDesignner.Checked += new System.Windows.RoutedEventHandler(this.modeDesign_Checked);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.chkPreview.Checked += new System.Windows.RoutedEventHandler(this.modePreview_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.tvReportObject = ((System.Windows.Controls.TreeView)(target));

            #line 91 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.tvReportObject.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tvReportObject_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 18:

            #line 114 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.GridSplitter)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.splitter_MouseEnter);

            #line default
            #line hidden

            #line 114 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.GridSplitter)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.splitter_MouseLeave);

            #line default
            #line hidden
                return;

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

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

            case 21:
                this.pTop = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

            case 22:
                this.pLeft = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

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

            case 24:
                this.pWidth = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

            case 25:
                this.pHeight = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

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

            case 27:
                this.pBottom = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

            case 28:
                this.pRight = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

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

            case 30:
                this.pThickness = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

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

            case 32:
                this.colorText = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 164 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.cboxColor.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.propertyItem_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 184 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.cboxColorBorder.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.propertyItem_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            case 37:
                this.pCornerH = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

            case 38:
                this.pCornerW = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

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

            case 40:

            #line 226 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FontBtn_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.pFontSize = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

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

            case 43:

            #line 275 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((KyoeiSystem.Framework.Windows.Controls.UcLabelComboBox)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.propertyItem_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 44:
                this.pTextValue = ((KyoeiSystem.Framework.Windows.Controls.UcTextBox)(target));
                return;

            case 45:
                this.btnItemProperyUpdate = ((System.Windows.Controls.Button)(target));

            #line 282 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.btnItemProperyUpdate.Click += new System.Windows.RoutedEventHandler(this.btnItemProperyUpdate_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.grdViewArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 47:
                this.grDesigner = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 48:
                this.areaDesigner = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 49:
                this.rptLayoutBack = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 332 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.rptLayout.MouseMove += new System.Windows.Input.MouseEventHandler(this.rptLayout_MouseMove);

            #line default
            #line hidden
                return;

            case 51:
                this.stLayout = ((System.Windows.Media.ScaleTransform)(target));

            #line 335 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.stLayout.Changed += new System.EventHandler(this.rptLayout_ScaleChanged);

            #line default
            #line hidden
                return;

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

            #line 338 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.movingFrame.MouseMove += new System.Windows.Input.MouseEventHandler(this.movingFrame_MouseMove);

            #line default
            #line hidden

            #line 338 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.movingFrame.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.movingFrame_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 338 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.movingFrame.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.movingFrame_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 53:
                this.innerFrame = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 54:
                this.catcherFrame = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 55:

            #line 354 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.GridSplitter)(target)).DragCompleted += new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.viewSplitter_DragCompleted);

            #line default
            #line hidden

            #line 354 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.GridSplitter)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.splitter_MouseEnter);

            #line default
            #line hidden

            #line 354 "..\..\..\Preview\ReportPreviewWPF.xaml"
                ((System.Windows.Controls.GridSplitter)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.splitter_MouseLeave);

            #line default
            #line hidden
                return;

            case 56:
                this.reportViewer = ((SAPBusinessObjects.WPF.Viewer.CrystalReportsViewer)(target));

            #line 361 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.reportViewer.ClickPage += new SAPBusinessObjects.WPF.Viewer.PageMouseEventHandler(this.reportViewer_ClickPage);

            #line default
            #line hidden

            #line 362 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.reportViewer.Loaded += new System.Windows.RoutedEventHandler(this.reportViewer_Loaded);

            #line default
            #line hidden

            #line 363 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.reportViewer.SizeChanged += new System.Windows.SizeChangedEventHandler(this.ViewerCore_SizeChanged);

            #line default
            #line hidden

            #line 364 "..\..\..\Preview\ReportPreviewWPF.xaml"
                this.reportViewer.ViewChange += new System.Windows.RoutedEventHandler(this.reportViewer_ViewChange);

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

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 8:
                this.Net = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.NICategory = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.SLDeductions = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

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

            case 14:
                this.StudentLoanRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            case 27:
                this.NetYearlyAmount = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 30:
                this.empNIYearlyAmount = ((System.Windows.Controls.Label)(target));
                return;

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

            case 32:
                this.empNIWeeklyAmount = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 35:
                this.TotalTaxWeeklyAmount = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #59
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.RibbonRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 3:
     this.ClientRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 4:
     this.ApplicationRibbon = ((Microsoft.Windows.Controls.Ribbon.Ribbon)(target));
     return;
     case 5:
     this.MenuItem1 = ((Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
     return;
     case 6:
     this.HomeTab = ((Microsoft.Windows.Controls.Ribbon.RibbonTab)(target));
     return;
     case 7:
     this.ShellParameter1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.SendParamRegionContext = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.ClientArea = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.NavigationColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 11:
     this.WorkspaceColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 12:
     this.NavigationPane = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.Navigator = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 14:
     this.TaskButtons = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 15:
     this.NavigatorRegion = ((System.Windows.Controls.ContentControl)(target));
     return;
     case 16:
     this.TaskButtonRegion = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 17:
     this.WorkspaceRegion = ((System.Windows.Controls.ContentControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GridBarre = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 10:
                this.Lig5 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 11:
                this.Lig6 = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 12:
                this.Lig7 = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            case 14:
                this.Lig11 = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

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

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

            case 18:
                this.Col4 = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 19:
                this.Type = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 21:
                this.FilePath = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 52 "..\..\Page_Examen_Comp.xaml"
                this.BrowseForPic.Click += new System.Windows.RoutedEventHandler(this.BrowseForPic_Click);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\Page_Examen_Comp.xaml"
                this.Visualiser.Click += new System.Windows.RoutedEventHandler(this.Visualiser_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\Page_Examen_Comp.xaml"
                this.Enregistrer.Click += new System.Windows.RoutedEventHandler(this.Enregistrer_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\Page_Examen_Comp.xaml"
                this.Quitter.Click += new System.Windows.RoutedEventHandler(this.Quitter_Click);

            #line default
            #line hidden
                return;

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

            case 27:
                this.LabelAnnee = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.TYPE = ((System.Windows.Controls.ComboBox)(target));

            #line 65 "..\..\Page_Examen_Comp.xaml"
                this.TYPE.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Annee_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\Page_Examen_Comp.xaml"
                this.DatagGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DatagGrid_SelectionChanged);

            #line default
            #line hidden

            #line 74 "..\..\Page_Examen_Comp.xaml"
                this.DatagGrid.KeyUp += new System.Windows.Input.KeyEventHandler(this.DatagGrid_KeyUp);

            #line default
            #line hidden
                return;

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

            #line 96 "..\..\Page_Examen_Comp.xaml"
                this.Supprimer.Click += new System.Windows.RoutedEventHandler(this.Supprimer_Click_1);

            #line default
            #line hidden
                return;

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

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

            case 34:
                this.cause = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 143 "..\..\Page_Examen_Comp.xaml"
                this.Imprimer.Click += new System.Windows.RoutedEventHandler(this.Imprimer_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }