Наследование: System.Windows.Controls.Panel
        public ExamineKeystrokes()
        {
            Title = "Examine Keystrokes";
            FontFamily = new FontFamily("Courier New");

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

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

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

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

            stack = new StackPanel();
            scroll.Content = stack;
        }
Пример #2
0
        public PageFleetAirliner(FleetAirliner airliner)
        {
            InitializeComponent();

            this.Uid = "1000";
            this.Title = Translator.GetInstance().GetString("PageFleetAirliner", this.Uid);

            this.Airliner = airliner;

            StackPanel airlinerPanel = new StackPanel();
            airlinerPanel.Margin = new Thickness(10, 0, 10, 0);

            airlinerPanel.Children.Add(createQuickInfoPanel());
            airlinerPanel.Children.Add(createAirlinerTypePanel());
            if (this.Airliner.Purchased == FleetAirliner.PurchasedType.Leased && this.Airliner.Airliner.Airline.IsHuman)
                airlinerPanel.Children.Add(createLeasedAirlinerPanel());

            StandardContentPanel panelContent = new StandardContentPanel();

            panelContent.setContentPage(airlinerPanel, StandardContentPanel.ContentLocation.Left);

            StackPanel panelSideMenu = new PanelFleetAirliner(this.Airliner);

            panelContent.setContentPage(panelSideMenu, StandardContentPanel.ContentLocation.Right);

            FleetAirliner.AirlinerStatus status = this.Airliner.Status;

            base.setContent(panelContent);

            base.setHeaderContent(this.Title + " - " + this.Airliner.Name);

            showPage(this);
        }
Пример #3
0
 void addStatusLabel(string text, Brush color, StackPanel panel)
 {
     TextBlock lbl = new TextBlock();
     lbl.Text = text;
     lbl.Foreground = color;
     panel.Children.Add(lbl);
 }
Пример #4
0
        public OutlineNode(ITestPart part, Icon icon)
        {
            Focusable = true;

            Part = part;
            IsExpanded = true;
            Holder = part as IPartHolder;

            Header = new StackPanel().Horizontal().Configure(x =>
            {
                _textBlock = x.Add<TextBlock>();
            });

            Icon = icon;

            this.BindControlAnd(Key.M).To(() =>
            {
                if (ContextMenu != null)
                {
                    ContextMenu.PlacementTarget = this;
                    ContextMenu.VerticalOffset = 5;
                    ContextMenu.HorizontalOffset = 20;
                    ContextMenu.Placement = PlacementMode.RelativePoint;
                    ContextMenu.IsOpen = true;
                }
            });
        }
Пример #5
0
    public CMeinFenster()
    {
        // Voreinstellungen

        // Titel des Fensters
        this.Title = "Inhalt des Fensters";

        // Schriftart und Größe
        this.FontFamily = new FontFamily("Verdana");
        this.FontWeight = FontWeights.ExtraBold;
        this.FontSize   = 20;

/*
 *      // Inhalt mit den obigen Voreinstellungen ausgeben
 *      this.Content = "Das ist mein Inhalt";
 *
 *      // Fenstergröße dem Text anpassen
 *      this.SizeToContent = System.Windows.SizeToContent.WidthAndHeight;
 */

        // Ein StackPanel
        System.Windows.Controls.StackPanel container = new System.Windows.Controls.StackPanel();
        for (int i = 1; i <= 10; i++)
        {
            System.Windows.Controls.Button knopf = new System.Windows.Controls.Button();
            knopf.Content = "Inhalt " + i;
            container.Children.Add(knopf);
        }
        this.Content = container;
    }
Пример #6
0
        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;
        }
Пример #7
0
        public static StackPanel GenerateRecordString(int num, int points, string date, string nations)
        {
            StackPanel sp = new StackPanel();
            sp.Orientation = System.Windows.Controls.Orientation.Horizontal;

            TextBlock tb1 = new TextBlock();
            tb1.Width = 40;
            tb1.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            tb1.Text = "#" + num.ToString();
            sp.Children.Add(tb1);

            TextBlock tb2 = new TextBlock();
            tb2.Width = 60;
            tb2.HorizontalAlignment = System.Windows.HorizontalAlignment.Center;
            tb2.Text = points.ToString();
            sp.Children.Add(tb2);

            TextBlock tb3 = new TextBlock();
            tb3.Width = 200;
            tb3.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            tb3.Text = date;
            sp.Children.Add(tb3);

            TextBlock tb4 = new TextBlock();
            tb4.Width = 200;
            tb4.HorizontalAlignment = System.Windows.HorizontalAlignment.Left;
            tb4.Text = nations;
            sp.Children.Add(tb4);

            return sp;
        }
Пример #8
0
 private void Button_Loaded(object sender, RoutedEventArgs args)
 {
     System.Windows.Controls.Button button = sender as System.Windows.Controls.Button;
     if (button != null)
     {
         StackPanel panel = new StackPanel()
         {
             Orientation = Orientation.Horizontal
         };
         Image shield = new Image()
         {
             Width = 24,
             Source = Shield
         };
         panel.Children.Add(shield);
         Rectangle rect = new Rectangle()
         {
             Width = 10
         };
         panel.Children.Add(rect);
         TextBlock text = new TextBlock()
         {
             Text = (button.Command as RoutedUICommand).Text
         };
         panel.Children.Add(text);
         button.Content = panel;
     }
 }
Пример #9
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.StackPanel1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     
     #line 9 "..\..\Window1.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClickMeThough);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 12 "..\..\Window1.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FlipStackPanel);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        public override UIElement GetUIElement()
        {
            if (Values.Count == 0)
            {
                Values.Add(Shapefiles.AreaType.State.ToString());
            }
            if (Values.Count < 2)
            {
                Values.Add("");
            }
            if (AvailableAreas == null)
            {
                AvailableAreas = new ObservableCollection<string>();
            }
            StackPanel sp = new StackPanel();
            var opts = Enum.GetNames(typeof(Shapefiles.AreaType)).ToList();
            ComboBox cb = CreateComboBox(opts.ToArray(), Values[0]);
            cb.IsEditable = false;
            sp.Children.Add(cb);
            var opts2 = new string[] { };
            cb = CreateComboBox(opts2, Values[1]);
            cb.DropDownOpened += cb_DropDownOpened;
            sp.Children.Add(cb);

            Binding binding = new Binding();
            binding.Source = AvailableAreas;  // view model?
            BindingOperations.SetBinding(cb, ComboBox.ItemsSourceProperty, binding);

            return sp;
        }
Пример #11
0
        public override void Show(System.Windows.Controls.ContentControl contentControl, object writer)
        {
            ScrollViewer scrollViewer = new ScrollViewer();
            StackPanel stackPanel = new StackPanel();
            stackPanel.Orientation = Orientation.Vertical;
            scrollViewer.Content = stackPanel;

            this.m_ImageStreamSource = new FileStream(this.FullFileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
            TiffBitmapDecoder tiffDecoder = new TiffBitmapDecoder(this.m_ImageStreamSource, BitmapCreateOptions.PreservePixelFormat, BitmapCacheOption.Default);
            try
            {
                for (int i = 0; i < tiffDecoder.Frames.Count; i++)
                {
                    BitmapSource bitMapSource = tiffDecoder.Frames[i];
                    Image image = new Image();
                    image.Source = bitMapSource;
                    stackPanel.Children.Add(image);
                }
                contentControl.Content = scrollViewer;
            }
            catch
            {

            }
        }
Пример #12
0
        public UIElement CreateListPanel(TwitterList list)
        {
            var s = new StackPanel();
            var si = new StackPanel();
            s.Orientation = Orientation.Horizontal;
            Image img = new Image { Width = 36, Height = 36 };
            BitmapImage bi = new BitmapImage(new Uri(list.User.ProfileImageUrlHttps));
            img.Source = bi;
            s.Children.Add(img);

            var ti = new TextBlock { FontSize = 20 };
            ti.Text = (list.Mode == "private" ? "*" : "") + list.Name;
            ti.TextWrapping = TextWrapping.Wrap;
            var de = new TextBlock { Foreground = Brushes.Gray };
            de.Text = list.Description;
            de.TextWrapping = TextWrapping.Wrap;
            var cn = new TextBlock();
            cn.Text = list.MemberCount.ToString() + "人が追加されています";
            si.Children.Add(ti);
            si.Children.Add(cn);
            si.Children.Add(de);
            s.Children.Add(si);
            s.Tag = list;
            return s;
        }
Пример #13
0
        public SelectColorFromWheel()
        {
            Title = "Select Color from Wheel";
            SizeToContent = SizeToContent.WidthAndHeight;

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

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

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

            btn = new Button();
            btn.Content = "Do-nothing button\nto test tabbing";
            btn.Margin = new Thickness(24);
            btn.HorizontalAlignment = HorizontalAlignment.Center;
            btn.VerticalAlignment = VerticalAlignment.Center;
            stack.Children.Add(btn);
        }
        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 SimpleUIBoundToCustomer()
        {
            var stack = new StackPanel();
            Content = stack;

            var textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding("FirstName"));
            stack.Children.Add(textBlock);

            textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding("LstName")); //purposefully misspelled
            stack.Children.Add(textBlock);

            textBlock = new TextBlock();
            textBlock.SetBinding(TextBlock.TextProperty, new Binding()); //context
            stack.Children.Add(textBlock);

            var checkbox = new CheckBox();
            checkbox.SetBinding(CheckBox.IsCheckedProperty, new Binding("asdfsdf")); //does not exist
            stack.Children.Add(checkbox);

            var tooltip = new ToolTip();
            tooltip.SetBinding(System.Windows.Controls.ToolTip.ContentProperty, new Binding("asdfasdasdf")); // does not exist
            stack.ToolTip = tooltip;

            var childUserControl = new SimpleUIBoundToCustomerByAttachedPorperty();
            stack.Children.Add(childUserControl);
        }
Пример #16
0
        public ImageButton()
        {
            this.Padding = new Thickness(4, 1, 4, 1);

            var sp = new StackPanel();
            sp.Orientation = Orientation.Horizontal;
            sp.Children.Add(image);
            sp.Children.Add(textBlock);
            image.Stretch = Stretch.None;
            //image.VerticalAlignment = VerticalAlignment.Center;
            //textBlock.VerticalAlignment = VerticalAlignment.Center;
            textBlock.Margin = new Thickness(3, 0, 0, 0);
            Content = sp;

            toolTipHeaderBlock.FontWeight = FontWeights.Bold;
            toolTipDescriptionBlock.TextWrapping = TextWrapping.Wrap;
            toolTipDescriptionBlock.Margin = new Thickness(0, 3, 0, 0);
            var ttSp = new StackPanel();
            ttSp.Margin = new Thickness(4);
            ttSp.Children.Add(toolTipHeaderBlock);
            ttSp.Children.Add(toolTipDescriptionBlock);
            toolTip.Content = ttSp;
            toolTip.MaxWidth = 400;

            //this.HorizontalContentAlignment = System.Windows.HorizontalAlignment.Center;
            //this.VerticalContentAlignment = System.Windows.VerticalAlignment.Center;
        }
Пример #17
0
        private void AddHighScore(StackPanel parent, int place, string name, int score)
        {
            var panel = new StackPanel {Orientation = Orientation.Horizontal};
            parent.Children.Add(panel);

            var placeText = new TextBlock
                                {
                                    Style = Styles.BodyText,
                                    Width = 25,
                                    Text = place + "."
                                };
            panel.Children.Add(placeText);

            var headerText = new TextBlock
                                 {
                                     Style = Styles.BodyText,
                                     Width = 175,
                                     Text = name
                                 };
            panel.Children.Add(headerText);

            var scoreText = new TextBlock
                                {
                                    TextAlignment = TextAlignment.Right,
                                    Style = Styles.BodyText,
                                    Width = 50,
                                    Text = score.ToString("N0")
                                };
            panel.Children.Add(scoreText);
        }
Пример #18
0
 public Panel CreatePanel(string text)
 {
     var panel = new StackPanel {Orientation = Orientation.Horizontal};
     panel.Children.Add(new TextBox {Text = "", Width = 30});
     panel.Children.Add(new Label {Content = text});
     return panel;
 }
Пример #19
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            var lstItems = new ContentFetcher().GoFetch();
            foreach (var iterItem in lstItems) {
                StackPanel spanel = new StackPanel();

                TextBlock tbTitle = new TextBlock();
                tbTitle.MaxWidth = listBox.Width - 30d;

                ////This does no better than when we hardcode the scrollbar width as 30d, as in listBox.Width - 30d
                //Border border = (Border)VisualTreeHelper.GetChild(listBox, 0);
                //var scrollViewer = (ScrollViewer)VisualTreeHelper.GetChild(border, 0);
                //tbTitle.MaxWidth = scrollViewer.ActualWidth;

                tbTitle.TextWrapping = TextWrapping.Wrap;
                tbTitle.Text = iterItem.Title.Text;
                TextBlock tbPubDate = new TextBlock();
                //tbPubDate.MaxWidth = 200d; //Don't bother; this won't grow very large
                tbPubDate.Text = iterItem.PublishDate.ToLocalTime().DateTime.ToShortDateString() + " " + iterItem.PublishDate.ToLocalTime().DateTime.ToShortTimeString();

                spanel.Children.Add(tbTitle);
                spanel.Children.Add(tbPubDate);
                spanel.Tag = iterItem;
                spanel.Margin = new Thickness() { Bottom=8 };

                listBox.Items.Add(spanel);
            }
        }
        public override FrameworkElement GetGUIElement()
        {
            var group = new GroupBox();

            group.Header = WpfName;

            var stackPanel = new StackPanel { Orientation = Orientation.Horizontal };

            for (var i = 0; i < options.Length; ++i)
            {
                var checkBox = new CheckBox
                                 {
                                     Content = options[i],
                                     DataContext = i,
                                     IsChecked = chosenOptions.Contains(i)
                                 };
                checkBox.Margin = new Thickness(4, 3, 4, 3);
                checkBox.Checked += (sender, args) =>
                    { chosenOptions.Add((int)(sender as CheckBox).DataContext); };
                checkBox.Unchecked += (sender, args) =>
                    { chosenOptions.Remove((int)(sender as CheckBox).DataContext); };

                stackPanel.Children.Add(checkBox);
            }

            group.Content = stackPanel;

            return group;
        }
Пример #21
0
        // Constructor.
        public Lister()
        {
            Focusable = false;

            // Make Border the content of the ContentControl.
            Border bord = new Border();
            bord.BorderThickness = new Thickness(1);
            bord.BorderBrush = SystemColors.ActiveBorderBrush;
            bord.Background = SystemColors.WindowBrush;
            Content = bord;

            // Make ScrollViewer the child of the border.
            scroll = new ScrollViewer();
            scroll.Focusable = false;
            scroll.Padding = new Thickness(2, 0, 0, 0);
            bord.Child = scroll;

            // Make StackPanel the content of the ScrollViewer.
            stack = new StackPanel();
            scroll.Content = stack;

            // Install a handler for the mouse left button down.
            AddHandler(TextBlock.MouseLeftButtonDownEvent,
                new MouseButtonEventHandler(TextBlockOnMouseLeftButtonDown));

            Loaded += OnLoaded;
        }
 private void SelectItem()
 {
     _item = _signatureHelp.Items[_selectedIndex];
     var panel = new StackPanel
     {
         Orientation = Orientation.Horizontal,
         Children =
         {
             ToTextBlock(_item.PrefixDisplayParts),
         }
     };
     if (_item.Parameters != null)
     {
         for (int index = 0; index < _item.Parameters.Length; index++)
         {
             var param = _item.Parameters[index];
             panel.Children.Add(ToTextBlock(param.DisplayParts));
             if (index != _item.Parameters.Length - 1)
             {
                 panel.Children.Add(ToTextBlock(_item.SeparatorDisplayParts));
             }
         }
     }
     panel.Children.Add(ToTextBlock(_item.SuffixDisplayParts));
     CurrentHeader = panel;
     CurrentContent = ToTextBlock(_item.DocumenationFactory(CancellationToken.None));
 }
        private void FillMessages()
        {
            var messages = GetMessage();

            var usernamePattern = "Username: {0}";
            var messagePattern = "Message: {0}";
            var datePattern = "Date: {0}";

            foreach (var message in messages)
            {
                var stackPanel = new StackPanel();
                var textBlockUsername = new TextBlock();
                textBlockUsername.Text = string.Format(usernamePattern, message.User.Username);
                textBlockUsername.TextWrapping = TextWrapping.Wrap;
                textBlockUsername.FontWeight = FontWeights.Bold;
                stackPanel.Children.Add(textBlockUsername);

                var textBlockMessage = new TextBlock();
                textBlockMessage.Text = string.Format(messagePattern, message.Text);
                textBlockMessage.TextWrapping = TextWrapping.Wrap;
                stackPanel.Children.Add(textBlockMessage);

                var textBlockDate = new TextBlock();
                textBlockDate.Text = string.Format(datePattern, message.Date);
                textBlockDate.TextWrapping = TextWrapping.Wrap;
                stackPanel.Children.Add(textBlockDate);

                this.lbMessages.Items.Add(stackPanel);
            }

            lastMessageNumber = this.lbMessages.Items.Count;
            this.lbMessages.SelectedIndex = this.lbMessages.Items.Count - 1;
            this.lbMessages.ScrollIntoView(this.lbMessages.SelectedItem);
        }
Пример #24
0
        public FileListItem(string captionText, string imagePath)
            : base()
        {
            Margin = new Thickness(13);

            var panel = new StackPanel();
            var imageSource = new BitmapImage();
            var image = new Image();
            var caption = new TextBlock();

            imageSource.BeginInit();
            imageSource.UriSource = new Uri(imagePath, UriKind.Relative);
            imageSource.EndInit();

            image.VerticalAlignment = System.Windows.VerticalAlignment.Center;
            image.Source = imageSource;
            image.Height = 64;
            image.Width = 64;
            image.ToolTip = "Select & click on 'Table' for data view.";

            caption.TextAlignment = TextAlignment.Center;
            caption.TextWrapping = TextWrapping.Wrap;
            caption.Text = captionText;

            Caption = captionText;

            if (caption.Text.Length <= 18)
                caption.Text += "\n ";

            panel.Children.Add(image);
            panel.Children.Add(caption);

            Child = panel;
        }
 public VerUltimosCommits(logicaGIT _pro, StackPanel _vparent)
 {
     InitializeComponent();
     Proyecto = _pro;
     vparent = _vparent;
     this.Height = vparent.Height;
 }
Пример #26
0
        private void runArbiraryJsMenuItem_Click(object sender, RoutedEventArgs e)
        {
            var panel = new StackPanel()
            {
                Orientation = Orientation.Horizontal,
            };

            var text = new TextBox
            {
                Width = 320,
            };
            panel.Children.Add(text);

            var button = new Button
            {
                Content = "Run",
            };
            button.Click += delegate
            {
                var result = browser.RunScript(text.Text);
                Console.WriteLine("Result: {0}", result);
            };
            panel.Children.Add(button);

            var dialog = new Window
            {
                Content = panel,
                SizeToContent = SizeToContent.WidthAndHeight,
                ResizeMode = ResizeMode.NoResize,
            };
            dialog.Show();
        }
Пример #27
0
        public PageAirport(Airport airport)
        {
            InitializeComponent();

            this.Uid = "1000";
            this.Title = Translator.GetInstance().GetString("PageAirport", this.Uid);

            this.Airport = airport;

            StackPanel airportPanel = new StackPanel();
            airportPanel.Margin = new Thickness(10, 0, 10, 0);

            airportPanel.Children.Add(createQuickInfoPanel());
            airportPanel.Children.Add(createPassengersPanel());
            //airportPanel.Children.Add(createFlightsPanel());
            //airportPanel.Children.Add(createArrivalsPanel());
            //airportPanel.Children.Add(createDeparturesPanel());

            StandardContentPanel panelContent = new StandardContentPanel();

            panelContent.setContentPage(airportPanel, StandardContentPanel.ContentLocation.Left);

            StackPanel panelSideMenu = new PanelAirport(this.Airport);

            panelContent.setContentPage(panelSideMenu, StandardContentPanel.ContentLocation.Right);

            base.setContent(panelContent);

            base.setHeaderContent(this.Title + " - " + this.Airport.Profile.Name);

            showPage(this);
        }
Пример #28
0
        private void btnPrint_Click(object sender, RoutedEventArgs e)
        {
            //MessageBox.Show("Chart has been sent for printing...");
            popup = new Popup() { Name = "Popup" };
            border = new Border() { Name = "Border" };
            panel1 = new StackPanel() { Name = "Panel" };
            textblock1 = new TextBlock() { Name = "Textblock" };

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

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

            border.Child = panel1;
            popup.Child = border;
            popup.HorizontalOffset = 613;
            popup.VerticalOffset = 375;
            popup.IsOpen = true;
        }
Пример #29
0
        protected void NavPaneButton_Click(object sender, RoutedEventArgs e)
        {
            string tabName = ((NavigationPaneButton)sender).Name.ToString();

            bool flag = false;
            if (this.tabControl.Items.Count > 0)
            {
                foreach (var mainItem in tabControl.Items)
                {
                    if (((Control)mainItem).Name == tabName)
                    {
                        tabControl.SelectedItem = mainItem;
                        flag = true;
                        return;
                    }
                }
            }
            if (!flag)
            {
                FabTabItem item = new FabTabItem();
                item.Name = tabName;
                item.Header = tabName;
                item.TabClosing+=new RoutedEventHandler(item_TabClosing);
                StackPanel s = new StackPanel();
                item.Content = s;
                s.Children.Add(new TextBlock() { Text = tabName });
                tabControl.Items.Add(item);
                tabControl.SelectedItem = item;
            }
        }
Пример #30
0
        //for creating a new terminal
        public PopUpTerminal(Airport airport)
        {
            this.Airport = airport;

            InitializeComponent();

            this.Uid = "1000";
            this.Title = Translator.GetInstance().GetString("PopUpTerminal", this.Uid);

            this.Width = 400;

            this.Height = 200;

            this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;

            StackPanel mainPanel = new StackPanel();
            mainPanel.Margin = new Thickness(10, 10, 10, 10);

            ListBox lbTerminal = new ListBox();
            lbTerminal.ItemContainerStyleSelector = new ListBoxItemStyleSelector();
            lbTerminal.SetResourceReference(ListBox.ItemTemplateProperty, "QuickInfoItem");

            mainPanel.Children.Add(lbTerminal);

            // chs 28-01-12: added for name of terminal
            txtName = new TextBox();
            txtName.Background = Brushes.Transparent;
            txtName.BorderBrush = Brushes.Black;
            txtName.IsEnabled = this.Terminal == null;
            txtName.Width = 100;
            txtName.Text = this.Terminal == null ? "Terminal" : this.Terminal.Name;
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal","1007"),txtName));

            // chs 11-09-11: added numericupdown for selecting number of gates
            nudGates = new ucNumericUpDown();
            nudGates.Height = 30;
            nudGates.MaxValue = 50;
            nudGates.ValueChanged+=new RoutedPropertyChangedEventHandler<decimal>(nudGates_ValueChanged);
            nudGates.MinValue = 1;

            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1001"), nudGates));
            /*
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1002"), UICreator.CreateTextBlock(string.Format("{0:C}",this.Airport.getTerminalPrice()))));
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1003"), UICreator.CreateTextBlock(string.Format("{0:C}",this.Airport.getTerminalGatePrice()))));
            */
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1002"), UICreator.CreateTextBlock(new ValueCurrencyConverter().Convert(this.Airport.getTerminalPrice()).ToString())));
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1003"), UICreator.CreateTextBlock(new ValueCurrencyConverter().Convert(this.Airport.getTerminalGatePrice()).ToString())));

            txtDaysToCreate = UICreator.CreateTextBlock("0 days");
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1004"), txtDaysToCreate));

            txtTotalPrice = UICreator.CreateTextBlock(new ValueCurrencyConverter().Convert(0).ToString());//UICreator.CreateTextBlock(string.Format("{0:C}", 0));
            lbTerminal.Items.Add(new QuickInfoValue(Translator.GetInstance().GetString("PopUpTerminal", "1005"), txtTotalPrice));

            mainPanel.Children.Add(createButtonsPanel());

            nudGates.Value = 1;

            this.Content = mainPanel;
        }
Пример #31
0
        public void SearchResultUpdateHandler(object sender, WindowWalker.Components.Window.WindowListUpdateEventArgs e)
        {
            resultsListBox.Items.Clear();

            var windows = WindowSearchController.Instance.SearchMatches.Where(x => x.Hwnd != this.handleToMainWindow);

            foreach (var window in windows)
            {
                var tempStackPanel = new StackPanel();
                tempStackPanel.Orientation = Orientation.Horizontal;
                var image = new Image();
                image.Source = window.WindowIcon;
                image.Margin = new Thickness(0,0,5,0);
                tempStackPanel.Children.Add(image);
                var tempTextBlock = new TextBlockWindow();
                tempTextBlock.Text = window.Title;

                if (!window.ProcessName.ToUpper().Equals(string.Empty))
                {
                    tempTextBlock.Text += " (" + window.ProcessName.ToUpper() + ")" ;
                }

                tempTextBlock.Window = window;
                tempStackPanel.Children.Add(tempTextBlock);
                image.Height = 15;
                this.resultsListBox.Items.Add(tempStackPanel);
            }

            if (resultsListBox.Items.Count != 0)
            {
                resultsListBox.SelectedIndex = 0;
            }

            System.Diagnostics.Debug.Print("Search result updated in Main Window. There are now " + this.resultsListBox.Items.Count + " windows that match the search term");
        }
Пример #32
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid_Main = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.RadExpander = ((Telerik.Windows.Controls.RadExpander)(target));
                return;

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

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

            #line 51 "..\..\MainWindow.xaml"
                this.listView_Contract.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listView_Contract_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 10:
                this.stackPanel_ContractContent = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.ListViewSerices = ((System.Windows.Controls.ListView)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 138 "..\..\MainWindow.xaml"
                this.btn_EditService.Click += new System.Windows.RoutedEventHandler(this.btn_EditService_Click);

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\MainWindow.xaml"
                this.btn_DeleteService3.Click += new System.Windows.RoutedEventHandler(this.btn_DeleteService3_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.stackPanel_Sales = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 174 "..\..\MainWindow.xaml"
                this.btn_InsertSales.Click += new System.Windows.RoutedEventHandler(this.btn_Insert_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 220 "..\..\MainWindow.xaml"
                this.btn_InsertProduction.Click += new System.Windows.RoutedEventHandler(this.btn_Insert_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 329 "..\..\MainWindow.xaml"
                this.btn_InsertProject.Click += new System.Windows.RoutedEventHandler(this.btn_Insert_Click);

            #line default
            #line hidden
                return;

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

            #line 411 "..\..\MainWindow.xaml"
                this.btn_InsertAccountant.Click += new System.Windows.RoutedEventHandler(this.btn_Insert_Click);

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

            #line 4 "..\..\ModuleDiffEff.xaml"
                ((GoodPlot.ModuleDiffEff)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.RadHand = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.RadAuto = ((System.Windows.Controls.RadioButton)(target));

            #line 17 "..\..\ModuleDiffEff.xaml"
                this.RadAuto.Checked += new System.Windows.RoutedEventHandler(this.RadAuto_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 22 "..\..\ModuleDiffEff.xaml"
                this.ButtonTopStart.Click += new System.Windows.RoutedEventHandler(this.ButtonTopStart_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\ModuleDiffEff.xaml"
                this.ButtonTopEnd.Click += new System.Windows.RoutedEventHandler(this.ButtonTopEnd_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.PanelButtsBottom = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 29 "..\..\ModuleDiffEff.xaml"
                this.ButtonBotStart.Click += new System.Windows.RoutedEventHandler(this.ButtonBotStart_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\ModuleDiffEff.xaml"
                this.ButtonBotEnd.Click += new System.Windows.RoutedEventHandler(this.ButtonBotEnd_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\ModuleDiffEff.xaml"
                this.ButtonGroupPoint.Click += new System.Windows.RoutedEventHandler(this.ButtonGroupPoint_Click);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\ModuleDiffEff.xaml"
                this.ButtonCalculation.Click += new System.Windows.RoutedEventHandler(this.ButtonCalculation_Click);

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.channelWindow = ((Agent.Interaction.Desktop.ChannelSelection)(target));

            #line 7 "..\..\..\ChannelSelection.xaml"
                this.channelWindow.Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 7 "..\..\..\ChannelSelection.xaml"
                this.channelWindow.Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden

            #line 7 "..\..\..\ChannelSelection.xaml"
                this.channelWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\ChannelSelection.xaml"
                this.channelWindow.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden

            #line 7 "..\..\..\ChannelSelection.xaml"
                this.channelWindow.Unloaded += new System.Windows.RoutedEventHandler(this.channelWindow_Unloaded);

            #line default
            #line hidden

            #line 7 "..\..\..\ChannelSelection.xaml"
                this.channelWindow.StateChanged += new System.EventHandler(this.channelWindow_StateChanged);

            #line default
            #line hidden

            #line 7 "..\..\..\ChannelSelection.xaml"
                this.channelWindow.Closing += new System.ComponentModel.CancelEventHandler(this.channelWindow_Closing);

            #line default
            #line hidden
                return;

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

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\ChannelSelection.xaml"
                this.channelTitleversion.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

            case 19:
                this.txtPlace = ((Agent.Interaction.Desktop.CustomControls.AutoCompleteBoxEx)(target));
                return;

            case 20:
                this.gbVoiceChannel = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 21:
                this.chkbxVoice = ((System.Windows.Controls.CheckBox)(target));

            #line 100 "..\..\..\ChannelSelection.xaml"
                this.chkbxVoice.Unchecked += new System.Windows.RoutedEventHandler(this.chkbxVoice_Unchecked);

            #line default
            #line hidden

            #line 100 "..\..\..\ChannelSelection.xaml"
                this.chkbxVoice.Checked += new System.Windows.RoutedEventHandler(this.chkbxVoice_Checked);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 27:
                this.cbQueue = ((System.Windows.Controls.ComboBox)(target));

            #line 120 "..\..\..\ChannelSelection.xaml"
                this.cbQueue.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.cbQueue_PreviewKeyUp);

            #line default
            #line hidden
                return;

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

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

            case 30:
                this.cbAgentLoginID = ((System.Windows.Controls.ComboBox)(target));

            #line 125 "..\..\..\ChannelSelection.xaml"
                this.cbAgentLoginID.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbAgentLoginID_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 32:
                this.txtAgentPassword = ((System.Windows.Controls.PasswordBox)(target));

            #line 128 "..\..\..\ChannelSelection.xaml"
                this.txtAgentPassword.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.PreviewKeyUp);

            #line default
            #line hidden
                return;

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

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

            #line 131 "..\..\..\ChannelSelection.xaml"
                this.txtLDCode.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.PreviewKeyUp);

            #line default
            #line hidden

            #line 131 "..\..\..\ChannelSelection.xaml"
                this.txtLDCode.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtLDCode_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 134 "..\..\..\ChannelSelection.xaml"
                this.txtWrapTime.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtWrapTime_PreviewKeyDown);

            #line default
            #line hidden

            #line 134 "..\..\..\ChannelSelection.xaml"
                this.txtWrapTime.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.cbQueue_PreviewKeyUp);

            #line default
            #line hidden
                return;

            case 37:
                this.chkbxMediPac = ((System.Windows.Controls.CheckBox)(target));

            #line 136 "..\..\..\ChannelSelection.xaml"
                this.chkbxMediPac.Checked += new System.Windows.RoutedEventHandler(this.chbxMediPac_Checked);

            #line default
            #line hidden

            #line 136 "..\..\..\ChannelSelection.xaml"
                this.chkbxMediPac.Unchecked += new System.Windows.RoutedEventHandler(this.chbxMediPac_Unchecked);

            #line default
            #line hidden
                return;

            case 38:
                this.chkbxFacets = ((System.Windows.Controls.CheckBox)(target));

            #line 137 "..\..\..\ChannelSelection.xaml"
                this.chkbxFacets.Checked += new System.Windows.RoutedEventHandler(this.chbxFacets_Checked);

            #line default
            #line hidden

            #line 137 "..\..\..\ChannelSelection.xaml"
                this.chkbxFacets.Unchecked += new System.Windows.RoutedEventHandler(this.chbxFacets_Unchecked);

            #line default
            #line hidden
                return;

            case 39:
                this.chkbxEpic = ((System.Windows.Controls.CheckBox)(target));

            #line 138 "..\..\..\ChannelSelection.xaml"
                this.chkbxEpic.Checked += new System.Windows.RoutedEventHandler(this.chbxEpic_Checked);

            #line default
            #line hidden

            #line 138 "..\..\..\ChannelSelection.xaml"
                this.chkbxEpic.Unchecked += new System.Windows.RoutedEventHandler(this.chbxEpic_Unchecked);

            #line default
            #line hidden
                return;

            case 40:
                this.chkbxLawson = ((System.Windows.Controls.CheckBox)(target));

            #line 139 "..\..\..\ChannelSelection.xaml"
                this.chkbxLawson.Checked += new System.Windows.RoutedEventHandler(this.chbxLawson_Checked);

            #line default
            #line hidden

            #line 139 "..\..\..\ChannelSelection.xaml"
                this.chkbxLawson.Unchecked += new System.Windows.RoutedEventHandler(this.chbxLawson_Unchecked);

            #line default
            #line hidden
                return;

            case 41:
                this.chkbxEmail = ((System.Windows.Controls.CheckBox)(target));

            #line 143 "..\..\..\ChannelSelection.xaml"
                this.chkbxEmail.Checked += new System.Windows.RoutedEventHandler(this.chkbxEmail_Checked);

            #line default
            #line hidden

            #line 143 "..\..\..\ChannelSelection.xaml"
                this.chkbxEmail.Unchecked += new System.Windows.RoutedEventHandler(this.chkbxEmail_Unchecked);

            #line default
            #line hidden
                return;

            case 42:
                this.chkbxChat = ((System.Windows.Controls.CheckBox)(target));

            #line 144 "..\..\..\ChannelSelection.xaml"
                this.chkbxChat.Checked += new System.Windows.RoutedEventHandler(this.chkbxChat_Checked);

            #line default
            #line hidden

            #line 144 "..\..\..\ChannelSelection.xaml"
                this.chkbxChat.Unchecked += new System.Windows.RoutedEventHandler(this.chkbxChat_Unchecked);

            #line default
            #line hidden
                return;

            case 43:
                this.chkbxOutbound = ((System.Windows.Controls.CheckBox)(target));

            #line 145 "..\..\..\ChannelSelection.xaml"
                this.chkbxOutbound.Checked += new System.Windows.RoutedEventHandler(this.chkbxOutbound_Checked);

            #line default
            #line hidden

            #line 145 "..\..\..\ChannelSelection.xaml"
                this.chkbxOutbound.Unchecked += new System.Windows.RoutedEventHandler(this.chkbxOutbound_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 46:
                this.btnChangeLogin = ((System.Windows.Controls.Button)(target));

            #line 162 "..\..\..\ChannelSelection.xaml"
                this.btnChangeLogin.Click += new System.Windows.RoutedEventHandler(this.btnChangeLogin_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.thisWindow = ((PLWPF.StudentWindow)(target));
                return;

            case 2:

            #line 34 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Sign_out);

            #line default
            #line hidden
                return;

            case 3:

            #line 40 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.Show_hand);

            #line default
            #line hidden

            #line 40 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseLeave += new System.Windows.Input.MouseEventHandler(this.Show_hand);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\StudentWindow.xaml"
                this.left_tab.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Left_tab_MouseDown);

            #line default
            #line hidden
                return;

            case 5:
                this.left_tab_rec = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 46 "..\..\StudentWindow.xaml"
                this.center_tab.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Center_tab_MouseDown);

            #line default
            #line hidden
                return;

            case 7:
                this.center_tab_rec = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 50 "..\..\StudentWindow.xaml"
                this.right_tab.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Right_tab_MouseDown);

            #line default
            #line hidden
                return;

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

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

            case 11:
                this.exp_pass = ((System.Windows.Controls.Expander)(target));

            #line 63 "..\..\StudentWindow.xaml"
                this.exp_pass.Expanded += new System.Windows.RoutedEventHandler(this.when_open_pass);

            #line default
            #line hidden
                return;

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

            case 13:
                this.exp_didnt_pass = ((System.Windows.Controls.Expander)(target));

            #line 74 "..\..\StudentWindow.xaml"
                this.exp_didnt_pass.Expanded += new System.Windows.RoutedEventHandler(this.when_open_didnt_pass);

            #line default
            #line hidden
                return;

            case 14:
                this.exp_didnt_pass_tests = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 15:
                this.exp_future = ((System.Windows.Controls.Expander)(target));

            #line 85 "..\..\StudentWindow.xaml"
                this.exp_future.Expanded += new System.Windows.RoutedEventHandler(this.when_open_future);

            #line default
            #line hidden
                return;

            case 16:
                this.exp_futre_tests = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 17:
                this.new_test_view = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

            case 18:
                this.test_hour = ((System.Windows.Controls.ListView)(target));
                return;

            case 19:
                this.address = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 147 "..\..\StudentWindow.xaml"
                this.home_address.Click += new System.Windows.RoutedEventHandler(this.Home_Address);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 167 "..\..\StudentWindow.xaml"
                this.txt_credit_card_number.KeyUp += new System.Windows.Input.KeyEventHandler(this.Txt_credit_card_number_KeyUp);

            #line default
            #line hidden
                return;

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

            #line 168 "..\..\StudentWindow.xaml"
                this.txt_credit_card_date.KeyUp += new System.Windows.Input.KeyEventHandler(this.Txt_credit_card_date_KeyUp);

            #line default
            #line hidden
                return;

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

            case 28:

            #line 175 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_test);

            #line default
            #line hidden
                return;

            case 29:
                this.pi_save = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 30:
                this.pb_save = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 31:
                this.update_student_data = ((MaterialDesignThemes.Wpf.Card)(target));
                return;

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

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

            #line 194 "..\..\StudentWindow.xaml"
                this.first_name.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

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

            #line 195 "..\..\StudentWindow.xaml"
                this.last_name.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 35:
                this.gender = ((System.Windows.Controls.ComboBox)(target));

            #line 196 "..\..\StudentWindow.xaml"
                this.gender.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Combo_box_MouseUp);

            #line default
            #line hidden
                return;

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

            #line 200 "..\..\StudentWindow.xaml"
                this.phone_number.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

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

            #line 201 "..\..\StudentWindow.xaml"
                this.city1.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

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

            #line 202 "..\..\StudentWindow.xaml"
                this.building_number1.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

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

            #line 203 "..\..\StudentWindow.xaml"
                this.street1.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 40:
                this.birth_date = ((System.Windows.Controls.DatePicker)(target));

            #line 204 "..\..\StudentWindow.xaml"
                this.birth_date.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Birth_date_MouseUp);

            #line default
            #line hidden

            #line 204 "..\..\StudentWindow.xaml"
                this.birth_date.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 41:
                this.car_type = ((System.Windows.Controls.ComboBox)(target));

            #line 205 "..\..\StudentWindow.xaml"
                this.car_type.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Combo_box_MouseUp);

            #line default
            #line hidden
                return;

            case 42:
                this.gear = ((System.Windows.Controls.ComboBox)(target));

            #line 211 "..\..\StudentWindow.xaml"
                this.gear.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Combo_box_MouseUp);

            #line default
            #line hidden
                return;

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

            #line 215 "..\..\StudentWindow.xaml"
                this.school_name.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 44:
                this.teacher_name = ((System.Windows.Controls.TextBox)(target));

            #line 216 "..\..\StudentWindow.xaml"
                this.teacher_name.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 45:
                this.number_of_class = ((System.Windows.Controls.TextBox)(target));

            #line 217 "..\..\StudentWindow.xaml"
                this.number_of_class.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 46:
                this.email = ((System.Windows.Controls.TextBox)(target));

            #line 218 "..\..\StudentWindow.xaml"
                this.email.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

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

            #line 219 "..\..\StudentWindow.xaml"
                this.prev_password.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 48:
                this.password = ((System.Windows.Controls.PasswordBox)(target));

            #line 220 "..\..\StudentWindow.xaml"
                this.password.KeyUp += new System.Windows.Input.KeyEventHandler(this.Changes);

            #line default
            #line hidden
                return;

            case 49:

            #line 224 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_student);

            #line default
            #line hidden
                return;

            case 50:

            #line 230 "..\..\StudentWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Update_student);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userName = ((System.Windows.Controls.Label)(target));
                return;

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

            case 3:

            #line 26 "..\..\ConfigurationVue.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\ConfigurationVue.xaml"
                this.EtudiantMenu.Click += new System.Windows.RoutedEventHandler(this.EtudiantMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\ConfigurationVue.xaml"
                this.EntrepriseMenu.Click += new System.Windows.RoutedEventHandler(this.EntrepriseMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\ConfigurationVue.xaml"
                this.CommunicationMenu.Click += new System.Windows.RoutedEventHandler(this.CommunicationMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\ConfigurationVue.xaml"
                this.StageMenu.Click += new System.Windows.RoutedEventHandler(this.StageMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\ConfigurationVue.xaml"
                this.StatistiquesMenu.Click += new System.Windows.RoutedEventHandler(this.StatistiquesMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\ConfigurationVue.xaml"
                this.BtnAjouterFormation.Click += new System.Windows.RoutedEventHandler(this.BtnAjouterFormation_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 98 "..\..\ConfigurationVue.xaml"
                this.BtnAjouterLangue.Click += new System.Windows.RoutedEventHandler(this.BtnAjouterLangue_Click);

            #line default
            #line hidden
                return;

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

            case 14:
                this.ListeLangueVue = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 122 "..\..\ConfigurationVue.xaml"
                this.BtnAjouterTypeCommunication.Click += new System.Windows.RoutedEventHandler(this.BtnAjouterTypeCommunication_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 143 "..\..\ConfigurationVue.xaml"
                this.BtnAjouterStatusCarriere.Click += new System.Windows.RoutedEventHandler(this.BtnAjouterStatusCarriere_Click);

            #line default
            #line hidden
                return;

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

            case 20:
                this.ListeStatusCarriereVue = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 168 "..\..\ConfigurationVue.xaml"
                this.BtnAjouterTypeStage.Click += new System.Windows.RoutedEventHandler(this.BtnAjouterTypeStage_Click);

            #line default
            #line hidden
                return;

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

            case 23:
                this.ListeTypeStageVue = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 189 "..\..\ConfigurationVue.xaml"
                this.BtnAjouterResultat.Click += new System.Windows.RoutedEventHandler(this.BtnAjouterResultat_Click);

            #line default
            #line hidden
                return;

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

            case 26:
                this.ListeResultatVue = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 214 "..\..\ConfigurationVue.xaml"
                this.BtnAjouterTypeEntrevue.Click += new System.Windows.RoutedEventHandler(this.BtnAjouterTypeEntrevue_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.choixAjouterEntrevue = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.ListeTypeEntrevueVue = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 235 "..\..\ConfigurationVue.xaml"
                this.BtnAjouterDocument.Click += new System.Windows.RoutedEventHandler(this.BtnAjouterDocument_Click);

            #line default
            #line hidden
                return;

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

            case 32:
                this.ListeDocumentVue = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #37
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\..\Windows\FirstStep.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 19 "..\..\..\Windows\FirstStep.xaml"
                this.checkBoxAll.Click += new System.Windows.RoutedEventHandler(this.checkBoxAll_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox1.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 20 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox1.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.checkBox2 = ((System.Windows.Controls.CheckBox)(target));

            #line 21 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox2.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 21 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox2.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox3.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 22 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox3.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.checkBox4 = ((System.Windows.Controls.CheckBox)(target));

            #line 23 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox4.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 23 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox4.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox5.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 24 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox5.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox6.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 25 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox6.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox7.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 26 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox7.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox8.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 27 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox8.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox9.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 28 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox9.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox10.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 29 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox10.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox11.Checked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden

            #line 30 "..\..\..\Windows\FirstStep.xaml"
                this.checkBox11.Unchecked += new System.Windows.RoutedEventHandler(this.checkBox_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.numCollection = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 18:
                this.num1 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 19:
                this.num2 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 20:
                this.num3 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 21:
                this.num4 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 22:
                this.num5 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 23:
                this.num6 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 24:
                this.num7 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 25:
                this.num8 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 26:
                this.num9 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 27:
                this.num10 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 28:
                this.num11 = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

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

            case 30:
                this.userControl = ((System.Windows.Controls.WrapPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #38
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Table = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\MainWindow.xaml"
                this.Hit.Click += new System.Windows.RoutedEventHandler(this.Hit_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 13:
                this.TitleScreen = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.conXionWindow = ((FIX.MainWindow)(target));
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.ConnectedPrinters = ((System.Windows.Controls.ListBox)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.ConnectedPrinters.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.InstalledPrinterFocus);

            #line default
            #line hidden

            #line 48 "..\..\MainWindow.xaml"
                this.ConnectedPrinters.GotFocus += new System.Windows.RoutedEventHandler(this.ResetSwitch);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\MainWindow.xaml"
                this.AvailablePrinters.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AvailablePrinterFocus);

            #line default
            #line hidden

            #line 49 "..\..\MainWindow.xaml"
                this.AvailablePrinters.GotFocus += new System.Windows.RoutedEventHandler(this.ResetSwitch);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:

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

            #line default
            #line hidden
                return;

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

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

            case 24:

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

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:

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

            #line default
            #line hidden
                return;

            case 27:
                this.FunctionsSectionGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 29:

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

            #line default
            #line hidden
                return;

            case 30:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #40
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\..\Control\Search\frmSearchProduct.xaml"
     ((NangShop.Control.frmSearchProduct)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\..\Control\Search\frmSearchProduct.xaml"
     ((NangShop.Control.frmSearchProduct)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtProductCode = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.txtProduct_Name = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.btnSearch = ((System.Windows.Controls.Button)(target));
     
     #line 21 "..\..\..\..\Control\Search\frmSearchProduct.xaml"
     this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.dgrProduct = ((System.Windows.Controls.DataGrid)(target));
     
     #line 24 "..\..\..\..\Control\Search\frmSearchProduct.xaml"
     this.dgrProduct.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.dgrProduct_LoadingRow);
     
     #line default
     #line hidden
     
     #line 24 "..\..\..\..\Control\Search\frmSearchProduct.xaml"
     this.dgrProduct.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.dgrProduct_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 7:
     this.grdBtn = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.btnView = ((System.Windows.Controls.Button)(target));
     
     #line 82 "..\..\..\..\Control\Search\frmSearchProduct.xaml"
     this.btnView.Click += new System.Windows.RoutedEventHandler(this.btnView_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 83 "..\..\..\..\Control\Search\frmSearchProduct.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #41
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\MainWindow.xaml"
     ((ScreenDraw.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 13 "..\..\MainWindow.xaml"
     ((ScreenDraw.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.txtMessages = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.wpShoot = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 4:
     this.canv = ((System.Windows.Controls.Canvas)(target));
     
     #line 21 "..\..\MainWindow.xaml"
     this.canv.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.canv_MouseDown);
     
     #line default
     #line hidden
     
     #line 21 "..\..\MainWindow.xaml"
     this.canv.MouseMove += new System.Windows.Input.MouseEventHandler(this.canv_MouseMove);
     
     #line default
     #line hidden
     return;
     case 5:
     this.stakPControls = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.btnClose = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\MainWindow.xaml"
     this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\MainWindow.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.a1 = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\MainWindow.xaml"
     this.a1.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 9:
     this.a2 = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\MainWindow.xaml"
     this.a2.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 10:
     this.a3 = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.a3.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 11:
     this.a4 = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\MainWindow.xaml"
     this.a4.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 12:
     this.a5 = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\MainWindow.xaml"
     this.a5.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 13:
     this.a6 = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.a6.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 14:
     this.a7 = ((System.Windows.Controls.Button)(target));
     
     #line 48 "..\..\MainWindow.xaml"
     this.a7.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 15:
     this.b1 = ((System.Windows.Controls.Button)(target));
     
     #line 51 "..\..\MainWindow.xaml"
     this.b1.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 16:
     this.b2 = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\MainWindow.xaml"
     this.b2.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 17:
     this.b3 = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\MainWindow.xaml"
     this.b3.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 18:
     this.b4 = ((System.Windows.Controls.Button)(target));
     
     #line 54 "..\..\MainWindow.xaml"
     this.b4.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 19:
     this.b5 = ((System.Windows.Controls.Button)(target));
     
     #line 55 "..\..\MainWindow.xaml"
     this.b5.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 20:
     this.b6 = ((System.Windows.Controls.Button)(target));
     
     #line 56 "..\..\MainWindow.xaml"
     this.b6.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     case 21:
     this.b7 = ((System.Windows.Controls.Button)(target));
     
     #line 57 "..\..\MainWindow.xaml"
     this.b7.Click += new System.Windows.RoutedEventHandler(this.cp_ChangeColor);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Пример #42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\Views\AdvancedGhostOptionWindow.xaml"
                ((Pacman.Views.AdvancedGhostOptionWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden

            #line 55 "..\..\..\Views\AdvancedGhostOptionWindow.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line 75 "..\..\..\Views\AdvancedGhostOptionWindow.xaml"
                this.GreenCountTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 88 "..\..\..\Views\AdvancedGhostOptionWindow.xaml"
                this.BlueCountTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.PreviewKeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 101 "..\..\..\Views\AdvancedGhostOptionWindow.xaml"
                this.RedCountTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 9:
                this.RedSpeedComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #43
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E5%AE%89%E6%A3%80%E4%BA%BA%E5%91%98%E6%9F%A5%E8%AF%A2.xaml", System.UriKind.Relative));
     this.LayoutRoot            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.loader                = ((Com.Aote.Marks.ResourceLoad)(this.FindName("loader")));
     this.repairManList         = ((Com.Aote.ObjectTools.PagedList)(this.FindName("repairManList")));
     this.areafileslist         = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("areafileslist")));
     this.conditionlist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("conditionlist")));
     this.pager                 = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.areafilesearch        = ((System.Windows.Controls.DockPanel)(this.FindName("areafilesearch")));
     this.condition             = ((System.Windows.Controls.ComboBox)(this.FindName("condition")));
     this.areasearchbutton      = ((System.Windows.Controls.Button)(this.FindName("areasearchbutton")));
     this.areafiles             = ((System.Windows.Controls.DataGrid)(this.FindName("areafiles")));
     this.slipPaper             = ((System.Windows.Controls.ContentControl)(this.FindName("slipPaper")));
     this.userfile              = ((System.Windows.Controls.TabControl)(this.FindName("userfile")));
     this.BasicTab              = ((System.Windows.Controls.TabItem)(this.FindName("BasicTab")));
     this.CurrentArchiveAddress = ((System.Windows.Controls.TextBox)(this.FindName("CurrentArchiveAddress")));
     this.WARM             = ((System.Windows.Controls.ComboBox)(this.FindName("WARM")));
     this.WARM_OTHER       = ((System.Windows.Controls.TextBox)(this.FindName("WARM_OTHER")));
     this.MeterDefectsPane = ((System.Windows.Controls.StackPanel)(this.FindName("MeterDefectsPane")));
     this.RQB                        = ((System.Windows.Controls.CheckBox)(this.FindName("RQB")));
     this.JB_METER_NAME              = ((System.Windows.Controls.ComboBox)(this.FindName("JB_METER_NAME")));
     this.JB_METER_NAME_OTHER        = ((System.Windows.Controls.TextBox)(this.FindName("JB_METER_NAME_OTHER")));
     this.IC_METER_NAME              = ((System.Windows.Controls.ComboBox)(this.FindName("IC_METER_NAME")));
     this.IC_METER_NAME_OTHER        = ((System.Windows.Controls.TextBox)(this.FindName("IC_METER_NAME_OTHER")));
     this.PlumbingDefectsPane        = ((System.Windows.Controls.StackPanel)(this.FindName("PlumbingDefectsPane")));
     this.STANDPIPE                  = ((System.Windows.Controls.CheckBox)(this.FindName("STANDPIPE")));
     this.cbEroded                   = ((System.Windows.Controls.CheckBox)(this.FindName("cbEroded")));
     this.rbErodedSevere             = ((System.Windows.Controls.RadioButton)(this.FindName("rbErodedSevere")));
     this.rbErodedModerate           = ((System.Windows.Controls.RadioButton)(this.FindName("rbErodedModerate")));
     this.rbErodedSlight             = ((System.Windows.Controls.RadioButton)(this.FindName("rbErodedSlight")));
     this.PlumbingProofPane          = ((System.Windows.Controls.StackPanel)(this.FindName("PlumbingProofPane")));
     this.cbRIGIDITYNormal           = ((System.Windows.Controls.CheckBox)(this.FindName("cbRIGIDITYNormal")));
     this.cbRIGIDITYLeakage          = ((System.Windows.Controls.CheckBox)(this.FindName("cbRIGIDITYLeakage")));
     this.PlumbingPressurePane       = ((System.Windows.Controls.StackPanel)(this.FindName("PlumbingPressurePane")));
     this.cbPressureNormal           = ((System.Windows.Controls.CheckBox)(this.FindName("cbPressureNormal")));
     this.cbPressureAbnormal         = ((System.Windows.Controls.CheckBox)(this.FindName("cbPressureAbnormal")));
     this.PlumbingMeterValvePane     = ((System.Windows.Controls.StackPanel)(this.FindName("PlumbingMeterValvePane")));
     this.TABLE_TAP                  = ((System.Windows.Controls.CheckBox)(this.FindName("TABLE_TAP")));
     this.PlumbingCookerValvePane    = ((System.Windows.Controls.StackPanel)(this.FindName("PlumbingCookerValvePane")));
     this.COOK_TAP                   = ((System.Windows.Controls.CheckBox)(this.FindName("COOK_TAP")));
     this.PlumbingAutomaticValvePane = ((System.Windows.Controls.StackPanel)(this.FindName("PlumbingAutomaticValvePane")));
     this.CLOSE_TAP                  = ((System.Windows.Controls.CheckBox)(this.FindName("CLOSE_TAP")));
     this.PlumbingPipePane           = ((System.Windows.Controls.StackPanel)(this.FindName("PlumbingPipePane")));
     this.INDOOR                     = ((System.Windows.Controls.CheckBox)(this.FindName("INDOOR")));
     this.PlumbingLeakagePane        = ((System.Windows.Controls.StackPanel)(this.FindName("PlumbingLeakagePane")));
     this.cbLEAKAGE_COOKER           = ((System.Windows.Controls.CheckBox)(this.FindName("cbLEAKAGE_COOKER")));
     this.cbLEAKAGE_HEATER           = ((System.Windows.Controls.CheckBox)(this.FindName("cbLEAKAGE_HEATER")));
     this.cbLEAKAGE_BOILER           = ((System.Windows.Controls.CheckBox)(this.FindName("cbLEAKAGE_BOILER")));
     this.cbLEAKAGE_NOTIFIED         = ((System.Windows.Controls.CheckBox)(this.FindName("cbLEAKAGE_NOTIFIED")));
     this.GasDeviceTab               = ((System.Windows.Controls.TabItem)(this.FindName("GasDeviceTab")));
     this.CookerPipePane             = ((System.Windows.Controls.StackPanel)(this.FindName("CookerPipePane")));
     this.COOKPIPE_NORMAL            = ((System.Windows.Controls.CheckBox)(this.FindName("COOKPIPE_NORMAL")));
     this.BoilerPipePane             = ((System.Windows.Controls.StackPanel)(this.FindName("BoilerPipePane")));
     this.WATER_PIPE                 = ((System.Windows.Controls.CheckBox)(this.FindName("WATER_PIPE")));
     this.BoilerDefectsPane          = ((System.Windows.Controls.StackPanel)(this.FindName("BoilerDefectsPane")));
     this.WATER_HIDDEN               = ((System.Windows.Controls.CheckBox)(this.FindName("WATER_HIDDEN")));
     this.WHEDefectsPane             = ((System.Windows.Controls.StackPanel)(this.FindName("WHEDefectsPane")));
     this.WHE_HIDDEN                 = ((System.Windows.Controls.CheckBox)(this.FindName("WHE_HIDDEN")));
     this.NEEDS_REPAIR               = ((System.Windows.Controls.CheckBox)(this.FindName("NEEDS_REPAIR")));
     this.cmbRepair                  = ((System.Windows.Controls.ComboBox)(this.FindName("cmbRepair")));
     this.PrecautionTab              = ((System.Windows.Controls.TabItem)(this.FindName("PrecautionTab")));
     this.precautionCheckPane        = ((System.Windows.Controls.WrapPanel)(this.FindName("precautionCheckPane")));
     this.picture1                   = ((System.Windows.Controls.Image)(this.FindName("picture1")));
     this.picture2                   = ((System.Windows.Controls.Image)(this.FindName("picture2")));
     this.picture3                   = ((System.Windows.Controls.Image)(this.FindName("picture3")));
     this.picture4                   = ((System.Windows.Controls.Image)(this.FindName("picture4")));
     this.picture5                   = ((System.Windows.Controls.Image)(this.FindName("picture5")));
     this.picture6                   = ((System.Windows.Controls.Image)(this.FindName("picture6")));
     this.picture7                   = ((System.Windows.Controls.Image)(this.FindName("picture7")));
     this.bigPic                     = ((System.Windows.Controls.Image)(this.FindName("bigPic")));
     this.SignatureTab               = ((System.Windows.Controls.TabItem)(this.FindName("SignatureTab")));
     this.image                      = ((System.Windows.Controls.Image)(this.FindName("image")));
 }
Пример #44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ConfigurationGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

            case 6:
                this.chkIncludeWholeEmail = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

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

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

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

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

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

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

            case 16:
                this.chkTakeRequiresCiresonGroupMembership = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 45 "..\..\..\Forms\ProcessingLogicForm.xaml"
                this.crSupportGroup.KeyDown += new System.Windows.Input.KeyEventHandler(this.crSupportGroup_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\Forms\ProcessingLogicForm.xaml"
                this.maSupportGroup.KeyDown += new System.Windows.Input.KeyEventHandler(this.maSupportGroup_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 55 "..\..\..\Forms\ProcessingLogicForm.xaml"
                this.prSupportGroup.KeyDown += new System.Windows.Input.KeyEventHandler(this.prSupportGroup_KeyDown);

            #line default
            #line hidden
                return;

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

            case 21:
                this.chkChangeIRStatusOnReply = ((System.Windows.Controls.CheckBox)(target));

            #line 59 "..\..\..\Forms\ProcessingLogicForm.xaml"
                this.chkChangeIRStatusOnReply.Checked += new System.Windows.RoutedEventHandler(this.chkChangeIRStatusOnReply_Checked);

            #line default
            #line hidden
                return;

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

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

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

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

            case 26:
                this.cbIRResCat = ((System.Windows.Controls.ComboBox)(target));

            #line 81 "..\..\..\Forms\ProcessingLogicForm.xaml"
                this.cbIRResCat.KeyDown += new System.Windows.Input.KeyEventHandler(this.cbIRResCat_KeyDown);

            #line default
            #line hidden
                return;

            case 27:
                this.cbSRImplementCat = ((System.Windows.Controls.ComboBox)(target));

            #line 85 "..\..\..\Forms\ProcessingLogicForm.xaml"
                this.cbSRImplementCat.KeyDown += new System.Windows.Input.KeyEventHandler(this.cbSRImplementCat_KeyDown);

            #line default
            #line hidden
                return;

            case 28:
                this.cbProblemResCat = ((System.Windows.Controls.ComboBox)(target));

            #line 89 "..\..\..\Forms\ProcessingLogicForm.xaml"
                this.cbProblemResCat.KeyDown += new System.Windows.Input.KeyEventHandler(this.cbProblemResCat_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 95 "..\..\..\Forms\ProcessingLogicForm.xaml"
                this.cbDynamicAssignment.KeyDown += new System.Windows.Input.KeyEventHandler(this.cbDynamicAssignment_KeyDown);

            #line default
            #line hidden
                return;

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

            case 31:

            #line 104 "..\..\..\Forms\ProcessingLogicForm.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);

            #line default
            #line hidden
                return;

            case 32:
                this.CBExternalIRCommentType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 33:
                this.CBExternalIRCommentTypePrivate = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 34:
                this.CBExternalSRCommentType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 35:
                this.CBExternalSRCommentTypePrivate = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 36:
                this.CryptoProcessing = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.chkProcessEncryptedMessages = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 38:
                this.chkProcessDigitallySignedMessages = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid_settings = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Paramétres_grid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 14 "..\..\..\Settings.xaml"
                this.back_Menu.Click += new System.Windows.RoutedEventHandler(this.back_Menu_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.toogle_mode_archive = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 29 "..\..\..\Settings.xaml"
                this.toogle_mode_archive.Checked += new System.Windows.RoutedEventHandler(this.toogle_mode_archive_Checked);

            #line default
            #line hidden

            #line 29 "..\..\..\Settings.xaml"
                this.toogle_mode_archive.Unchecked += new System.Windows.RoutedEventHandler(this.toogle_mode_archive_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

            case 8:
                this.tooggle_envoi_notif = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 40 "..\..\..\Settings.xaml"
                this.tooggle_envoi_notif.Checked += new System.Windows.RoutedEventHandler(this.tooggle_envoi_notif_Checked);

            #line default
            #line hidden

            #line 40 "..\..\..\Settings.xaml"
                this.tooggle_envoi_notif.Unchecked += new System.Windows.RoutedEventHandler(this.tooggle_envoi_notif_Unchecked);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line 50 "..\..\..\Settings.xaml"
                this.Label_nom_utilisateur.Click += new System.Windows.RoutedEventHandler(this.Label_nom_utilisateur_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Pseudo_modification = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 16:
                this.mot_de_passe = ((System.Windows.Controls.PasswordBox)(target));

            #line 55 "..\..\..\Settings.xaml"
                this.mot_de_passe.PasswordChanged += new System.Windows.RoutedEventHandler(this.mot_de_passe_PasswordChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.mot_de_passe_Valide = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 18:
                this.mot_de_passe_Invalide = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            #line 63 "..\..\..\Settings.xaml"
                this.Confirmer_changement_Nom_utilisateur.Click += new System.Windows.RoutedEventHandler(this.Confirmer_changement_Nom_utilisateur_Click);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\..\Settings.xaml"
                this.Annuler_changement_Nom_utilisateur.Click += new System.Windows.RoutedEventHandler(this.Annuler_changement_Nom_utilisateur_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\Settings.xaml"
                this.Label_photo.Click += new System.Windows.RoutedEventHandler(this.Label_photo_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.Image_modification = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 23:
                this.default_picture = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 24:
                this.profil = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 79 "..\..\..\Settings.xaml"
                this.confirmer_upload_image.Click += new System.Windows.RoutedEventHandler(this.confirmer_upload_image_Click);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\..\Settings.xaml"
                this.upload_image.Click += new System.Windows.RoutedEventHandler(this.upload_image_Click);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\Settings.xaml"
                this.annuler_upload_image.Click += new System.Windows.RoutedEventHandler(this.annuler_upload_image_Click);

            #line default
            #line hidden
                return;

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

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

            #line 91 "..\..\..\Settings.xaml"
                this.Label_pwd.Click += new System.Windows.RoutedEventHandler(this.Label_pwd_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.mot_de_passe_modification = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 31:
                this.mot_de_passe_actuel = ((System.Windows.Controls.PasswordBox)(target));

            #line 94 "..\..\..\Settings.xaml"
                this.mot_de_passe_actuel.PasswordChanged += new System.Windows.RoutedEventHandler(this.mot_de_passe_actuel_PasswordChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.mot_de_passe_actuel_Valide = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 33:
                this.mot_de_passe_actuel_Invalide = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            case 35:
                this.mot_de_passe_nouveau_confirmation = ((System.Windows.Controls.PasswordBox)(target));

            #line 105 "..\..\..\Settings.xaml"
                this.mot_de_passe_nouveau_confirmation.PasswordChanged += new System.Windows.RoutedEventHandler(this.mot_de_passe_nouveau_confirmation_PasswordChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.mot_de_passe_nouveau_confirmation_Valide = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 37:
                this.mot_de_passe_nouveau_confirmation_Invalide = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            #line 113 "..\..\..\Settings.xaml"
                this.Confirmer_changement.Click += new System.Windows.RoutedEventHandler(this.Confirmer_changement_Click);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\..\Settings.xaml"
                this.Annuler_changement.Click += new System.Windows.RoutedEventHandler(this.Annuler_changement_Click);

            #line default
            #line hidden
                return;

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

            #line 120 "..\..\..\Settings.xaml"
                this.Label_mail.Click += new System.Windows.RoutedEventHandler(this.Label_mail_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.mdp_modification = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 43:
                this.mdp_mail = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 44:
                this.stack_mail = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 45:
                this.Confirmer_changement_mail = ((System.Windows.Controls.Button)(target));

            #line 127 "..\..\..\Settings.xaml"
                this.Confirmer_changement_mail.Click += new System.Windows.RoutedEventHandler(this.Confirmer_changement_mail_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.Annuler_changement_mail = ((System.Windows.Controls.Button)(target));

            #line 130 "..\..\..\Settings.xaml"
                this.Annuler_changement_mail.Click += new System.Windows.RoutedEventHandler(this.Annuler_changement_mail_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.remise_new = ((System.Windows.Controls.Button)(target));

            #line 138 "..\..\..\Settings.xaml"
                this.remise_new.Click += new System.Windows.RoutedEventHandler(this.remise_new_Click);

            #line default
            #line hidden
                return;

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

            #line 139 "..\..\..\Settings.xaml"
                this.Label_aide.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Label_aide_MouseDoubleClick);

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

            #line 9 "..\..\..\MainWindow.xaml"
                ((MicroChatClient.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 9 "..\..\..\MainWindow.xaml"
                ((MicroChatClient.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:

            #line 29 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 82 "..\..\..\MainWindow.xaml"
                this.txtMessage.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtMessage_KeyDown);

            #line default
            #line hidden
                return;

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

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

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

            #line 13 "..\..\MainWindow - Copy.xaml"
                ((Project_Transport.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closed);

            #line default
            #line hidden
                return;

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

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

            #line 20 "..\..\MainWindow - Copy.xaml"
                this.home.Click += new System.Windows.RoutedEventHandler(this.Home_Button_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.ribbon = ((System.Windows.Controls.Ribbon.Ribbon)(target));
                return;

            case 6:

            #line 36 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.main_page_click);

            #line default
            #line hidden
                return;

            case 7:

            #line 37 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.exit_click);

            #line default
            #line hidden
                return;

            case 8:

            #line 46 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.New_Entry_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 50 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Update_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 54 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.View_Detail_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 57 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.Report_View_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 62 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.diesel_card_entry_click);

            #line default
            #line hidden
                return;

            case 13:

            #line 65 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.diesel_card_edit_click);

            #line default
            #line hidden
                return;

            case 14:

            #line 68 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.deposit_entry_click);

            #line default
            #line hidden
                return;

            case 15:

            #line 73 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.diesel_view_click);

            #line default
            #line hidden
                return;

            case 16:

            #line 78 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.lpg_entry_click);

            #line default
            #line hidden
                return;

            case 17:

            #line 81 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.trip_update_click);

            #line default
            #line hidden
                return;

            case 18:

            #line 84 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.trip_view_click);

            #line default
            #line hidden
                return;

            case 19:

            #line 88 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.load_line_click);

            #line default
            #line hidden
                return;

            case 20:

            #line 91 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.load_update_click);

            #line default
            #line hidden
                return;

            case 21:

            #line 94 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.loads_view_click);

            #line default
            #line hidden
                return;

            case 22:

            #line 100 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.driver_new_entry_click);

            #line default
            #line hidden
                return;

            case 23:

            #line 103 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.driver_update_click);

            #line default
            #line hidden
                return;

            case 24:

            #line 106 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.driver_payment_click);

            #line default
            #line hidden
                return;

            case 25:

            #line 109 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.load_payment_click);

            #line default
            #line hidden
                return;

            case 26:

            #line 112 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.driver_view_click);

            #line default
            #line hidden
                return;

            case 27:

            #line 117 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.body_builder_panel_open);

            #line default
            #line hidden
                return;

            case 28:

            #line 120 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.electrical_panel_open);

            #line default
            #line hidden
                return;

            case 29:

            #line 123 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.trailer_tank_panel_open);

            #line default
            #line hidden
                return;

            case 30:

            #line 126 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.shop_panel_open);

            #line default
            #line hidden
                return;

            case 31:

            #line 129 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.mechanical_panel_open);

            #line default
            #line hidden
                return;

            case 32:

            #line 132 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.others_panel_open);

            #line default
            #line hidden
                return;

            case 33:

            #line 135 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.maintenance_view_panel_open);

            #line default
            #line hidden
                return;

            case 34:

            #line 142 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.lpg_tyre_entry_click);

            #line default
            #line hidden
                return;

            case 35:

            #line 145 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.load_tyre_entry_click);

            #line default
            #line hidden
                return;

            case 36:

            #line 148 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.trailer_tyre_entry_click);

            #line default
            #line hidden
                return;

            case 37:

            #line 151 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.lpg_tyre_price_click);

            #line default
            #line hidden
                return;

            case 38:

            #line 157 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.expiry_bill_open);

            #line default
            #line hidden
                return;

            case 39:

            #line 160 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.expiry_update_open);

            #line default
            #line hidden
                return;

            case 40:

            #line 163 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.expiry_bill_view_open);

            #line default
            #line hidden
                return;

            case 41:

            #line 168 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.transport_panel_open);

            #line default
            #line hidden
                return;

            case 42:

            #line 171 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.transport_name_panel_open);

            #line default
            #line hidden
                return;

            case 43:

            #line 174 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Ribbon.RibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.User_Creation_panel_open);

            #line default
            #line hidden
                return;

            case 44:
                this.LOGIN_PANEL = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 45:

            #line 179 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Label_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 46:
                this.login_panel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

            #line 199 "..\..\MainWindow - Copy.xaml"
                this.user_name_txt.GotFocus += new System.Windows.RoutedEventHandler(this.user_name_txt_GotFocus);

            #line default
            #line hidden
                return;

            case 51:
                this.user_password_txt = ((System.Windows.Controls.PasswordBox)(target));

            #line 201 "..\..\MainWindow - Copy.xaml"
                this.user_password_txt.KeyDown += new System.Windows.Input.KeyEventHandler(this.sign_in_btn_KeyDown);

            #line default
            #line hidden
                return;

            case 52:
                this.sign_in_btn = ((System.Windows.Controls.Button)(target));

            #line 202 "..\..\MainWindow - Copy.xaml"
                this.sign_in_btn.Click += new System.Windows.RoutedEventHandler(this.sign_in_btn_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.panel0 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 54:
                this.img = ((System.Windows.Controls.Image)(target));
                return;

            case 55:
                this.panel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 56:
                this.img1 = ((System.Windows.Controls.Image)(target));
                return;

            case 57:
                this.panel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 58:
                this.img2 = ((System.Windows.Controls.Image)(target));
                return;

            case 59:
                this.panel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 60:
                this.img3 = ((System.Windows.Controls.Image)(target));
                return;

            case 61:
                this.panel4 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 62:
                this.title_panel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 63:
                this.title_name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 64:

            #line 335 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.title_save_click);

            #line default
            #line hidden
                return;

            case 65:

            #line 336 "..\..\MainWindow - Copy.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Banner_Name_Change_Back_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.vehicle_panel = ((Project_Transport.Vehicle_Details)(target));
                return;

            case 67:
                this.diesel_panel = ((Project_Transport.Diesel_Card)(target));
                return;

            case 68:
                this.driver_panel = ((Project_Transport.Driver_Details)(target));
                return;

            case 69:
                this.trip_entry_panel = ((Project_Transport.Trip_Entry)(target));
                return;

            case 70:
                this.trip_update_panel = ((Project_Transport.Trip_Update)(target));
                return;

            case 71:
                this.trip_view_panel = ((Project_Transport.Trip_View)(target));
                return;

            case 72:
                this.body_expense = ((Project_Transport.Body_Maintenance)(target));
                return;

            case 73:
                this.electrician_panel = ((Project_Transport.Electrician_Maintenance)(target));
                return;

            case 74:
                this.tank_panel = ((Project_Transport.Tank_Maintenance)(target));
                return;

            case 75:
                this.shop_panel = ((Project_Transport.Shop_Expense)(target));
                return;

            case 76:
                this.mechanical_panel = ((Project_Transport.Mechanical_Expense)(target));
                return;

            case 77:
                this.other_panel = ((Project_Transport.Other_Expense)(target));
                return;

            case 78:
                this.maintenance_view_panel = ((Project_Transport.Maintenance_view)(target));
                return;

            case 79:
                this.tyre_panel = ((Project_Transport.Tyre_Maintenance)(target));
                return;

            case 80:
                this.baner = ((Project_Transport.Baner_name)(target));
                return;

            case 81:
                this.transport_list = ((Project_Transport.transport_list_Panel)(target));
                return;

            case 82:
                this.vehicle_view = ((Project_Transport.Vehicle_View)(target));
                return;

            case 83:
                this.diesel_card_view = ((Project_Transport.Diesel_Card_View)(target));
                return;

            case 84:
                this.diesel_card_deposit = ((Project_Transport.Diesel_Card_Deposit)(target));
                return;

            case 85:
                this.diesel_card_edit = ((Project_Transport.Diesel_Card_Edit)(target));
                return;

            case 86:
                this.driver_salary = ((Project_Transport.Driver_Payment)(target));
                return;

            case 87:
                this.driver_view = ((Project_Transport.Driver_View)(target));
                return;

            case 88:
                this.driver_update = ((Project_Transport.Driver_Update)(target));
                return;

            case 89:
                this.vehicle_update = ((Project_Transport.Vehicle_Update)(target));
                return;

            case 90:
                this.profit_viewer = ((Project_Transport.Profit_Viewer)(target));
                return;

            case 91:
                this.user_create = ((Project_Transport.UserCreation)(target));
                return;

            case 92:
                this.tyre_report = ((Project_Transport.tyre)(target));
                return;

            case 93:
                this.load_trailer = ((Project_Transport.Load_Trailer)(target));
                return;

            case 94:
                this.load_trailer_view = ((Project_Transport.Load_Trailer_Trip_View)(target));
                return;

            case 95:
                this.load_pay = ((Project_Transport.Load_Payment)(target));
                return;

            case 96:
                this.load_update = ((Project_Transport.Update)(target));
                return;

            case 97:
                this.trailer_tyre = ((Project_Transport.Trailer_Tyre_Entry)(target));
                return;

            case 98:
                this.load_tyre = ((Project_Transport.load_tyre)(target));
                return;

            case 99:
                this.dashboard = ((Project_Transport.Dashboard)(target));
                return;

            case 100:
                this.expiry_bill = ((Project_Transport.Expiry_bill)(target));
                return;

            case 101:
                this.expiry_bill_update = ((Project_Transport.Expiry_bill_update)(target));
                return;

            case 102:
                this.expiry_bill_view = ((Project_Transport.Expiry_view)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\Preview\FontDialogEx.xaml"
                ((KyoeiSystem.Framework.Reports.Preview.FontDialogEx)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 30 "..\..\..\Preview\FontDialogEx.xaml"
                this.lstFamilyName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstFamilyName_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 58 "..\..\..\Preview\FontDialogEx.xaml"
                this.lstTypeface.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstTypeface_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.lstFontSize = ((System.Windows.Controls.ListBox)(target));

            #line 64 "..\..\..\Preview\FontDialogEx.xaml"
                this.lstFontSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstFontSize_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 74 "..\..\..\Preview\FontDialogEx.xaml"
                this.cmbLanguage.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbLanguage_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\..\Preview\FontDialogEx.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));

            #line 110 "..\..\MainWindow.xaml"
                this.LayoutRoot.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.LayoutRootMouseLeft);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 6:
                this.ListTasks = ((System.Windows.Controls.ItemsControl)(target));
                return;

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

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

            case 10:
                this.ControlPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 155 "..\..\MainWindow.xaml"
                this.load.Click += new System.Windows.RoutedEventHandler(this.BtnLoad_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.weatherPageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

            #line 51 "..\..\..\Pages\WeatherPage.xaml"
                this.wb0.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 70 "..\..\..\Pages\WeatherPage.xaml"
                this.wb1.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 90 "..\..\..\Pages\WeatherPage.xaml"
                this.wb2.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 18:
                this.weather3 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

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

            #line 110 "..\..\..\Pages\WeatherPage.xaml"
                this.wb3.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 24:
                this.weather4 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

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

            #line 130 "..\..\..\Pages\WeatherPage.xaml"
                this.wb4.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 30:
                this.weather5 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            case 33:
                this.weatherIcon5 = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 150 "..\..\..\Pages\WeatherPage.xaml"
                this.wb5.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 36:
                this.weather6 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 37:
                this.day6 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 39:
                this.weatherIcon6 = ((System.Windows.Controls.Image)(target));
                return;

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

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

            #line 170 "..\..\..\Pages\WeatherPage.xaml"
                this.wb6.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 42:
                this.weather7 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 43:
                this.day7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.day7Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.weatherIcon7 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 47:
                this.wb7 = ((System.Windows.Controls.Button)(target));

            #line 190 "..\..\..\Pages\WeatherPage.xaml"
                this.wb7.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 48:
                this.weather8 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

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

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

            #line 210 "..\..\..\Pages\WeatherPage.xaml"
                this.wb8.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 54:
                this.weather9 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            case 57:
                this.weatherIcon9 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 59:
                this.wb9 = ((System.Windows.Controls.Button)(target));

            #line 230 "..\..\..\Pages\WeatherPage.xaml"
                this.wb9.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 60:
                this.weather10 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 61:
                this.day10 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 63:
                this.weatherIcon10 = ((System.Windows.Controls.Image)(target));
                return;

            case 64:
                this.Temp10 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.MoreDetailWeather = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 67:
                this.moreDetailDayTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.moreDetailDayText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.moreDetailNightTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.moreDetailNightText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 71:
                this.RadarTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.Loading = ((Microsoft.Samples.Kinect.ControlsBasics.Helper_Classes.LoadingControl)(target));
                return;

            case 73:
                this.RadarImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 3:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 4:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

            case 5:
                this.borderControl = ((System.Windows.Controls.Border)(target));

            #line 30 "..\..\CustomTextBox.xaml"
                this.borderControl.SizeChanged += new System.Windows.SizeChangedEventHandler(this.borderControl_SizeChanged);

            #line default
            #line hidden

            #line 30 "..\..\CustomTextBox.xaml"
                this.borderControl.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.borderControl_PreviewMouseDown);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 20:
                this.caretCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 21:
                this.caretLine = ((System.Windows.Shapes.Line)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #52
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

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

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

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

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

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

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

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

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

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

            case 11:
                this.directions = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            case 14:
                this.chart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #53
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridLayout = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.inkCanvas = ((System.Windows.Controls.InkCanvas)(target));

            #line 40 "..\..\..\..\Views\Controls\ClipWindow.xaml"
                this.inkCanvas.StrokeCollected += new System.Windows.Controls.InkCanvasStrokeCollectedEventHandler(this.inkCanvas_StrokeCollected);

            #line default
            #line hidden
                return;

            case 4:
                this.rect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.cbGeo = ((System.Windows.Media.CombinedGeometry)(target));
                return;

            case 6:
                this.rectFull = ((System.Windows.Media.RectangleGeometry)(target));
                return;

            case 7:
                this.rectClip = ((System.Windows.Media.RectangleGeometry)(target));
                return;

            case 8:
                this.bdThumb = ((System.Windows.Controls.Border)(target));
                return;

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

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

            case 11:
                this.visualBrush = ((System.Windows.Media.VisualBrush)(target));
                return;

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

            case 13:
                this.runSize0 = ((System.Windows.Documents.Run)(target));
                return;

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

            case 15:
                this.runSize = ((System.Windows.Documents.Run)(target));
                return;

            case 16:
                this.stkpMenu = ((System.Windows.Controls.StackPanel)(target));

            #line 100 "..\..\..\..\Views\Controls\ClipWindow.xaml"
                this.stkpMenu.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent, new System.Windows.RoutedEventHandler(this.stkpMenu_Click));

            #line default
            #line hidden
                return;

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

            case 18:
                this.rbtnBackout = ((System.Windows.Controls.Primitives.RepeatButton)(target));
                return;

            case 19:
                this.listSizes = ((System.Windows.Controls.ListBox)(target));

            #line 143 "..\..\..\..\Views\Controls\ClipWindow.xaml"
                this.listSizes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listSizes_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 172 "..\..\..\..\Views\Controls\ClipWindow.xaml"
                this.listColors.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listColors_SelectionChanged);

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

            #line 11 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 35 "..\..\MainWindow.xaml"
                this.loadMoreMyPlaylists.Click += new System.Windows.RoutedEventHandler(this.loadMoreMyPlaylists_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainVersion_Show = ((XMonitor_GUI.Version_Info_Show)(target));
                return;

            case 2:
                this.m_TabControl_Title = ((System.Windows.Controls.TabControl)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 36:
                this.Fifth_Tip = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.AP_CHECK = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 38:
                this.IMU_CHECK = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 39:
                this.GPS_CHECK = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 40:
                this.HUB_CHECK = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 41:
                this.MAG_CHECK = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 42:
                this.LED_CHECK = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 43:
                this.FireWare_Btn = ((System.Windows.Controls.Button)(target));

            #line 99 "..\..\..\Option\Version_Info_Show.xaml"
                this.FireWare_Btn.Click += new System.Windows.RoutedEventHandler(this.FireWare_Btn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Calc;component/scientific.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel           = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ApplicationTitle     = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.ContentPanel         = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.expButton            = ((System.Windows.Controls.Button)(this.FindName("expButton")));
     this.lparButton           = ((System.Windows.Controls.Button)(this.FindName("lparButton")));
     this.rparButton           = ((System.Windows.Controls.Button)(this.FindName("rparButton")));
     this.hyperButton          = ((System.Windows.Controls.Button)(this.FindName("hyperButton")));
     this.sinButton            = ((System.Windows.Controls.Button)(this.FindName("sinButton")));
     this.cosButton            = ((System.Windows.Controls.Button)(this.FindName("cosButton")));
     this.tanButton            = ((System.Windows.Controls.Button)(this.FindName("tanButton")));
     this.lnButton             = ((System.Windows.Controls.Button)(this.FindName("lnButton")));
     this.logButton            = ((System.Windows.Controls.Button)(this.FindName("logButton")));
     this.powerOfTenButton     = ((System.Windows.Controls.Button)(this.FindName("powerOfTenButton")));
     this.factButton           = ((System.Windows.Controls.Button)(this.FindName("factButton")));
     this.powerButton          = ((System.Windows.Controls.Button)(this.FindName("powerButton")));
     this.sqrootButton         = ((System.Windows.Controls.Button)(this.FindName("sqrootButton")));
     this.squareButton         = ((System.Windows.Controls.Button)(this.FindName("squareButton")));
     this.inverseButton        = ((System.Windows.Controls.Button)(this.FindName("inverseButton")));
     this.bclear               = ((System.Windows.Controls.Button)(this.FindName("bclear")));
     this.textblock1Scientific = ((System.Windows.Controls.TextBlock)(this.FindName("textblock1Scientific")));
     this.textbox4             = ((System.Windows.Controls.TextBox)(this.FindName("textbox4")));
     this.textbox3             = ((System.Windows.Controls.TextBox)(this.FindName("textbox3")));
     this.textbox2             = ((System.Windows.Controls.TextBox)(this.FindName("textbox2")));
     this.textbox1             = ((System.Windows.Controls.TextBox)(this.FindName("textbox1")));
     this.bAC             = ((System.Windows.Controls.Button)(this.FindName("bAC")));
     this.shiftButton     = ((System.Windows.Controls.Button)(this.FindName("shiftButton")));
     this.power10X        = ((System.Windows.Controls.TextBlock)(this.FindName("power10X")));
     this.square2         = ((System.Windows.Controls.TextBlock)(this.FindName("square2")));
     this.sqrootLine3     = ((System.Windows.Controls.TextBlock)(this.FindName("sqrootLine3")));
     this.sqrootLine2     = ((System.Windows.Controls.TextBlock)(this.FindName("sqrootLine2")));
     this.sqrootLine      = ((System.Windows.Controls.TextBlock)(this.FindName("sqrootLine")));
     this.powerX          = ((System.Windows.Controls.TextBlock)(this.FindName("powerX")));
     this.u1              = ((System.Windows.Controls.TextBlock)(this.FindName("u1")));
     this.u3              = ((System.Windows.Controls.TextBlock)(this.FindName("u3")));
     this.u5              = ((System.Windows.Controls.TextBlock)(this.FindName("u5")));
     this.u2              = ((System.Windows.Controls.TextBlock)(this.FindName("u2")));
     this.u4              = ((System.Windows.Controls.TextBlock)(this.FindName("u4")));
     this.u6              = ((System.Windows.Controls.TextBlock)(this.FindName("u6")));
     this.u8              = ((System.Windows.Controls.TextBlock)(this.FindName("u8")));
     this.u7              = ((System.Windows.Controls.TextBlock)(this.FindName("u7")));
     this.u11             = ((System.Windows.Controls.TextBlock)(this.FindName("u11")));
     this.u10             = ((System.Windows.Controls.TextBlock)(this.FindName("u10")));
     this.u9              = ((System.Windows.Controls.TextBlock)(this.FindName("u9")));
     this.u12             = ((System.Windows.Controls.TextBlock)(this.FindName("u12")));
     this.u13             = ((System.Windows.Controls.TextBlock)(this.FindName("u13")));
     this.inverseX        = ((System.Windows.Controls.TextBlock)(this.FindName("inverseX")));
     this.inverse1        = ((System.Windows.Controls.TextBlock)(this.FindName("inverse1")));
     this.bback           = ((System.Windows.Controls.Button)(this.FindName("bback")));
     this.bbackspace      = ((System.Windows.Controls.Button)(this.FindName("bbackspace")));
     this.power10X_Copy1  = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy1")));
     this.power10X_Copy2  = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy2")));
     this.power10X_Copy3  = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy3")));
     this.power10X_Copy4  = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy4")));
     this.power10X_Copy5  = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy5")));
     this.power10X_Copy6  = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy6")));
     this.power10X_Copy   = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy")));
     this.power10X_Copy8  = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy8")));
     this.power10X_Copy9  = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy9")));
     this.power10X_Copy10 = ((System.Windows.Controls.TextBlock)(this.FindName("power10X_Copy10")));
     this.inverseButton2  = ((System.Windows.Controls.Button)(this.FindName("inverseButton2")));
     this.inverse2X       = ((System.Windows.Controls.TextBlock)(this.FindName("inverse2X")));
     this.inverse21       = ((System.Windows.Controls.TextBlock)(this.FindName("inverse21")));
     this.inverse2x2      = ((System.Windows.Controls.TextBlock)(this.FindName("inverse2x2")));
 }
Пример #57
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AnchorListBox = ((ZdfFlatUI.NavigationBar)(target));
                return;

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

            case 3:
                this.scrollViewer = ((ZdfFlatUI.ZScrollViewer)(target));
                return;

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

            #line 38 "..\..\..\UITest\UCTNavigationBarTest.xaml"
                this.AnchorPointPanel.MouseEnter += new System.Windows.Input.MouseEventHandler(this.AnchorPointPanel_MouseEnter);

            #line default
            #line hidden

            #line 39 "..\..\..\UITest\UCTNavigationBarTest.xaml"
                this.AnchorPointPanel.MouseLeave += new System.Windows.Input.MouseEventHandler(this.AnchorPointPanel_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\UITest\UCTNavigationBarTest.xaml"
                this.PointInputResource.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.PointInputResource_PreviewMouseWheel);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\..\UITest\UCTNavigationBarTest.xaml"
                this.PointIncept.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.PointInputResource_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 7:
                this.PointCommand = ((System.Windows.Controls.ListBox)(target));

            #line 42 "..\..\..\UITest\UCTNavigationBarTest.xaml"
                this.PointCommand.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.PointInputResource_PreviewMouseWheel);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\UITest\UCTNavigationBarTest.xaml"
                this.PointProcess.PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.PointInputResource_PreviewMouseWheel);

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

            #line 7 "..\..\CustomPropertiesUI.xaml"
                ((SolidLCA.CustomPropertiesUI)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.GeneralDetails = ((System.Windows.Controls.Expander)(target));
                return;

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

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

            case 7:
                this.ModelProperties = ((System.Windows.Controls.Expander)(target));
                return;

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

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

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

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

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

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

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

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

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

            case 17:
                this.MatProcDetails = ((System.Windows.Controls.Expander)(target));
                return;

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

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

            case 20:
                this.WeldCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 21:
                this.AssemblyCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.PlasmaCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 24:
                this.PurchaseCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.LatheCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.DrillCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 28:
                this.RollCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 30:
                this.FinishList = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            #line 186 "..\..\CustomPropertiesUI.xaml"
                this.ApplyButton.Click += new System.Windows.RoutedEventHandler(this.ApplyButton_Click);

            #line default
            #line hidden
                return;

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

            #line 187 "..\..\CustomPropertiesUI.xaml"
                this.ResetButton.Click += new System.Windows.RoutedEventHandler(this.ResetButton_Click);

            #line default
            #line hidden
                return;

            case 34:

            #line 188 "..\..\CustomPropertiesUI.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ReadButton_Click);

            #line default
            #line hidden
                return;

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

            #line 199 "..\..\CustomPropertiesUI.xaml"
                this.SaveEcoInventFormat.Click += new System.Windows.RoutedEventHandler(this.SaveEcoInventFormat_Click);

            #line default
            #line hidden
                return;

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

            #line 200 "..\..\CustomPropertiesUI.xaml"
                this.LaunchActivityBrowser.Click += new System.Windows.RoutedEventHandler(this.LaunchActivityBrowser_Click);

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

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 14:
                this.UARTDebugStackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 23:
                this.UARTDebugStackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\MainWindow.xaml"
                this.row_counter.Click += new System.Windows.RoutedEventHandler(this.row_counter_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.col_counter.Click += new System.Windows.RoutedEventHandler(this.col_counter_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\MainWindow.xaml"
                this.checkerboard.Click += new System.Windows.RoutedEventHandler(this.checkerboard_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 32:
                this.UARTDebugStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\MainWindow.xaml"
                this.output_test_frameB.Click += new System.Windows.RoutedEventHandler(this.output_test_frameB_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 41:
                this.FPGADebugStackPanel_Copy = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 42:
                this.UARTDebugBorder1 = ((System.Windows.Controls.Border)(target));
                return;

            case 43:
                this.VerticalLinesImage = ((System.Windows.Controls.Button)(target));
                return;

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

            case 45:
                this.BlankImage = ((System.Windows.Controls.Button)(target));
                return;

            case 46:
                this.HorizontalLinesImage = ((System.Windows.Controls.Button)(target));
                return;

            case 47:
                this.HalvesImage = ((System.Windows.Controls.Button)(target));
                return;

            case 48:
                this.SingleHorizontalLineImage = ((System.Windows.Controls.Button)(target));
                return;

            case 49:
                this.CheckerboardImage = ((System.Windows.Controls.Button)(target));
                return;

            case 50:
                this.VerticalGratingImage = ((System.Windows.Controls.Button)(target));
                return;

            case 51:
                this.HorizontalGratingImage = ((System.Windows.Controls.Button)(target));
                return;

            case 52:
                this.___TabItem___Status_ = ((System.Windows.Controls.TabItem)(target));
                return;

            case 53:
                this.StatusStackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 54:
                this.StatusBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 55:
                this.ReadBufA = ((System.Windows.Controls.Button)(target));
                return;

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

            case 57:
                this.BlankImage1 = ((System.Windows.Controls.Button)(target));
                return;

            case 58:
                this.TBD = ((System.Windows.Controls.Button)(target));
                return;

            case 59:
                this.TBD1 = ((System.Windows.Controls.Button)(target));
                return;

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

            case 61:
                this.TBD3 = ((System.Windows.Controls.Button)(target));
                return;

            case 62:
                this.TBD4 = ((System.Windows.Controls.Button)(target));
                return;

            case 63:
                this.TBD5 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtCodeInput = ((System.Windows.Controls.RichTextBox)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.txtCodeInput.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtCodeInput_KeyDown);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                this.txtCodeInput.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtCodeInput_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 55 "..\..\MainWindow.xaml"
                this.bntHide.Click += new System.Windows.RoutedEventHandler(this.bntHide_Click);

            #line default
            #line hidden
                return;

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

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

            case 7:
                this.SlidePanel_lvListLayers = ((System.Windows.Controls.ListView)(target));

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

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\MainWindow.xaml"
                this.SlidePanel_txtBoxFind.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SlidePanel_txtBoxFind_TextChanged);

            #line default
            #line hidden

            #line 67 "..\..\MainWindow.xaml"
                this.SlidePanel_txtBoxFind.TextInput += new System.Windows.Input.TextCompositionEventHandler(this.SlidePanel_txtBoxFind_TextInput);

            #line default
            #line hidden
                return;

            case 9:
                this.MainScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

            case 11:
                this.scaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 12:
                this.MainCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 13:
                this.HeaderMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

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

            case 17:
                this.Grid_ToolBox = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 104 "..\..\MainWindow.xaml"
                this.lbMove.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.LbMove_PreviewMouseDown);

            #line default
            #line hidden

            #line 104 "..\..\MainWindow.xaml"
                this.lbMove.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolBox_MouseEnter);

            #line default
            #line hidden

            #line 104 "..\..\MainWindow.xaml"
                this.lbMove.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ToolBox_MouseLeave);

            #line default
            #line hidden

            #line 104 "..\..\MainWindow.xaml"
                this.lbMove.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ToolBox_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\MainWindow.xaml"
                this.lbZoomIn.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ToolBox_MouseLeave);

            #line default
            #line hidden

            #line 105 "..\..\MainWindow.xaml"
                this.lbZoomIn.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolBox_MouseEnter);

            #line default
            #line hidden

            #line 105 "..\..\MainWindow.xaml"
                this.lbZoomIn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ToolBox_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 106 "..\..\MainWindow.xaml"
                this.lbZoomOut.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolBox_MouseEnter);

            #line default
            #line hidden

            #line 106 "..\..\MainWindow.xaml"
                this.lbZoomOut.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ToolBox_MouseLeave);

            #line default
            #line hidden

            #line 106 "..\..\MainWindow.xaml"
                this.lbZoomOut.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ToolBox_MouseDown);

            #line default
            #line hidden
                return;

            case 21:
                this.lbZoomRatio = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }