Exemple #1
1
 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);
 }
Exemple #2
1
        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);
        }
 private void RepoteUnhandleException(Exception ex)
 {
     Button b= new Button() ;
     Window w = new Window {Width = 0x258,Height = 0x1f4,Padding = new Thickness(0x14),Title = String.Format("{0} - {1}","予期せぬエラー","TwVideoUp")};
     StackPanel m = new StackPanel()
     {
         Orientation = Orientation.Vertical,
         Children =
         {
             new TextBlock()
             {
                 Text = "予期せぬエラーが発生しました。以下のStackTraceをIssueとして提出いただけると嬉しいです。(ユーザー名などが含まれている場合は伏せていただいて構いません。)",
                 TextWrapping = TextWrapping.Wrap
             },
             new TextBox()
             {
                 Text = ex.ToString(),
                 IsReadOnly = true,
                 TextWrapping = TextWrapping.Wrap,
                 Margin = new Thickness(10),
                 MaxHeight = 380,
                 VerticalScrollBarVisibility = ScrollBarVisibility.Auto
             },
             b
         },
     };
     b.Click += (sender, args) => Clipboard.SetText(ex.ToString());
     b.Content = new TextBlock() {Text = "Copy to Clipboard."};
     w.Content = m;
     w.ShowDialog();
     Shutdown();
 }
Exemple #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.L1 = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\Menu\LevelSelect.xaml"
     this.L1.Click += new System.Windows.RoutedEventHandler(this.L1_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 11 "..\..\..\Menu\LevelSelect.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 13 "..\..\..\Menu\LevelSelect.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        public override void OnApplyTemplate()
        {
            FloatingWindow parent = this.Parent as FloatingWindow;
            if (parent != null)
            {
                parent.KeyDown -= MessageBoxDialogParent_KeyDown;
            }

            if (btnOK != null)
                btnOK.Click -= button_Click;

            if (btnCancel != null)
                btnCancel.Click -= button_Click;

            base.OnApplyTemplate();

            btnOK = GetTemplateChild(OK_BUTTON_NAME) as Button;
            if (btnOK != null)
            {
                btnOK.Click += button_Click;
                btnOK.Focus();
            }
            btnCancel = GetTemplateChild(CANCEL_BUTTON_NAME) as Button;
            if (btnCancel != null)
                btnCancel.Click += button_Click;

            parent = this.Parent as FloatingWindow;
            if (parent != null)
            {
                parent.KeyDown -= MessageBoxDialogParent_KeyDown;
                parent.KeyDown += MessageBoxDialogParent_KeyDown;
            }
        }
        public DetectionButtonsControl()
        {
            double imageWidth = 10;
            double imageHeight = 10;
            double buttonWidth;
            double smallDelimiter = 6 / 100 * imageWidth;
            double largeDelimiter = 8 / 100 * imageWidth;
            InitializeComponent();
            Button startButton = new Button();
            Button nextButton = new Button();
            Button backButton = new Button();
            Button stopButton = new Button();
            this.ButtonsStackPanel.Children.Add(startButton);
            this.ButtonsStackPanel.Children.Add(nextButton);
            this.ButtonsStackPanel.Children.Add(backButton);
            this.ButtonsStackPanel.Children.Add(stopButton);

            List<Button> buttons = new List<Button>();
            buttonWidth = (imageWidth - 2 * smallDelimiter - (buttons.Count - 1) * largeDelimiter) / buttons.Count;
            foreach (Button b in buttons)
            {

                if (buttons.IndexOf(b) == 1)
                {
                    //b.xPos = imageWidth + smallDelimiter;
                }
                else
                {
                    //b.xPos = imageWidth + largeDelimiter;
                }
            }
        }
        public FrameworkElement CreateWidgetControl(IDiagram widgetViewModel, ContextMenu contextMenu)
        {
            var buttonHolder = widgetViewModel as DefaultWidgetViewModel;
            var brd = new Border
                          {
                              DataContext = buttonHolder,
                              ContextMenu = contextMenu,
                              BorderBrush = System.Windows.Media.Brushes.Gray,
                              Background = System.Windows.Media.Brushes.White
                          };

            var ret = new Button { DataContext = buttonHolder, ContextMenu = contextMenu, Content = "New Widget" };

            brd.Child = ret;

            var heightBinding = new Binding("Height") { Source = buttonHolder, Mode = BindingMode.TwoWay };
            var widthBinding = new Binding("Width") { Source = buttonHolder, Mode = BindingMode.TwoWay };
            var xBinding = new Binding("X") { Source = buttonHolder, Mode = BindingMode.TwoWay };
            var yBinding = new Binding("Y") { Source = buttonHolder, Mode = BindingMode.TwoWay };
            var transformBinding = new Binding("RenderTransform") { Source = buttonHolder, Mode = BindingMode.OneWay };

            brd.SetBinding(InkCanvas.LeftProperty, xBinding);
            brd.SetBinding(InkCanvas.TopProperty, yBinding);
            brd.SetBinding(FrameworkElement.HeightProperty, heightBinding);
            brd.SetBinding(FrameworkElement.WidthProperty, widthBinding);
            brd.SetBinding(UIElement.RenderTransformProperty, transformBinding);

            return brd;
        }
 public static WrapPanel CreateHeaderPanel(Label replName, Button closeButton)
 {
     WrapPanel headerPanel = new WrapPanel();
     headerPanel.Children.Add(replName);
     headerPanel.Children.Add(closeButton);
     return headerPanel;
 }
 public void AbandonQuotePrice(QuotePriceClient quotePrice, QuotePriceForInstrument quotePriceForInstrument, bool isSigle, Button btn)
 {
     if (quotePriceForInstrument != null)
     {
         List<Answer> quoteQuotations = new List<Answer>();
         if (isSigle)
         {
             if (quotePrice != null)
             {
                 quoteQuotations.Add(quotePrice.ToSendQutoPrice());
             }
         }
         else
         {
             quoteQuotations = quotePriceForInstrument.GetSelectedQuotePriceForAccount();
         }
         if (quoteQuotations.Count > 0)
         {
             var AbandonQuoteEventLog = new EventLogEntity(Guid.NewGuid())
             {
                //write log
             };
         }
         //Notify service
         string exchangeCode = string.Empty;
         ConsoleClient.Instance.AbandonQuote(quoteQuotations);
     }
 }
        public DockAroundTheBlock()
        {
            Title = "Dock Around the Block";

            // 1. �г� ���� �� �ʱ�ȭ
            DockPanel dock = new DockPanel();
            Content = dock;

            // 2. ���ϴ� �ڽ� ��ü(�̹���, ��Ʈ��, �г�..)
            for (int i = 0; i < 17; i++)
            {
                Button btn = new Button();
                btn.Content = "Button No. " + (i + 1);
                //-------------------------------------------------
                dock.Children.Add(btn);

                btn.SetValue(DockPanel.DockProperty, (Dock)(i % 4));

                DockPanel.SetDock(btn, (Dock)(i % 4));
                //-------------------------------------------------

            }

               // dock.LastChildFill = true;
            dock.LastChildFill = false;
        }
 public TemplateHistorique(string _rouge, string _verte, Button _button)
 {
     this.rouge = _rouge;
     this.verte = _verte;
     this.button = _button;
     this.tag = this.button.Tag.ToString();
 }
 public void RegisterTaskPanes(Register register)
 {
     myAddinTaskPane = register(() =>
         {
             var button = new System.Windows.Controls.Button
             {
                 Content = "Insert Quote"
             };
             button.Click += InsertQuote;
             var host = new WpfPanelHost
             {
                 Child = new UserControl
                 {
                     Content = new StackPanel
                     {
                         Children =
                         {
                             button
                         }
                     }
                 }
             };
             return host;
         }, "Quotes!");
     myAddinTaskPane.Visible = true;
     myAddinTaskPane.VisibleChanged += TaskPaneVisibleChanged;
     TaskPaneVisibleChanged(this, EventArgs.Empty);
 }
        private void LoadControl(Button actionButton)
        {
            if (_currentButton != null)
                _currentButton.FontWeight = FontWeights.Normal;
            _currentButton = actionButton;
            _currentButton.FontWeight = FontWeights.Bold;

            SetDefaultAlignments();

            actionButton.Focus();

            object uc = _navButtonRegistry[actionButton];

            // Convert from a Type to an instance of the type
            if (!(uc is UserControl))
            {
                uc = (UserControl) Activator.CreateInstance((Type) uc);
                _navButtonRegistry[actionButton] = uc;
            }

            contentMain.Content = uc;

            var configUserControl = ((ActionUserControl) uc);
            MyViewModel.ConfigTitle = configUserControl.ConfigTitle;

            DoApplyChanges(false);
        }
 public ButtonElement(string caption = null, EventHandler tapped = null)
     : base(caption, "dialog_button")
 {
     Click = tapped;
     _button = new Button();
     _button.Click += (s, e) => OnClick();
 }
        public SelectColorFromWheel()
        {
            Title = "Select Color from Wheel";
            SizeToContent = SizeToContent.WidthAndHeight;

            StackPanel stack = new StackPanel();
            stack.Orientation = Orientation.Horizontal;
            Content = stack;

            Button btn = new Button();
            btn.Content = "Do-nothing button\nto test tabbing";
            btn.Margin = new Thickness(24);
            btn.HorizontalAlignment = HorizontalAlignment.Center;
            btn.VerticalAlignment = VerticalAlignment.Center;
            stack.Children.Add(btn);

            ColorWheel clrwheel = new ColorWheel();
            clrwheel.Margin = new Thickness(24);
            clrwheel.HorizontalAlignment = HorizontalAlignment.Center;
            clrwheel.VerticalAlignment = VerticalAlignment.Center;
            stack.Children.Add(clrwheel);
            clrwheel.SetBinding(ColorWheel.SelectedValueProperty, "Background");
            clrwheel.DataContext = this;

            btn = new Button();
            btn.Content = "Do-nothing button\nto test tabbing";
            btn.Margin = new Thickness(24);
            btn.HorizontalAlignment = HorizontalAlignment.Center;
            btn.VerticalAlignment = VerticalAlignment.Center;
            stack.Children.Add(btn);
        }
        private void showPopup2_Click(object sender, RoutedEventArgs e)
        {
            if (p.IsOpen == true)
                return;
            Border border = new Border();
            border.BorderBrush = new SolidColorBrush(Colors.White);
            border.BorderThickness = new Thickness(2.0);

            StackPanel panel1 = new StackPanel();

            Button button1 = new Button();
            button1.Content = "Close";
            button1.Margin = new Thickness(5.0);
            button1.Click += new RoutedEventHandler(button1_Click);
            TextBlock textblock1 = new TextBlock();
            textblock1.Text = "Premi il pulsante Close";
            textblock1.Margin = new Thickness(5.0);
            panel1.Children.Add(textblock1);
            panel1.Children.Add(button1);
            border.Child = panel1;

            p = new Popup();
            // Imposta la proprietà Child con il border che è il contenitore principale che contiene a sua volta uno stackpanel, un textblock ed un button.
            p.Child = border;
            //imposta la posizione del popup
            p.VerticalOffset = 100;
            p.HorizontalOffset = 50;

            // apre il popup
            p.IsOpen = true;
        }
 private void UpdateButtonBackground(Button button, int state)
 {
     if (state == 0)
         button.Background = _upBrush;
     else
         button.Background = _pressedBrush;
 }
        public void setCardBackgrounds()
        {
            Random rng = new Random();
            var randBackgrounds = backgrounds; 
            //.OrderBy(a => rng.Next());
            for (int i = 0; i < cards.Count(); i++)
            {
                Button myButton = new Button
                {
                    Width = CardController.width,
                    Height = CardController.height,
                    Content = new Image
                    {
                        Source = new BitmapImage(new Uri(randBackgrounds.ElementAt(i % randBackgrounds.Count()))),
                        VerticalAlignment = VerticalAlignment.Center
                    }
                };
                myButton.Background = Brushes.Transparent;
                myButton.BorderBrush = Brushes.Black;

                Canvas.SetLeft(myButton, cards.ElementAt(i).rightXcoordinate);
                Canvas.SetTop(myButton, cards.ElementAt(i).topYcoordinate);
                cards.ElementAt(i).setButton(myButton);

                grid.Children.Add(cards.ElementAt(i).getButton());
            }
        }
 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");
     }
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="DriveSelectionWindow"/> class.
        /// </summary>
        /// <param name="viewModel">The view model to inject.</param>
        /// <remarks>
        /// This constructor can be used to use view-model injection.
        /// </remarks>
        public DriveSelectionWindow(DriveSelectionViewModel viewModel)
        {
            InitializeComponent();

            Buttons = new Button[] { OkButton, CancelButton };
            DataContext = viewModel;
        }        
        private void btnPrint_Click(object sender, RoutedEventArgs e)
        {
            //MessageBox.Show("Chart has been sent for printing...");
            popup = new Popup() { Name = "Popup" };
            border = new Border() { Name = "Border" };
            panel1 = new StackPanel() { Name = "Panel" };
            textblock1 = new TextBlock() { Name = "Textblock" };

            border.BorderBrush = new SolidColorBrush(Colors.DarkGray);
            border.BorderThickness = new Thickness(3.0);

            panel1.Background = new SolidColorBrush(Colors.LightGray);
            textblock1.Text = "Chart has been sent for printing...";
            textblock1.Margin = new Thickness(30.0);
            panel1.Children.Add(textblock1);
            Button button = new Button(){ Content = "OK", Width = 30, Height = 20, Margin = new Thickness(5.0)};
            button.Click +=new RoutedEventHandler(button_Click);
            panel1.Children.Add(button);

            border.Child = panel1;
            popup.Child = border;
            popup.HorizontalOffset = 613;
            popup.VerticalOffset = 375;
            popup.IsOpen = true;
        }
Exemple #22
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            this.btnMax = this.GetTemplateChild(PART_MaxButton) as Button;
            this.btnMin = this.GetTemplateChild(PART_MinButton) as Button;
            this.btnRestore = this.GetTemplateChild(PART_RestoreButton) as Button;
            this.btnClose = this.GetTemplateChild(PART_CloseButton) as Button;

            if (this.btnMax != null)
            {
                this.btnMax.Click += btnMax_Click;
            }
            if (this.btnMin != null)
            {
                this.btnMin.Click += btnMin_Click;
            }
            if (this.btnRestore != null)
            {
                this.btnRestore.Click += btnRestore_Click;
            }
            if (this.btnClose != null)
            {
                this.btnClose.Click += btnClose_Click;
            }
        }
        /// <summary>
        /// Initializes gameplay phase
        /// </summary>
        /// <param name="difficulty">The chosen difficulty</param>
        /// <param name="buttons">The submitted placement of ships</param>
        /// <param name="name">The name of the player</param>
        public PlayGame(Difficulty difficulty, Button[] buttons, string name, Ship[] ships, MainWindow main)
        {
            InitializeComponent();

            this.main = main;
            // Set player name
            this.name = name.ToLower().Replace(' ', '_');

            // Set player and computer's ships
            shipsPlayer = ships;
            shipsComputer = new Ship[] {
                                        new Ship(ShipName.AIRCRAFT_CARRIER, 5),
                                        new Ship(ShipName.BATTLESHIP, 4),
                                        new Ship(ShipName.SUBMARINE, 3),
                                        new Ship(ShipName.CRUISER, 3),
                                        new Ship(ShipName.DESTROYER, 2)
            };

            // Set button field arrays
            buttonsPlayer = new Button[100];
            PlayerShips.Children.CopyTo(buttonsPlayer, 0);

            buttonsComputer = new Button[100];
            ComputerShips.Children.CopyTo(buttonsComputer, 0);

            common = new Common(ComputerShips, buttonsComputer);
            computerAI = new ComputerAI(this, difficulty);

            initializeGame(buttons);
        }
 //the button constructor
 public Button()
 {
     //initializing the button controll
     mButton = new System.Windows.Controls.Button();
     //set the view of the current widget as the previously instantiated button controll
     View = mButton;
 }
        public SplitNine()
        {
            Title = "Split Nine";

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

            // Set row and column definitions.
            for (int i = 0; i < 3; i++)
            {
                grid.ColumnDefinitions.Add(new ColumnDefinition());
                grid.RowDefinitions.Add(new RowDefinition());
            }

            // Create 9 buttons.
            for (int x = 0; x < 3; x++)
                for (int y = 0; y < 3; y++)
                {
                    Button btn = new Button();
                    btn.Content = "Row " + y + " and Column " + x;
                    grid.Children.Add(btn);
                    Grid.SetRow(btn, y);
                    Grid.SetColumn(btn, x);
                }

            // Create splitter.
            GridSplitter split = new GridSplitter();
            split.Width = 6;
            grid.Children.Add(split);
            Grid.SetRow(split, 1);
            Grid.SetColumn(split, 1);
        }
Exemple #26
0
        private static void updateBottomText(Button btn, string newValue)
        {
            TextBlock lbl = UIHelper.GetChild<TextBlock>(btn, "PART_BottomText");

            if (lbl == null)
            {
                ContentPresenter c = UIHelper.GetChild<ContentPresenter>(btn);
                if (c != null && c.Parent is Panel)
                {
                    Panel p = c.Parent as Panel;

                    lbl = new TextBlock();
                    lbl.Name = "PART_BottomText";
                    lbl.Text = newValue;
                    lbl.HorizontalAlignment = HorizontalAlignment.Center;
                    lbl.VerticalAlignment = VerticalAlignment.Bottom;
                    lbl.Margin = new Thickness(-10, 0, -10, -13);
                    
                    updateBottomForeground(lbl, GetBottomTextForeground(btn));

                    p.Children.Add(lbl);
                }
                btn.Loaded -= btn_Loaded;
            }
            else
            {
                lbl.Text = newValue;
            }
        }
Exemple #27
0
        public BasicsWindow()
        {
            Window basics = new Window
            {
                Title = "Code Basics",
                Height = 400,
                Width = 400,
                FontSize = 20,
            };

            StackPanel sp = new StackPanel();
            basics.Content = sp;

            TextBlock title = new TextBlock
            {
                Text = "Code Basics",
                FontSize = 24,
                TextAlignment = TextAlignment.Center,
            };
            sp.Children.Add(title);

            txtName = new TextBox();
            sp.Children.Add(txtName);
            txtName.Margin = new Thickness(10);

            Button btnSend = new Button
            {
                Content = "Send",
            };
            sp.Children.Add(btnSend);
            btnSend.Margin = new Thickness(10);
            btnSend.Click += BtnSend_Click;

            basics.Show();
        }
Exemple #28
0
		public ButtonAutomationPeer (Button owner)
			: base (owner)
		{
			owner.Click += (s, a) => { 
				RaiseAutomationEvent (AutomationEvents.InvokePatternOnInvoked); 
			};
		}
        /// <summary>
        /// Creates the window command rectangle.
        /// </summary>
        /// <param name="parentButton">The parent button.</param>
        /// <param name="style">The style.</param>
        /// <returns>Rectangle.</returns>
        public static Rectangle CreateWindowCommandRectangle(Button parentButton, string style)
        {
            Argument.IsNotNull(() => parentButton);
            Argument.IsNotNullOrWhitespace(() => style);

            var rectangle = new Rectangle
            {
                Width = 16d,
                Height = 16d,
                HorizontalAlignment = HorizontalAlignment.Center,
                VerticalAlignment = VerticalAlignment.Center,
                Stretch = Stretch.UniformToFill
            };

            rectangle.SetBinding(Rectangle.FillProperty, new Binding("Foreground")
            {
                Source = parentButton
            });

            var application = Application.Current;
            if (application != null)
            {
                rectangle.OpacityMask = new VisualBrush
                {
                    //Stretch = Stretch.Fill,
                    Visual = application.FindResource(style) as Visual
                };
            }

            return rectangle;
        }
Exemple #30
0
        private void AddCredit_Click(object sender, RoutedEventArgs e)
        {
            Credits.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });

            WrapPanel wp = new WrapPanel();
            Grid.SetRow(wp, Credits.RowDefinitions.Count - 1);
            Credits.Children.Add(wp);

            TextBox nameBox = new TextBox();
            nameBox.Name = creditname;
            nameBox.MinWidth = 170;
            wp.Children.Add(nameBox);

            Button saveButton = new Button();
            saveButton.Name = savebutton;
            saveButton.Height = 20;
            saveButton.Width = 20;
            saveButton.Margin = new Thickness(10, 0, 0, 0);
            saveButton.Click += new RoutedEventHandler(saveButton_Click);
            Image okImage = new Image();
            okImage.Source = Helpers.BitmapSourceFromBitmap(Exp1.Properties.Resources.ok);
            saveButton.Content = okImage;
            wp.Children.Add(saveButton);

            Button cancelButton = new Button();
            cancelButton.Name = cancelbutton;
            cancelButton.Height = 20;
            cancelButton.Width = 20;
            cancelButton.Margin = new Thickness(10, 0, 0, 0);
            cancelButton.Click += new RoutedEventHandler(cancelButton_Click);
            Image cancelImage = new Image();
            cancelImage.Source = Helpers.BitmapSourceFromBitmap(Exp1.Properties.Resources.cancel);
            cancelButton.Content = cancelImage;
            wp.Children.Add(cancelButton);
        }
Exemple #31
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 11 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     ((Sisgraph.Ips.Samu.AddIn.Views.RetainedStretcher.RetainedStretcherMonitor)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     
     #line 12 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     ((Sisgraph.Ips.Samu.AddIn.Views.RetainedStretcher.RetainedStretcherMonitor)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnRefresh = ((System.Windows.Controls.Button)(target));
     
     #line 20 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.sbiLastUpdate = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
     return;
     case 4:
     this.tclRetainedStretcher = ((System.Windows.Controls.TabControl)(target));
     
     #line 29 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     this.tclRetainedStretcher.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tclRetainedStretcherMonitor_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.titDispatchableUnitWithReteinedStretcher = ((System.Windows.Controls.TabItem)(target));
     
     #line 30 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     this.titDispatchableUnitWithReteinedStretcher.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.TabItem_PreviewMouseMove);
     
     #line default
     #line hidden
     
     #line 31 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     this.titDispatchableUnitWithReteinedStretcher.Drop += new System.Windows.DragEventHandler(this.TabItem_Drop);
     
     #line default
     #line hidden
     return;
     case 6:
     this.grdDispatchableUnitWithReteinedStretcher = ((System.Windows.Controls.DataGrid)(target));
     
     #line 36 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     this.grdDispatchableUnitWithReteinedStretcher.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.grdDispatchableUnitWithReteinedStretcher_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 36 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     this.grdDispatchableUnitWithReteinedStretcher.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.grdDispatchableUnitWithReteinedStretcher_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.gdcRetainedStretcherUnitId = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 8:
     this.gdcRetainedStretcherStationName = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 9:
     this.gdcRetainedStretcherUnitType = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 10:
     this.gdcRetainedStretcherPagerId = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 11:
     this.gdcRetainedStretcherUnitStatus = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 12:
     this.gdcRetainedStretcherTimeInRetainedStretcher = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 13:
     this.gdcRetainedStretcherSpecialContact = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 14:
     this.gdcRetainedStretcherDispatchGroup = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 15:
     this.gdcRetainedStretcherAgencyEventId = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 16:
     this.gdcRetainedStretcherHospitalName = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 17:
     this.ctxtDispatchableUnitWithReteinedStretcher = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 18:
     this.cmiDispatchUnit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 56 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     this.cmiDispatchUnit.Click += new System.Windows.RoutedEventHandler(this.cmiDispatchUnit_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.cmiNextStatus = ((System.Windows.Controls.MenuItem)(target));
     
     #line 63 "..\..\..\..\RetainedStretcher\RetainedStretcherMonitor.xaml"
     this.cmiNextStatus.Click += new System.Windows.RoutedEventHandler(this.cmiNextStatus_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemple #32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\GetLyricWindow.xaml"
                ((Walkman_Playlist_Tools.GetLyricWindow)(target)).Closed += new System.EventHandler(this.GetLyricWindow_OnClosed);

            #line default
            #line hidden
                return;

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

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

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

            #line 34 "..\..\GetLyricWindow.xaml"
                this.LocalInfoList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LocalInfoList_OnSelectionChanged);

            #line default
            #line hidden

            #line 34 "..\..\GetLyricWindow.xaml"
                this.LocalInfoList.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LocalInfoList_OnPreviewMouseDown);

            #line default
            #line hidden
                return;

            case 5:
                this.SearchResultList = ((System.Windows.Controls.ListView)(target));

            #line 58 "..\..\GetLyricWindow.xaml"
                this.SearchResultList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SearchResultList_OnSelectionChanged);

            #line default
            #line hidden

            #line 58 "..\..\GetLyricWindow.xaml"
                this.SearchResultList.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SearchResultList_OnPreviewMouseDown);

            #line default
            #line hidden
                return;

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

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

            #line 73 "..\..\GetLyricWindow.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_OnClick);

            #line default
            #line hidden
                return;

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

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

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

            #line 115 "..\..\GetLyricWindow.xaml"
                this.PauseButton.Click += new System.Windows.RoutedEventHandler(this.PauseButton_OnClick);

            #line default
            #line hidden
                return;

            case 11:
                this.TimeBar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 14 "..\..\MainWindow.xaml"
                this.Createxmlbutton.Click += new System.Windows.RoutedEventHandler(this.Createxmlbutton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 16 "..\..\MainWindow.xaml"
                this.gtefiles.Click += new System.Windows.RoutedEventHandler(this.gtefiles_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.Timert = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #34
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.PatientInfoWindow = ((NextGenEMS.Frontend.PatientInfoEditor)(target));
     return;
     case 2:
     this.DemographicsGroupbox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 3:
     this.LastNameTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.AgeTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.FirstNameTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.DateOfBirthDatePicker = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 7:
     this.StreetAddressTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.StateTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.CityTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.WeightTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.GenderComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 12:
     this.RaceComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 13:
     this.PatientVitalsGroupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 14:
     this.PulseRateTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.VitalsTimestampListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 16:
     this.BpSystolicTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.BpDiastolicTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.SP02Textbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 19:
     this.RespirationsTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.RespEffortComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 21:
     this.LocComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 22:
     this.AddVitalsSetButton1 = ((System.Windows.Controls.Button)(target));
     return;
     case 23:
     this.RemoveVitalsSetButton1 = ((System.Windows.Controls.Button)(target));
     return;
     case 24:
     this.BodyTempTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.BloodGcTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.PupilResponseComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 27:
     this.PERRLNotesTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 28:
     this.BodyTempMethodComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 29:
     this.GcMethodComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 30:
     this.GcsVisualScoreTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 31:
     this.GcsVerbalScoreTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 32:
     this.GcsMotorScoreTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 33:
     this.GcsTotalScoreTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 34:
     this.BpLocationComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 35:
     this.PulseLocationComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 36:
     this.SkinFeelComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 37:
     this.SkinTempComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 38:
     this.SP02LocationComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 39:
     this.PulseQualityComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 40:
     this.LoadButton = ((System.Windows.Controls.Button)(target));
     
     #line 94 "..\..\..\Frontend\PatientInfoEditor.xaml"
     this.LoadButton.Click += new System.Windows.RoutedEventHandler(this.LoadButton_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.SaveButton = ((System.Windows.Controls.Button)(target));
     
     #line 95 "..\..\..\Frontend\PatientInfoEditor.xaml"
     this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
     
     #line default
     #line hidden
     return;
     case 42:
     this.OpqrstGroupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 43:
     this.OnsetTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 44:
     this.ProvocationTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 45:
     this.QualityTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 46:
     this.RadiationTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 47:
     this.SeverityTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 48:
     this.TimeTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 49:
     this.OpqrstClarifyingQuestionsTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 50:
     this.SampleGroupBox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 51:
     this.SignsSymptomsTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 52:
     this.AllergiesTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 53:
     this.MedicationsTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 54:
     this.PastMedicalHistoryTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 55:
     this.LastOralIntakeTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 56:
     this.EventsTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 57:
     this.SampleClarifyingQuestionsTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 58:
     this.PatientAssessmentGroupbox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 59:
     this.PatientAssessmentTimestampListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 60:
     this.AddAssessmentButton = ((System.Windows.Controls.Button)(target));
     return;
     case 61:
     this.ChiefComplaintTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 62:
     this.MoiNoiComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 63:
     this.CauseOfInjuryComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 64:
     this.ProviderImpressionComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 65:
     this.MoiNoiDescriptionTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 66:
     this.ProviderNotesTextbox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 67:
     this.AdditionalInfoGroupbox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 68:
     this.GeneralCommentsTextbox = ((System.Windows.Controls.TextBox)(target));
     
     #line 156 "..\..\..\Frontend\PatientInfoEditor.xaml"
     this.GeneralCommentsTextbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 69:
     this.NarrativeTextbox = ((System.Windows.Controls.TextBox)(target));
     
     #line 157 "..\..\..\Frontend\PatientInfoEditor.xaml"
     this.NarrativeTextbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 70:
     this.MedicalPersonelGroupbox = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 71:
     this.Provider1Name = ((System.Windows.Controls.TextBox)(target));
     return;
     case 72:
     this.Provider2Name = ((System.Windows.Controls.TextBox)(target));
     return;
     case 73:
     this.Provider3Name = ((System.Windows.Controls.TextBox)(target));
     return;
     case 74:
     this.Provider1Role = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 75:
     this.Provider2Role = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 76:
     this.Provider3Role = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 77:
     this.Provider1LicenseNumber = ((System.Windows.Controls.TextBox)(target));
     return;
     case 78:
     this.Provider2LicenseNumber = ((System.Windows.Controls.TextBox)(target));
     return;
     case 79:
     this.Provider3LicenseNumber = ((System.Windows.Controls.TextBox)(target));
     return;
     case 80:
     this.Provider1LicenseTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 81:
     this.Provider2LicenseTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 82:
     this.Provider3LicenseTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 83:
     this.VentilationCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 84:
     this.BurnTreatmentCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 85:
     this.CprCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 86:
     this.GlucoseTreatmentCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 87:
     this.TractionExtremitySplint = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 88:
     this.NebulizerCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 89:
     this.ActivatedCharcoalCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 90:
     this.AirwayInsertionCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 91:
     this.AirwayTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 92:
     this.VentilationTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 93:
     this.AirwayFLowVolumeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 94:
     this.VentilationVolumeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 95:
     this.BleedingControlCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 96:
     this.CervicalImmobilization = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 97:
     this.NarcanCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 98:
     this.ChildbirthDeliveryCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 99:
     this.OtherTreatmentCheckbox = ((System.Windows.Controls.CheckBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Kundeoversigt_DataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 16 "..\..\MainWindow.xaml"
                this.Kundeoversigt_DataGrid.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Kundeoversigt_DataGrid_MouseDoubleClick);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 28 "..\..\MainWindow.xaml"
                this.Fornavn_TextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Fornavn_TextBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\MainWindow.xaml"
                this.Efternavn_TextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Efternavn_TextBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\MainWindow.xaml"
                this.Search_TextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\..\MainWindow.xaml"
                this.btnDecompress.Click += new System.Windows.RoutedEventHandler(this.btnDecompress_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 12:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Accueil/Demande/FrmAutreDemande.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.tabControle              = ((System.Windows.Controls.TabControl)(this.FindName("tabControle")));
     this.tabItemAdrss             = ((System.Windows.Controls.TabItem)(this.FindName("tabItemAdrss")));
     this.tab3_txt_NomClientBrt    = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_NomClientBrt")));
     this.lbl_NomProprietaire      = ((System.Windows.Controls.Label)(this.FindName("lbl_NomProprietaire")));
     this.lbl_Commune              = ((System.Windows.Controls.Label)(this.FindName("lbl_Commune")));
     this.lbl_Quartier             = ((System.Windows.Controls.Label)(this.FindName("lbl_Quartier")));
     this.lbl_Secteur              = ((System.Windows.Controls.Label)(this.FindName("lbl_Secteur")));
     this.tab3_txt_LibelleCommune  = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_LibelleCommune")));
     this.tab3_txt_LibelleQuartier = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_LibelleQuartier")));
     this.tab3_txt_Secteur         = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_Secteur")));
     this.tab3_txt_NumRue          = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_NumRue")));
     this.lbl_NumRue               = ((System.Windows.Controls.Label)(this.FindName("lbl_NumRue")));
     this.tab3_txt_etage           = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_etage")));
     this.lbl_Etage                = ((System.Windows.Controls.Label)(this.FindName("lbl_Etage")));
     this.tab3_txt_NumLot          = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_NumLot")));
     this.lbl_Lot                         = ((System.Windows.Controls.Label)(this.FindName("lbl_Lot")));
     this.tab3_txt_Telephone              = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_Telephone")));
     this.lbl_Telephone                   = ((System.Windows.Controls.Label)(this.FindName("lbl_Telephone")));
     this.tab3_txt_tournee                = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_tournee")));
     this.lbl_Tournee                     = ((System.Windows.Controls.Label)(this.FindName("lbl_Tournee")));
     this.tab3_txt_OrdreTour              = ((System.Windows.Controls.TextBox)(this.FindName("tab3_txt_OrdreTour")));
     this.lbl_Sequence                    = ((System.Windows.Controls.Label)(this.FindName("lbl_Sequence")));
     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.label21                         = ((System.Windows.Controls.Label)(this.FindName("label21")));
     this.Btn_Reglage                     = ((System.Windows.Controls.Button)(this.FindName("Btn_Reglage")));
     this.txt_Reglage                     = ((System.Windows.Controls.TextBox)(this.FindName("txt_Reglage")));
     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.tabItemCompte                   = ((System.Windows.Controls.TabItem)(this.FindName("tabItemCompte")));
     this.LsvFacture                      = ((System.Windows.Controls.DataGrid)(this.FindName("LsvFacture")));
     this.Txt_TotalHt                     = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalHt")));
     this.Txt_totalTaxe                   = ((System.Windows.Controls.TextBox)(this.FindName("Txt_totalTaxe")));
     this.Txt_TotalTTC                    = ((System.Windows.Controls.TextBox)(this.FindName("Txt_TotalTTC")));
     this.lbl_total                       = ((System.Windows.Controls.Label)(this.FindName("lbl_total")));
     this.tabPieceJointe                  = ((System.Windows.Controls.TabItem)(this.FindName("tabPieceJointe")));
     this.Gbo_PieceJointe                 = ((SilverlightContrib.Controls.GroupBox)(this.FindName("Gbo_PieceJointe")));
     this.cbo_typedoc                     = ((System.Windows.Controls.ComboBox)(this.FindName("cbo_typedoc")));
     this.dgListePiece                    = ((System.Windows.Controls.DataGrid)(this.FindName("dgListePiece")));
     this.btn_ajoutpiece                  = ((System.Windows.Controls.Button)(this.FindName("btn_ajoutpiece")));
     this.btn_supprimerpiece              = ((System.Windows.Controls.Button)(this.FindName("btn_supprimerpiece")));
     this.txt_Motif                       = ((System.Windows.Controls.TextBox)(this.FindName("txt_Motif")));
     this.tab_demande                     = ((System.Windows.Controls.TabItem)(this.FindName("tab_demande")));
     this.Chk_Metre                       = ((System.Windows.Controls.CheckBox)(this.FindName("Chk_Metre")));
     this.lbl_ancienPuiss                 = ((System.Windows.Controls.Label)(this.FindName("lbl_ancienPuiss")));
     this.Cbo_PuissanceSouscrite          = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_PuissanceSouscrite")));
     this.label                    = ((System.Windows.Controls.Label)(this.FindName("label")));
     this.Cbo_diametre             = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_diametre")));
     this.txt_ancienPuiss          = ((System.Windows.Controls.TextBox)(this.FindName("txt_ancienPuiss")));
     this.lbl_ancienPuiss_Copy     = ((System.Windows.Controls.Label)(this.FindName("lbl_ancienPuiss_Copy")));
     this.libeNPI                  = ((System.Windows.Controls.Label)(this.FindName("libeNPI")));
     this.txt_AncPuissanceInstalle = ((System.Windows.Controls.TextBox)(this.FindName("txt_AncPuissanceInstalle")));
     this.Cbo_PuissanceInstalle    = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_PuissanceInstalle")));
     this.label2                   = ((System.Windows.Controls.Label)(this.FindName("label2")));
     this.txtSite                  = ((System.Windows.Controls.TextBox)(this.FindName("txtSite")));
     this.label3                   = ((System.Windows.Controls.Label)(this.FindName("label3")));
     this.txtCentre                = ((System.Windows.Controls.TextBox)(this.FindName("txtCentre")));
     this.label5                   = ((System.Windows.Controls.Label)(this.FindName("label5")));
     this.txt_tdem                 = ((System.Windows.Controls.TextBox)(this.FindName("txt_tdem")));
     this.lblProduit               = ((System.Windows.Controls.Label)(this.FindName("lblProduit")));
     this.txt_Produit              = ((System.Windows.Controls.TextBox)(this.FindName("txt_Produit")));
     this.btn_RechercheClient      = ((System.Windows.Controls.Button)(this.FindName("btn_RechercheClient")));
     this.lbl_NumerodeDemande      = ((System.Windows.Controls.Label)(this.FindName("lbl_NumerodeDemande")));
     this.Txt_ReferenceClient      = ((System.Windows.Controls.TextBox)(this.FindName("Txt_ReferenceClient")));
     this.prgBar                   = ((System.Windows.Controls.ProgressBar)(this.FindName("prgBar")));
     this.lbl_Ordre                = ((System.Windows.Controls.Label)(this.FindName("lbl_Ordre")));
     this.Txt_Ordre                = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Ordre")));
     this.lbl_DateRDV              = ((System.Windows.Controls.Label)(this.FindName("lbl_DateRDV")));
     this.dtp_RendezVousPrev       = ((System.Windows.Controls.DatePicker)(this.FindName("dtp_RendezVousPrev")));
 }
Exemple #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\TypeProduct.xaml"
                ((Project2016App.TypeProduct)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Form_Load);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 17 "..\..\TypeProduct.xaml"
                this.dataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGridCellClick);

            #line default
            #line hidden
                return;

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

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

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

            #line 30 "..\..\TypeProduct.xaml"
                this.SavetoDB.Click += new System.Windows.RoutedEventHandler(this.SavetoDB_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\TypeProduct.xaml"
                this.EdittoDB.Click += new System.Windows.RoutedEventHandler(this.EdittoDB_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\TypeProduct.xaml"
                this.DeleteFromDB.Click += new System.Windows.RoutedEventHandler(this.DeleteFromDB_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 51 "..\..\TypeProduct.xaml"
                this.ClearData.Click += new System.Windows.RoutedEventHandler(this.ClearData_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.label1_Copy2 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TabKafMainGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 18:
                this.TxtBxKafedra = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            case 22:
                this.BtnKfStrcDel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.screen = ((System.Windows.Controls.Grid)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.screen.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.screen_Click));

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 20:
                this.Button_plus = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbNombreCliente = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

            #line 40 "..\..\Venta.xaml"
                this.btnNuevo.Click += new System.Windows.RoutedEventHandler(this.btnNuevo_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\Venta.xaml"
                this.btnAgregar.Click += new System.Windows.RoutedEventHandler(this.btnAgregar_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\Venta.xaml"
                this.btnCancelar.Click += new System.Windows.RoutedEventHandler(this.btnCancelar_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\Venta.xaml"
                this.btnComprar.Click += new System.Windows.RoutedEventHandler(this.btnComprar_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.dtgTabla = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\MainWindow.xaml"
                ((TicTacToe.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

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

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

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

            case 5:

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 10:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\..\MainWindow.xaml"
                this.b2.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\..\MainWindow.xaml"
                this.b4.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 121 "..\..\..\MainWindow.xaml"
                this.b6.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 135 "..\..\..\MainWindow.xaml"
                this.b8.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 141 "..\..\..\MainWindow.xaml"
                this.b9.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

            #line 58 "..\..\..\UserSpecificView.xaml"
                this.TemplateComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 82 "..\..\..\UserSpecificView.xaml"
                this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.BtnLogout_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.profileImage = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

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

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

            #line 190 "..\..\..\UserSpecificView.xaml"
                this.ClosePopup.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ClosePopup_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line 209 "..\..\..\UserSpecificView.xaml"
                this.BtnOKClose.Click += new System.Windows.RoutedEventHandler(this.BtnOKClose_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.emailListBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line 16 "..\..\PocetniProzor.xaml"
                ((WpfApp3.PocetniProzor)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 21 "..\..\PocetniProzor.xaml"
                ((WpfApp3.PocetniProzor)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.WindowMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 24 "..\..\PocetniProzor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.izvestaj_Open_Executed);

            #line default
            #line hidden
                return;

            case 3:

            #line 25 "..\..\PocetniProzor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.izvestaj_Save_Executed);

            #line default
            #line hidden
                return;

            case 4:
                this.MainDialogHost = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 5:
                this.Izvestaj = ((WpfApp3.Izvestaj)(target));
                return;

            case 6:
                this.Vinograd = ((WpfApp3.Vinograd)(target));
                return;

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

            case 8:
                this.PSP = ((WpfApp3.PSP)(target));
                return;

            case 9:
                this.POP = ((WpfApp3.POP)(target));
                return;

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

            #line 75 "..\..\PocetniProzor.xaml"
                this.Home.Click += new System.Windows.RoutedEventHandler(this.Home_Click);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\PocetniProzor.xaml"
                this.Vineyard.Click += new System.Windows.RoutedEventHandler(this.Vineyard_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.IzveštajNew = ((System.Windows.Controls.MenuItem)(target));

            #line 87 "..\..\PocetniProzor.xaml"
                this.IzveštajNew.Click += new System.Windows.RoutedEventHandler(this.IzvestajOpen_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\PocetniProzor.xaml"
                this.IzvestajOpen.Click += new System.Windows.RoutedEventHandler(this.IzvestajOpen_Click);

            #line default
            #line hidden
                return;

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

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

            #line 102 "..\..\PocetniProzor.xaml"
                this.IzvestajExit.Click += new System.Windows.RoutedEventHandler(this.IzvestajExit_Click);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\PocetniProzor.xaml"
                this.dostava.Click += new System.Windows.RoutedEventHandler(this.dostava_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.pvd = ((System.Windows.Controls.MenuItem)(target));
                return;

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

            #line 119 "..\..\PocetniProzor.xaml"
                this.psp.Click += new System.Windows.RoutedEventHandler(this.psp_Click);

            #line default
            #line hidden
                return;

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

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

            #line 129 "..\..\PocetniProzor.xaml"
                this.ostvPr.Click += new System.Windows.RoutedEventHandler(this.ostvPr_Click);

            #line default
            #line hidden
                return;

            case 22:

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

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\PocetniProzor.xaml"
                this.Logistika.Click += new System.Windows.RoutedEventHandler(this.Logistika_Click);

            #line default
            #line hidden
                return;

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

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

            #line 162 "..\..\PocetniProzor.xaml"
                this.pomoc.Click += new System.Windows.RoutedEventHandler(this.pomoc_Click);

            #line default
            #line hidden
                return;

            case 26:

            #line 163 "..\..\PocetniProzor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.odjavi_Click);

            #line default
            #line hidden
                return;

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

            #line 165 "..\..\PocetniProzor.xaml"
                this.popUpIzlaz.Click += new System.Windows.RoutedEventHandler(this.popUpIzlaz_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.header = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.spBooks = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.spOptions = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            case 17:
                this.spSubmit = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 65 "..\..\MainWindow.xaml"
                this.btnSubmit.Click += new System.Windows.RoutedEventHandler(this.btnSubmit_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 4 "..\..\MainWindow.xaml"
                this.windowMain.Loaded += new System.Windows.RoutedEventHandler(this.windowMain_Loaded);

            #line default
            #line hidden
                return;

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

            #line 6 "..\..\MainWindow.xaml"
                this.buttonShow.Click += new System.Windows.RoutedEventHandler(this.buttonShow_Click);

            #line default
            #line hidden
                return;

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

            #line 7 "..\..\MainWindow.xaml"
                this.textboxAddress.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textboxAddress_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 8:
                this.radioButton2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.radioButton3 = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.stackpanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

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

            #line 24 "..\..\..\..\UI\Copy of StatComparatifMatiereClasseUI.xaml"
                this.txtAnneeScolaire.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtAnneeScolaire_TextChanged);

            #line default
            #line hidden

            #line 24 "..\..\..\..\UI\Copy of StatComparatifMatiereClasseUI.xaml"
                this.txtAnneeScolaire.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtAnneeScolaire_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

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

            #line 27 "..\..\..\..\UI\Copy of StatComparatifMatiereClasseUI.xaml"
                this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\..\UI\Copy of StatComparatifMatiereClasseUI.xaml"
                this.cmdAnnuler.Click += new System.Windows.RoutedEventHandler(this.cmdAnnuler_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 31 "..\..\..\..\UI\Copy of StatComparatifMatiereClasseUI.xaml"
                this.cmdImprimer.Click += new System.Windows.RoutedEventHandler(this.cmdImprimer_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 17:
                this.matieres = ((System.Windows.Controls.DataVisualization.Charting.ColumnSeries)(target));
                return;

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

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

            case 20:
                this.matieresLine = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnMain = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 13 "..\..\FinestraControlloQR.xaml"
                this.camSelect.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.camSelect_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.webCam = ((QrWebCam.QrWebCamControl)(target));

            #line 14 "..\..\FinestraControlloQR.xaml"
                this.webCam.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 14 "..\..\FinestraControlloQR.xaml"
                this.webCam.QrDecoded += new System.EventHandler <string>(this.QrWebCamControl_QrDecoded);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\FinestraControlloQR.xaml"
                this.btnMain1.Click += new System.Windows.RoutedEventHandler(this.btnMain1_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\FinestraControlloQR.xaml"
                this.btnConferma.Click += new System.Windows.RoutedEventHandler(this.btnConferma_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.qrBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #49
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Accueil = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\..\Fenetre\VueSlack.xaml"
     this.Accueil.Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Nouvelle = ((System.Windows.Controls.Button)(target));
     
     #line 16 "..\..\..\Fenetre\VueSlack.xaml"
     this.Nouvelle.Click += new System.Windows.RoutedEventHandler(this.Nouvelle_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Meteo = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\..\Fenetre\VueSlack.xaml"
     this.Meteo.Click += new System.Windows.RoutedEventHandler(this.Meteo_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Pokemon = ((System.Windows.Controls.Button)(target));
     
     #line 18 "..\..\..\Fenetre\VueSlack.xaml"
     this.Pokemon.Click += new System.Windows.RoutedEventHandler(this.Pokemon_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Cryptomonaie = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\..\Fenetre\VueSlack.xaml"
     this.Cryptomonaie.Click += new System.Windows.RoutedEventHandler(this.Cryptomonaie_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Slack = ((System.Windows.Controls.Button)(target));
     
     #line 20 "..\..\..\Fenetre\VueSlack.xaml"
     this.Slack.Click += new System.Windows.RoutedEventHandler(this.Slack_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.salon = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\windows\Report.xaml"
                ((PinePay.Report)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.OnKeyDown);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\windows\Report.xaml"
                this.MainGrid.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnMouseMove);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\windows\Report.xaml"
                this.Send.Click += new System.Windows.RoutedEventHandler(this.Send_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\..\windows\Report.xaml"
                this.Export.Click += new System.Windows.RoutedEventHandler(this.Export_Click);

            #line default
            #line hidden
                return;

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

            #line 58 "..\..\..\windows\Report.xaml"
                this.Refresh.Click += new System.Windows.RoutedEventHandler(this.Refresh_Click);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\..\windows\Report.xaml"
                this.DeleteT.Click += new System.Windows.RoutedEventHandler(this.DeleteT_Click);

            #line default
            #line hidden
                return;

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

            #line 99 "..\..\..\windows\Report.xaml"
                this.Scroller.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnMouseMove);

            #line default
            #line hidden
                return;

            case 8:
                this.Page = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line 128 "..\..\..\windows\Report.xaml"
                this.Logout.Click += new System.Windows.RoutedEventHandler(this.Logout_Click);

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\MainWindow.xaml"
                this.RepeatButton.Click += new System.Windows.RoutedEventHandler(this.RepeatButton_Click);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\MainWindow.xaml"
                this.TimeSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragStartedEvent, new System.Windows.Controls.Primitives.DragStartedEventHandler(this.TimeSlider_DragStarted));

            #line default
            #line hidden

            #line 15 "..\..\MainWindow.xaml"
                this.TimeSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.TimeSlider_DragCompleted));

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\MainWindow.xaml"
                this.PlayList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.PlayList_DoubleClick);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 18:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.EasterEgg_Label);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Label)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.EasterEgg_Label);

            #line default
            #line hidden
                return;

            case 19:
                this.VolumeText = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TCPrincipal = ((MahApps.Metro.Controls.MetroTabControl)(target));
                return;

            case 2:
                this.lboxProductosAdmi = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 40 "..\..\PerfilAdministrador.xaml"
                this.btn_todos.Click += new System.Windows.RoutedEventHandler(this.Btn_todos_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\PerfilAdministrador.xaml"
                this.btn_alimentos.Click += new System.Windows.RoutedEventHandler(this.Btn_alimentos_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\PerfilAdministrador.xaml"
                this.btn_electronica.Click += new System.Windows.RoutedEventHandler(this.Btn_electronica_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\PerfilAdministrador.xaml"
                this.btn_blanca.Click += new System.Windows.RoutedEventHandler(this.Btn_blanca_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\PerfilAdministrador.xaml"
                this.btn_ropa.Click += new System.Windows.RoutedEventHandler(this.Btn_ropa_Click);

            #line default
            #line hidden
                return;

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

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

            #line 67 "..\..\PerfilAdministrador.xaml"
                this.btn_todosOfer.Click += new System.Windows.RoutedEventHandler(this.Btn_todosOfer_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\PerfilAdministrador.xaml"
                this.btn_alimentosOfer.Click += new System.Windows.RoutedEventHandler(this.Btn_alimentosOfer_Click);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\PerfilAdministrador.xaml"
                this.btn_electronicaOfer.Click += new System.Windows.RoutedEventHandler(this.Btn_electronicaOfer_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\PerfilAdministrador.xaml"
                this.btn_blancaOfer.Click += new System.Windows.RoutedEventHandler(this.Btn_blancaOfer_Click);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\PerfilAdministrador.xaml"
                this.btn_ropaOfer.Click += new System.Windows.RoutedEventHandler(this.Btn_ropaOfer_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 18:
                this.cb_tienda = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.cb_tipo = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 22:

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

            #line default
            #line hidden
                return;

            case 23:

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

            #line default
            #line hidden
                return;

            case 24:

            #line 120 "..\..\PerfilAdministrador.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:

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

            #line default
            #line hidden
                return;

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

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

            #line 143 "..\..\PerfilAdministrador.xaml"
                this.lboxProductos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LboxProductos_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.cb_rubro = ((System.Windows.Controls.ComboBox)(target));

            #line 145 "..\..\PerfilAdministrador.xaml"
                this.cb_rubro.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_rubro_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

            case 34:
                this.dp_fdesde = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 35:
                this.dp_fhasta = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 161 "..\..\PerfilAdministrador.xaml"
                this.btn_confirmar.Click += new System.Windows.RoutedEventHandler(this.Btn_confirmar_Click);

            #line default
            #line hidden
                return;

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

            #line 168 "..\..\PerfilAdministrador.xaml"
                this.Btn_iniciarS.Click += new System.Windows.RoutedEventHandler(this.Btn_iniciarS_Click);

            #line default
            #line hidden
                return;

            case 38:

            #line 174 "..\..\PerfilAdministrador.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #53
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Login = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.Password = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.NameP = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.Surname = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.Patronymic = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.Input = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\..\Pages\Register.xaml"
     this.Input.Click += new System.Windows.RoutedEventHandler(this.Register_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 23 "..\..\..\Pages\Register.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Dich = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.Check = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\..\Pages\Register.xaml"
     this.Check.Click += new System.Windows.RoutedEventHandler(this.Check_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.CaptchaText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     
     #line 27 "..\..\..\Pages\Register.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     case 12:
     this.Captcha = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.totalPaymentTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

            #line 18 "..\..\MainWindow.xaml"
                this.calculateButton.Click += new System.Windows.RoutedEventHandler(this.calculateButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 35 "..\..\MainWindow.xaml"
                this.GSTtEXTbox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged_1);

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

            case 2:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 4:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 7:
                this.netBox = ((System.Windows.Controls.Border)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.netBox.MouseLeave += new System.Windows.Input.MouseEventHandler(this.netBox_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.CreateNetButton.Click += new System.Windows.RoutedEventHandler(this.CreateNetButton_Click);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\MainWindow.xaml"
                this.LoginNetButton.Click += new System.Windows.RoutedEventHandler(this.LoginRoomButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.EmptyBox = ((System.Windows.Controls.Border)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 13:
                this.RoomListBox = ((System.Windows.Controls.Border)(target));
                return;

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

            case 15:
                this.CurrentRoomBox = ((System.Windows.Controls.Border)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 106 "..\..\MainWindow.xaml"
                this.OffButton.Click += new System.Windows.RoutedEventHandler(this.OffButton_Click);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\MainWindow.xaml"
                this.ChatButton.Click += new System.Windows.RoutedEventHandler(this.ChatButton_Click);

            #line default
            #line hidden
                return;

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

            case 20:
                this.ChatBox = ((System.Windows.Controls.Border)(target));
                return;

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

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

            #line 128 "..\..\MainWindow.xaml"
                this.FormatButton.Click += new System.Windows.RoutedEventHandler(this.FormatButton_Click);

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\MainWindow.xaml"
                this.ChatOffButton.Click += new System.Windows.RoutedEventHandler(this.ChatOffButton_Click);

            #line default
            #line hidden
                return;

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

            case 25:
                this.blurBorder = ((System.Windows.Controls.Border)(target));
                return;

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

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

            #line 156 "..\..\MainWindow.xaml"
                this.FormatChanderButton.Click += new System.Windows.RoutedEventHandler(this.FormatButtonDone_Click);

            #line default
            #line hidden
                return;

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

            case 29:

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

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

            #line 6 "..\..\..\..\Interfaz\Empleados\VFisios.xaml"
                ((ClienteFisio.Interfaz.Empleados.VFisios)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Interfaz\Empleados\VFisios.xaml"
                ((ClienteFisio.Interfaz.Empleados.VFisios)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 35 "..\..\..\..\Interfaz\Empleados\VFisios.xaml"
                this.btnGuardar.Click += new System.Windows.RoutedEventHandler(this.btnGuardar_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\..\..\Interfaz\Empleados\VFisios.xaml"
                this.btnVolver.Click += new System.Windows.RoutedEventHandler(this.btnVolver_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            case 26:
                this.rMañana = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 27:
                this.rTarde = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 28:
                this.rCompleta = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            #line 48 "..\..\..\..\Interfaz\Empleados\VFisios.xaml"
                this.btnModif.Click += new System.Windows.RoutedEventHandler(this.btnModif_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\..\Interfaz\Empleados\VFisios.xaml"
                this.btnEliminar.Click += new System.Windows.RoutedEventHandler(this.btnEliminar_Click);

            #line default
            #line hidden
                return;

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

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

            case 33:
                this.lblAvisios2 = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.listVFisios = ((System.Windows.Controls.ListView)(target));

            #line 53 "..\..\..\..\Interfaz\Empleados\VFisios.xaml"
                this.listVFisios.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listVFisios_SelectionChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #57
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ExitButton = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\SettingsWindow.xaml"
     this.ExitButton.Click += new System.Windows.RoutedEventHandler(this.ExitButton_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SaveButton = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\SettingsWindow.xaml"
     this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Box_FirstQuestionValue = ((System.Windows.Controls.TextBox)(target));
     
     #line 51 "..\..\SettingsWindow.xaml"
     this.Box_FirstQuestionValue.LostFocus += new System.Windows.RoutedEventHandler(this.Box_SettingValue_LostFocus);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Box_QuestionStepValue = ((System.Windows.Controls.TextBox)(target));
     
     #line 52 "..\..\SettingsWindow.xaml"
     this.Box_QuestionStepValue.LostFocus += new System.Windows.RoutedEventHandler(this.Box_SettingValue_LostFocus);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Box_MaxThemeNameLength = ((System.Windows.Controls.TextBox)(target));
     
     #line 53 "..\..\SettingsWindow.xaml"
     this.Box_MaxThemeNameLength.LostFocus += new System.Windows.RoutedEventHandler(this.Box_SettingValue_LostFocus);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Box_MaxQuestionTextLength = ((System.Windows.Controls.TextBox)(target));
     
     #line 54 "..\..\SettingsWindow.xaml"
     this.Box_MaxQuestionTextLength.LostFocus += new System.Windows.RoutedEventHandler(this.Box_SettingValue_LostFocus);
     
     #line default
     #line hidden
     return;
     case 7:
     this.Box_NumberOfPlayers = ((System.Windows.Controls.TextBox)(target));
     
     #line 61 "..\..\SettingsWindow.xaml"
     this.Box_NumberOfPlayers.LostFocus += new System.Windows.RoutedEventHandler(this.Box_SettingValue_LostFocus);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Box_FinalSize = ((System.Windows.Controls.TextBox)(target));
     
     #line 62 "..\..\SettingsWindow.xaml"
     this.Box_FinalSize.LostFocus += new System.Windows.RoutedEventHandler(this.Box_SettingValue_LostFocus);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Box_RoundSize = ((System.Windows.Controls.TextBox)(target));
     
     #line 63 "..\..\SettingsWindow.xaml"
     this.Box_RoundSize.LostFocus += new System.Windows.RoutedEventHandler(this.Box_SettingValue_LostFocus);
     
     #line default
     #line hidden
     return;
     case 10:
     this.Box_ThemeSize = ((System.Windows.Controls.TextBox)(target));
     
     #line 64 "..\..\SettingsWindow.xaml"
     this.Box_ThemeSize.LostFocus += new System.Windows.RoutedEventHandler(this.Box_SettingValue_LostFocus);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemple #58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

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

            #line 23 "..\..\AdminWindow.xaml"
                this.tbUsername.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ocultarLabel);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\AdminWindow.xaml"
                this.tbEmail.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ocultarLabelResultado);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\AdminWindow.xaml"
                this.btCrearUsuario.Click += new System.Windows.RoutedEventHandler(this.darDeAltaUsuario);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\AdminWindow.xaml"
                this.pbPassword.PasswordChanged += new System.Windows.RoutedEventHandler(this.ocultarLabelResultado);

            #line default
            #line hidden
                return;

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

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

            case 12:
                this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 34 "..\..\AdminWindow.xaml"
                this.btListar.Click += new System.Windows.RoutedEventHandler(this.mostrarUsuarios);

            #line default
            #line hidden
                return;

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

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

            #line 36 "..\..\AdminWindow.xaml"
                this.btBorrarList.Click += new System.Windows.RoutedEventHandler(this.borrarListado);

            #line default
            #line hidden
                return;

            case 16:
                this.tabItem3 = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

            #line 49 "..\..\AdminWindow.xaml"
                this.btGuardar.Click += new System.Windows.RoutedEventHandler(this.guardarUsuarioModificado);

            #line default
            #line hidden
                return;

            case 19:
                this.tbBuscaUserModif = ((System.Windows.Controls.TextBox)(target));

            #line 50 "..\..\AdminWindow.xaml"
                this.tbBuscaUserModif.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ocultarLabel);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\AdminWindow.xaml"
                this.btBuscar.Click += new System.Windows.RoutedEventHandler(this.buscarParaModificar);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 28:
                this.pbShowPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

            case 30:
                this.tabItem4 = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

            #line 75 "..\..\AdminWindow.xaml"
                this.btEliminar.Click += new System.Windows.RoutedEventHandler(this.eliminarUsuario);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\AdminWindow.xaml"
                this.tbBuscaUserElim.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ocultarLabel);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\AdminWindow.xaml"
                this.btBuscarElim.Click += new System.Windows.RoutedEventHandler(this.buscarParaEliminar);

            #line default
            #line hidden
                return;

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

            case 36:
                this.lbShowEmailElim = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.tbShowUserElim = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 39:
                this.lbShowRolElim = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.tbShowEmailElim = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.LbResultadoEliminar = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 90 "..\..\AdminWindow.xaml"
                this.btSalir.Click += new System.Windows.RoutedEventHandler(this.salirMenuAdmin);

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\MainWindow.xaml"
                this.fourButton.Click += new System.Windows.RoutedEventHandler(this.fourButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\MainWindow.xaml"
                this.sevenButton.Click += new System.Windows.RoutedEventHandler(this.sevenButton_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\MainWindow.xaml"
                this.eightButton.Click += new System.Windows.RoutedEventHandler(this.eightButton_Click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\MainWindow.xaml"
                this.nineButton.Click += new System.Windows.RoutedEventHandler(this.nineButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 2:
                this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\MainWindow.xaml"
                this.lstItems.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstItems_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.lstSuggestions = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 17:
                this.txtSubscriptionActivity = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }