Inheritance: System.Windows.Controls.Panel
コード例 #1
1
 public override void Draw(Grid g)
 {
     base.Draw(g);
     Rectangle bounds = base.Bounds;
     bounds.X += 0x12;
     bounds.Width = 400;
 }
コード例 #2
1
ファイル: Plateau.cs プロジェクト: clusson/Tetris-WPF
        //Nous avons besoin : lignes, colonnes , score, lignes remplies et quelques effets
        public Plateau(Grid TetrisGrid)
        {
            //État actuel des valeurs , les lignes et les colonnes sont à compter,
            //elles ont déjà été déclarés dans le fichier XAML.
            Lignes = TetrisGrid.RowDefinitions.Count;
            Colonnes = TetrisGrid.ColumnDefinitions.Count;

            Score = 0;
            LignesRemplies = 0;

            BlockControls = new Label[Colonnes, Lignes];
            for (int i = 0; i < Colonnes; i++)
            {
                for (int j = 0; j < Lignes; j++)
                {
                    BlockControls[i, j] = new Label();
                    BlockControls[i, j].Background = Nocolor;
                    BlockControls[i, j].BorderBrush = BlackColor;
                    BlockControls[i, j].BorderThickness = new Thickness(0.3, 0.3, 0.3, 0.3);
                    Grid.SetRow(BlockControls[i, j], j);
                    Grid.SetColumn(BlockControls[i, j], i);
                    TetrisGrid.Children.Add(BlockControls[i, j]);
                }
            }
            Piece = new Piece();
            pieceDessin();
        }
コード例 #3
1
        private void CreateControls()
        {
            Grid grid_main = new Grid();
            grid_main.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid_main.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid_main.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });

            ////////
            // Id Grid
            Grid grid_id = new Grid();
            grid_id.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });
            grid_id.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });
            grid_main.SetGridRowColumn(grid_id, 0, 0);

            ////////
            // Id
            TextBlock textBlock_id =
                new TextBlock()
                {
                    VerticalAlignment = VerticalAlignment.Center,
                    Text = (ItemId.HasValue) ? ItemId.ToString() : "NewItem"
                };
            Label label_id = new Label() { Content = "Id:", FontWeight = FontWeights.Bold, VerticalAlignment = VerticalAlignment.Center };
            grid_id.SetGridRowColumn(textBlock_id, 0, 1);
            grid_id.SetGridRowColumn(label_id, 0, 0);

            ////////
            // Item Grid
            Grid grid_name = new Grid();
            grid_name.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid_name.RowDefinitions.Add(new RowDefinition() { Height = new GridLength(100.0, GridUnitType.Star) });
            grid_main.SetGridRowColumn(grid_name, 1, 0);

            ////////
            // Item
            m_textBox_name = new TextBox() { VerticalAlignment = VerticalAlignment.Center, Text = ItemName };
            m_textBox_name.TextChanged += TextBox_Name_TextChanged;
            Label label_name = new Label() { Content = "Item:", FontWeight = FontWeights.Bold, VerticalAlignment = VerticalAlignment.Center };
            grid_name.SetGridRowColumn(m_textBox_name, 1, 0);
            grid_name.SetGridRowColumn(label_name, 0, 0);

            ////////
            // Description Grid
            Grid grid_description = new Grid();
            grid_description.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });
            grid_description.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });
            grid_main.SetGridRowColumn(grid_description, 2, 0);

            ////////
            // Description
            m_textBox_description = new TextBox() { VerticalAlignment = VerticalAlignment.Center, Text = ItemDescription };
            m_textBox_description.TextChanged += TextBox_Description_TextChanged;
            Label label_description = new Label() { Content = "Description:", FontWeight = FontWeights.Bold, VerticalAlignment = VerticalAlignment.Center };
            grid_description.SetGridRowColumn(m_textBox_description, 0, 1);
            grid_description.SetGridRowColumn(label_description, 0, 0);

            ////////
            // Fin
            Content = grid_main;
        }
コード例 #4
1
ファイル: ColorSlider.cs プロジェクト: sheeeng/wolwp
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            Body = GetTemplateChild(BodyName) as Grid;
            Slider = GetTemplateChild(SliderName) as SuperSlider;

            if (Thumb == null)
                Thumb = new ColorSliderThumb();

            SelectedColor = GetTemplateChild(SelectedColorName) as Rectangle;
            
            SizeChanged += UserControl_SizeChanged;

            if (Slider != null)
            {
                Slider.ValueChanged += Slider_ValueChanged;

                if (Color.A == 0 && Color.R == 0 && Color.G == 0 && Color.B == 0)
                    Color = System.Windows.Media.Color.FromArgb(255, 6, 255, 0);
                else
                    UpdateLayoutBasedOnColor();
            }

			IsEnabledVisualStateUpdate();
        }
コード例 #5
1
        public ModelListViewItem() {
            this.Padding = new Thickness(1);
            this.Background = new SolidColorBrush(Colors.Transparent);
            BackgroundRectangle.RadiusX = 5;
            BackgroundRectangle.RadiusY = BackgroundRectangle.RadiusX;

            Highlight.RadiusX = 5;
            Highlight.RadiusY = BackgroundRectangle.RadiusX;
            Highlight.Stroke = Brushes.Black;
            Highlight.StrokeThickness = 1;
            Highlight.Opacity = 0;

            contentLabel.Background = new SolidColorBrush(Colors.Transparent);
            contentLabel.Padding = new Thickness(5);
            contentLabel.Margin = new Thickness(0);
            contentLabel.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            contentLabel.HorizontalContentAlignment = System.Windows.HorizontalAlignment.Stretch;

            //            contentLabel.BorderBrush = new SolidColorBrush(Colors.Black);
            //          contentLabel.BorderThickness = new System.Windows.Thickness(1);


            Grid grid = new Grid();


            grid.Children.Add(BackgroundRectangle);
            grid.Children.Add(Highlight);

            grid.Children.Add(contentLabel);

            base.Content = grid;
            this.MouseDown += new MouseButtonEventHandler(UserControl_MouseLeftButtonDown);
            this.MouseEnter += new MouseEventHandler(ModelListViewItem_MouseEnter);
            this.MouseLeave += new MouseEventHandler(ModelListViewItem_MouseLeave);
        }
コード例 #6
1
        //public static readonly DependencyProperty IsTutorialOverlayCompatibleProperty = DependencyProperty.RegisterAttached("IsTutorialOverlayCompatible", typeof(Boolean), typeof(TutorialManager), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender, IsTutorialOverlayCompatibleChanged));
        //public static void SetIsTutorialOverlayCompatible(UIElement element, Boolean value)
        //{
        //    element.SetValue(IsTutorialOverlayCompatibleProperty, value);
        //}
        //public static Boolean GetIsTutorialOverlayCompatible(UIElement element)
        //{
        //    return (Boolean)element.GetValue(IsTutorialOverlayCompatibleProperty);
        //}
        public static void InjectOverlayIntoMainWindow()
        {
            if (OverlayHasBeenInjected)
            {
                return;
            }

            Window window = Application.Current.MainWindow;

            Grid newRootElement = new Grid();
            newRootElement.Name = "HelpOverlayRoot";
            if (window.Content as UIElement != null)
            {
                UIElement currentContent = (UIElement)window.Content;
                window.Content = null;
                newRootElement.Children.Add(currentContent);
                newRootElement.Children.Add(new HelpOverlayControl());
                window.Content = newRootElement;

                Overlay = (HelpOverlayControl)HelpOverlyHelper.FindChild(newRootElement, "PART_HelpOverlayUserControl");

                OverlayHasBeenInjected = true;
            }
            else
            {
                Console.WriteLine("HelpOverlay cannot inject its overlay control into a window that defines its root as a DataTemplate.  In order to use HelpOverlay, ensure that the current Window's Content property is a UIElement.");
            }
        }
コード例 #7
1
ファイル: Cabecera.cs プロジェクト: douglaszuniga/Gato
        public Cabecera()
        {
            Background = new SolidColorBrush(Colors.White);
            Orientation = Orientation.Vertical;

            var nombreJuego = new TextBlock { Text = "Tres en Línea", FontSize = 78, Foreground = new SolidColorBrush(Colors.Black), HorizontalAlignment = HorizontalAlignment.Center};
            Children.Add(nombreJuego);

            var nuevoJuego = new Button {Content = "Iniciar nuevo Juego", Background = new SolidColorBrush(Colors.Black)};
            nuevoJuego.Tap += nuevoJuego_Tap;
            Children.Add(nuevoJuego);

            Grid resultadoGrid = new Grid{Background = new SolidColorBrush(Colors.White), ShowGridLines = false};

            resultadoGrid.ColumnDefinitions.Add(new ColumnDefinition());
            resultadoGrid.ColumnDefinitions.Add(new ColumnDefinition{Width = new GridLength(2, GridUnitType.Star)});
            resultadoGrid.RowDefinitions.Add(new RowDefinition());

            var labelResultado = new TextBlock { Text = "Resultado:", FontSize = 22, Foreground = new SolidColorBrush(Colors.Black), HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Center };
            resultadoGrid.Children.Add(labelResultado);
            Grid.SetColumn(labelResultado, 0);

            resultado = new TextBlock { Text = "En proceso.", FontSize = 22, Foreground = new SolidColorBrush(Colors.Black), HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Center };
            resultadoGrid.Children.Add(resultado);
            Grid.SetColumn(resultado, 1);

            Children.Add(resultadoGrid);
        }
コード例 #8
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;
        }
コード例 #9
1
        public ExamineKeystrokes()
        {
            Title = "Examine Keystrokes";
            FontFamily = new FontFamily("Courier New");

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

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

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

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

            stack = new StackPanel();
            scroll.Content = stack;
        }
コード例 #10
1
ファイル: Tab.cs プロジェクト: straboulsi/fauvel
 public MainTab(int page, TabItem newTab, Image newVerso, Image newRecto, Grid canvas, Grid vGrid, Grid rGrid, Button delBtn, ScatterView SV, ScatterViewItem si, Grid vSwipeGrid, Grid rSwipeGrid, Grid vTranslationGrid, Grid rTranslationGrid, Grid vBoxesGrid, Grid rBoxesGrid, TextBlock headerText, SurfaceWindow1.language language)
 {
     _page = page;
     _tab = newTab;
     _verso = newVerso;
     _recto = newRecto;
     _canvas = canvas;
     _vGrid = vGrid;
     _rGrid = rGrid;
     _SVI = si;
     _delButton = delBtn;
     numFingersRecto = 0;
     numFingersVerso = 0;
     fingerPos = new List<Point>();
     avgTouchPoint = new Point(-1, 0);
     _vSwipeGrid = vSwipeGrid;
     _rSwipeGrid = rSwipeGrid;
     _vTranslationGrid = vTranslationGrid;
     _rTranslationGrid = rTranslationGrid;
     _vBoxesGrid = vBoxesGrid;
     _rBoxesGrid = rBoxesGrid;
     _twoPage = true;
     _SV = SV;
     _headerTB = headerText;
     _currentLanguage = language;
     _previousLanguage = _currentLanguage;
     _worker = new Workers(this);
 }
コード例 #11
1
ファイル: MainWindow.xaml.cs プロジェクト: dingxinbei/OLdBck
        private void AntGrid(Grid g)
        {
            g.Width = 5;
            g.Height = 5;
            g.Visibility = Visibility.Visible;

            Storyboard sb = new Storyboard();
            DoubleAnimation da = new DoubleAnimation(5.0, gridmain.ActualWidth - 10, new Duration(TimeSpan.FromSeconds(2)));
            DoubleAnimation da1 = new DoubleAnimation(5.0, gridmain.RowDefinitions[0].ActualHeight - 10, new Duration(TimeSpan.FromSeconds(2)));

            DoubleAnimation da2 = new DoubleAnimation(0, 720, new Duration(TimeSpan.FromSeconds(2)));

            TransformGroup tg = new TransformGroup();
            RotateTransform rt = new RotateTransform(720);

            tg.Children.Add(rt);
            g.RenderTransform = tg;
            g.RenderTransformOrigin = new Point(0.5, 0.5);
            Storyboard.SetTarget(da2, g);
            Storyboard.SetTargetProperty(da2, new PropertyPath("(UIElement.RenderTransform).(TransformGroup.Children)[0].(RotateTransform.Angle)"));//RotateTransform.AngleProperty
            sb.Children.Add(da2);

            Storyboard.SetTarget(da, g);
            Storyboard.SetTargetProperty(da, new PropertyPath(Grid.WidthProperty));
            sb.Children.Add(da);

            Storyboard.SetTarget(da1, g);
            Storyboard.SetTargetProperty(da1, new PropertyPath(Grid.HeightProperty));
            sb.Children.Add(da1);

            if (!Resources.Contains("ShowAn"))
                Resources.Add("ShowAn", sb);
            sb.AccelerationRatio = 1.0;
            sb.Begin();
        }
コード例 #12
1
        protected QryptoWirePage()
        {
            Loaded += (sender, args) =>
            {
                SystemTray.IsVisible = false;

                var dc = DataContext as QryptoViewModel;
                if (dc != null)
                {
                    var pageContent = Content as FrameworkElement;
                        if(pageContent == null)
                            return;

                    var rootGrid = new Grid
                    {
                        RowDefinitions = { new RowDefinition { Height = new GridLength(1, GridUnitType.Star) } }
                    };

                    var overlay = new WorkingOverlay();
                    Grid.SetRow(overlay, 1);
                    Grid.SetRow(pageContent, 1);

                    Content = rootGrid;

                    rootGrid.Children.Add(pageContent);
                    rootGrid.Children.Add(overlay);
                }
            };
        }
コード例 #13
1
        // ReSharper restore UnassignedField.Global
        // ReSharper restore MemberCanBePrivate.Global


        public void Evaluate(int SpreadMax)
        {
            UIElementOut.SliceCount = 1;

            if (UIElementOut == null || !(UIElementOut[0] is Grid))
                UIElementOut[0] = new Grid();

            var toRemove = new List<UIElement>();

            ((Grid) UIElementOut[0]).Children.Cast<UIElement>().ToList().ForEach(element =>
            {
                if (!_elementInputs.Where(input => input.IOObject[0] != null).Any(input => input.IOObject[0].Equals(element)))
                    toRemove.Add(element);
            });

            toRemove.ForEach(element => ((Grid) UIElementOut[0]).Children.Remove(element));

            for (var i = 0; i < _elementInputs.SliceCount; i++)
            {
                //if (_elementInputs[i].IOObject[0] == null && ((Grid) UIElementOut[0]).Children[i] != null)
                //    ((Grid) UIElementOut[0]).Children.RemoveAt(i);

                if (_elementInputs[i].IOObject[0] != null && !(((Grid) UIElementOut[0]).Children.Contains(_elementInputs[i].IOObject[0])))
                    ((Grid) UIElementOut[0]).Children.Add(_elementInputs[i].IOObject[0]);
            }
        }
コード例 #14
1
 public static TabItem CreateTabItem(WrapPanel headerPanel, Grid textBoxGrid)
 {
     TabItem tabItem = new TabItem();
     tabItem.Header = headerPanel;
     tabItem.Content = textBoxGrid;
     return tabItem;
 }
コード例 #15
1
ファイル: Meter8.cs プロジェクト: Jitlee/MonitorProject
        public Meter8()
        {
            var borderBrush = new LinearGradientBrush();
            borderBrush.StartPoint = new Point();
            borderBrush.EndPoint = new Point(1d, 1d);
            borderBrush.GradientStops.Add(new GradientStop() { Color = Colors.White, Offset = 0d });
            borderBrush.GradientStops.Add(new GradientStop() { Color = Colors.White, Offset = 0.4999d });
            borderBrush.GradientStops.Add(new GradientStop() { Color = Color.FromArgb(0xff, 0x84, 0x7B, 0x6C), Offset = 0.5d });
            borderBrush.GradientStops.Add(new GradientStop() { Color = Color.FromArgb(0xff, 0x84, 0x7B, 0x6C), Offset = 1d });
            var border = new Rectangle();
            border.Fill = borderBrush;
            //border.Stroke = new SolidColorBrush(Colors.Black);
            //border.StrokeThickness = 1d;

            var background = new Rectangle();
            background.Fill = new SolidColorBrush(Color.FromArgb(0xff, 0xAD, 0xA7, 0x9D));
            background.Margin = new Thickness(4d);

            var grid = new Grid();
            grid.Children.Add(border);
            grid.Children.Add(background);
            grid.Children.Add(_canvas);
            grid.Children.Add(_calibrationCanvas);

            this.Content = grid;

            _label.Text = Value.ToString();
            _label.Foreground = new SolidColorBrush(ForeColor);

            _pointLine.Stroke = new SolidColorBrush(Colors.Red);
            _pointLine.StrokeThickness = 2d;
            this.SizeChanged += Meter_SizeChanged;
        }
        private void ListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            
            //InstrumentHierarchyViewModel item = sender as InstrumentHierarchyViewModel;
            ExploreHirachyInstrumentVMWrapper item = ExplorerListView_.SelectedItem as ExploreHirachyInstrumentVMWrapper;

            if (item != null)
            {
                LayoutDocument layoutDoc = new LayoutDocument();
                //int count = this.Parent.ChildrenCount;
                //LayoutDocumentPane pane = new LayoutDocumentPane();
                Grid grid = new Grid();
                grid.Children.Add(item.view());
                layoutDoc.Content = grid;

                layoutDoc.Title = item.ProductName_;

                mainWindow_.DocumentPane_.Children.Add(layoutDoc);
                OutputLogViewModel.addResult(new MessageOutput(item.ProductName_ + " is loaded"));
                
            }
            
            
            //MainWindow.AddCtrlOnMainWindow(item.View_);
        }
コード例 #17
1
ファイル: Brique.cs プロジェクト: mbonitho/ClockTwo
        //Constructeur
        public Brique(Grid parent, double posX, double posY, bool cassable)
        {
            //Création de l'ellipse
            this._forme = new Rectangle();

            //Ajout au parent
            parent.Children.Add(this._forme);

            //Taille de la Brique
            this._forme.Height = 20;
            this._forme.Width = 60;

            //Position de la Brique
            this._forme.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            this._forme.VerticalAlignment = System.Windows.VerticalAlignment.Top;
            this._forme.Margin = new System.Windows.Thickness(posX, posY, 0, 0);

            this.Cassable = cassable;

            //Couleur de la Brique
            //Couleur de fond
            Thread.Sleep(1);
            Random R = new Random(unchecked((int)DateTime.Now.Ticks));
            SolidColorBrush couleurFond = new SolidColorBrush();
            byte Red = (byte)(R.Next(253) + 1);
            byte Green = (byte)(R.Next(253) + 1);
            byte Blue = (byte)(R.Next(253) + 1);
            //Noire si incassable
            couleurFond.Color = cassable ? Color.FromRgb(Red, Green, Blue) : Color.FromRgb(0, 0, 0);
            this._forme.Fill = couleurFond;
            //Couleur de bordure
            SolidColorBrush couleurBord = new SolidColorBrush();
            couleurBord.Color = Color.FromRgb(255, 255, 255);
            this._forme.Stroke = couleurBord;
        }
コード例 #18
1
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            _imageContainer = (Grid)GetTemplateChild("ImageContainer");

			GridSizeChanged();
			ResetGridStateManagement();

			_createAnimation = false;

			if (!DesignerProperties.IsInDesignTool)
			{
				for (var i = 0; i < Rows; i++)
				{
					for (var j = 0; j < Columns; j++)
					{
						CycleImage(i, j);
					}
				}
			}

	        _createAnimation = true;

			ImageCycleIntervalChanged();
			IsFrozenPropertyChanged();

			_changeImageTimer.Tick += ChangeImageTimerTick;
        }
コード例 #19
1
        protected override FrameworkElement GetContent()
        {
            int totalHeight = 0;
            ListBox removeOptions = new ListBox();

            for(int i = 0 ; i < _tree.Items.Count; i ++)
            
                if (_tree.Items[i] is PatternBase)
                {
                    totalHeight += 25; //default height of an item
                    TextBlock pattern = new TextBlock() 
                    {
                        Text = (_tree.Items[i] as PatternBase).BioPatternName,
                        Name = i.ToString(), //store the id as name so we can remove it later...
                        Width = 150
                    };

                    pattern.MouseLeftButtonUp += new MouseButtonEventHandler(RemoveSelectedPattern);
                    removeOptions.Items.Add(pattern);
                }

            Grid grid = new Grid() 
            { 
                Height = totalHeight,
                Width = 170
            };
            grid.Children.Add(removeOptions);
            return grid;
        }
コード例 #20
1
        private void showlocations()
        {
            foreach (Place p in _vm.Places)
            {
                Grid MyGrid = new Grid();
                MyGrid.RowDefinitions.Add(new RowDefinition());
                MyGrid.RowDefinitions.Add(new RowDefinition());
                MyGrid.Background = new SolidColorBrush(Colors.Transparent);

                BitmapImage bmi = new BitmapImage(new Uri("/Assets/pushpinPhone.png", UriKind.Relative));
                Image img = new Image();
                img.Tag = (p);
                img.Source = bmi;
               
        
                MyGrid.Children.Add(img);


                //Creating a MapOverlay and adding the Grid to it.
                MapOverlay MyOverlay = new MapOverlay();
                MyOverlay.Content = MyGrid;

                MyOverlay.GeoCoordinate = new GeoCoordinate(p.Latitude, p.Longitude);


                MyOverlay.PositionOrigin = new Point(0, 0.5);

                //Creating a MapLayer and adding the MapOverlay to it
                MapLayer MyLayer = new MapLayer();
                MyLayer.Add(MyOverlay);
                mapWithMyLocation.Layers.Add(MyLayer);
            }
        }
コード例 #21
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;
        }
コード例 #22
0
 private System.Windows.FrameworkElement Graph(double[] operands)
 {
     Grid g = new Grid();
     double max = operands[0];
     foreach (double d in operands)
     {
         max = Math.Max(max, d);
     }
     int rows = (int)max;
     int columns = operands.Length;
     for (int i = 0;i<columns;i++)
     {
         g.ColumnDefinitions.Add(new ColumnDefinition());
     }
     for (int i = 0; i < rows; i++)
     {
         g.RowDefinitions.Add(new RowDefinition());
     }
     for (int c = 0; c <columns; c++)
     {
         for (int r = (int)operands[c]; r >= 0; r--)
         {
             Canvas canvas = new Canvas();
             System.Windows.Media.SolidColorBrush brush = new System.Windows.Media.SolidColorBrush();
             brush.Color = System.Windows.Media.Colors.Red;
             canvas.Background = brush;
             Grid.SetColumn(canvas, c);
             Grid.SetRow(canvas, rows-r);
             g.Children.Add(canvas);
         }
     }
     g.Width = 229;
     g.Height = 229;
     return g;
 }
コード例 #23
0
        protected override void CreateControls(IWpfTextViewHost host, string source)
        {
            int width = WESettings.GetInt(SettingsKey);
            width = width == -1 ? 400 : width;

            _browser = new WebBrowser();
            _browser.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;

            Grid grid = new Grid();
            grid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(0, GridUnitType.Star) });
            grid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(5, GridUnitType.Pixel) });
            grid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(width) });
            grid.RowDefinitions.Add(new RowDefinition());

            grid.Children.Add(_browser);
            this.Children.Add(grid);

            Grid.SetColumn(_browser, 2);
            Grid.SetRow(_browser, 0);

            GridSplitter splitter = new GridSplitter();
            splitter.Width = 5;
            splitter.ResizeDirection = GridResizeDirection.Columns;
            splitter.VerticalAlignment = System.Windows.VerticalAlignment.Stretch;
            splitter.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
            splitter.DragCompleted += splitter_DragCompleted;

            grid.Children.Add(splitter);
            Grid.SetColumn(splitter, 1);
            Grid.SetRow(splitter, 0);
        }
コード例 #24
0
ファイル: ExtTreeNode.cs プロジェクト: ichengzi/atnets
        public ExtTreeNode(Image icon, string title)
            : this()
        {
            if (icon != null)
            {
                this.icon = icon;
            }
            else//test inti icon
            {
                this.icon = new Image();
                BitmapImage bitmapImage = new BitmapImage();
                bitmapImage.BeginInit();
                bitmapImage.UriSource = new Uri(@"pack://*****:*****@"../../icons/add.png", UriKind.RelativeOrAbsolute);
                bitmapImage.EndInit();
                this.icon.Source = bitmapImage;
            }

            this.icon.Width = 16;
            this.icon.Height = 16;

            this.title = title;

            TextBlock tb = new TextBlock();
            tb.Text = title;
            Grid grid = new Grid();
            grid.ColumnDefinitions.Add(new ColumnDefinition());
            grid.ColumnDefinitions.Add(new ColumnDefinition());
            grid.Children.Add(this.icon);
            grid.Children.Add(tb);
            Grid.SetColumn(this.icon, 0);
            Grid.SetColumn(tb, 1);
            this.Header = grid;
        }
コード例 #25
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainPanelGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     
     #line 55 "..\..\..\..\..\Ui\UserControls\HomePanels\VehicleInformationPanel.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Properties_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 56 "..\..\..\..\..\Ui\UserControls\HomePanels\VehicleInformationPanel.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.HidePanel);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #26
0
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Controls/ErrorMessageBox.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.DetailsEnabledStates = (VisualStateGroup) base.FindName("DetailsEnabledStates");
         this.ErrorMessageDetailDisabled = (VisualState) base.FindName("ErrorMessageDetailDisabled");
         this.ErrorMessageDetailEnabled = (VisualState) base.FindName("ErrorMessageDetailEnabled");
         this.DetailsStates = (VisualStateGroup) base.FindName("DetailsStates");
         this.DetailsVisible = (VisualState) base.FindName("DetailsVisible");
         this.DetailsNotVisible = (VisualState) base.FindName("DetailsNotVisible");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.InnerDialogGrid = (Grid) base.FindName("InnerDialogGrid");
         this.DialogRectangle = (Rectangle) base.FindName("DialogRectangle");
         this.CloseButton = (Button) base.FindName("CloseButton");
         this.ErrorMessageTitleTextBlock = (TextBlock) base.FindName("ErrorMessageTitleTextBlock");
         this.ErrorMessageTextBlock = (TextBlock) base.FindName("ErrorMessageTextBlock");
         this.ButtonOK = (Button) base.FindName("ButtonOK");
         this.Icon = (TextBlock) base.FindName("Icon");
         this.SimpleErrorDetails = (Grid) base.FindName("SimpleErrorDetails");
         this.ShowDetailsToggle = (TextToggleButton) base.FindName("ShowDetailsToggle");
         this.DetailsTextBox = (TextBox) base.FindName("DetailsTextBox");
     }
 }
コード例 #27
0
ファイル: GridAdorner.cs プロジェクト: fanyjie/SharpDevelop
		bool displayUnitSelector; // Indicates whether Grid UnitSeletor should be displayed.
		
		public GridRailAdorner(DesignItem gridItem, AdornerPanel adornerPanel, Orientation orientation)
		{
			Debug.Assert(gridItem != null);
			Debug.Assert(adornerPanel != null);
			
			this.gridItem = gridItem;
			this.grid = (Grid)gridItem.Component;
			this.adornerPanel = adornerPanel;
			this.orientation = orientation;
			this.displayUnitSelector=false;
			this.unitSelector = new GridUnitSelector(this);
			adornerPanel.Children.Add(unitSelector);
			
			if (orientation == Orientation.Horizontal) {
				this.Height = RailSize;
				previewAdorner = new GridColumnSplitterAdorner(this, gridItem, null, null);
			} else { // vertical
				this.Width = RailSize;
				previewAdorner = new GridRowSplitterAdorner(this, gridItem, null, null);
			}
			unitSelector.Orientation = orientation;
			previewAdorner.IsPreview = true;
			previewAdorner.IsHitTestVisible = false;
			unitSelector.Visibility = Visibility.Hidden;
			
		}
コード例 #28
0
        public btch_item(stat_home m, int i, String btch_name)
        {
            main = m;
            item = new Grid();
            this.btch_name = btch_name;

            item.Height = 60;
            item.Width = 456;
            item.HorizontalAlignment = HorizontalAlignment.Left;
            item.VerticalAlignment = VerticalAlignment.Top;
            item.Margin = new Thickness(10, 10 + i * 90, 0, 0);

            name = new TextBlock();
            item.Children.Add(name);

            name.Height = 60;
            name.Width = 456;
            name.TextWrapping = TextWrapping.NoWrap;
            name.FontSize = 40;
            name.Margin = new Thickness(0, 0, 0, 0);
            name.Foreground = new SolidColorBrush(Colors.White);
            name.HorizontalAlignment = HorizontalAlignment.Left;
            name.VerticalAlignment = VerticalAlignment.Top;
            name.MouseLeftButtonDown += new MouseButtonEventHandler(expand);

            name.Text = btch_name;

        }
コード例 #29
0
ファイル: AddMidpoint.cs プロジェクト: wcatykid/GeoShader
        protected override Grid MakeGivenGrid()
        {
            //Set up grid
            Grid grid = new Grid();
            grid.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });
            grid.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });

            //Create the description text
            TextBlock desc = new TextBlock();
            desc.TextWrapping = TextWrapping.Wrap;
            desc.Text = "Specify a midpoint.";
            desc.Margin = new Thickness(0, 0, 0, 10);

            //Create a combo box to choose from
            optionsBox = new ComboBox();
            optionsBox.MinWidth = 200;

            //Align elements in grid and add them to it
            Grid.SetColumn(desc, 0);
            Grid.SetRow(desc, 0);
            grid.Children.Add(desc);
            Grid.SetColumn(optionsBox, 0);
            Grid.SetRow(optionsBox, 1);
            grid.Children.Add(optionsBox);

            return grid;
        }
コード例 #30
0
 private void ExpandViewPart(UIElement viewPart, Grid hostGrid)
 {
     hostGrid.Children.Remove(viewPart);
     this.Shelf.Children.Add(viewPart);
     Grid.SetColumn(viewPart, 0);
     Grid.SetColumnSpan(viewPart, 3);
 }
コード例 #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ManinWindow = ((System.Windows.Controls.Grid)(target));

            #line 13 "..\..\..\Views\MainWindow.xaml"
                this.ManinWindow.Loaded += new System.Windows.RoutedEventHandler(this.ManinWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.RibbonControl = ((DevExpress.Xpf.Ribbon.RibbonControl)(target));
                return;

            case 3:
                this.Ribbonpage_Home = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
                return;

            case 4:
                this.RibbonPageGroup_Home = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 5:
                this.saveButton = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 28 "..\..\..\Views\MainWindow.xaml"
                this.saveButton.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.RibbonItem_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.AddButton = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 30 "..\..\..\Views\MainWindow.xaml"
                this.AddButton.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.RibbonItem_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.editButton = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 32 "..\..\..\Views\MainWindow.xaml"
                this.editButton.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.RibbonItem_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.deleteButton = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 34 "..\..\..\Views\MainWindow.xaml"
                this.deleteButton.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.RibbonItem_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.cancelButton = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 36 "..\..\..\Views\MainWindow.xaml"
                this.cancelButton.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.RibbonItem_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Ribbonpage_Logout = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 11:
                this.btn_Logout = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 40 "..\..\..\Views\MainWindow.xaml"
                this.btn_Logout.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.btn_Logout_ItemClick);

            #line default
            #line hidden
                return;

            case 12:
                this.Ribbonpage_AlimSatim = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
                return;

            case 13:
                this.basketAdd = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 45 "..\..\..\Views\MainWindow.xaml"
                this.basketAdd.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.basketAdd_ItemClick);

            #line default
            #line hidden
                return;

            case 14:
                this.AcceptBasket = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 46 "..\..\..\Views\MainWindow.xaml"
                this.AcceptBasket.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.AcceptBasket_ItemClick);

            #line default
            #line hidden
                return;

            case 15:
                this.CancelBasket = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 47 "..\..\..\Views\MainWindow.xaml"
                this.CancelBasket.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.CancelBasket_ItemClick);

            #line default
            #line hidden
                return;

            case 16:
                this.definePanel = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
                return;

            case 17:
                this.navBar_tanimGroup = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 18:
                this.navBar_uruntanim = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 60 "..\..\..\Views\MainWindow.xaml"
                this.navBar_uruntanim.Click += new System.EventHandler(this.navBar_uruntanim_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.navBar_personeltanim = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 61 "..\..\..\Views\MainWindow.xaml"
                this.navBar_personeltanim.Click += new System.EventHandler(this.navBar_personeltanim_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.navBar_musteritanim = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 62 "..\..\..\Views\MainWindow.xaml"
                this.navBar_musteritanim.Click += new System.EventHandler(this.navBar_musteritanim_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.navBar_listGroup = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 22:
                this.navBar_urunList = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 65 "..\..\..\Views\MainWindow.xaml"
                this.navBar_urunList.Click += new System.EventHandler(this.navBar_urunList_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.navBar_raporList = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 66 "..\..\..\Views\MainWindow.xaml"
                this.navBar_raporList.Click += new System.EventHandler(this.navBar_raporList_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.TabControlMain = ((DevExpress.Xpf.Core.DXTabControl)(target));

            #line 72 "..\..\..\Views\MainWindow.xaml"
                this.TabControlMain.TabHidden += new DevExpress.Xpf.Core.TabControlTabHiddenEventHandler(this.TabControlMain_TabHidden);

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

            #line 10 "..\..\..\Views\PageManager.xaml"
                ((EdibleFungusGreenhouse.Views.PageManager)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.CheckBoxScan = ((Utils.ScanCheckBox)(target));
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

            case 6:

            #line 77 "..\..\..\Views\PageManager.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonCloseScan);

            #line default
            #line hidden
                return;

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

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

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

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

            case 11:
                this.LabShelfLife = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #33
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.calcPath = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\MainWindow.xaml"
                this.inputTextFileContent.LostFocus += new System.Windows.RoutedEventHandler(this.InputTextFileContent_LostFocus);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.comboBox.DropDownOpened += new System.EventHandler(this.comboBox_DropDownOpened);

            #line default
            #line hidden
                return;

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

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

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

            #line 66 "..\..\MainWindow.xaml"
                this.buttonConnect.Click += new System.Windows.RoutedEventHandler(this.ButtonConnect_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.buttonBrowse.Click += new System.Windows.RoutedEventHandler(this.btnOpenFile_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 7 "..\..\..\..\..\..\Departments\Project Management\AR2\Add_AR2.xaml"
                ((VI_eLog.Departments.Project_Management.AR.Add_AR2)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 23 "..\..\..\..\..\..\Departments\Project Management\AR2\Add_AR2.xaml"
                this.btn_confirm.Click += new System.Windows.RoutedEventHandler(this.btn_confirm_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\..\..\..\Departments\Project Management\AR2\Add_AR2.xaml"
                this.btn_close.Click += new System.Windows.RoutedEventHandler(this.btn_close_Click);

            #line default
            #line hidden
                return;

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

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

            case 9:
                this.cb_PIC = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

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

            case 15:
                this.datePicker_Start = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            case 17:
                this.datePicker_End = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

            #line 49 "..\..\..\..\..\..\Departments\Project Management\AR2\Add_AR2.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

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

            case 22:
                this.cb_Priority = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 23:
                this.cb_status = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 24:
                this.cb_status_select = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 25:
                this.cb_status_Open = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

            case 28:
                this.cb_status_close = ((System.Windows.Controls.ComboBoxItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #35
0
ファイル: PageTurnBtn.g.i.cs プロジェクト: mql620/MyProject
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tbkRecords = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 2:
     this.btnFirst = ((System.Windows.Controls.TextBlock)(target));
     
     #line 46 "..\..\..\..\Common\Css\PageTurnBtn.xaml"
     this.btnFirst.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.btnFirst_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 46 "..\..\..\..\Common\Css\PageTurnBtn.xaml"
     this.btnFirst.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnFirst_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnPrev = ((System.Windows.Controls.TextBlock)(target));
     
     #line 50 "..\..\..\..\Common\Css\PageTurnBtn.xaml"
     this.btnPrev.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.btnPrev_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 50 "..\..\..\..\Common\Css\PageTurnBtn.xaml"
     this.btnPrev.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnPrev_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 4:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.btnNext = ((System.Windows.Controls.TextBlock)(target));
     
     #line 59 "..\..\..\..\Common\Css\PageTurnBtn.xaml"
     this.btnNext.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.btnNext_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 59 "..\..\..\..\Common\Css\PageTurnBtn.xaml"
     this.btnNext.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnNext_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnLast = ((System.Windows.Controls.TextBlock)(target));
     
     #line 63 "..\..\..\..\Common\Css\PageTurnBtn.xaml"
     this.btnLast.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.btnLast_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 63 "..\..\..\..\Common\Css\PageTurnBtn.xaml"
     this.btnLast.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.btnLast_MouseLeftButtonUp);
     
     #line default
     #line hidden
     return;
     case 7:
     this.pageGo = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.btnGo = ((System.Windows.Controls.Button)(target));
     
     #line 66 "..\..\..\..\Common\Css\PageTurnBtn.xaml"
     this.btnGo.Click += new System.Windows.RoutedEventHandler(this.btnGo_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.Upgrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.bDateDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 83 "..\..\UpTester.xaml"
                this.Update.Click += new System.Windows.RoutedEventHandler(this.Update_Click);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\UpTester.xaml"
                this.Delete.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

            #line default
            #line hidden
                return;

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

            case 20:
                this.answerColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 21:
                this.dateTestColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 22:
                this.idTesterColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 23:
                this.idTraineeColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 24:
                this.numTestColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 25:
                this.testerNoteColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMainWindow = ((WPF.DashboardStarter.Dashboard.Dashboard)(target));
                return;

            case 2:
                this.Titlebar = ((WPF.DashboardStarter.UserControls.Titlebar)(target));
                return;

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

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

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

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

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

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

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

            case 10:
                this.AnimatedRotateTransform = ((System.Windows.Media.RotateTransform)(target));
                return;

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

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

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

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

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

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

            case 17:
                this.OuterDrawerHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;

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

            case 19:
                this.InnerDrawerHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;

            case 20:
                this.DashboardHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;

            case 21:
                this.Spinner = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 22:
                this.Popup = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.PopupHost = ((WPF.Basics.MVVM.UserControlHost)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frameWindow = ((cwk2_2016.Window1)(target));

            #line 8 "..\..\Window1.xaml"
                this.frameWindow.Closing += new System.ComponentModel.CancelEventHandler(this.frameWindow_Closing);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 51 "..\..\..\Windows\MainWindow.xaml"
                this.LVlistBuses.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.LVlistBuses_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 10:
                this.viewBusLines = ((System.Windows.Controls.ListView)(target));

            #line 169 "..\..\..\Windows\MainWindow.xaml"
                this.viewBusLines.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.linesDetails_Click);

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:
                this.lstStations = ((System.Windows.Controls.ListView)(target));

            #line 236 "..\..\..\Windows\MainWindow.xaml"
                this.lstStations.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.detailStation_Click);

            #line default
            #line hidden
                return;

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

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

            #line 282 "..\..\..\Windows\MainWindow.xaml"
                this.ChangePassenger.Click += new System.Windows.RoutedEventHandler(this.ChangePassenger_Click);

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

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

            case 20:
                this.userName = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #40
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Accueil/FrmLiaisonCompteurMigration.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Gbo_InformationDemandeDevis = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDemandeDevis")));
     this.CancelButton         = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.OKButton             = ((System.Windows.Controls.Button)(this.FindName("OKButton")));
     this.tabItemDevis         = ((System.Windows.Controls.TabItem)(this.FindName("tabItemDevis")));
     this.Gbo_InformationDevis = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_InformationDevis")));
     this.Txt_CodeSite         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeSite")));
     this.lbl_Site             = ((System.Windows.Controls.Label)(this.FindName("lbl_Site")));
     this.Txt_LibelleSite      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleSite")));
     this.Txt_CodeCentre       = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeCentre")));
     this.lbl_Centre           = ((System.Windows.Controls.Label)(this.FindName("lbl_Centre")));
     this.Txt_LibelleCentre    = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleCentre")));
     this.Txt_LibelleProduit   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleProduit")));
     this.lbl_Produit          = ((System.Windows.Controls.Label)(this.FindName("lbl_Produit")));
     this.Txt_CodeProduit      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeProduit")));
     this.Txt_LibelleTypeDevis = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTypeDevis")));
     this.Txt_Compteur         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Compteur")));
     this.lbl_TypeDevis        = ((System.Windows.Controls.Label)(this.FindName("lbl_TypeDevis")));
     this.lbl_EtapeEnCours     = ((System.Windows.Controls.Label)(this.FindName("lbl_EtapeEnCours")));
     this.btn_Attribuer        = ((System.Windows.Controls.Button)(this.FindName("btn_Attribuer")));
     this.tabItemClient        = ((System.Windows.Controls.TabItem)(this.FindName("tabItemClient")));
     this.label17                         = ((System.Windows.Controls.Label)(this.FindName("label17")));
     this.Txt_NomClient                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_NomClient")));
     this.lbl_CodeConsomateur             = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeConsomateur")));
     this.lbl_CodeRelance                 = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeRelance")));
     this.lbl_categoie                    = ((System.Windows.Controls.Label)(this.FindName("lbl_categoie")));
     this.label22                         = ((System.Windows.Controls.Label)(this.FindName("label22")));
     this.tab12_Txt_LibelleCodeConso      = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleCodeConso")));
     this.tab12_Txt_LibelleEtatClient     = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleEtatClient")));
     this.tab12_Txt_LibelleCategorie      = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleCategorie")));
     this.tab12_Txt_LibelleTypeClient     = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleTypeClient")));
     this.lbl_CodeRegroupement            = ((System.Windows.Controls.Label)(this.FindName("lbl_CodeRegroupement")));
     this.lbl_Nationnalite                = ((System.Windows.Controls.Label)(this.FindName("lbl_Nationnalite")));
     this.tab12_Txt_LibelleGroupeCode     = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_LibelleGroupeCode")));
     this.tab12_Txt_Nationnalite          = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_Nationnalite")));
     this.lbl_RegroupementCompteur_Copy12 = ((System.Windows.Controls.Label)(this.FindName("lbl_RegroupementCompteur_Copy12")));
     this.tab12_Txt_Datecreate            = ((System.Windows.Controls.TextBox)(this.FindName("tab12_Txt_Datecreate")));
     this.label17_Copy                    = ((System.Windows.Controls.Label)(this.FindName("label17_Copy")));
     this.Txt_Telephone                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Telephone")));
     this.tabItemAbon                     = ((System.Windows.Controls.TabItem)(this.FindName("tabItemAbon")));
     this.lbl_Tarif                       = ((System.Windows.Controls.Label)(this.FindName("lbl_Tarif")));
     this.Txt_CodePussanceSoucrite        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodePussanceSoucrite")));
     this.lbl_PuissanceSouscrite          = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceSouscrite")));
     this.lbl_PuissanceUtilise            = ((System.Windows.Controls.Label)(this.FindName("lbl_PuissanceUtilise")));
     this.Txt_CodeForfait                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeForfait")));
     this.lbl_Forfait                     = ((System.Windows.Controls.Label)(this.FindName("lbl_Forfait")));
     this.textBox23                       = ((System.Windows.Controls.TextBox)(this.FindName("textBox23")));
     this.lbl_ForfaitPersonaliseAnnuel    = ((System.Windows.Controls.Label)(this.FindName("lbl_ForfaitPersonaliseAnnuel")));
     this.Txt_CodeFrequence               = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeFrequence")));
     this.lbl_Periodicite                 = ((System.Windows.Controls.Label)(this.FindName("lbl_Periodicite")));
     this.Txt_CodeMoisFacturation         = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeMoisFacturation")));
     this.lbl_MoisFact                    = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisFact")));
     this.Txt_LibelleForfait              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleForfait")));
     this.Txt_LibelleFrequence            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleFrequence")));
     this.Txt_LibMoisFact                 = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibMoisFact")));
     this.Txt_CodeMoisIndex               = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeMoisIndex")));
     this.Txt_LibelleMoisIndex            = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleMoisIndex")));
     this.Txt_CodeTarif                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodeTarif")));
     this.Txt_LibelleTarif                = ((System.Windows.Controls.TextBox)(this.FindName("Txt_LibelleTarif")));
     this.lbl_DateAbonnement              = ((System.Windows.Controls.Label)(this.FindName("lbl_DateAbonnement")));
     this.Txt_DateAbonnement              = ((System.Windows.Controls.TextBox)(this.FindName("Txt_DateAbonnement")));
     this.Txt_CodePuissanceUtilise        = ((System.Windows.Controls.TextBox)(this.FindName("Txt_CodePuissanceUtilise")));
     this.Chk_IsExonneration              = ((System.Windows.Controls.CheckBox)(this.FindName("Chk_IsExonneration")));
     this.textBox7_Copy                   = ((System.Windows.Controls.TextBox)(this.FindName("textBox7_Copy")));
     this.textBox7_Copy1                  = ((System.Windows.Controls.TextBox)(this.FindName("textBox7_Copy1")));
     this.lbl_MoisFact_Copy               = ((System.Windows.Controls.Label)(this.FindName("lbl_MoisFact_Copy")));
     this.prgBar = ((System.Windows.Controls.ProgressBar)(this.FindName("prgBar")));
     this.btn_RechercheClient_Copy = ((System.Windows.Controls.Button)(this.FindName("btn_RechercheClient_Copy")));
     this.lbl_NumerodeDemande      = ((System.Windows.Controls.Label)(this.FindName("lbl_NumerodeDemande")));
     this.Txt_ReferenceClient      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_ReferenceClient")));
     this.lbl_Ordre = ((System.Windows.Controls.Label)(this.FindName("lbl_Ordre")));
     this.Txt_Ordre = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Ordre")));
 }
コード例 #41
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dgData = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 7:

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

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\MainWindow.xaml"
                this.CSVButton.Click += new System.Windows.RoutedEventHandler(this.ConvertToCsv);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\MainWindow.xaml"
                this.ClearButton.Click += new System.Windows.RoutedEventHandler(this.ClearLoadedLog);

            #line default
            #line hidden
                return;

            case 10:
                this.progressbar1 = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Plugin_Manager.MainWindow)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.commandButtonRemove.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 45 "..\..\MainWindow.xaml"
                this.listbox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listArray_SelectionChanged);

            #line default
            #line hidden

            #line 45 "..\..\MainWindow.xaml"
                this.listbox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.item_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MainWindow.xaml"
                this.Search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\MainWindow.xaml"
                this.Developer_sort_tb.Click += new System.Windows.RoutedEventHandler(this.Sort_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.Type_sort_tb = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.Type_sort_tb.Click += new System.Windows.RoutedEventHandler(this.Sort_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\MainWindow.xaml"
                this.treeview.DragOver += new System.Windows.DragEventHandler(this.treeViewl_DragOver);

            #line default
            #line hidden

            #line 51 "..\..\MainWindow.xaml"
                this.treeview.Drop += new System.Windows.DragEventHandler(this.treeViewl_Drop);

            #line default
            #line hidden

            #line 51 "..\..\MainWindow.xaml"
                this.treeview.MouseMove += new System.Windows.Input.MouseEventHandler(this.treeViewl_MouseMove);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\MainWindow.xaml"
                this.commandButtonNewMenu.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\MainWindow.xaml"
                this.commandButtonMenuSettings.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 77 "..\..\MainWindow.xaml"
                this.menuSettingsButtonApply.Click += new System.Windows.RoutedEventHandler(this.menuSettingsButton_Click);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\MainWindow.xaml"
                this.menuSettingsShowHide.Click += new System.Windows.RoutedEventHandler(this.menuSettingsButton_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.stateOnlyIncluded = ((System.Windows.Controls.CheckBox)(target));

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

            #line default
            #line hidden
                return;

            case 28:
                this.TypePluginLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #43
0
ファイル: UcMainWindow.g.i.cs プロジェクト: TahaRostami/Harif
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dockPanelMain = ((System.Windows.Controls.DockPanel)(target));
                return;

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

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

            #line 21 "..\..\UcMainWindow.xaml"
                this.btnHome.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\UcMainWindow.xaml"
                this.btnCreditDeterminer.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\UcMainWindow.xaml"
                this.btnAdaptationTableCourses.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\UcMainWindow.xaml"
                this.btnStudentHistory.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\UcMainWindow.xaml"
                this.btnOfferedCoursesManager.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\UcMainWindow.xaml"
                this.btnReductionStep2Settings.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\UcMainWindow.xaml"
                this.btnReductionStep2.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\UcMainWindow.xaml"
                this.btnWeeklyProgram.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\UcMainWindow.xaml"
                this.btnMainSettings.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

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

            #line 8 "..\..\..\AdministratorWindows\AdminTree.xaml"
                ((RiskApp.AdminTree)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden
                return;

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

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

            #line 10 "..\..\..\AdministratorWindows\AdminTree.xaml"
                this.BackButton.Click += new System.Windows.RoutedEventHandler(this.BackButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 26 "..\..\..\AdministratorWindows\AdminTree.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\AdministratorWindows\AdminTree.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\AdministratorWindows\AdminTree.xaml"
                this.CreateReport.Click += new System.Windows.RoutedEventHandler(this.GoToReport_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #45
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.form = ((NewPaint.MainWindow)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.form.Closing += new System.ComponentModel.CancelEventHandler(this.Form_Closing);
     
     #line default
     #line hidden
     
     #line 9 "..\..\MainWindow.xaml"
     this.form.KeyUp += new System.Windows.Input.KeyEventHandler(this.Form_KeyUp);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Palette = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Color1 = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\MainWindow.xaml"
     this.Color1.Click += new System.Windows.RoutedEventHandler(this.ChosenColor_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Color2 = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.Color2.Click += new System.Windows.RoutedEventHandler(this.ChosenColor_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 49 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 50 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Load_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 51 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.canvas = ((System.Windows.Controls.Canvas)(target));
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Canvas_MouseLeave);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseMove += new System.Windows.Input.MouseEventHandler(this.Canvas_MouseMove);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseUp);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas_MouseDown);
     
     #line default
     #line hidden
     
     #line 80 "..\..\MainWindow.xaml"
     this.canvas.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Canvas_PreviewMouseWheel);
     
     #line default
     #line hidden
     return;
     case 10:
     this.ScrollBarX = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     
     #line 81 "..\..\MainWindow.xaml"
     this.ScrollBarX.Scroll += new System.Windows.Controls.Primitives.ScrollEventHandler(this.ScrollBarX_Scroll);
     
     #line default
     #line hidden
     return;
     case 11:
     this.ScrollBarY = ((System.Windows.Controls.Primitives.ScrollBar)(target));
     
     #line 82 "..\..\MainWindow.xaml"
     this.ScrollBarY.Scroll += new System.Windows.Controls.Primitives.ScrollEventHandler(this.ScrollBarY_Scroll);
     
     #line default
     #line hidden
     return;
     case 12:
     this.ToolBarPanel_Property = ((System.Windows.Controls.Primitives.ToolBarPanel)(target));
     return;
     case 13:
     this.Panel_Property = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.standartProps = ((System.Windows.Controls.Grid)(target));
     return;
     case 15:
     this.thicknessSelector = ((System.Windows.Controls.TextBox)(target));
     
     #line 101 "..\..\MainWindow.xaml"
     this.thicknessSelector.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 16:
     this.dashSelector = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 17:
     this.zSelector = ((System.Windows.Controls.TextBox)(target));
     
     #line 120 "..\..\MainWindow.xaml"
     this.zSelector.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 18:
     this.fillProp = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.fillSelector = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 20:
     
     #line 137 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FillColor_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.roundsProp = ((System.Windows.Controls.Grid)(target));
     return;
     case 22:
     this.roundsSelectorX = ((System.Windows.Controls.TextBox)(target));
     
     #line 151 "..\..\MainWindow.xaml"
     this.roundsSelectorX.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 23:
     this.roundsSelectorY = ((System.Windows.Controls.TextBox)(target));
     
     #line 154 "..\..\MainWindow.xaml"
     this.roundsSelectorY.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TextBox_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 24:
     this.applyProp = ((System.Windows.Controls.Button)(target));
     
     #line 157 "..\..\MainWindow.xaml"
     this.applyProp.Click += new System.Windows.RoutedEventHandler(this.Apply_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\addFault.xaml"
                ((PLfrom.Fault)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded_1);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 13:
                this.dateOfFaultDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            case 16:
                this.nameFaultComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\..\Views\OrderAnalysisDataView.xaml"
                this.checkBoxOrthographic.Checked += new System.Windows.RoutedEventHandler(this.checkBoxOrthographic_Checked);

            #line default
            #line hidden

            #line 58 "..\..\..\Views\OrderAnalysisDataView.xaml"
                this.checkBoxOrthographic.Unchecked += new System.Windows.RoutedEventHandler(this.checkBoxOrthographic_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

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

            case 9:

            #line 66 "..\..\..\Views\OrderAnalysisDataView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ScreenshotButton_Click);

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

            case 2:

            #line 45 "..\..\..\..\CardPages\programme\PumpSet.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.look_pipe);

            #line default
            #line hidden
                return;

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

            case 4:

            #line 56 "..\..\..\..\CardPages\programme\PumpSet.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.look_oils);

            #line default
            #line hidden
                return;

            case 5:
                this.当量粗糙度 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 7:
                this.首站进站压力 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:

            #line 103 "..\..\..\..\CardPages\programme\PumpSet.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.getRes);

            #line default
            #line hidden
                return;

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

            case 10:
                this.table = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grdHeaderL = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 28 "..\..\..\MainWindow.xaml"
                this.cmbNomi.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbNomi_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 10:
                this.dgrCsv = ((System.Windows.Controls.DataGrid)(target));

            #line 36 "..\..\..\MainWindow.xaml"
                this.dgrCsv.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgrCsv_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            case 13:
                this.dgrAccoppiamenti = ((System.Windows.Controls.DataGrid)(target));

            #line 44 "..\..\..\MainWindow.xaml"
                this.dgrAccoppiamenti.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgrAccoppiamenti_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.grdFooter = ((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 9 "..\..\..\View\uc_offer.xaml"
                ((POS.View.uc_offer)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            case 14:
                this.tt_errorCode = ((System.Windows.Controls.ToolTip)(target));
                return;

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

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

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

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

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

            case 20:
                this.cb_typeDiscount = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 513 "..\..\..\View\uc_offer.xaml"
                this.tb_discountValue.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tb_discountValue_TextChanged);

            #line default
            #line hidden

            #line 517 "..\..\..\View\uc_offer.xaml"
                this.tb_discountValue.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.tb_discountValue_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 531 "..\..\..\View\uc_offer.xaml"
                this.cmdUp.Click += new System.Windows.RoutedEventHandler(this.cmdUp_Click);

            #line default
            #line hidden
                return;

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

            #line 534 "..\..\..\View\uc_offer.xaml"
                this.cmdDown.Click += new System.Windows.RoutedEventHandler(this.cmdDown_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.dp_startDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 25:
                this.dp_endDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            #line 627 "..\..\..\View\uc_offer.xaml"
                this.btn_items.Click += new System.Windows.RoutedEventHandler(this.Btn_items_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:
                this.Plan = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pool_hgrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 46 "..\..\..\help\pool_help.xaml"
                this.exithelpbtn.Click += new System.Windows.RoutedEventHandler(this.exithelpbtn_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\help\pool_help.xaml"
                this.pooltrainer_hbtn.Click += new System.Windows.RoutedEventHandler(this.pooltrainer_hbtn_Click);

            #line default
            #line hidden
                return;

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

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

            #line 71 "..\..\..\help\pool_help.xaml"
                this.swim_hbtn.Click += new System.Windows.RoutedEventHandler(this.swim_hbtn_Click);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\..\help\pool_help.xaml"
                this.pooltoExercise_hbtn.Click += new System.Windows.RoutedEventHandler(this.pooltoExercise_hbtn_Click);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\..\help\pool_help.xaml"
                this.pooltoBar_hbtn.Click += new System.Windows.RoutedEventHandler(this.pooltoBar_hbtn_Click);

            #line default
            #line hidden
                return;

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

            #line 79 "..\..\..\help\pool_help.xaml"
                this.pooltoLockers_hbtn.Click += new System.Windows.RoutedEventHandler(this.pooltoLockers_hbtn_Click);

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

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

            #line 23 "..\..\Customer1.xaml"
                this.WithdrawButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\Customer1.xaml"
                this.BalanceButton.Click += new System.Windows.RoutedEventHandler(this.BalanceButton_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\Customer1.xaml"
                this.HistoryButton.Click += new System.Windows.RoutedEventHandler(this.HistoryButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 31 "..\..\Customer1.xaml"
                this.ConfirmButton.Click += new System.Windows.RoutedEventHandler(this.ConfirmButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 39 "..\..\Customer1.xaml"
                this.btnBack.Click += new System.Windows.RoutedEventHandler(this.btnBack_Click);

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

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

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

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

            #line 17 "..\..\..\View\MainWindow.xaml"
                this.btnRollDice.Click += new System.Windows.RoutedEventHandler(this.btnRollDice_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\View\MainWindow.xaml"
                this.btnDisplayLog.Click += new System.Windows.RoutedEventHandler(this.btnDisplayLog_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\View\MainWindow.xaml"
                this.txtnop.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtnop_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\View\MainWindow.xaml"
                this.btnSetPlayer.Click += new System.Windows.RoutedEventHandler(this.btnSetPlayer_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\View\MainWindow.xaml"
                this.btnResetGame.Click += new System.Windows.RoutedEventHandler(this.btnResetGame_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 12:
                this.dataGridScopre = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #55
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.BorderG1 = ((System.Windows.Controls.Border)(target));
     return;
     case 2:
     this.BorderG2 = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.txtID = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     
     #line 212 "..\..\..\Deletes\Courses_Delete.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Delete_Course_DB);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 256 "..\..\..\Deletes\Courses_Delete.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_DASHBOARD);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 263 "..\..\..\Deletes\Courses_Delete.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Profile);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 270 "..\..\..\Deletes\Courses_Delete.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Select);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 277 "..\..\..\Deletes\Courses_Delete.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Insert);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 284 "..\..\..\Deletes\Courses_Delete.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Update);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 291 "..\..\..\Deletes\Courses_Delete.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Delete);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 298 "..\..\..\Deletes\Courses_Delete.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_Configuration);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 305 "..\..\..\Deletes\Courses_Delete.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_LogOut);
     
     #line default
     #line hidden
     return;
     case 13:
     this.GridBarraTitulo = ((System.Windows.Controls.Grid)(target));
     
     #line 314 "..\..\..\Deletes\Courses_Delete.xaml"
     this.GridBarraTitulo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.GridBarraTitulo_MouseDown);
     
     #line default
     #line hidden
     return;
     case 14:
     this.ButtonFechar = ((System.Windows.Controls.Button)(target));
     
     #line 322 "..\..\..\Deletes\Courses_Delete.xaml"
     this.ButtonFechar.Click += new System.Windows.RoutedEventHandler(this.ButtonFechar_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #56
0
ファイル: MapEditor.g.i.cs プロジェクト: Bulltrick/DBGame
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridMap = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

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

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

            case 9:
                this.cmbTerrainType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.cmbConstructionType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

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

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

            #line 60 "..\..\MapEditor.xaml"
                this.btnApply.Click += new System.Windows.RoutedEventHandler(this.btnApply_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MapEditor.xaml"
                this.btnReset.Click += new System.Windows.RoutedEventHandler(this.btnReset_Click);

            #line default
            #line hidden
                return;

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

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

            #line 63 "..\..\MapEditor.xaml"
                this.btnSaveAndExit.Click += new System.Windows.RoutedEventHandler(this.btnSaveAndExit_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 22:
                this.cmbOwner = ((System.Windows.Controls.ComboBox)(target));

            #line 68 "..\..\MapEditor.xaml"
                this.cmbOwner.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbOwner_SelectionChanged_1);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 14 "..\..\MainWindow.xaml"
                this.TextBoxLogInLogin.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxLogInLogin_LostFocus);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\MainWindow.xaml"
                this.TextBoxLogInPassword.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxLogInPassword_TextChanged);

            #line default
            #line hidden

            #line 16 "..\..\MainWindow.xaml"
                this.TextBoxLogInPassword.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxLogInPassword_LostFocus);

            #line default
            #line hidden
                return;

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

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

            case 9:
                this.PasswordBoxLogInPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.PasswordBoxLogInPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBoxLogInPassword_PasswordChanged);

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                this.PasswordBoxLogInPassword.LostFocus += new System.Windows.RoutedEventHandler(this.PasswordBoxLogInPassword_LostFocus);

            #line default
            #line hidden
                return;

            case 10:
                this.CheckBoxLogInShowPassword = ((System.Windows.Controls.CheckBox)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.CheckBoxLogInShowPassword.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxLogInShowPassword_Checked);

            #line default
            #line hidden

            #line 20 "..\..\MainWindow.xaml"
                this.CheckBoxLogInShowPassword.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxLogInShowPassword_Unchecked);

            #line default
            #line hidden
                return;

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

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

            case 13:
                this.TabItemSignUp = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.TextBoxSignUpLogin.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxSignUpLogin_LostFocus);

            #line default
            #line hidden
                return;

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

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

            #line 35 "..\..\MainWindow.xaml"
                this.TextBoxSignUpName.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxSignUpName_LostFocus);

            #line default
            #line hidden
                return;

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

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

            #line 37 "..\..\MainWindow.xaml"
                this.TextBoxSignUpPhone.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxSignUpPhone_LostFocus);

            #line default
            #line hidden

            #line 37 "..\..\MainWindow.xaml"
                this.TextBoxSignUpPhone.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBoxSignUpPhone_KeyUp);

            #line default
            #line hidden

            #line 37 "..\..\MainWindow.xaml"
                this.TextBoxSignUpPhone.KeyDown += new System.Windows.Input.KeyEventHandler(this.TextBoxSignUpPhone_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 39 "..\..\MainWindow.xaml"
                this.TextBoxSignUpEmail.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxSignUpEmail_LostFocus);

            #line default
            #line hidden
                return;

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

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

            #line 41 "..\..\MainWindow.xaml"
                this.TextBoxSignUpPassword.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxSignUpPassword_LostFocus);

            #line default
            #line hidden

            #line 41 "..\..\MainWindow.xaml"
                this.TextBoxSignUpPassword.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxSignUpPassword_TextChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.PasswordBoxSignUpPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.PasswordBoxSignUpPassword.LostFocus += new System.Windows.RoutedEventHandler(this.PasswordBoxSignUpPassword_LostFocus);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.PasswordBoxSignUpPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBoxSignUpPassword_PasswordChanged);

            #line default
            #line hidden
                return;

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

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

            #line 44 "..\..\MainWindow.xaml"
                this.TextBoxSignUpConfirmPassword.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxSignUpConfirmPassword_LostFocus);

            #line default
            #line hidden

            #line 44 "..\..\MainWindow.xaml"
                this.TextBoxSignUpConfirmPassword.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxSignUpConfirmPassword_TextChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.PasswordBoxSignUpConfirmPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.PasswordBoxSignUpConfirmPassword.LostFocus += new System.Windows.RoutedEventHandler(this.PasswordBoxSignUpConfirmPassword_LostFocus);

            #line default
            #line hidden

            #line 45 "..\..\MainWindow.xaml"
                this.PasswordBoxSignUpConfirmPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBoxSignUpConfirmPassword_PasswordChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 29:
                this.CheckBoxSignUpShowPassword = ((System.Windows.Controls.CheckBox)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.CheckBoxSignUpShowPassword.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxSignUpShowPassword_Checked);

            #line default
            #line hidden

            #line 48 "..\..\MainWindow.xaml"
                this.CheckBoxSignUpShowPassword.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxSignUpShowPassword_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 36:
                this.TabItemNewPassword = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 38:
                this.LabelNewPasswordLogin = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 62 "..\..\MainWindow.xaml"
                this.TextBoxNewPasswordLogin.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxNewPasswordLogin_LostFocus);

            #line default
            #line hidden
                return;

            case 40:
                this.TextBlockNewPasswordLoginError = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 64 "..\..\MainWindow.xaml"
                this.ButtonNewPasswordSendCode.Click += new System.Windows.RoutedEventHandler(this.ButtonNewPasswordSendCode_Click);

            #line default
            #line hidden
                return;

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

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

            #line 66 "..\..\MainWindow.xaml"
                this.TextBoxNewPasswordCode.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxNewPasswordCode_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 71 "..\..\MainWindow.xaml"
                this.TextBoxNewPasswordPassword.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxNewPasswordPassword_PasswordChanged);

            #line default
            #line hidden

            #line 71 "..\..\MainWindow.xaml"
                this.TextBoxNewPasswordPassword.LostFocus += new System.Windows.RoutedEventHandler(this.TextBoxNewPasswordPassword_LostFocus);

            #line default
            #line hidden
                return;

            case 49:
                this.PasswordBoxNewPasswordPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.PasswordBoxNewPasswordPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBoxNewPasswordPassword_PasswordChanged);

            #line default
            #line hidden
                return;

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

            case 51:
                this.TextBoxNewPasswordConfirmPassword = ((System.Windows.Controls.TextBox)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.TextBoxNewPasswordConfirmPassword.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBoxNewPasswordConfirmPassword_PasswordChanged);

            #line default
            #line hidden
                return;

            case 52:
                this.PasswordBoxNewPasswordConfirmPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.PasswordBoxNewPasswordConfirmPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBoxNewPasswordConfirmPassword_PasswordChanged);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\MainWindow.xaml"
                this.ButtonNewPasswordResetPassword.Click += new System.Windows.RoutedEventHandler(this.ButtonNewPasswordResetPassword_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.CheckBoxNewPasswordShowPassword = ((System.Windows.Controls.CheckBox)(target));

            #line 77 "..\..\MainWindow.xaml"
                this.CheckBoxNewPasswordShowPassword.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxNewPasswordShowPassword_Checked);

            #line default
            #line hidden

            #line 77 "..\..\MainWindow.xaml"
                this.CheckBoxNewPasswordShowPassword.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxNewPasswordShowPassword_Unchecked);

            #line default
            #line hidden
                return;

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

            case 56:
                this.TextBlockNewPasswordCodeError = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.TextBlockNewPasswordConfirmPasswordError = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 59:
                this.TextBlockNewPasswordPasswordError1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 60:
                this.PackIconConnection = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 3:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 44 "..\..\..\Views\EmployeeDetails.xaml"
                this.SaveBtn.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.SaveBtn_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\Views\EmployeeDetails.xaml"
                this.DeleteBtn.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DeleteBtn_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\Views\EmployeeDetails.xaml"
                this.NewBtn.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.NewBtn_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 7:

            #line 48 "..\..\..\Views\EmployeeDetails.xaml"
                ((System.Windows.Controls.DataGrid)(target)).RowEditEnding += new System.EventHandler <System.Windows.Controls.DataGridRowEditEndingEventArgs>(this.DataGrid_RowEditEnding_1);

            #line default
            #line hidden

            #line 48 "..\..\..\Views\EmployeeDetails.xaml"
                ((System.Windows.Controls.DataGrid)(target)).BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.DataGrid_BeginningEdit_1);

            #line default
            #line hidden
                return;

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

            #line 59 "..\..\..\Views\EmployeeDetails.xaml"
                this.GenerateItms.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.GenerateItms_MouseLeftButtonDown);

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 9:
                this.chartbox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 10:
                this.display = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 11:
                this.test = ((System.Windows.Controls.Viewport3D)(target));
                return;

            case 12:
                this.MyCamera = ((System.Windows.Media.Media3D.PerspectiveCamera)(target));
                return;

            case 13:
                this.my = ((System.Windows.Media.Media3D.Model3DGroup)(target));
                return;

            case 14:
                this.rotate = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\UserControls\ManualCashDispenser.xaml"
                ((BMC.Presentation.POS.UserControls.ManualCashDispenser)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            #line 93 "..\..\..\UserControls\ManualCashDispenser.xaml"
                this.txtCD1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtCD1_TextChanged);

            #line default
            #line hidden

            #line 94 "..\..\..\UserControls\ManualCashDispenser.xaml"
                this.txtCD1.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtCD1_PreviewMouseUp);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 109 "..\..\..\UserControls\ManualCashDispenser.xaml"
                this.txtCD2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtCD2_TextChanged);

            #line default
            #line hidden

            #line 110 "..\..\..\UserControls\ManualCashDispenser.xaml"
                this.txtCD2.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.txtCD2_PreviewMouseUp);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 135 "..\..\..\UserControls\ManualCashDispenser.xaml"
                this.btnProcess.Click += new System.Windows.RoutedEventHandler(this.btnProcess_Click);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\..\UserControls\ManualCashDispenser.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }