Beispiel #1
1
        //Nous avons besoin : lignes, colonnes , score, lignes remplies et quelques effets
        public Plateau(Grid TetrisGrid)
        {
            //État actuel des valeurs , les lignes et les colonnes sont à compter,
            //elles ont déjà été déclarés dans le fichier XAML.
            Lignes = TetrisGrid.RowDefinitions.Count;
            Colonnes = TetrisGrid.ColumnDefinitions.Count;

            Score = 0;
            LignesRemplies = 0;

            BlockControls = new Label[Colonnes, Lignes];
            for (int i = 0; i < Colonnes; i++)
            {
                for (int j = 0; j < Lignes; j++)
                {
                    BlockControls[i, j] = new Label();
                    BlockControls[i, j].Background = Nocolor;
                    BlockControls[i, j].BorderBrush = BlackColor;
                    BlockControls[i, j].BorderThickness = new Thickness(0.3, 0.3, 0.3, 0.3);
                    Grid.SetRow(BlockControls[i, j], j);
                    Grid.SetColumn(BlockControls[i, j], i);
                    TetrisGrid.Children.Add(BlockControls[i, j]);
                }
            }
            Piece = new Piece();
            pieceDessin();
        }
        public GUIQuestion(QLMemory memory, string identifier, string label, bool isComputed, ExpressionBase showCondition, ChangedEventHandler changeHandler)
        {
            _hideConditions = new List<ExpressionBase>();
            _showCondition = showCondition;

            _memory = memory;
            _identifier = identifier;
            _isComputed = isComputed;

            _label = new Label
                {
                    Content = label,
                    Width = 300,
                    Margin = new Thickness(0, 0, 25, 0),
                    HorizontalContentAlignment = HorizontalAlignment.Right
                };

            _input = _memory.GetDeclaredValue(_identifier).CreateInputControl(_identifier, _memory, _isComputed);
            _input.OnChanged = changeHandler;

            //ui properties
            Width = 600;
            Margin = new Thickness(0, 10, 0 , 0);
            Orientation = Orientation.Horizontal;
        }
      public CustomMarkerRed(MainWindow window, GMapMarker marker, string title)
      {
         this.InitializeComponent();

         this.MainWindow = window;
         this.Marker = marker;

         Popup = new Popup();
         Label = new Label();

         this.Loaded += new RoutedEventHandler(CustomMarkerDemo_Loaded);
         this.SizeChanged += new SizeChangedEventHandler(CustomMarkerDemo_SizeChanged);
         this.MouseEnter += new MouseEventHandler(MarkerControl_MouseEnter);
         this.MouseLeave += new MouseEventHandler(MarkerControl_MouseLeave);
         this.MouseMove += new MouseEventHandler(CustomMarkerDemo_MouseMove);
         this.MouseLeftButtonUp += new MouseButtonEventHandler(CustomMarkerDemo_MouseLeftButtonUp);
         this.MouseLeftButtonDown += new MouseButtonEventHandler(CustomMarkerDemo_MouseLeftButtonDown);

         Popup.Placement = PlacementMode.Mouse;
         {
            Label.Background = Brushes.Blue;
            Label.Foreground = Brushes.White;
            Label.BorderBrush = Brushes.WhiteSmoke;
            Label.BorderThickness = new Thickness(2);
            Label.Padding = new Thickness(5);
            Label.FontSize = 22;
            Label.Content = title;
         }
         Popup.Child = Label;
      }
 public static WrapPanel CreateHeaderPanel(Label replName, Button closeButton)
 {
     WrapPanel headerPanel = new WrapPanel();
     headerPanel.Children.Add(replName);
     headerPanel.Children.Add(closeButton);
     return headerPanel;
 }
        /// <summary>
        /// Constructeur par défaut de la classe.
        /// </summary>
        /// <param name="plat">Un plat.</param>
        /// <param name="nbPersonnes">Le nombre de personnes.</param>
        public FenetreIngredients(Plat plat, int nbPersonnes)
        {
            CultureManager.UICultureChanged += CultureManager_UICultureChanged;

            InitializeComponent();

            PlatCourant = plat;
            NbrPersonnes = nbPersonnes;

            int nbRangees = plat.ListeIngredients.Count + 1;

            GenererRangees(nbRangees);

            Label entete = new Label();
            entete.FontSize = 18;
            entete.FontWeight = FontWeights.Bold;
            entete.Content = plat.Nom;
            grdIngredients.Children.Add(entete);

            AfficherIngredients(new List<Aliment>(PlatCourant.ListeIngredients), nbPersonnes);

            btnCalculatrice = new Button();
            btnCalculatrice.Content = Nutritia.UI.Ressources.Localisation.FenetreIngredient.Calculatrice;
            btnCalculatrice.Width = 150;
            btnCalculatrice.Height = 25;
            btnCalculatrice.FontSize = 16;
            Thickness margin = new Thickness();
            margin.Top = 10;
            btnCalculatrice.Margin = margin;
            btnCalculatrice.Style = FindResource("fontNutritia") as Style;
            btnCalculatrice.Click += new RoutedEventHandler(btnCalculatrice_Click);
            Grid.SetRow(btnCalculatrice, nbRangees);
            grdIngredients.Children.Add(btnCalculatrice);
        }
Beispiel #6
0
        public static void GenereateFields()
        {
            // Get the Grid from the MainWindow
            Grid AuthenticationGrid = ((MainWindow)System.Windows.Application.Current.MainWindow).AuthenticationGrid;

            // Build a list of Digest Auth Fields
            List<string> fields = new List<string>();
            fields.Add("Username");
            fields.Add("Password");

            for (int i = 0; i < fields.Count; i++)
            {
                // Add a row to the AuthGrid
                RowDefinition rowDefinition = new RowDefinition();
                rowDefinition.Height = GridLength.Auto;
                AuthenticationGrid.RowDefinitions.Add(rowDefinition);

                // Add a Label
                Label label = new Label();
                label.SetValue(Grid.RowProperty, i + 1);
                label.SetValue(Grid.ColumnProperty, 0);
                label.Name = "AuthenticationKey" + i;
                label.Content = fields[i] + ":";
                AuthenticationGrid.Children.Add(label);

                // Add a textbox
                TextBox textBox = new TextBox();
                textBox.SetValue(Grid.RowProperty, i + 1);
                textBox.SetValue(Grid.ColumnProperty, 1);
                textBox.Name = "AuthenticationValue" + i;
                AuthenticationGrid.Children.Add(textBox);
            }
        }
        public ListViewItemPokerType(PokerType pokerType)
        {
            PokerType = pokerType;

            StackPanel sp = new StackPanel { Orientation = Orientation.Horizontal };

            Image image = new Image
            {
                Source = new BitmapImage(new Uri(string.Format(@"pack://application:,,,/Images/Resources/Size16x16/tag_blue.png"), UriKind.Absolute)),
                Width = 16,
                Height = 16,
                Margin = new Thickness(0, 0, 0, 0)
            };

            Label label = new Label
            {
                Content = PokerType.Name,
                Padding = new Thickness(0),
                Margin = new Thickness(5, 0, 0, 0)
            };

            sp.Children.Add(image);
            sp.Children.Add(label);
            Content = sp;
        }
Beispiel #8
0
        private void PrepareWeekGrid()
        {

            for (int i = 0; i < 4; i++)//Creating listviews where we will display Timesatmps for rows
            {
                ListView list = new ListView();
                //Little bit of tinkering with properties to get desired result;
                list.SetValue(ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Disabled);
                Label timelabel = new Label();//We will display timestamp on this label
                timelabel.Content = TimePeriodToString((timeperiod)i);//setting
                list.Items.Add(timelabel);//adding label to listview
                TimeStamps.Children.Add(list);//Adding listview to grid;
            }

            Label[] weekDayLabels = new Label[7];//Labels for dispaly weekday name
            List<DayOfWeek> customday = new List<DayOfWeek>();// reshuffling weekady enum to set monday as first day of week
            foreach (DayOfWeek day in Enum.GetValues(typeof(DayOfWeek))
                              .OfType<DayOfWeek>()
                              .ToList()//monday is second day by default
                              .Skip(1))//so we skip sunday 
            {
                customday.Add(day);//adding 
            }
            customday.Add(DayOfWeek.Sunday);//and add sunday as last

            for (int i = 0; i < weekDayLabels.Length; i++)//Placing all the labels at grid;
            {
                weekDayLabels[i] = new Label();
                weekDayLabels[i].Background = Brushes.LightBlue;
                weekDayLabels[i].Content = customday.ElementAt(i).ToString();//With appropriate day name;(This will correspond to actual date-weekday)
                DayLabels.Children.Add(weekDayLabels[i]);

            }
        }
Beispiel #9
0
        public Star()
        {
            centerX = 285;
            centerY = 285;

            starGFX = new Ellipse();
            starSEL = new Ellipse();

            starCanvas = new Canvas();
            starLabel = new Label();

            starSEL.Visibility = Visibility.Hidden;
            starGFX.Fill = backgroundBrush;

            starLabel.FontFamily = new FontFamily(new Uri("pack://application:,,,/Fonts/"), "./#Euro Caps");
            starLabel.Foreground = backgroundBrush;

            starCanvas.Children.Add(starGFX);
            starCanvas.Children.Add(starLabel);
            starCanvas.Children.Add(starSEL);

            movePoint = new Point3D(0,0,0);
            rotaPoint = new Point3D(0,0,0);

            starCanvas.PreviewMouseDown += MoveToSystem;
        }
Beispiel #10
0
        public Star()
        {
            starColor = foregroundBrush;

            starGFX = new Ellipse();
            starSEL = new Ellipse();

            starCanvas = new Canvas();
            starLabel = new Label();

            starSEL.Visibility = Visibility.Hidden;
            starGFX.Fill = foregroundBrush;

            starLabel.FontFamily = new FontFamily(new Uri("pack://application:,,,/Fonts/"), "./#Euro Caps");
            starLabel.Foreground = fontBrush;

            starCanvas.Children.Add(starLabel);
            starCanvas.Children.Add(starGFX);
            starCanvas.Children.Add(starSEL);

            movePoint = new Point3D(0,0,0);
            rotaPoint = new Point3D(0,0,0);

            starCanvas.MouseLeftButtonDown += SetSelection;
            starCanvas.MouseRightButtonDown +=TargetSelection;

            starCanvas.MouseEnter += ShowInfoSelection;
            starCanvas.MouseLeave += HideInfoSelection;
        }
Beispiel #11
0
        //============== Funções ====================================
        public void CriarProcesso(double top, double left)
        {
            Rectangle rectangle;
            rectangle = new Rectangle();
            Canvas.SetTop(rectangle, top);
            Canvas.SetLeft(rectangle, left);
            rectangle.Fill = System.Windows.Media.Brushes.White;
            rectangle.Height = 20;
            rectangle.Width = 40;
            rectangle.StrokeThickness = 2;
            rectangle.Stroke = System.Windows.Media.Brushes.Gray;
            

            for (int i = 0; i < Processos.Count; i++)
            {
                if (Processos[i].Left == left && Processos[i].Top == top)
                {
                    Label lbl = new Label();
                    lbl.Content = "P" + Processos[i].ID;
                    Canvas.SetLeft(lbl, left + 10);
                    Canvas.SetTop(lbl, top - 2);

                    rectangle.Name = ("P" + Processos[i].ID);
                    Elementos.Add(rectangle);

                    Elementos.Add(lbl);

                    Processos[i].Texto = lbl;
                    break;
                }
            }

        }
        protected override void SetThisContent()
        {
            Grid grid_main = new Grid();
            grid_main.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid_main.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });

            ////////
            // Id
            m_textBlock_id = new TextBlock() { VerticalAlignment = VerticalAlignment.Center };
            Label label_id = new Label() { Content = "Id: ", FontWeight = FontWeights.Bold, VerticalAlignment = VerticalAlignment.Center };
            Grid grid_id = new Grid();
            grid_id.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });
            grid_id.ColumnDefinitions.Add(new ColumnDefinition() { Width = GridLength.Auto });
            grid_id.SetRowColumn(m_textBlock_id, 0, 1);
            grid_id.SetRowColumn(label_id, 0, 0);
            grid_main.SetRowColumn(grid_id, 0, 0);

            ////////
            // Name
            m_textBox_name = new TextBox() { VerticalAlignment = VerticalAlignment.Center };
            ValidatorPanel validator_name = new ValidatorPanel(m_textBox_name, TextBox.TextProperty, new Validate_StringIsNotNullOrEmpty());
            Label label_name = new Label() { Content = "Name: ", FontWeight = FontWeights.Bold, VerticalAlignment = VerticalAlignment.Center };
            Grid grid_name = new Grid();
            grid_name.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid_name.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid_name.SetRowColumn(validator_name, 1, 0);
            grid_name.SetRowColumn(label_name, 0, 0);
            grid_main.SetRowColumn(grid_name, 1, 0);

            ////////
            // FIN
            ThisContent = new ActivatableContent() { Content = grid_main, FirstFocus = m_textBox_name, Validators = new ValidatorBase[] {
                validator_name
            }};
        }
 public void ImageAnimation(Label Button, bool on)
 {
     String imageFileName = Button.Name;
     if (on) imageFileName += "_on";
     imageFileName += ".png";
     setBackgroundImage(imageFileName, Button);
 }
        public Board(Grid TetrisGrid)
        {
            rows = TetrisGrid.RowDefinitions.Count;
            cols = TetrisGrid.ColumnDefinitions.Count;
            score = 0;
            linesFilled = 0;

            blockControls = new Label[cols, rows];

            for (int i = 0; i < cols; i++)
            {
                for (int j = 0; j < rows; j++)
                {
                    blockControls[i, j] = new Label();
                    blockControls[i, j].Background = NoBrush;
                    blockControls[i, j].BorderThickness = new Thickness(1, 1, 1, 1);

                    Grid.SetColumn(blockControls[i, j], j);
                    Grid.SetRow(blockControls[i, j], i);
                    TetrisGrid.Children.Add((blockControls[i, j]));
                }
            }

            currTetrimino = new Tetrimino();
            currTetriminoDraw();
        }
 void IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
       {
     case 1:
       this.anonymousAccountRadioButton = (RadioButton) target;
       break;
     case 2:
       this.personalAccountRadioButton = (RadioButton) target;
       this.personalAccountRadioButton.Checked += new RoutedEventHandler(this.personalAccountRadioButton_Checked);
       break;
     case 3:
       ((UIElement) target).PreviewMouseDown += new MouseButtonEventHandler(this.TextBlock_MouseDown);
       break;
     case 4:
       this.usernameLabel = (Label) target;
       break;
     case 5:
       this.usernameTextBox = (TextBox) target;
       break;
     case 6:
       this.apiKeyLabel = (Label) target;
       break;
     case 7:
       this.apiKeyTextBox = (TextBox) target;
       break;
     default:
       this._contentLoaded = true;
       break;
       }
 }
Beispiel #16
0
        private static Grid Fill()
        {
            Grid grid = new Grid();


            for (int i = 0; i < Dane.n1; i++)
            {
                
                grid.RowDefinitions.Add(new RowDefinition());
            }
            for (int i = 0; i < Dane.n2; i++)
            {
                grid.ColumnDefinitions.Add(new ColumnDefinition());
            }

            for (int i = 0; i < Dane.n1; i++)
            {
                for (int j = 0; j < Dane.n2; j++)
                {
                    Label label = new Label();
                    label.Background = Dane.TloKolor;
                    
                    Grid.SetRow(label, i);
                    Grid.SetColumn(label, j);
                    grid.Children.Add(label);

                    Dane.tablica[i, j] = label;
                }
            }

            return grid;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.lblKerdes = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     
     #line 20 "..\..\..\..\..\Megjelenites\Korosztaly\Korosztaly_Torles.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnIgen_OnClick);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 22 "..\..\..\..\..\Megjelenites\Korosztaly\Korosztaly_Torles.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnNem_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #18
0
 public static void addThrow(StackPanel List, int Throw, object style)
 {
     Label l = new Label();
     l.Style = style as Style;
     l.Content = Throw.ToString();
     List.Children.Add(l);
 }
 public static bool IfNameExists(string name, Label label)
 {
     var nameExists = new TargetsBridge(new SettingsWrapper()).ValidateTargetNameExists(name);
     label.Content = nameExists ?
         Properties.Resources.TargetDuplicateName : Properties.Resources.TargetName;
     return nameExists;
 }
 public static bool IfUriExists(Uri uri, Label label)
 {
     var uriExists = new TargetsBridge(new SettingsWrapper()).ValidateTargetUriExists(uri);
     label.Content = uriExists ?
         Properties.Resources.TargetDuplicateUri : Properties.Resources.TargetUri;
     return uriExists;
 }
        private void AddRunOnForms()
        {
            /* Update the UI Grid to fit everything */
            for (int i = 0; i < 2; i++)
            {
                RowDefinition rowDef = new RowDefinition();
                rowDef.Height = System.Windows.GridLength.Auto;
                ParametersGrid.RowDefinitions.Add(rowDef);
            }
            Grid.SetRow(ButtonsPanel, ParametersGrid.RowDefinitions.Count - 1);

            Label runOnLabel = new Label();
            runOnLabel.Content = "Choose where to run the test job:";
            Grid.SetRow(runOnLabel, ParametersGrid.RowDefinitions.Count - 3);
            Grid.SetColumn(runOnLabel, 0);
            Grid.SetColumnSpan(runOnLabel, 2);

            IList<string> runOnOptions = new List<string>();
            runOnOptions.Add("Azure");
            foreach (HybridRunbookWorkerGroup group in this.hybridGroups)
            {
                runOnOptions.Add(group.Name);
            }
            ComboBox runOnComboBox = new ComboBox();
            runOnComboBox.ItemsSource = runOnOptions;
            runOnComboBox.SelectedIndex = 0;
            runOnComboBox.SelectionChanged += changeRunOnSelection;
            Grid.SetRow(runOnComboBox, ParametersGrid.RowDefinitions.Count - 2);
            Grid.SetColumn(runOnComboBox, 0);
            Grid.SetColumnSpan(runOnComboBox, 2);

            /* Add to Grid */
            ParametersGrid.Children.Add(runOnLabel);
            ParametersGrid.Children.Add(runOnComboBox);
        }
Beispiel #22
0
 private void TrackMouse(string message)
 {
     var mouseMove =
         Observable.FromEvent<MouseEventArgs, MouseEventHandler>(
             (f) => new MouseEventHandler((sender, args) => f(args)),
             handler => MouseMove += handler,
             handler => MouseMove -= handler);
     var chars = message.ToCharArray();
     for (int i = 0; i < chars.Length; i++)
     {
         var c = message[i].ToString();
         var label = new Label() { Content = c };
         canvas.Children.Add(label);
         int closure = i;
         mouseMove
             .Select(e => e.GetPosition(canvas))
             .Delay(closure * 100)
             .OnDispatcher()
             .Subscribe(pos =>
             {
                 Canvas.SetLeft(label, pos.X + closure * 10);
                 Canvas.SetTop(label, pos.Y);
             });
     }
 }
        private void button2_Click(object sender, RoutedEventArgs e)
        {
            Label itemname = new Label();
            itemname.Width = wrapPanel1.Width*(0.2f);
            itemname.Content = "Item Name";
            TextBox itemval = new TextBox();
            itemval.Width = wrapPanel1.Width * (0.2f);

            Label itemnamet = new Label();
            itemnamet.Width = wrapPanel1.Width * (0.2f);
            itemnamet.Content = "Type";
            TextBox itemvalt = new TextBox();
            itemvalt.Width = wrapPanel1.Width * (0.2f);




            ComponentItem citem = new ComponentItem();
            citem.lb = itemname;
            citem.tb = itemval;

            citem.lbtype = itemnamet;
            citem.tbtype = itemvalt;

            items.Add(citem);

            wrapPanel1.Children.Add(itemname);
            wrapPanel1.Children.Add(itemval);
            wrapPanel1.Children.Add(itemnamet);
            wrapPanel1.Children.Add(itemvalt);

        }
            public ProcessorFamily(Panel parentPanel, int idx, string name)
            {
                Index = idx;
                Name = name;
                SelectedProcessor = null;

                LabelName = new Label();
                LabelName.Content = "Choose " + name;
                DockPanel.SetDock(LabelName, Dock.Top);
                LabelName.Height = 30.0;
                LabelName.HorizontalContentAlignment = HorizontalAlignment.Center;
                parentPanel.Children.Add(LabelName);

                ComboProcessors = new ComboBox();
                DockPanel.SetDock(ComboProcessors, Dock.Top);
                ComboProcessors.Height = 25.0;
                ComboProcessors.Margin = new Thickness(30.0, 5.0, 30.0, 5.0);
                ComboProcessors.HorizontalContentAlignment = HorizontalAlignment.Center;
                parentPanel.Children.Add(ComboProcessors);

                ComboProcessors.SelectionChanged += ComboProcessors_SelectionChanged;

                ParametersPanel = new ParametersSelectionPanel();
                ParametersPanel.MinHeight = 20.0;
                DockPanel.SetDock(ParametersPanel, Dock.Top);
                parentPanel.Children.Add(ParametersPanel);
            }
        public ContentCardImage(Canvas parent_canvas, Color highlight_color, ExplorerContentImage explorer_image)
            : base(parent_canvas, highlight_color)
        {
            explorerImage = explorer_image;

            StackPanel background = new StackPanel();
            background.Orientation = Orientation.Vertical;
            background.Background = new SolidColorBrush(Color.FromRgb(255, 255, 255));
            background.Margin = new Thickness(5);

            Image image = explorerImage.getImage();
            image.MaxWidth = 300;
            image.MaxHeight = 400;
            image.Margin = new Thickness(0, 0, 0, 5);
            background.Children.Add(image);

            Label caption = new Label();
            caption.Content = explorerImage.getName();
            caption.FontSize = 20;
            caption.MaxWidth = 300;
            caption.FontWeight = FontWeights.Bold;
            background.Children.Add(caption);

            setContent(background);
        }
        public ListColoredLabels()
        {
            Title = "List Colored Labels";

            ListBox lstbox = new ListBox();
            lstbox.Height = 150;
            lstbox.Width = 150;
            lstbox.SelectionChanged += ListBoxOnSelectionChanged;
            Content = lstbox;

            //label ��Ʈ�ѷ� ����Ʈ�ڽ��� ä���....
            PropertyInfo[] props = typeof(Colors).GetProperties();

            foreach (PropertyInfo prop in props)
            {
                Color clr = (Color)prop.GetValue(null, null);
                bool isBlack = .222 * clr.R + .707 * clr.G + .071 * clr.B > 128;

                //--------------------------------------------------------------
                Label lbl = new Label();           //---->label ����....
                lbl.Content = prop.Name;
                lbl.Background = new SolidColorBrush(clr);
                lbl.Foreground = isBlack ? Brushes.Black : Brushes.White;
                lbl.Width = 100;
                lbl.Margin = new Thickness(15, 0, 0, 0);
                lbl.Tag = clr;
                //-------------------------------------------------------------

                lstbox.Items.Add(lbl);           //-->ListBox�� Label�� �߰�
            }
        }
        // We want to control how depth data gets converted into false-color data
        // for more intuitive visualization, so we keep 32-bit color frame buffer versions of
        // these, to be updated whenever we receive and process a 16-bit frame.
        /*const int RED_IDX = 2;
        const int GREEN_IDX = 1;
        const int BLUE_IDX = 0;
        byte[] depthFrame32 = new byte[320 * 240 * 4];*/
        public ExerciseView(Exercise ex)
        {
            InitializeComponent();

            this.ex = ex;

            statusText.Text = ex.statusMessage;

            passSound = new SoundPlayer("Sounds/ExercisePass.wav");
            passSound.LoadAsync();
            failSound = new SoundPlayer("Sounds/ExerciseFail.wav");
            failSound.LoadAsync();

            #if DEBUG
            lastTime = DateTime.Now;

            fpsLabel = new Label();
            fpsLabel.Content = "FPS:";
            fpsLabel.FontSize = (double)Application.Current.Resources["SmallButtonFont"];
            fpsLabel.HorizontalContentAlignment = HorizontalAlignment.Center;
            fpsLabel.HorizontalAlignment = HorizontalAlignment.Left;
            bottomPanel.Children.Insert(0, fpsLabel);
            #endif

            #if AUDIOUI
            SharedContent.Sr.registerSpeechCommand(SharedContent.Commands.Stop, selectedResponse);
            #endif

            //SharedContent.Nui.DepthFrameReady += new EventHandler<ImageFrameReadyEventArgs>(nuiDepthFrameReady);
            SharedContent.Nui.SkeletonFrameReady += new EventHandler<SkeletonFrameReadyEventArgs>(nuiSkeletonFrameReady);
            SharedContent.Nui.VideoFrameReady += new EventHandler<ImageFrameReadyEventArgs>(nuiColorFrameReady);
        }
Beispiel #28
0
        public Resultado(Conexao con, String dono, String nomeSala)
        {
            this.conexao = con;
            this.dono = dono;
            sala = nomeSala;

            InitializeComponent();

            conexao.Send("exibircolocacao/" + sala);
            String message = conexao.Receive();
            String[] tokens = message.Split('{');

            for (int i = 0; i < tokens.Length; i++)
            {
                String[] tokens1 = tokens[i].Split('|');
                jogadores.Add(tokens1[0]);
                ranking.Add(tokens1[1]);
            }

            int altura = 12;

            for (int i = 0; i < jogadores.Count; i++)
            {
                int posicao = i + 1;
                Label ponto = new Label();
                ponto.Content = posicao.ToString() + "º lugar: " + jogadores[i] + " com " + ranking[i] + " pontos.";
                ponto.FontSize = 17;
                ponto.Height = 33;
                ponto.HorizontalAlignment = HorizontalAlignment.Left;
                ponto.VerticalAlignment = VerticalAlignment.Top;
                ponto.Margin = new Thickness(12, altura, 0, 0);
                gridinha.Children.Add(ponto);
                altura += 26;
            }
        }
        private void fillGrid()
        {
            if (content == null) return;
            StackPanel sp = new StackPanel();
            sp.Orientation = Orientation.Vertical;
            maingrid.Children.Clear();

            foreach (object o in content)
            {
                StackPanel param = new StackPanel();
                param.Orientation = Orientation.Horizontal;

                // TODO: get the param name
                Label name = new Label();
                name.Content = o.GetType().Name;
                param.Children.Add(name);

                // TODO: change to modifiable controller (slider or buzz equiv)
                TextBox value = new TextBox();
                value.Text = o.ToString();
                param.Children.Add(value);

                //ParameterSlider ps = new ParameterSlider();
                //ps.

                sp.Children.Add(param);
            }
            maingrid.Children.Add(sp);
        }
Beispiel #30
0
        public CheckBoxContent(String path, String content, RoutedEventHandler checkBoxHandler, string thumbnail, int start, int end, UInt32 uniqueId)
            : this(path, content, checkBoxHandler)
        {
            UniqueIdLabel = new Label();
            UniqueIdLabel.Padding = new Thickness(0, 0, 0, 0);
            UniqueIdLabel.Margin = new Thickness(4, 0, 0, 4);
            UniqueIdLabel.VerticalAlignment = System.Windows.VerticalAlignment.Center;
            UniqueId = uniqueId;

            Thumbnail = new Image();
            Thumbnail.Margin = new Thickness(2, 0, 0, 2);
            Thumbnail.Width = 128;
            Thumbnail.VerticalAlignment = System.Windows.VerticalAlignment.Center;
            if (!String.IsNullOrEmpty(thumbnail) && File.Exists(thumbnail))
            {
                Thumbnail.Source = new BitmapImage(new Uri(thumbnail));
            }

            StartTextBox = new TextBox();
            StartTextBox.Padding = new Thickness(0, 0, 0, 0);
            StartTextBox.Margin = new Thickness(2, 0, 0, 2);
            StartTextBox.VerticalAlignment = System.Windows.VerticalAlignment.Center;
            Start = start;

            EndTextBox = new TextBox();
            EndTextBox.Padding = new Thickness(0, 0, 0, 0);
            EndTextBox.Margin = new Thickness(2, 0, 0, 2);
            EndTextBox.VerticalAlignment = System.Windows.VerticalAlignment.Center;
            End = end;

            Children.Insert(1, EndTextBox);
            Children.Insert(1, StartTextBox);
            Children.Insert(1, Thumbnail);
            Children.Insert(1, UniqueIdLabel);
        }
Beispiel #31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((GameHaker.Main)(target));

            #line 9 "..\..\Main.xaml"
                this.window.KeyDown += new System.Windows.Input.KeyEventHandler(this.window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.OnLoaded4_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.OnMouseEnter1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 4:
                this.startButInfoShow_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 5:
                this.OnMouseEnter1_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 6:
                this.OnMouseEnter1_BeginStoryboard2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 7:
                this.settingsButInfoShow_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 8:
                this.OnMouseLeave1_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 9:
                this.settingsButInfoHide_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 10:
                this.OnMouseEnter1_BeginStoryboard3 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 11:
                this.startButInfoHide_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 12:
                this.OnMouseLeave1_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 13:
                this.OnMouseEnter1_BeginStoryboard4 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 14:
                this.OnMouseEnter1_BeginStoryboard5 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 15:
                this.OnMouseLeave1_BeginStoryboard2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 16:
                this.OnMouseLeave1_BeginStoryboard3 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 17:
                this.OnMouseEnter1_BeginStoryboard6 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 18:
                this.settingsButInfoShow_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 19:
                this.settingsButInfoHide_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 20:
                this.OnMouseLeave1_BeginStoryboard4 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 21:
                this.settingsButInfoHide_BeginStoryboard2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 22:
                this.OnMouseEnter1_BeginStoryboard7 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 23:
                this.closeButInfoHide_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 24:
                this.OnMouseLeave1_BeginStoryboard5 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 25:
                this.OnMouseEnter1_BeginStoryboard8 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 26:
                this.closeButInfoShow_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 27:
                this.OnMouseLeave1_BeginStoryboard6 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 28:
                this.closeButInfoHide_BeginStoryboard1 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

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

            case 30:
                this.MainPanel = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 32:
                this.s = ((Microsoft.Expression.Interactivity.Media.ControlStoryboardAction)(target));
                return;

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

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

            case 35:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

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

            case 37:
                this.border2 = ((System.Windows.Controls.Border)(target));
                return;

            case 38:
                this.border3 = ((System.Windows.Controls.Border)(target));
                return;

            case 39:
                this.border = ((System.Windows.Controls.Border)(target));
                return;

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

            case 41:
                this.mediaElement = ((System.Windows.Controls.MediaElement)(target));

            #line 581 "..\..\Main.xaml"
                this.mediaElement.Loaded += new System.Windows.RoutedEventHandler(this.MediaElement_Loaded);

            #line default
            #line hidden

            #line 581 "..\..\Main.xaml"
                this.mediaElement.MediaEnded += new System.Windows.RoutedEventHandler(this.MediaElement_MediaEnded);

            #line default
            #line hidden
                return;

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

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

            case 44:
                this.but = ((System.Windows.Controls.Button)(target));

            #line 597 "..\..\Main.xaml"
                this.but.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.stackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 46:
                this.startBut = ((GameHaker.MenuButtonsBackgroundBlur)(target));
                return;

            case 47:
                this.settingsBut = ((GameHaker.MenuButtonsBackgroundBlur)(target));
                return;

            case 48:
                this.exitBut = ((GameHaker.MenuButtonsBackgroundBlur)(target));
                return;

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

            #line 621 "..\..\Main.xaml"
                this.startButInfo.Loaded += new System.Windows.RoutedEventHandler(this.loadButInfo);

            #line default
            #line hidden
                return;

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

            #line 641 "..\..\Main.xaml"
                this.settingsButInfo.Loaded += new System.Windows.RoutedEventHandler(this.loadButInfo);

            #line default
            #line hidden
                return;

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

            #line 662 "..\..\Main.xaml"
                this.settingsButExit.Loaded += new System.Windows.RoutedEventHandler(this.loadButInfo);

            #line default
            #line hidden
                return;

            case 52:
                this.Dialog = ((System.Windows.Controls.Grid)(target));

            #line 683 "..\..\Main.xaml"
                this.Dialog.Loaded += new System.Windows.RoutedEventHandler(this.loadDialog);

            #line default
            #line hidden
                return;

            case 53:
                this.ShowDialogControl = ((Microsoft.Expression.Interactivity.Media.ControlStoryboardAction)(target));
                return;

            case 54:
                this.HideDialogControl = ((Microsoft.Expression.Interactivity.Media.ControlStoryboardAction)(target));
                return;

            case 55:
                this.border5 = ((System.Windows.Controls.Border)(target));
                return;

            case 56:
                this.TitleD = ((System.Windows.Controls.Label)(target));
                return;

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

            case 58:
                this.border4 = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #32
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;
        }
Beispiel #33
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.textBlockHeading = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:

            #line 15 "..\..\TraderRegister.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Login_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            #line 96 "..\..\TraderRegister.xaml"
                this.Submit.Click += new System.Windows.RoutedEventHandler(this.Submit_Click);

            #line default
            #line hidden
                return;

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

            #line 98 "..\..\TraderRegister.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.Reset_Click);

            #line default
            #line hidden
                return;

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

            #line 100 "..\..\TraderRegister.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.Cancel_Click);

            #line default
            #line hidden
                return;

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

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

            case 19:
                this.checkBox1 = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #35
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;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.CtrlTitle = ((System.Windows.Controls.TextBox)(target));
     
     #line 41 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlTitle.LostFocus += new System.Windows.RoutedEventHandler(this.CtrlTitle_LostFocus);
     
     #line default
     #line hidden
     
     #line 42 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlTitle.KeyDown += new System.Windows.Input.KeyEventHandler(this.CtrlTitle_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.CtrlErrorTitle = ((WPFApp.Controls.AdditionalControls.ErrorControl)(target));
     return;
     case 3:
     this.CtrlDescription = ((System.Windows.Controls.TextBox)(target));
     
     #line 50 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlDescription.LostFocus += new System.Windows.RoutedEventHandler(this.CtrlDescription_LostFocus);
     
     #line default
     #line hidden
     
     #line 50 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlDescription.KeyDown += new System.Windows.Input.KeyEventHandler(this.CtrlDescription_KeyDown);
     
     #line default
     #line hidden
     return;
     case 4:
     this.CtrlErrorDescription = ((WPFApp.Controls.AdditionalControls.ErrorControl)(target));
     return;
     case 5:
     this.CtrlCategories = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.CtrlRatingSystems = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.CtrlIsPrivate = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.CtrlDuration = ((System.Windows.Controls.TextBox)(target));
     
     #line 68 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlDuration.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CtrlDuration_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 69 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlDuration.LostFocus += new System.Windows.RoutedEventHandler(this.CtrlDuration_LostFocus);
     
     #line default
     #line hidden
     
     #line 69 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlDuration.KeyDown += new System.Windows.Input.KeyEventHandler(this.CtrlDuration_KeyDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.CtrlErrorDuration = ((WPFApp.Controls.AdditionalControls.ErrorControl)(target));
     return;
     case 10:
     this.CtrlInterval = ((System.Windows.Controls.TextBox)(target));
     
     #line 75 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlInterval.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CtrlInterval_PreviewTextInput);
     
     #line default
     #line hidden
     
     #line 76 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlInterval.KeyDown += new System.Windows.Input.KeyEventHandler(this.CtrlInterval_KeyDown);
     
     #line default
     #line hidden
     
     #line 76 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlInterval.LostFocus += new System.Windows.RoutedEventHandler(this.CtrlInterval_LostFocus);
     
     #line default
     #line hidden
     return;
     case 11:
     this.CtrlErrorInterval = ((WPFApp.Controls.AdditionalControls.ErrorControl)(target));
     return;
     case 12:
     this.CtrlAttempts = ((System.Windows.Controls.TextBox)(target));
     
     #line 82 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     this.CtrlAttempts.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CtrlAttempts_PreviewTextInput);
     
     #line default
     #line hidden
     return;
     case 13:
     this.CtrlMixQuestions = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 14:
     this.CtrlQuestions = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 15:
     this.CtrlErrorQuestions = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     
     #line 94 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonAddQuestion_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.CtrlError = ((WPFApp.Controls.AdditionalControls.ErrorControl)(target));
     return;
     case 18:
     
     #line 100 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonCancel_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 103 "..\..\..\..\..\Controls\MenuControls\TestEditControls\TestEditControl.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonSave_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #37
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;
        }
Beispiel #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 9 "..\..\..\MainWindow.xaml"
                this.NewGameButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.NewGameButton_MouseEnter);

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 9 "..\..\..\MainWindow.xaml"
                this.NewGameButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.NewGameButton_MouseLeave);

            #line default
            #line hidden

            #line 9 "..\..\..\MainWindow.xaml"
                this.NewGameButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.NewGameButton_MouseUp);

            #line default
            #line hidden
                return;

            case 6:
                this.QuitButton = ((System.Windows.Controls.Image)(target));

            #line 10 "..\..\..\MainWindow.xaml"
                this.QuitButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.QuitButton_MouseEnter);

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 10 "..\..\..\MainWindow.xaml"
                this.QuitButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.QuitButton_MouseLeave);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            #line 12 "..\..\..\MainWindow.xaml"
                this.DealButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.DealButton_MouseEnter);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.DealButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.DealButton_MouseLeave);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.DealButton.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DealButton_MouseDown);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                this.DealButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.DealButton_MouseUp);

            #line default
            #line hidden
                return;

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

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

            #line 14 "..\..\..\MainWindow.xaml"
                this.HitButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.HitButton_MouseEnter);

            #line default
            #line hidden

            #line 14 "..\..\..\MainWindow.xaml"
                this.HitButton.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.HitButton_MouseDown);

            #line default
            #line hidden

            #line 14 "..\..\..\MainWindow.xaml"
                this.HitButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.HitButton_MouseLeave);

            #line default
            #line hidden

            #line 14 "..\..\..\MainWindow.xaml"
                this.HitButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.HitButton_MouseUp);

            #line default
            #line hidden
                return;

            case 11:
                this.StayGrey = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 16 "..\..\..\MainWindow.xaml"
                this.StayButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StayButton_MouseEnter);

            #line default
            #line hidden

            #line 16 "..\..\..\MainWindow.xaml"
                this.StayButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StayButton_MouseLeave);

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 16 "..\..\..\MainWindow.xaml"
                this.StayButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.StayButton_MouseUp);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\MainWindow.xaml"
                this.EndSessionButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.EndSessionButton_MouseEnter);

            #line default
            #line hidden

            #line 17 "..\..\..\MainWindow.xaml"
                this.EndSessionButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.EndSessionButton_MouseLeave);

            #line default
            #line hidden

            #line 17 "..\..\..\MainWindow.xaml"
                this.EndSessionButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.EndSessionButton_MouseUp);

            #line default
            #line hidden

            #line 17 "..\..\..\MainWindow.xaml"
                this.EndSessionButton.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.EndSessionButton_MouseDown);

            #line default
            #line hidden
                return;

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

            case 15:
                this.Card1 = ((System.Windows.Controls.Image)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

            #line 30 "..\..\..\MainWindow.xaml"
                this.ContinueButton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ContinueButton_MouseEnter);

            #line default
            #line hidden

            #line 30 "..\..\..\MainWindow.xaml"
                this.ContinueButton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ContinueButton_MouseLeave);

            #line default
            #line hidden

            #line 30 "..\..\..\MainWindow.xaml"
                this.ContinueButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.ContinueButton_MouseUp);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\MainWindow.xaml"
                this.MusicButton.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.MusicButton_MouseUp);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #39
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;
        }
Beispiel #40
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;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AddFiles = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 3:
                this.listBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 9:
                this.checkBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:

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

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

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

            #line default
            #line hidden
                return;

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

            case 3:

            #line 42 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked);

            #line default
            #line hidden
                return;

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

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

            case 9:

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

            #line default
            #line hidden
                return;

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

            case 11:

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

            #line default
            #line hidden
                return;

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

            case 13:

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

            #line default
            #line hidden
                return;

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

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:
                this.decomLabel1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #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:
                this.Header = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.listview1 = ((System.Windows.Controls.ListView)(target));

            #line 62 "..\..\..\Pages\BasicPage2.xaml"
                this.listview1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listview1_SelectionChanged);

            #line default
            #line hidden

            #line 62 "..\..\..\Pages\BasicPage2.xaml"
                this.listview1.MouseLeave += new System.Windows.Input.MouseEventHandler(this.listview1_MouseLeave);

            #line default
            #line hidden
                return;

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

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

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

            #line 77 "..\..\..\Pages\BasicPage2.xaml"
                this.buycode1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.buycode1_TextChanged);

            #line default
            #line hidden

            #line 77 "..\..\..\Pages\BasicPage2.xaml"
                this.buycode1.KeyDown += new System.Windows.Input.KeyEventHandler(this.buycode1_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\..\Pages\BasicPage2.xaml"
                this.buyprice1.KeyDown += new System.Windows.Input.KeyEventHandler(this.buyprice1_KeyDown);

            #line default
            #line hidden

            #line 78 "..\..\..\Pages\BasicPage2.xaml"
                this.buyprice1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.buyprice1_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 80 "..\..\..\Pages\BasicPage2.xaml"
                this.buyjine1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.buyjine1_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\..\Pages\BasicPage2.xaml"
                this.PPbutton.Click += new System.Windows.RoutedEventHandler(this.PPbutton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 94 "..\..\..\Pages\BasicPage2.xaml"
                this.buy1.Click += new System.Windows.RoutedEventHandler(this.buy1_Click);

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\..\Pages\BasicPage2.xaml"
                this.buy2.Click += new System.Windows.RoutedEventHandler(this.buy2_Click);

            #line default
            #line hidden
                return;

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

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

            #line 112 "..\..\..\Pages\BasicPage2.xaml"
                this.cancelbuy.Click += new System.Windows.RoutedEventHandler(this.cancelbuy_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\..\Pages\BasicPage2.xaml"
                this.cancelsell.Click += new System.Windows.RoutedEventHandler(this.cancelsell_Click);

            #line default
            #line hidden
                return;

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

            case 20:
                this.listview2 = ((System.Windows.Controls.ListView)(target));

            #line 116 "..\..\..\Pages\BasicPage2.xaml"
                this.listview2.MouseLeave += new System.Windows.Input.MouseEventHandler(this.listview2_MouseLeave);

            #line default
            #line hidden

            #line 116 "..\..\..\Pages\BasicPage2.xaml"
                this.listview2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listview2_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 131 "..\..\..\Pages\BasicPage2.xaml"
                this.buycode2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.buycode2_TextChanged);

            #line default
            #line hidden

            #line 131 "..\..\..\Pages\BasicPage2.xaml"
                this.buycode2.KeyDown += new System.Windows.Input.KeyEventHandler(this.buycode2_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 132 "..\..\..\Pages\BasicPage2.xaml"
                this.buyprice2.KeyDown += new System.Windows.Input.KeyEventHandler(this.buyprice2_KeyDown);

            #line default
            #line hidden

            #line 132 "..\..\..\Pages\BasicPage2.xaml"
                this.buyprice2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.buyprice2_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 134 "..\..\..\Pages\BasicPage2.xaml"
                this.buyjine2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.buyjine2_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 135 "..\..\..\Pages\BasicPage2.xaml"
                this.buy3.Click += new System.Windows.RoutedEventHandler(this.buy3_Click);

            #line default
            #line hidden
                return;

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

            #line 136 "..\..\..\Pages\BasicPage2.xaml"
                this.buy4.Click += new System.Windows.RoutedEventHandler(this.buy4_Click);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\..\Pages\BasicPage2.xaml"
                this.yjfl.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.yjfl_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\..\Pages\BasicPage2.xaml"
                this.yhsl.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.yhsl_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 144 "..\..\..\Pages\BasicPage2.xaml"
                this.rzlx.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.rzlx_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 146 "..\..\..\Pages\BasicPage2.xaml"
                this.rzts.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.rzts_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 148 "..\..\..\Pages\BasicPage2.xaml"
                this.rqlx.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.rqlx_TextChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.rqts = ((System.Windows.Controls.TextBox)(target));

            #line 150 "..\..\..\Pages\BasicPage2.xaml"
                this.rqts.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.rqts_TextChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.totjine = ((System.Windows.Controls.TextBox)(target));

            #line 152 "..\..\..\Pages\BasicPage2.xaml"
                this.totjine.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.totjine_TextChanged);

            #line default
            #line hidden

            #line 152 "..\..\..\Pages\BasicPage2.xaml"
                this.totjine.KeyDown += new System.Windows.Input.KeyEventHandler(this.totjine_KeyDown);

            #line default
            #line hidden
                return;

            case 36:
                this.pricebig = ((System.Windows.Controls.TextBox)(target));

            #line 155 "..\..\..\Pages\BasicPage2.xaml"
                this.pricebig.KeyDown += new System.Windows.Input.KeyEventHandler(this.pricebig_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 156 "..\..\..\Pages\BasicPage2.xaml"
                this.pricesmall.KeyDown += new System.Windows.Input.KeyEventHandler(this.pricesmall_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 157 "..\..\..\Pages\BasicPage2.xaml"
                this.Autokaicang.Click += new System.Windows.RoutedEventHandler(this.Autokaicang_Click);

            #line default
            #line hidden
                return;

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

            #line 160 "..\..\..\Pages\BasicPage2.xaml"
                this.pricezy.KeyDown += new System.Windows.Input.KeyEventHandler(this.pricezy_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 161 "..\..\..\Pages\BasicPage2.xaml"
                this.pricezs.KeyDown += new System.Windows.Input.KeyEventHandler(this.pricezs_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 162 "..\..\..\Pages\BasicPage2.xaml"
                this.Autopingcang.Click += new System.Windows.RoutedEventHandler(this.Autopingcang_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #45
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;
        }
Beispiel #46
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;
        }
Beispiel #47
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button4 = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\Window2.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\..\Window2.xaml"
                this.button5.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\..\Window2.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\..\Window2.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\..\Window2.xaml"
                this.button6.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\Window2.xaml"
                this.multiply.Click += new System.Windows.RoutedEventHandler(this.operator_click);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\..\Window2.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\Window2.xaml"
                this.minus.Click += new System.Windows.RoutedEventHandler(this.operator_click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\Window2.xaml"
                this.erase2.Click += new System.Windows.RoutedEventHandler(this.cbutton_click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\Window2.xaml"
                this.Tulos.Click += new System.Windows.RoutedEventHandler(this.value_click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\Window2.xaml"
                this.plus.Click += new System.Windows.RoutedEventHandler(this.operator_click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\Window2.xaml"
                this.button0.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\Window2.xaml"
                this.button7.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\Window2.xaml"
                this.button8.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\Window2.xaml"
                this.button9.Click += new System.Windows.RoutedEventHandler(this.button_click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\Window2.xaml"
                this.jako.Click += new System.Windows.RoutedEventHandler(this.operator_click);

            #line default
            #line hidden
                return;

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

            case 18:
                this.labelCurrentOperation = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TitlePremiership = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line 102 "..\..\LoadingScreen.xaml"
                this.cmdContinue.Click += new System.Windows.RoutedEventHandler(this.Continue);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.uiMainNotifyWindow = ((WpfXamlPopup.MainNotifyWindow)(target));
     
     #line 16 "..\..\MainNotifyWindow.xaml"
     this.uiMainNotifyWindow.MouseEnter += new System.Windows.Input.MouseEventHandler(this.uiWindowMainNotification_MouseEnter);
     
     #line default
     #line hidden
     
     #line 17 "..\..\MainNotifyWindow.xaml"
     this.uiMainNotifyWindow.MouseLeave += new System.Windows.Input.MouseEventHandler(this.uiWindowMainNotification_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 2:
     this.uiGridMain = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.PinButton = ((WpfXamlPopup.SlickToggleButton)(target));
     return;
     case 4:
     this.PinImage = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.CloseButton = ((WpfXamlPopup.SlickToggleButton)(target));
     return;
     case 6:
     this.TitleLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.redRadioButton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 61 "..\..\MainNotifyWindow.xaml"
     this.redRadioButton.Checked += new System.Windows.RoutedEventHandler(this.colourRadioButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.amberRadioButton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 62 "..\..\MainNotifyWindow.xaml"
     this.amberRadioButton.Checked += new System.Windows.RoutedEventHandler(this.colourRadioButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.greenRadioButton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 63 "..\..\MainNotifyWindow.xaml"
     this.greenRadioButton.Checked += new System.Windows.RoutedEventHandler(this.colourRadioButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.blueRadioButton = ((System.Windows.Controls.RadioButton)(target));
     
     #line 64 "..\..\MainNotifyWindow.xaml"
     this.blueRadioButton.Checked += new System.Windows.RoutedEventHandler(this.colourRadioButton_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.txtReply = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.btnReply = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fromGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

            case 5:
                this.checkBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 7:
                this.toGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            case 10:
                this.clientParametrsGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 22:
                this.listBox = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 26:
                this.button3 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.title = ((Lab4_5_TextRedactor.MainWindow)(target));
                return;

            case 2:
                this.file = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.New = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:
                this.Open = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 6:
                this.OpenLast = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 7:
                this.Edit = ((System.Windows.Controls.MenuItem)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\MainWindow.xaml"
                this.Paste.Click += new System.Windows.RoutedEventHandler(this.Paste_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 43 "..\..\MainWindow.xaml"
                this.Dark.Click += new System.Windows.RoutedEventHandler(this.Dark_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 18:
                this.Italic = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 62 "..\..\MainWindow.xaml"
                this.Italic.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked_Italic);

            #line default
            #line hidden

            #line 62 "..\..\MainWindow.xaml"
                this.Italic.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Unchecked_Italic);

            #line default
            #line hidden
                return;

            case 19:
                this.Bold = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.Bold.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked_Bold);

            #line default
            #line hidden

            #line 63 "..\..\MainWindow.xaml"
                this.Bold.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Unchecked_Bold);

            #line default
            #line hidden
                return;

            case 20:
                this.Underline = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.Underline.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked_Underline);

            #line default
            #line hidden

            #line 64 "..\..\MainWindow.xaml"
                this.Underline.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_Unchecked_Underline);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\MainWindow.xaml"
                this.FontType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FontType_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 70 "..\..\MainWindow.xaml"
                this.fontcolor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.fontcolor_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            case 28:
                this.col4 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 29:
                this.col5 = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 30:
                this.English = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 31:
                this.Russia = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 32:
                this.DocBox = ((System.Windows.Controls.RichTextBox)(target));

            #line 88 "..\..\MainWindow.xaml"
                this.DocBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.DocBox_TextChanged);

            #line default
            #line hidden

            #line 88 "..\..\MainWindow.xaml"
                this.DocBox.DragOver += new System.Windows.DragEventHandler(this.DocBox_DragOver);

            #line default
            #line hidden
                return;

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

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

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

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

            case 37:
                this.LastFiles = ((System.Windows.Controls.ComboBox)(target));

            #line 95 "..\..\MainWindow.xaml"
                this.LastFiles.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LastFileOp);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #52
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.resultLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.acButton = ((System.Windows.Controls.Button)(target));
     return;
     case 3:
     this.negButton = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.percentButton = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.divButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\MainWindow.xaml"
     this.divButton.Click += new System.Windows.RoutedEventHandler(this.operation_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.seven = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.seven.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.eight = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\MainWindow.xaml"
     this.eight.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.nine = ((System.Windows.Controls.Button)(target));
     
     #line 56 "..\..\MainWindow.xaml"
     this.nine.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.multButton = ((System.Windows.Controls.Button)(target));
     
     #line 62 "..\..\MainWindow.xaml"
     this.multButton.Click += new System.Windows.RoutedEventHandler(this.operation_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.four = ((System.Windows.Controls.Button)(target));
     
     #line 67 "..\..\MainWindow.xaml"
     this.four.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.five = ((System.Windows.Controls.Button)(target));
     
     #line 72 "..\..\MainWindow.xaml"
     this.five.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.six = ((System.Windows.Controls.Button)(target));
     
     #line 76 "..\..\MainWindow.xaml"
     this.six.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.minusButton = ((System.Windows.Controls.Button)(target));
     
     #line 81 "..\..\MainWindow.xaml"
     this.minusButton.Click += new System.Windows.RoutedEventHandler(this.operation_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.one = ((System.Windows.Controls.Button)(target));
     
     #line 86 "..\..\MainWindow.xaml"
     this.one.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.two = ((System.Windows.Controls.Button)(target));
     
     #line 91 "..\..\MainWindow.xaml"
     this.two.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.three = ((System.Windows.Controls.Button)(target));
     
     #line 95 "..\..\MainWindow.xaml"
     this.three.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.plusButton = ((System.Windows.Controls.Button)(target));
     
     #line 100 "..\..\MainWindow.xaml"
     this.plusButton.Click += new System.Windows.RoutedEventHandler(this.operation_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.zero = ((System.Windows.Controls.Button)(target));
     
     #line 105 "..\..\MainWindow.xaml"
     this.zero.Click += new System.Windows.RoutedEventHandler(this.numButton_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.@decimal = ((System.Windows.Controls.Button)(target));
     
     #line 110 "..\..\MainWindow.xaml"
     [email protected] += new System.Windows.RoutedEventHandler(this.decimal_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.equalButton = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnThread = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            case 4:

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

            #line default
            #line hidden
                return;

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

            case 6:

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 11:
                this.LabShelfLife = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.window_main = ((ChipseaUartHelper.MainWindow)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.window_main.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 9 "..\..\MainWindow.xaml"
     this.window_main.Closing += new System.ComponentModel.CancelEventHandler(this.window_main_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.box_portName = ((System.Windows.Controls.ComboBox)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.box_portName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.box_portName_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.box_baudRate = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.box_dataBits = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.box_parityBits = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.box_stopBits = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.label_Copy = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.label_Copy3 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label_Copy4 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.label_Copy2 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.scroll_log = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 13:
     this.box_log = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 14:
     this.scroll_recieve = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 15:
     this.box_recieve = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 16:
     this.textBox_time = ((System.Windows.Controls.TextBox)(target));
     
     #line 71 "..\..\MainWindow.xaml"
     this.textBox_time.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_time_TextChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.textBox_send = ((System.Windows.Controls.TextBox)(target));
     
     #line 81 "..\..\MainWindow.xaml"
     this.textBox_send.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_send_TextChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.checkBox_decode = ((System.Windows.Controls.CheckBox)(target));
     
     #line 83 "..\..\MainWindow.xaml"
     this.checkBox_decode.Checked += new System.Windows.RoutedEventHandler(this.checkBox_decode_Checked);
     
     #line default
     #line hidden
     
     #line 83 "..\..\MainWindow.xaml"
     this.checkBox_decode.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_decode_Unchecked);
     
     #line default
     #line hidden
     return;
     case 19:
     this.checkBox_timed = ((System.Windows.Controls.CheckBox)(target));
     
     #line 84 "..\..\MainWindow.xaml"
     this.checkBox_timed.Checked += new System.Windows.RoutedEventHandler(this.checkBox_timed_Checked);
     
     #line default
     #line hidden
     
     #line 84 "..\..\MainWindow.xaml"
     this.checkBox_timed.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_timed_Unchecked);
     
     #line default
     #line hidden
     return;
     case 20:
     this.btn_open = ((System.Windows.Controls.Button)(target));
     
     #line 87 "..\..\MainWindow.xaml"
     this.btn_open.Click += new System.Windows.RoutedEventHandler(this.btn_open_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.btn_clear = ((System.Windows.Controls.Button)(target));
     
     #line 88 "..\..\MainWindow.xaml"
     this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.btn_clear_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.btn_close = ((System.Windows.Controls.Button)(target));
     
     #line 89 "..\..\MainWindow.xaml"
     this.btn_close.Click += new System.Windows.RoutedEventHandler(this.btn_close_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.btn_chart = ((System.Windows.Controls.Button)(target));
     
     #line 90 "..\..\MainWindow.xaml"
     this.btn_chart.Click += new System.Windows.RoutedEventHandler(this.btn_chart_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.btn_send = ((System.Windows.Controls.Button)(target));
     
     #line 91 "..\..\MainWindow.xaml"
     this.btn_send.Click += new System.Windows.RoutedEventHandler(this.btn_send_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.btn_save = ((System.Windows.Controls.Button)(target));
     
     #line 92 "..\..\MainWindow.xaml"
     this.btn_save.Click += new System.Windows.RoutedEventHandler(this.btn_save_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.radioButton_ascii = ((System.Windows.Controls.RadioButton)(target));
     
     #line 100 "..\..\MainWindow.xaml"
     this.radioButton_ascii.Checked += new System.Windows.RoutedEventHandler(this.radioButton_ascii_Checked);
     
     #line default
     #line hidden
     return;
     case 27:
     this.radioButton_hex = ((System.Windows.Controls.RadioButton)(target));
     
     #line 101 "..\..\MainWindow.xaml"
     this.radioButton_hex.Checked += new System.Windows.RoutedEventHandler(this.radioButton_hex_Checked);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tabControl = ((System.Windows.Controls.TabControl)(target));
     return;
     case 2:
     this.dataGridUser = ((System.Windows.Controls.DataGrid)(target));
     
     #line 18 "..\..\..\Forms\list_user.xaml"
     this.dataGridUser.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGridUser_SelectionChanged_1);
     
     #line default
     #line hidden
     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.label_Copy1 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.label_Copy2 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.label_Copy3 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label_Copy4 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.label_Copy5 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label_Copy6 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.label_Copy7 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.label_Copy8 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.label_Copy9 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.label_Copy10 = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.label_Copy11 = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.label_Copy12 = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.label_Copy13 = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.label_Copy14 = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.label_Copy15 = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.label_Copy16 = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.tu_name = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.tu_subdistrict = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.tu_regency = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.tu_province = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.tu_bornplace = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.tu_identitynumber = ((System.Windows.Controls.TextBox)(target));
     return;
     case 27:
     this.tu_identiytype = ((System.Windows.Controls.TextBox)(target));
     return;
     case 28:
     this.tu_pictureidentity = ((System.Windows.Controls.TextBox)(target));
     return;
     case 29:
     this.tu_picturenpwp = ((System.Windows.Controls.TextBox)(target));
     return;
     case 30:
     this.tu_numbernpwp = ((System.Windows.Controls.TextBox)(target));
     return;
     case 31:
     this.tu_bankaccount = ((System.Windows.Controls.TextBox)(target));
     return;
     case 32:
     this.tu_password = ((System.Windows.Controls.TextBox)(target));
     return;
     case 33:
     this.tu_username = ((System.Windows.Controls.TextBox)(target));
     return;
     case 34:
     this.tu_email = ((System.Windows.Controls.TextBox)(target));
     return;
     case 35:
     this.tu_address = ((System.Windows.Controls.TextBox)(target));
     return;
     case 36:
     this.tu_borndate = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 37:
     this.user_save = ((System.Windows.Controls.Button)(target));
     
     #line 75 "..\..\..\Forms\list_user.xaml"
     this.user_save.Click += new System.Windows.RoutedEventHandler(this.user_save_Click);
     
     #line default
     #line hidden
     return;
     case 38:
     this.usr_delete = ((System.Windows.Controls.Button)(target));
     
     #line 76 "..\..\..\Forms\list_user.xaml"
     this.usr_delete.Click += new System.Windows.RoutedEventHandler(this.usr_delete_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.user_edit = ((System.Windows.Controls.Button)(target));
     
     #line 77 "..\..\..\Forms\list_user.xaml"
     this.user_edit.Click += new System.Windows.RoutedEventHandler(this.user_edit_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.tu_role = ((System.Windows.Controls.TextBox)(target));
     return;
     case 41:
     this.tu_gender = ((System.Windows.Controls.TextBox)(target));
     return;
     case 42:
     this.crole = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 43:
     this.dataGridRole = ((System.Windows.Controls.DataGrid)(target));
     
     #line 91 "..\..\..\Forms\list_user.xaml"
     this.dataGridRole.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGridRole_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 44:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 45:
     this.tr_name = ((System.Windows.Controls.TextBox)(target));
     return;
     case 46:
     this.role_save = ((System.Windows.Controls.Button)(target));
     
     #line 99 "..\..\..\Forms\list_user.xaml"
     this.role_save.Click += new System.Windows.RoutedEventHandler(this.role_save_Click);
     
     #line default
     #line hidden
     return;
     case 47:
     this.role_edit = ((System.Windows.Controls.Button)(target));
     
     #line 100 "..\..\..\Forms\list_user.xaml"
     this.role_edit.Click += new System.Windows.RoutedEventHandler(this.role_edit_Click);
     
     #line default
     #line hidden
     return;
     case 48:
     this.role_delete = ((System.Windows.Controls.Button)(target));
     
     #line 101 "..\..\..\Forms\list_user.xaml"
     this.role_delete.Click += new System.Windows.RoutedEventHandler(this.role_delete_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frameWindow = ((cwk2_2016.Window1)(target));

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 23:
                this.checkArmy = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lblEstado = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 11 "..\..\..\Eleitor\Eleitor.xaml"
                this.voltar.Click += new System.Windows.RoutedEventHandler(this.voltar_Click_1);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 16 "..\..\..\Eleitor\Eleitor.xaml"
                this.confirma.Click += new System.Windows.RoutedEventHandler(this.confirma_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 14:
                this.chkBrancoN = ((System.Windows.Controls.CheckBox)(target));

            #line 23 "..\..\..\Eleitor\Eleitor.xaml"
                this.chkBrancoN.Checked += new System.Windows.RoutedEventHandler(this.chkBrancoN_Checked);

            #line default
            #line hidden

            #line 23 "..\..\..\Eleitor\Eleitor.xaml"
                this.chkBrancoN.Unchecked += new System.Windows.RoutedEventHandler(this.chkBrancoN_Checked);

            #line default
            #line hidden
                return;

            case 15:
                this.chkBrancoR = ((System.Windows.Controls.CheckBox)(target));

            #line 24 "..\..\..\Eleitor\Eleitor.xaml"
                this.chkBrancoR.Checked += new System.Windows.RoutedEventHandler(this.chkBrancoR_Checked);

            #line default
            #line hidden

            #line 24 "..\..\..\Eleitor\Eleitor.xaml"
                this.chkBrancoR.Unchecked += new System.Windows.RoutedEventHandler(this.chkBrancoR_Checked);

            #line default
            #line hidden
                return;

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

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

            case 18:
                this.lblVotoRegValidacao = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #60
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.resultLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.acButton = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\MainWindow.xaml"
     this.acButton.Click += new System.Windows.RoutedEventHandler(this.acButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.negativeButton = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.negativeButton.Click += new System.Windows.RoutedEventHandler(this.negativeButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.percentageButton = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\MainWindow.xaml"
     this.percentageButton.Click += new System.Windows.RoutedEventHandler(this.percentageButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.divButton = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\MainWindow.xaml"
     this.divButton.Click += new System.Windows.RoutedEventHandler(this.operationButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.sevenButton = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\MainWindow.xaml"
     this.sevenButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.eightButton = ((System.Windows.Controls.Button)(target));
     
     #line 37 "..\..\MainWindow.xaml"
     this.eightButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.nineButton = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\MainWindow.xaml"
     this.nineButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.mulButton = ((System.Windows.Controls.Button)(target));
     
     #line 39 "..\..\MainWindow.xaml"
     this.mulButton.Click += new System.Windows.RoutedEventHandler(this.operationButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.fourButton = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\MainWindow.xaml"
     this.fourButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.fiveButton = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\MainWindow.xaml"
     this.fiveButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.sixButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\MainWindow.xaml"
     this.sixButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.subButton = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.subButton.Click += new System.Windows.RoutedEventHandler(this.operationButton_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.oneButton = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\MainWindow.xaml"
     this.oneButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.twoButton = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.twoButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.threeButton = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\MainWindow.xaml"
     this.threeButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.plusButton = ((System.Windows.Controls.Button)(target));
     
     #line 49 "..\..\MainWindow.xaml"
     this.plusButton.Click += new System.Windows.RoutedEventHandler(this.operationButton_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.zeroButton = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\MainWindow.xaml"
     this.zeroButton.Click += new System.Windows.RoutedEventHandler(this.numberButton_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.dotButton = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\MainWindow.xaml"
     this.dotButton.Click += new System.Windows.RoutedEventHandler(this.dotButton_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.eButton = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\MainWindow.xaml"
     this.eButton.Click += new System.Windows.RoutedEventHandler(this.eButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }