示例#1
0
        public Toolstrip()
        {
            InitializeComponent();

            tb.OverflowItemAdded += (s, e) =>
            {
                if (s is C1Separator)
                {
                    var mi = new C1Separator();
                    tb.OverflowMenuItems.Add(mi);
                    ((C1Separator)s).Tag = mi;
                }
                else if (s is FrameworkElement)
                {
                    var mi = new MenuItem() { Header = ToolTipService.GetToolTip((FrameworkElement)s) };
                    tb.OverflowMenuItems.Add(mi);
                    ((FrameworkElement)s).Tag = mi;
                }
            };
            tb.OverflowItemRemoved += (s, e) =>
            {
                FrameworkElement fe = s as FrameworkElement;
                if (fe != null)
                    tb.OverflowMenuItems.Remove(fe.Tag);
            };

            img.RenderTransform = st;
            img.RenderTransformOrigin = new Point(0.5, 0.5);
        }
        ///Creating Menu Items///
        private MenuItem CreateItem(DashBoardItem item)
        {
            MenuItem menuitem = new MenuItem();
            menuitem.Header = item.Name;
            if (item.isGroup)
            {
                foreach (DashBoardItem i in item.Items)
                {
                    if (i.Name.ToLower() == "---------")
                    {
                        MenuItem mnuitem = new MenuItem();
                        mnuitem.Header = new Separator();
                        menuitem.Items.Add(mnuitem);
                        // menuitem.Items.Add(new Separator());// { Background = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0, 0)) }
                    }
                    else
                        menuitem.Items.Add(CreateItem(i));
                }
            }
            else
            {
                menuitem.Command = item.Command;
                menuitem.CommandParameter = item.CommandParameter;
            }
            return menuitem;

        }
 public NetworkContextMenu()
 {
     MenuItem item = new MenuItem {
         Header = "共有フォルダを持たないホストを非表示"
     };
     Items.Add(item);
 }
        string strFindWhat = "", strReplaceWith = ""; // strFindWhat : �˻��� ���ڿ� , strReplaceWith : �˻��� ���ڿ�

        #endregion Fields

        #region Methods

        // =======================================================================================================================
        // �޴� �ʱ�ȭ �� ������...
        void AddFindMenuItems(MenuItem itemEdit)
        {
            // Find �޴� �׸� �����...
            MenuItem itemFind = new MenuItem();                                 // itemFind �޴� �߰�
            itemFind.Header = "_Find...";                                       // Herder ����
            itemFind.Command = ApplicationCommands.Find;                        // Command�� Find ����
            itemEdit.Items.Add(itemFind);                                       // itemEdit�� itemFind �߰�
            CommandBindings.Add(new CommandBinding(
                ApplicationCommands.Find, FindOnExecute, FindCanExecute));      // FindOnExecute, FindCanExecute �̺�Ʈ ����
            // -------------------------------------------------------------------------------------------------------------------
            // Ŀ���� RoutedUICommand�� Find Next �׸��� �ʿ�
            InputGestureCollection coll = new InputGestureCollection();         // RoutedUICommand�� �߰��� coll ����
            coll.Add(new KeyGesture(Key.F3));                                   // coll�� F3 ����Ű ���
            RoutedUICommand commFindNext =
                new RoutedUICommand("Find _Next", "FindNext", GetType(), coll); // FindNext ����(text, name, type, gestures)

            MenuItem itemNext = new MenuItem();                                 // itemNext �޴� �߰�
            itemNext.Command = commFindNext;                                    // ������ ���� commFindNext ����
            itemEdit.Items.Add(itemNext);                                       // itemEdit�� itemNext �߰�
            CommandBindings.Add(
                new CommandBinding(commFindNext, FindNextOnExecute,
                                                 FindNextCanExecute));          // FindNextOnExecute, FindNextCanExecute �̺�Ʈ ����
            // -------------------------------------------------------------------------------------------------------------------
            MenuItem itemReplace = new MenuItem();                              // itemReplace �޴� �߰�
            itemReplace.Header = "_Replace...";                                 // Herder ����
            itemReplace.Command = ApplicationCommands.Replace;                  // Command�� Replace ����
            itemEdit.Items.Add(itemReplace);                                    // itemEdit�� itemReplace �߰�
            CommandBindings.Add(new CommandBinding(
                ApplicationCommands.Replace, ReplaceOnExecute, FindCanExecute));// ReplaceOnExecute, FindCanExecute �̺�Ʈ ����
        }
示例#5
0
        private void SetupContextMenu()
        {
            var ctm = new ContextMenu {Background = Brushes.DarkGray};
            var miSmall = new MenuItem();
            miSmall.Click += ChangetoSmall;
            miSmall.Header = "Small";
            miSmall.Foreground = Brushes.White;
            var miNormal = new MenuItem();
            miNormal.Click += ChangetoNormal;
            miNormal.Header = "Normal";
            miNormal.Foreground = Brushes.White;
            var miLarge = new MenuItem();
            miLarge.Click += ChangetoLarge;
            miLarge.Header = "Large";
            miLarge.Foreground = Brushes.White;
            var miChangeSize = new MenuItem
            {
                Header = "Change Size",
                Foreground = Brushes.White
            };
            miChangeSize.Items.Add(miSmall);
            miChangeSize.Items.Add(miNormal);
            miChangeSize.Items.Add(miLarge);
            ctm.Items.Add(miChangeSize);

            ContextMenu = ctm;
        }
        /// <summary>
        /// Builds the Recent Files Menu
        /// </summary>
        private void BuildOpenMenu()
        {
            // Clear existing menu items
            OpenMenu.Items.Clear();

            // MenuItem for opening files
            MenuItem openMenuItem = new MenuItem();
            openMenuItem.Header = "Open";
            openMenuItem.Command = ApplicationCommands.Open;
            OpenMenu.Items.Add(openMenuItem);

            // Add the recent files to the menu as menu items
            if (App.RecentFiles.Count > 0)
            {
                // Separator between the open menu and the recent files
                OpenMenu.Items.Add(new Separator());

                foreach (string file in App.RecentFiles)
                {
                    MenuItem item = new MenuItem();
                    item.Header = System.IO.Path.GetFileName(file);
                    item.CommandParameter = file;
                    item.Click += new RoutedEventHandler(OpenRecentFile_Click);

                    OpenMenu.Items.Add(item);
                }
            }
        }
        public TablesContextMenu(DatabaseMenuCommandParameters menuCommandParameters, ExplorerToolWindow parent)
        {
            var dcmd = new DatabaseMenuCommandsHandler(parent);

            var createTableCommandBinding = new CommandBinding(DatabaseMenuCommands.DatabaseCommand,
                            dcmd.BuildTable);
            var createTableMenuItem = new MenuItem
            {
                Header = "Build Table (beta)...",
                Icon = ImageHelper.GetImageFromResource("../resources/AddTable_5632.png"),
                Command = DatabaseMenuCommands.DatabaseCommand,
                CommandParameter = menuCommandParameters
            };
            createTableMenuItem.CommandBindings.Add(createTableCommandBinding);
            Items.Add(createTableMenuItem);
            
            Items.Add(new Separator());

            var refreshCommandBinding = new CommandBinding(DatabaseMenuCommands.DatabaseCommand,
                                                    dcmd.RefreshTables);
            var refreshMenuItem = new MenuItem
            {
                Header = "Refresh",
                Icon = ImageHelper.GetImageFromResource("../resources/refresh.png"),
                Command = DatabaseMenuCommands.DatabaseCommand,
                CommandParameter = menuCommandParameters
            };
            refreshMenuItem.CommandBindings.Add(refreshCommandBinding);
            Items.Add(refreshMenuItem);
        }
示例#8
0
        public Login()
        {
            InitializeComponent();
            if (Program.lobbyClient != null)
            {
                Program.lobbyClient.Stop();
                Program.lobbyClient = null;
            }
            Program.lobbyClient = new LobbyClient();
            Program.lobbyClient.OnDataRecieved += new LobbyClient.DataRecieved(lobbyClient_OnDataRecieved);

            SpinnerRotate.CenterX = image2.Width / 2;
            SpinnerRotate.CenterY = image2.Height / 2;
            animationTimer = new DispatcherTimer(DispatcherPriority.ContextIdle, Dispatcher);
            animationTimer.Interval = new TimeSpan(0, 0, 0, 0, 100);
            versionText.Text = string.Format("Version {0}", OctgnApp.OctgnVersion.ToString(4));
            animationTimer.Tick += HandleAnimationTick;
            string password = Registry.ReadValue("Password");
            if (password != null)
            {
                passwordBox1.Password = password.Decrypt();
                cbSavePassword.IsChecked = true;
            }
            textBox1.Text = Registry.ReadValue("E-Mail");
            #if(DEBUG)
            MenuItem m = new MenuItem();
            m.Name = "menuOldMenu";
            m.Header = "Old Menu";
            m.Click += new RoutedEventHandler(menuOldMenu_Click);
            menuOctgn.Items.Add(m);
            #endif
        }
示例#9
0
			public Item(ToolWindow window, DockSite dockSite)
			{
				Window = window;

				MenuItem = new MenuItem
				{
					Header = window.Title,
					IsCheckable = true,
					IsChecked = window.IsOpen,
					Tag = window,
					Name = "MenuItem" + window.Name,
                    HorizontalContentAlignment = HorizontalAlignment.Left,
                    VerticalContentAlignment = VerticalAlignment.Center
				};

				MenuItem.Click += UpdateToolWindow;

				if (null == dockSite)
					return;

				DockSite = dockSite;

				DockSite.WindowClosed += WindowClosed;
				DockSite.WindowOpened += WindowOpened;
			}
示例#10
0
 public override void Initialize(ContextMenuEntryContext context, MenuItem menuItem)
 {
     var tokRef = GetTokenReference(context);
     menuItem.Header = string.Format("Go to MD Table Row ({0:X8})", tokRef.Token);
     if (context.Element == MainWindow.Instance.treeView || context.Element is DecompilerTextView)
         menuItem.InputGestureText = "Shift+Alt+R";
 }
示例#11
0
        private void NameTextBox_TextChanged(object sender, TextChangedEventArgs e)//Parsing, and Creating Auotcomplete list based on user input;
        {
            (sender as TextBox).ContextMenu.IsEnabled = true;
            (sender as TextBox).ContextMenu.PlacementTarget = (sender as TextBox);
            (sender as TextBox).ContextMenu.Placement = System.Windows.Controls.Primitives.PlacementMode.Bottom;
            List<MenuItem> autoCompleteItems = new List<MenuItem>();

            if ((sender as TextBox).Text != "")
            {
                foreach (Instructor instructor in instructors)
                {
                    if (CompareForAutoComplete((sender as TextBox).Text, instructor))
                    {//Parsing input to check if it matches name or lastname of any item in the list
                        MenuItem item = new MenuItem();
                        item.Header = instructor.ToString();
                        item.Tag = instructor;
                        item.Click += item_Click;
                        autoCompleteItems.Add(item);
                    }
                    Autocomplete.Items.Clear();
                    foreach (MenuItem item in autoCompleteItems)
                    {
                        Autocomplete.Items.Add(item);
                    }
                }
                Autocomplete.StaysOpen = true;
                (sender as TextBox).ContextMenu.IsOpen = true;
            }

        }
示例#12
0
        protected void AddContextMenu()
        {
            ContextMenu mainMenu = new ContextMenu();

            MenuItem item1 = new MenuItem() { Header = "Copy to Clipboard" };
            mainMenu.Items.Add(item1);

            MenuItem item1a = new MenuItem();
            item1a.Header = "96 dpi";
            item1.Items.Add(item1a);
            item1a.Click += OnClipboardCopy_96dpi;

            MenuItem item1b = new MenuItem();
            item1b.Header = "300 dpi";
            item1.Items.Add(item1b);
            item1b.Click += OnClipboardCopy_300dpi;

            MenuItem item1c = new MenuItem() { Header = "Enhanced Metafile" }; ;
            item1.Items.Add(item1c);
            item1c.Click += CopyToEMF;

            //MenuItem item2 = new MenuItem() { Header = "Print..." };
            //mainMenu.Items.Add(item2);
            //item2.Click += InvokePrint;
            windowsFormsHost.ContextMenu = mainMenu;
        }
示例#13
0
			protected override void Initialize(ILSpyTreeNode[] nodes, MenuItem menuItem)
			{
				if (nodes.Length == 1)
					menuItem.Header = string.Format("Remove {0}", UIUtils.EscapeMenuItemHeader(nodes[0].ToString()));
				else
					menuItem.Header = string.Format("Remove {0} assemblies", nodes.Length);
			}
        //[STAThread]
        //public static void Main()
        //{
        //    Application app = new Application();
        //    app.Run(new CutCopyPaste());
        //}
        public CutCopyPaste()
        {
            Title = "Cut ,Copy,and Paste";
            //DockPanel   생성
            DockPanel dock = new DockPanel();
            Content = dock;

            //탑 메뉴가 될 Menu 생성
            Menu menu = new Menu();
            dock.Children.Add(menu);
            DockPanel.SetDock(menu, Dock.Top);

            //나머지 영역을 채울 TextBlock을 생성
            text = new TextBlock();
            text.Text = "Sample clipboard text";
            text.FontSize = 32;
            text.HorizontalAlignment = HorizontalAlignment.Center;
            text.VerticalAlignment = VerticalAlignment.Center;
            text.TextWrapping = TextWrapping.Wrap;
            dock.Children.Add(text);

            //Edit 메뉴 생성
            MenuItem itemEdit = new MenuItem();
            itemEdit.Header = "_Edit";
            itemEdit.SubmenuOpened += EditOnOpened;
            menu.Items.Add(itemEdit);

            //Edit 메뉴 항목 생성
            itemCut = new MenuItem();
            itemCut.Header = "Cu_t";
            itemCut.Click += CutOnClick;
            Image img = new Image();
            img.Source = new BitmapImage(new Uri("http://image-0.poco.cn/pic_center/img/099/0836c2fc677eb3400a0049b746a5b308_640.jpg"));
            itemCut.Icon = img;
            itemEdit.Items.Add(itemCut);

            itemCopy = new MenuItem();
            itemCopy.Header = "_Copy";
            itemCopy.Click += CopyOnClick;
            img = new Image();
            img.Source = new BitmapImage(new Uri("http://www.onegreen.net/QQ/UploadFiles/200806/200861551027277.gif"));
            itemCopy.Icon = img;
            itemEdit.Items.Add(itemCopy);

            itemPaste = new MenuItem();
            itemPaste.Header = "_Paste";
            itemPaste.Click += PasteOnClick;
            img = new Image();
            img.Source = new BitmapImage(new Uri("http://www.onegreen.net/QQ/UploadFiles/200806/200861551027422.gif"));
            itemPaste.Icon = img;
            itemEdit.Items.Add(itemPaste);

            itemDelete = new MenuItem();
            itemDelete.Header = "_Delete";
            itemDelete.Click += DeleteOnClick;
            img = new Image();
            img.Source = new BitmapImage(new Uri("http://www.onegreen.net/QQ/UploadFiles/200806/200861551027518.jpg"));
            itemDelete.Icon = img;
            itemEdit.Items.Add(itemDelete);
        }
        private void AddTrayIconWpf() {
            Application.Current.Dispatcher.Invoke(() => {
                var rhm = new MenuItem { Header = "RHM Settings", Command = RhmService.Instance.ShowSettingsCommand };
                rhm.SetBinding(UIElement.VisibilityProperty, new Binding {
                    Source = RhmService.Instance,
                    Path = new PropertyPath(nameof(RhmService.Active))
                });

                var restore = new MenuItem { Header = UiStrings.Restore };
                var close = new MenuItem { Header = UiStrings.Close };

                restore.Click += RestoreMenuItem_Click;
                close.Click += CloseMenuItem_Click;

                _icon = new TaskbarIcon {
                    Icon = AppIconService.GetTrayIcon(),
                    ToolTipText = AppStrings.Hibernate_TrayText,
                    ContextMenu = new ContextMenu {
                        Items = {
                            rhm,
                            restore,
                            new Separator(),
                            close
                        }
                    },
                    DoubleClickCommand = new DelegateCommand(WakeUp)
                };

            });
        }
        private void BuildRecentTemplates()
        {
            RecentTemplates rts = RecentTemplateManager.GetRecentTemplates(5);

            foreach(var rt in rts)
            {
                MenuItem mi = new MenuItem();
                mi.Header = rt.Name;
                mi.ToolTip = rt.Path;

                mi.Click += delegate(Object sender, RoutedEventArgs e)
                {
                    foreach (var wnd in App.Current.Windows)
                    {
                        if (wnd.GetType() == typeof(ViewWindow))
                        {
                            ViewWindow vw = (ViewWindow)wnd;

                            MenuItem m = (MenuItem)sender;
                            string path = (string)m.ToolTip;

                            vw._LoadTemplate(path);
                        }
                    }

                };

                cmMain.Items.Add(mi);
            }
        }
示例#17
0
 public void CloseAndSelect(ContextMenu menu, MenuItem menuItem)
 {
     menu.IsOpen = false;
     TabItem newCurrent = menuItem.Tag as TabItem;
     newCurrent.BringIntoView();
     newCurrent.IsSelected = true;
 }
示例#18
0
        private void initializeContextMenus()
        {
            MenuItem playItem = new MenuItem();
            playItem.Header = "Play";
            playItem.Click += PlaySongFromMenu_Click;

            Separator sep = new Separator();

            MenuItem removeItem = new MenuItem();
            removeItem.Header = "Remove";
            removeItem.Click += removeItem_Click;

            allMusicMenu = new ContextMenu();
            allMusicMenu.Items.Add(playItem);
            allMusicMenu.Items.Add(sep);
            allMusicMenu.Items.Add(removeItem);
            //playlist context menu

            MenuItem playlistPlayItem = new MenuItem();
            playlistPlayItem.Header = "Play";
            playlistPlayItem.Click += PlaySongFromMenu_Click;
            Separator Playlistsep = new Separator();

            MenuItem removeItemFromPlaylist = new MenuItem();
            removeItemFromPlaylist.Click += removeItemFromPlaylist_Click;
            removeItemFromPlaylist.Header = "Remove From Playlist";

            playlistMenu = new ContextMenu();
            playlistMenu.Items.Add(playlistPlayItem);
            playlistMenu.Items.Add(Playlistsep);
            playlistMenu.Items.Add(removeItemFromPlaylist);
        }
示例#19
0
 public void GetClickedApplicationViewModelFromContextMenuReturnsApplicationViewModel()
 {
     MenuItem testMenuItem = new MenuItem();
     var testAppViewModel = new ApplicationViewModel(LocalApplications.AppStoreApp);
     testMenuItem.DataContext = testAppViewModel;
     Assert.AreEqual(testAppViewModel, Helper.GetApplicationViewModelFromContextMenuClick(testMenuItem));
 }
示例#20
0
        public MainWindow()
        {
            InitializeComponent();
            listbox1.ItemsSource = fac;
            textblock1.Visibility = Visibility.Hidden;
            textblock2.Visibility = Visibility.Hidden;
            textblock3.Visibility = Visibility.Hidden;
            textblock4.Visibility = Visibility.Hidden;
            textbox1.Visibility = Visibility.Hidden;
            textbox2.Visibility = Visibility.Hidden;
            textbox3.Visibility = Visibility.Hidden;
            textbox4.Visibility = Visibility.Hidden;
            button1.Visibility = Visibility.Hidden;
            button2.Visibility = Visibility.Hidden;
            button3.Visibility = Visibility.Hidden;

            App.LanguageChanged += LanguageChanged;
            CultureInfo currLang = App.Language;

            menuItemLanguage.Items.Clear();
            foreach (var lang in App.Languages)
            {
                MenuItem menuLang = new MenuItem();
                menuLang.Header = lang.DisplayName;
                menuLang.Tag = lang;
                menuLang.IsChecked = lang.Equals(currLang);
                menuLang.Click += ChangeLanguageClick;
                menuItemLanguage.Items.Add(menuLang);
            }
        }
示例#21
0
		public MainWindow ()
		{
			Title = "Mono Windows Presentation Foundation utility";

			MenuItem color_finder_menu = new MenuItem ();
			color_finder_menu.Header = "_Color finder";
			color_finder_menu.Click += delegate (object sender, RoutedEventArgs e)
			{
				new ColorFinder.ColorFinderWindow ().Show ();
			};

			MenuItem visual_structure_viewer_menu = new MenuItem ();
			visual_structure_viewer_menu.Header = "_Visual structure viewer";
			visual_structure_viewer_menu.Click += delegate (object sender, RoutedEventArgs e)
			{
				new VisualStructureViewer.VisualStructureViewerWindow ().Show ();
			};

			MenuItem utilities_menu = new MenuItem ();
			utilities_menu.Header = "_Utilities";
			utilities_menu.Items.Add (color_finder_menu);
			utilities_menu.Items.Add (visual_structure_viewer_menu);

			Menu menu = new Menu ();
			menu.Items.Add (utilities_menu);

			DockPanel contents = new DockPanel ();
			contents.LastChildFill = false;
			DockPanel.SetDock (menu, Dock.Top);
			contents.Children.Add (menu);

			Content = contents;
		}
        public void InitializeList()
        {
            List<PropertyCheck> pclist = new List<PropertyCheck>();
            Type mte = typeof(MetricsTransactionsEntity);
            contextmenu1.Items.Clear();
            foreach (var prop in mte.GetProperties())
            {
                var pc = new PropertyCheck
                {
                    Name = prop.Name,
                };
                pclist.Add(pc);

                
                var item = new MenuItem
                    {
                        Header = prop.Name,
                        IsCheckable = true,
                        DataContext=pc
                    };
                item.Checked += new RoutedEventHandler(item_Checked);
                item.Unchecked += new RoutedEventHandler(item_Unchecked);
                contextmenu1.Items.Add(item);
            }
        }
示例#23
0
 private void AddLabel(TorrentLabel label)
 {
     var comboItem = new ComboBoxItem
     {
         Content = label.Name,
         Background = label.Brush,
         Foreground = label.ForegroundBrush,
         Tag = label
     };
     labelList.Items.Insert(labelList.Items.Count - 2, comboItem);
     var menuItem = new MenuItem
     {
         Header = label.Name,
         Background = label.Brush,
         Foreground = label.ForegroundBrush,
         Tag = label
     };
     menuItem.Click += setLabelOnTorrentClicked;
     torrentGridContextMenuSetLabelMenu.Items.Insert(0, menuItem);
     menuItem = new MenuItem
     {
         Header = label.Name,
         Background = label.Brush,
         Foreground = label.ForegroundBrush,
         Tag = label
     };
     menuItem.Click += setLabelOnTorrentClicked;
     menuSetLabelMenu.Items.Insert(0, menuItem);
 }
示例#24
0
        public void Loaded(ViewLoadedParams p)
        {
            if (publishViewModel == null || inviteViewModel == null)
                return;

            publishViewModel.Workspaces = p.WorkspaceModels;
            publishViewModel.CurrentWorkspaceModel = p.CurrentWorkspaceModel;

            dynamoMenu = p.dynamoMenu;
            extensionMenuItem = GenerateMenuItem();
            p.AddMenuItem(MenuBarType.File, extensionMenuItem, 11);

            manageCustomizersMenuItem = GenerateManageCustomizersMenuItem();
            p.AddMenuItem(MenuBarType.File, manageCustomizersMenuItem, 12);

            inviteMenuItem = GenerateInviteMenuItem();
            p.AddMenuItem(MenuBarType.File, inviteMenuItem, 11);

            p.AddSeparator(MenuBarType.File, separator, 14);

            p.CurrentWorkspaceChanged += (ws) =>
            {
                publishViewModel.CurrentWorkspaceModel = ws;

                var isEnabled = ws is HomeWorkspaceModel && publishModel.HasAuthProvider;
                extensionMenuItem.IsEnabled = isEnabled;
            };

        }
 public InlineLink Match(string word, Brush lBrush, IStatusUpdate oStatusUpdate)
 {
     MatchCollection mc = _matcher.Matches(word);
     if (mc.Count <= 0)
         return null;
     var cm = new ContextMenu();
     var miIgnore = new MenuItem {Header = "Globally ignore " + mc[0].Value + " hashtag", Tag = mc[0].Value};
     cm.Items.Add(miIgnore);
     var il = new InlineLink
                  {
                      Text = mc[0].Value,
                      FontSize = _textProcessorEngine.FsDefault,
                      FontFamily = _textProcessorEngine.FfDefault,
                      Foreground = lBrush,
                      ToolTip = mc[0].Value,
                      Tag = mc[0].Value,
                      HoverColour = _textProcessorEngine.BrHover,
                      NormalColour = _textProcessorEngine.BrBase,
                      ContextMenu = cm
                  };
     il.ToolTip = "Search for " + word + " in your current tweet stream";
     il.MouseLeftButtonDown +=
         (s, e) => PluginEventHandler.FireEvent("searchHashtag", oStatusUpdate, mc[0].Value);
     miIgnore.Click += (s, e) => _textProcessorEngine.GlobalExcludeSettings.Add(word);
     return il;
 }
示例#26
0
        public MainWindow(IContainer container)
        {
            InitializeComponent();
            _background = new SolidColorBrush(Color.FromRgb(0x24, 0x27, 0x28));

            //            _background =
            //                new ImageBrush(new BitmapImage(new Uri(@"Images/grid.jpg", UriKind.Relative)))
            //                {
            //                    Stretch = Stretch.None,
            //                    TileMode = TileMode.Tile,
            //                    AlignmentX = AlignmentX.Left,
            //                    AlignmentY = AlignmentY.Top,
            //                    Viewport = new Rect(0, 0, 128, 128),
            //                    ViewportUnits = BrushMappingMode.Absolute
            //                };

            Application.Current.Resources["Dunno"] = Application.Current.Resources["Dunno1"];

            var compositeNode = new CompositeNode(new NodeDispatcher("Graph Dispatcher"));// TestNodes.Test3(new NodeDispatcher("Graph Dispatcher"));
            _compositeNodeViewModel = new CompositeNodeViewModel(compositeNode, new Vector(), new ControlTypesResolver());
            MainNode.DataContext = _compositeNodeViewModel;

            var contextMenu = new ContextMenu();
            MainNode.ContextMenu = contextMenu;

            var nodeTypes = container != null ? container.ResolveNamed<IEnumerable<Type>>("NodeTypes") : Enumerable.Empty<Type>();

            foreach (var nodeType in nodeTypes)
            {
                var menuItem = new MenuItem { Header = nodeType.Name };
                menuItem.Click += (sender, args) => MenuItemOnClick(nodeType, MainNode.TranslatePosition(menuItem.TranslatePoint(new Point(), this)));
                contextMenu.Items.Add(menuItem);
            }
        }
        private void AddImageToEditPanel(string filename, BitmapImage bimage)
        {
            Image image = new Image();
            image.Margin = new Thickness(0, 5, 10, 5);
            image.MaxHeight = 150;
            image.MaxWidth = 150;
            image.Name = "QImage" + ImagesCount.ToString();
            RegisterName(image.Name, image);
            if (filename != null)
            {
                image.Source = new BitmapImage(new Uri(filename));
            }
            else
            {
                image.Source = bimage;
            }
            ContextMenu contextmenu = new ContextMenu();
            MenuItem delete = new MenuItem();
            delete.Header = "Delete";
            delete.Tag = ImagesCount.ToString();
            delete.Click += AddQRemoveImageCMClicked;
            contextmenu.Items.Add(delete);
            image.ContextMenu = contextmenu;

            ImagesStackPanel.Children.Add(image);
            ImageDictionary.Add(ImagesCount, image.Name);
            ImagesCount++;
        }
示例#28
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.topFour = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 2:
     
     #line 604 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OpenWindow);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 623 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OpenNavWindow);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#29
0
        public static void ExtendWithContextMenu(this TextEditor rtb)
        {
            ContextMenu ctx = new ContextMenu();

            MenuItem cut = new MenuItem();
            cut.Header = "Cut";
            cut.Click += (sender, e) => rtb.Cut();

            MenuItem copy = new MenuItem();
            copy.Header = "Copy";
            copy.Click += (sender, e) => rtb.Copy();

            MenuItem paste = new MenuItem();
            paste.Header = "Paste";
            paste.Click += (sender, e) => rtb.Paste();

            ctx.Items.Add(cut);
            ctx.Items.Add(copy);
            ctx.Items.Add(paste);

            rtb.ContextMenu = ctx;

            ctx.Opened +=
                (sender, e) =>
                {
                    bool noSelectedText = string.IsNullOrEmpty(rtb.SelectedText);

                    cut.IsEnabled = !noSelectedText;
                    copy.IsEnabled = !noSelectedText;

                    bool noClipboardText = string.IsNullOrEmpty(Clipboard.GetText());

                    paste.IsEnabled = !noClipboardText;
                };
        }
示例#30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\Window1.xaml"
                ((WPFCalculator.Window1)(target)).TextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnWindowKeyDown);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 3:

            #line 15 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnMenuExit);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\Window1.xaml"
                this.StandardMenu.Click += new System.Windows.RoutedEventHandler(this.OnMenuStandard);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

            #line 21 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OnMenuAbout);

            #line default
            #line hidden
                return;

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

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

            #line 87 "..\..\Window1.xaml"
                this.B7.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 88 "..\..\Window1.xaml"
                this.B8.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 89 "..\..\Window1.xaml"
                this.B9.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\Window1.xaml"
                this.B4.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\Window1.xaml"
                this.B5.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\Window1.xaml"
                this.B6.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 96 "..\..\Window1.xaml"
                this.B1.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 97 "..\..\Window1.xaml"
                this.B2.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 98 "..\..\Window1.xaml"
                this.B3.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 100 "..\..\Window1.xaml"
                this.B0.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\Window1.xaml"
                this.BPeriod.Click += new System.Windows.RoutedEventHandler(this.DigitBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\Window1.xaml"
                this.BPM.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\Window1.xaml"
                this.BDevide.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 106 "..\..\Window1.xaml"
                this.BMultiply.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\Window1.xaml"
                this.BMinus.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\Window1.xaml"
                this.BPlus.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\Window1.xaml"
                this.BSqrt.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\Window1.xaml"
                this.BPercent.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 114 "..\..\Window1.xaml"
                this.BOneOver.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\Window1.xaml"
                this.BEqual.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 118 "..\..\Window1.xaml"
                this.BC.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\Window1.xaml"
                this.BCE.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 122 "..\..\Window1.xaml"
                this.BMemClear.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 123 "..\..\Window1.xaml"
                this.BMemRecall.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 124 "..\..\Window1.xaml"
                this.BMemSave.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 125 "..\..\Window1.xaml"
                this.BMemPlus.Click += new System.Windows.RoutedEventHandler(this.OperBtn_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.BMemBox = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FileExit = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 3:
                this.OSC1_CB = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            case 11:
                this.Osc2Silider = ((System.Windows.Controls.Slider)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.Osc2Silider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Osc2Silider_ValueChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 16 "..\..\MainWindow.xaml"
                this.report_Menu_Btn.ToolTipOpening += new System.Windows.Controls.ToolTipEventHandler(this.SetTooltipReport);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:
                this.DescriptionTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

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

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

            #line 32 "..\..\MainWindow.xaml"
                this.confirmTitle.Checked += new System.Windows.RoutedEventHandler(this.ConfirmTitle_Checked);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.confirmDescription.Checked += new System.Windows.RoutedEventHandler(this.ConfirmDescription_Checked);

            #line default
            #line hidden
                return;

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

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

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

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

            case 17:
                this.confirmAddress = ((System.Windows.Controls.CheckBox)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.confirmAddress.Checked += new System.Windows.RoutedEventHandler(this.ConfirmAddress_Checked);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\MainWindow.xaml"
                this.furnished.Checked += new System.Windows.RoutedEventHandler(this.Furnished_Checked);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\MainWindow.xaml"
                this.unfurnished.Checked += new System.Windows.RoutedEventHandler(this.Unfurnished_Checked);

            #line default
            #line hidden
                return;

            case 20:
                this.confirmFurnishState = ((System.Windows.Controls.CheckBox)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.confirmFurnishState.Checked += new System.Windows.RoutedEventHandler(this.ConfirmFurnishState_Checked);

            #line default
            #line hidden
                return;

            case 21:
                this.gasHeating = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.electricHeating = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 24:
                this.hmoLicence = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 25:
                this.confirmHmoState = ((System.Windows.Controls.CheckBox)(target));

            #line 69 "..\..\MainWindow.xaml"
                this.confirmHmoState.Checked += new System.Windows.RoutedEventHandler(this.ConfirmHmoState_Checked);

            #line default
            #line hidden
                return;

            case 26:
                this.DateAvailablePick = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 72 "..\..\MainWindow.xaml"
                this.ConfirmDate.Checked += new System.Windows.RoutedEventHandler(this.ConfirmDate_Checked);

            #line default
            #line hidden
                return;

            case 28:
                this.RatingsTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 29:
                this.taxBands = ((System.Windows.Controls.ListBox)(target));
                return;

            case 30:
                this.confirmTaxBand = ((System.Windows.Controls.CheckBox)(target));

            #line 101 "..\..\MainWindow.xaml"
                this.confirmTaxBand.Checked += new System.Windows.RoutedEventHandler(this.ConfirmTaxBand_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 113 "..\..\MainWindow.xaml"
                this.confirmEnergyRating.Checked += new System.Windows.RoutedEventHandler(this.ConfirmEnergyRating_Checked);

            #line default
            #line hidden
                return;

            case 33:
                this.PricingTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

            case 36:
                this.confirmRentValue = ((System.Windows.Controls.CheckBox)(target));

            #line 125 "..\..\MainWindow.xaml"
                this.confirmRentValue.Checked += new System.Windows.RoutedEventHandler(this.ConfirmRentValue_Checked);

            #line default
            #line hidden
                return;

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

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

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

            #line 131 "..\..\MainWindow.xaml"
                this.confirmDepositValue.Checked += new System.Windows.RoutedEventHandler(this.ConfirmDepositValue_Checked);

            #line default
            #line hidden
                return;

            case 40:
                this.LandlordTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.landlordRegTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 142 "..\..\MainWindow.xaml"
                this.confirmLandlordRegNum.Checked += new System.Windows.RoutedEventHandler(this.ConfirmLandlordRegNum_Checked);

            #line default
            #line hidden
                return;

            case 44:
                this.landlordNameTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 46:
                this.confirmLandlordName = ((System.Windows.Controls.CheckBox)(target));

            #line 147 "..\..\MainWindow.xaml"
                this.confirmLandlordName.Checked += new System.Windows.RoutedEventHandler(this.ConfirmLandlordName_Checked);

            #line default
            #line hidden
                return;

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

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

            case 49:
                this.confirmLandlordTelNum = ((System.Windows.Controls.CheckBox)(target));

            #line 152 "..\..\MainWindow.xaml"
                this.confirmLandlordTelNum.Checked += new System.Windows.RoutedEventHandler(this.ConfirmLandlordTelNum_Checked);

            #line default
            #line hidden
                return;

            case 50:
                this.ImagesTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 51:
                this.btnOpen = ((System.Windows.Controls.Button)(target));

            #line 162 "..\..\MainWindow.xaml"
                this.btnOpen.Click += new System.Windows.RoutedEventHandler(this.Image_load_BtnOpen_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.txtPath = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 165 "..\..\MainWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.Image_Save_BtnSave_Click);

            #line default
            #line hidden
                return;

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

            case 55:
                this.imgCounterText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 56:
                this.PreviewTab = ((System.Windows.Controls.TabItem)(target));

            #line 176 "..\..\MainWindow.xaml"
                this.PreviewTab.GotFocus += new System.Windows.RoutedEventHandler(this.PreviewTab_GotFocus);

            #line default
            #line hidden
                return;

            case 57:
                this.PreviewProperty = ((System.Windows.Controls.Button)(target));
                return;

            case 58:
                this.submitBtn = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 59:
                this.PreviewProp = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 22 "..\..\MainWindow.xaml"
                ((Novartis.Msi.MSImageView.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden

            #line 22 "..\..\MainWindow.xaml"
                ((Novartis.Msi.MSImageView.MainWindow)(target)).Closed += new System.EventHandler(this.WindowClosed);

            #line default
            #line hidden

            #line 22 "..\..\MainWindow.xaml"
                ((Novartis.Msi.MSImageView.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 22 "..\..\MainWindow.xaml"
                ((Novartis.Msi.MSImageView.MainWindow)(target)).Initialized += new System.EventHandler(this.WindowInitialized);

            #line default
            #line hidden
                return;

            case 2:

            #line 26 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdOpen);

            #line default
            #line hidden
                return;

            case 3:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdSaveAs);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CanExecuteCmdSaveAs);

            #line default
            #line hidden
                return;

            case 4:

            #line 28 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdExit);

            #line default
            #line hidden
                return;

            case 5:

            #line 29 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdAbout);

            #line default
            #line hidden
                return;

            case 6:

            #line 30 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdToggleToolTips);

            #line default
            #line hidden
                return;

            case 7:

            #line 31 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdUseApproximation);

            #line default
            #line hidden
                return;

            case 8:

            #line 32 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdNewRoi);

            #line default
            #line hidden
                return;

            case 9:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdOpenRoi);

            #line default
            #line hidden
                return;

            case 10:

            #line 34 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdSaveRoi);

            #line default
            #line hidden
                return;

            case 11:

            #line 35 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdSaveRoiAs);

            #line default
            #line hidden
                return;

            case 12:

            #line 36 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnCmdCloseRoi);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 78 "..\..\MainWindow.xaml"
                this.ViewIntensityGraph.Click += new System.Windows.RoutedEventHandler(this.ViewIntensityGraphClick);

            #line default
            #line hidden
                return;

            case 28:
                this.SettingsMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 29:
                this.UseApproximation = ((System.Windows.Controls.MenuItem)(target));
                return;

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

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

            case 32:
                this.toolBarTray = ((System.Windows.Controls.ToolBarTray)(target));
                return;

            case 33:
                this.tbFile = ((System.Windows.Controls.ToolBar)(target));
                return;

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

            #line 92 "..\..\MainWindow.xaml"
                this.tbbOpen.Click += new System.Windows.RoutedEventHandler(this.OnCmdOpen);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\MainWindow.xaml"
                this.dockingManager.ActiveContentChanged += new System.EventHandler(this.DockingManagerActiveContentChanged);

            #line default
            #line hidden

            #line 102 "..\..\MainWindow.xaml"
                this.dockingManager.ActiveDocumentChanged += new System.EventHandler(this.DockingManagerActiveDocumentChanged);

            #line default
            #line hidden

            #line 102 "..\..\MainWindow.xaml"
                this.dockingManager.DocumentClosed += new System.EventHandler(this.DockingManagerDocumentClosed);

            #line default
            #line hidden

            #line 102 "..\..\MainWindow.xaml"
                this.dockingManager.DocumentClosing += new System.EventHandler <System.ComponentModel.CancelEventArgs>(this.DockingManagerDocumentClosing);

            #line default
            #line hidden
                return;

            case 37:
                this.resizingPane = ((AvalonDock.ResizingPanel)(target));
                return;

            case 38:
                this.documentPane = ((AvalonDock.DocumentPane)(target));
                return;

            case 39:
                this.dockablePane = ((AvalonDock.DockablePane)(target));
                return;

            case 40:
                this.imagePropsContent = ((Novartis.Msi.MSImageView.ImagePropsContent)(target));
                return;

            case 41:
                this.roiProjectWindow = ((Novartis.Msi.MSImageView.RoiProjectWindow)(target));
                return;

            case 42:
                this.metaContent = ((Novartis.Msi.MSImageView.MetaContent)(target));
                return;

            case 43:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 44:
                this.coordinatesLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

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

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

            case 50:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#34
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\BTFTranslatorMain.xaml"
     ((BTF.BTFTranslator)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Loade);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 14 "..\..\..\BTFTranslatorMain.xaml"
     ((System.Windows.Controls.DockPanel)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.rectangle2_MouseDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.BTF = ((System.Windows.Controls.Border)(target));
     return;
     case 4:
     this.menus = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 5:
     
     #line 24 "..\..\..\BTFTranslatorMain.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Load);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 25 "..\..\..\BTFTranslatorMain.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Save);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 26 "..\..\..\BTFTranslatorMain.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OtherNameSave);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 33 "..\..\..\BTFTranslatorMain.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.closethis);
     
     #line default
     #line hidden
     return;
     case 9:
     this.LineNum = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.comboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 11:
     this.CodeInput = ((System.Windows.Controls.RichTextBox)(target));
     
     #line 54 "..\..\..\BTFTranslatorMain.xaml"
     this.CodeInput.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textChanged);
     
     #line default
     #line hidden
     
     #line 54 "..\..\..\BTFTranslatorMain.xaml"
     this.CodeInput.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.RichTextBox_ScrollC));
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 59 "..\..\..\BTFTranslatorMain.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PasteEvent);
     
     #line default
     #line hidden
     return;
     case 13:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.CodeOutput = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 15:
     this.Lineinfo = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.번역 = ((System.Windows.Controls.Button)(target));
     
     #line 78 "..\..\..\BTFTranslatorMain.xaml"
     this.번역.Click += new System.Windows.RoutedEventHandler(this.번역_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.번역_Copy = ((System.Windows.Controls.Button)(target));
     
     #line 79 "..\..\..\BTFTranslatorMain.xaml"
     this.번역_Copy.Click += new System.Windows.RoutedEventHandler(this.번역_Copy_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.LineNumLabel = ((System.Windows.Controls.RichTextBox)(target));
     
     #line 80 "..\..\..\BTFTranslatorMain.xaml"
     this.LineNumLabel.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.RichTextBox_ScrollC));
     
     #line default
     #line hidden
     return;
     case 19:
     this.EXEoutput = ((System.Windows.Controls.Button)(target));
     
     #line 90 "..\..\..\BTFTranslatorMain.xaml"
     this.EXEoutput.Click += new System.Windows.RoutedEventHandler(this.exeOutput);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\MainWindow.xaml"
                ((Graphviz4Net.WPF.Example.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.DataWindow_Closing);

            #line default
            #line hidden

            #line 14 "..\..\..\MainWindow.xaml"
                ((Graphviz4Net.WPF.Example.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 14 "..\..\..\MainWindow.xaml"
                ((Graphviz4Net.WPF.Example.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden
                return;

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

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

            case 7:
                this.toggleACLight = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 299 "..\..\..\MainWindow.xaml"
                this.toggleACLight.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);

            #line default
            #line hidden

            #line 299 "..\..\..\MainWindow.xaml"
                this.toggleACLight.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_UnChecked);

            #line default
            #line hidden
                return;

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

            case 9:
                this.toggleSkeleton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 334 "..\..\..\MainWindow.xaml"
                this.toggleSkeleton.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);

            #line default
            #line hidden

            #line 334 "..\..\..\MainWindow.xaml"
                this.toggleSkeleton.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_UnChecked);

            #line default
            #line hidden
                return;

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

            case 11:
                this.toggleSIDHistory = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 359 "..\..\..\MainWindow.xaml"
                this.toggleSIDHistory.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);

            #line default
            #line hidden

            #line 359 "..\..\..\MainWindow.xaml"
                this.toggleSIDHistory.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_UnChecked);

            #line default
            #line hidden
                return;

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

            case 13:
                this.toggleRisky = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 384 "..\..\..\MainWindow.xaml"
                this.toggleRisky.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);

            #line default
            #line hidden

            #line 384 "..\..\..\MainWindow.xaml"
                this.toggleRisky.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_UnChecked);

            #line default
            #line hidden
                return;

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

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

            #line 409 "..\..\..\MainWindow.xaml"
                this.toggleMystique.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_Checked);

            #line default
            #line hidden

            #line 409 "..\..\..\MainWindow.xaml"
                this.toggleMystique.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_UnChecked);

            #line default
            #line hidden
                return;

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

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

            #line 434 "..\..\..\MainWindow.xaml"
                this.LaunchZbang.Click += new System.Windows.RoutedEventHandler(this.launchPowershellButton_clicked);

            #line default
            #line hidden
                return;

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

            #line 435 "..\..\..\MainWindow.xaml"
                this.Launch.Click += new System.Windows.RoutedEventHandler(this.launchButton_clicked);

            #line default
            #line hidden
                return;

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

            #line 436 "..\..\..\MainWindow.xaml"
                this.ExportButton.Click += new System.Windows.RoutedEventHandler(this.Export_clicked);

            #line default
            #line hidden
                return;

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

            #line 437 "..\..\..\MainWindow.xaml"
                this.ImportButton.Click += new System.Windows.RoutedEventHandler(this.Import_clicked);

            #line default
            #line hidden
                return;

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

            case 22:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));

            #line 472 "..\..\..\MainWindow.xaml"
                this.tabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.ACLLight = ((System.Windows.Controls.TabItem)(target));

            #line 479 "..\..\..\MainWindow.xaml"
                this.ACLLight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.tabItemACL_Clicked);

            #line default
            #line hidden
                return;

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

            case 25:
                this.SkeletonItem = ((System.Windows.Controls.TabItem)(target));

            #line 487 "..\..\..\MainWindow.xaml"
                this.SkeletonItem.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.tabItemSkeleton_Clicked);

            #line default
            #line hidden
                return;

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

            case 27:
                this.SIDHistoryItem = ((System.Windows.Controls.TabItem)(target));

            #line 496 "..\..\..\MainWindow.xaml"
                this.SIDHistoryItem.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.tabItemSID_Clicked);

            #line default
            #line hidden
                return;

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

            case 29:
                this.SPNItem = ((System.Windows.Controls.TabItem)(target));

            #line 505 "..\..\..\MainWindow.xaml"
                this.SPNItem.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.tabItemSPN_Clicked);

            #line default
            #line hidden
                return;

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

            case 31:
                this.MystiqueItem = ((System.Windows.Controls.TabItem)(target));

            #line 513 "..\..\..\MainWindow.xaml"
                this.MystiqueItem.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.tabItemMystique_Clicked);

            #line default
            #line hidden
                return;

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

            case 33:
                this.zoomControl = ((WPFExtensions.Controls.ZoomControl)(target));
                return;

            case 34:
                this.showmach = ((System.Windows.Controls.MenuItem)(target));

            #line 534 "..\..\..\MainWindow.xaml"
                this.showmach.Click += new System.Windows.RoutedEventHandler(this.menuShowMachines);

            #line default
            #line hidden
                return;

            case 35:

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

            #line default
            #line hidden
                return;

            case 36:
                this.GraphLayout = ((Graphviz4Net.WPF.GraphLayout)(target));

            #line 545 "..\..\..\MainWindow.xaml"
                this.GraphLayout.OnLayoutUpdated += new System.EventHandler <System.EventArgs>(this.OnGraphLayoutUpdated);

            #line default
            #line hidden
                return;

            case 37:
                this.showmach2 = ((System.Windows.Controls.MenuItem)(target));

            #line 548 "..\..\..\MainWindow.xaml"
                this.showmach2.Click += new System.Windows.RoutedEventHandler(this.menuShowMachines);

            #line default
            #line hidden
                return;

            case 38:

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

            #line default
            #line hidden
                return;

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

            #line 568 "..\..\..\MainWindow.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.GoBackButton);

            #line default
            #line hidden
                return;

            case 40:
                this.imgArrowLeft = ((System.Windows.Controls.Image)(target));
                return;

            case 41:
                this.PleaseWaitText = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 43:
                this.rtbACL = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

            #line 593 "..\..\..\MainWindow.xaml"
                this.exportButt.Click += new System.Windows.RoutedEventHandler(this.Export_clicked);

            #line default
            #line hidden
                return;

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

            #line 594 "..\..\..\MainWindow.xaml"
                this.Help.Click += new System.Windows.RoutedEventHandler(this.helpButton_clicked);

            #line default
            #line hidden
                return;

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

            #line 601 "..\..\..\MainWindow.xaml"
                this.relaunchButt.Click += new System.Windows.RoutedEventHandler(this.relaunch_clicked);

            #line default
            #line hidden
                return;

            case 47:
                this.popupPicture = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 48:
                this.theTransform = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 49:
                this.imgPopup = ((System.Windows.Controls.Image)(target));
                return;

            case 50:
                this.lblCursorPosition = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                ((XERP.Client.WPF.ExecutableProgramMaintenance.Views.TypeMaintenanceView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                ((XERP.Client.WPF.ExecutableProgramMaintenance.Views.TypeMaintenanceView)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.UserControl_PreviewKeyUp);

            #line default
            #line hidden
                return;

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

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

            #line 44 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                this.mnuSave.Click += new System.Windows.RoutedEventHandler(this.SaveMenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 108 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveMenuItem_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 110 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveMenuItem_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.tabDetail = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

            case 10:
                this.tabList = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 284 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                this.dgMain.Initialized += new System.EventHandler(this.DataGrid_Initialized);

            #line default
            #line hidden

            #line 285 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                this.dgMain.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.dgMain_PreviewKeyUp);

            #line default
            #line hidden

            #line 285 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                this.dgMain.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgMain_SelectionChanged);

            #line default
            #line hidden

            #line 286 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                this.dgMain.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.dgMain_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 292 "..\..\..\..\Views\TypeMaintenanceView.xaml"
                this.dgMainPasteRow.Click += new System.Windows.RoutedEventHandler(this.dgMainPasteRow_Click);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\StudentsWindow.xaml"
                ((StudentsBase.StudentsWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden

            #line 14 "..\..\StudentsWindow.xaml"
                ((StudentsBase.StudentsWindow)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\StudentsWindow.xaml"
                this.newButton.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

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

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

            #line 34 "..\..\StudentsWindow.xaml"
                this.openButton.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

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

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

            #line 43 "..\..\StudentsWindow.xaml"
                this.saveButton.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

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

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

            #line 52 "..\..\StudentsWindow.xaml"
                this.exitButton.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_5);

            #line default
            #line hidden
                return;

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

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

            #line 62 "..\..\StudentsWindow.xaml"
                this.runButton.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);

            #line default
            #line hidden
                return;

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

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

            #line 71 "..\..\StudentsWindow.xaml"
                this.openPlMenuButton.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_4);

            #line default
            #line hidden
                return;

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

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

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

            #line 104 "..\..\StudentsWindow.xaml"
                this.NameBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NameBox_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\StudentsWindow.xaml"
                this.SurnameBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.SurnameBox_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 125 "..\..\StudentsWindow.xaml"
                this.Middlename.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Middlename_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 135 "..\..\StudentsWindow.xaml"
                this.YearBox.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.YearBox_PreviewTextInput);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 181 "..\..\StudentsWindow.xaml"
                this.Table.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Table_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

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

            #line 210 "..\..\StudentsWindow.xaml"
                this.Delete_Mark.Click += new System.Windows.RoutedEventHandler(this.Button_Click_7);

            #line default
            #line hidden
                return;

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

            #line 220 "..\..\StudentsWindow.xaml"
                this.Clear_Field.Click += new System.Windows.RoutedEventHandler(this.Button_Click_6);

            #line default
            #line hidden
                return;

            case 28:
                this.List = ((System.Windows.Controls.ListView)(target));

            #line 226 "..\..\StudentsWindow.xaml"
                this.List.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.List_MouseDoubleClick);

            #line default
            #line hidden

            #line 227 "..\..\StudentsWindow.xaml"
                this.List.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.List_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 228 "..\..\StudentsWindow.xaml"
                this.List.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.List_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 262 "..\..\StudentsWindow.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

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

            #line 271 "..\..\StudentsWindow.xaml"
                this.SortButton.Click += new System.Windows.RoutedEventHandler(this.SortButton_Click);

            #line default
            #line hidden
                return;

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

            #line 280 "..\..\StudentsWindow.xaml"
                this.GroupButton.Click += new System.Windows.RoutedEventHandler(this.GroupButton_Click);

            #line default
            #line hidden
                return;

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

            #line 289 "..\..\StudentsWindow.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

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

            #line 299 "..\..\StudentsWindow.xaml"
                this.ChangeButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

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

            #line 318 "..\..\StudentsWindow.xaml"
                this.SearchField.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.SearchField_PreviewKeyUp);

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

            #line 23 "..\..\MainWindow.xaml"
                this.lst_tasks.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lst_tasks_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.btn_sendTask.Click += new System.Windows.RoutedEventHandler(this.btn_sendTask_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MainWindow.xaml"
                this.mi_quit.Click += new System.Windows.RoutedEventHandler(this.mi_quit_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\MainWindow.xaml"
                this.btn_sendStart.Click += new System.Windows.RoutedEventHandler(this.btn_sendStart_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.lst_taskResults = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#39
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Order = ((System.Windows.Controls.MenuItem)(target));

            #line 7 "..\..\..\ClientFunctions\Client Main.xaml"
                this.Order.Click += new System.Windows.RoutedEventHandler(this.OrderButton_Click);

            #line default
            #line hidden
                return;

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

            #line 8 "..\..\..\ClientFunctions\Client Main.xaml"
                this.SeeMyOrders.Click += new System.Windows.RoutedEventHandler(this.SeeMyOrders_Click);

            #line default
            #line hidden
                return;

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

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

            #line 10 "..\..\..\ClientFunctions\Client Main.xaml"
                this.ExitToMainMenu.Click += new System.Windows.RoutedEventHandler(this.ExitToMainMenu_Click);

            #line default
            #line hidden
                return;

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

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

            #line 13 "..\..\..\ClientFunctions\Client Main.xaml"
                this.OrderButton.Click += new System.Windows.RoutedEventHandler(this.OrderButton_Click);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\..\ClientFunctions\Client Main.xaml"
                this.SeeMyButton.Click += new System.Windows.RoutedEventHandler(this.SeeMyButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.CancelButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#40
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TrayIcon = ((SimulaDesign.ClientTray.TaskbarIcon)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.TrayIcon.TrayMouseDoubleClick += new System.Windows.RoutedEventHandler(this.TrayIcon_OnTrayMouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\MainWindow.xaml"
                this.AutoLogin.Click += new System.Windows.RoutedEventHandler(this.AutoLogin_OnClick);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 131 "..\..\MainWindow.xaml"
                this.Switch.Click += new System.Windows.RoutedEventHandler(this.Switch_OnClick);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\MainWindow.xaml"
                this.ExitApp.Click += new System.Windows.RoutedEventHandler(this.ExitApp_OnClick);

            #line default
            #line hidden
                return;

            case 7:
                this.BtnClose = ((SimulaDesign.WPFCustomUI.Controls.WindowButton)(target));

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

            #line default
            #line hidden
                return;

            case 8:
                this.BtnMaxOrNor = ((SimulaDesign.WPFCustomUI.Controls.WindowButton)(target));

            #line 213 "..\..\MainWindow.xaml"
                this.BtnMaxOrNor.Click += new System.Windows.RoutedEventHandler(this.BtnMaxWin);

            #line default
            #line hidden
                return;

            case 9:

            #line 230 "..\..\MainWindow.xaml"
                ((SimulaDesign.WPFCustomUI.Controls.WindowButton)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnMinWin);

            #line default
            #line hidden
                return;

            case 10:
                this.AecTabControl = ((SimulaDesign.WPFCustomUI.Controls.ImgTabControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MenuItemExit = ((System.Windows.Controls.MenuItem)(target));

            #line 20 "..\..\Transaction.xaml"
                this.MenuItemExit.Click += new System.Windows.RoutedEventHandler(this.MenuItemExit_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 45 "..\..\Transaction.xaml"
                this.MenueItemCalendar.Click += new System.Windows.RoutedEventHandler(this.MenueItemCalendar_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\Transaction.xaml"
                this.MenueItemCalculator.Click += new System.Windows.RoutedEventHandler(this.MenueItemCalculator_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 57 "..\..\Transaction.xaml"
                this.CbFromAccount.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbFromAccount_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 62 "..\..\Transaction.xaml"
                this.BtnTransactionDeposit.Click += new System.Windows.RoutedEventHandler(this.BtnTransactionDeposit_Click);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\Transaction.xaml"
                this.BtnTransactionWithdraw.Click += new System.Windows.RoutedEventHandler(this.BtnTransactionWithdraw_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.RbToYourAccount = ((System.Windows.Controls.RadioButton)(target));

            #line 64 "..\..\Transaction.xaml"
                this.RbToYourAccount.Checked += new System.Windows.RoutedEventHandler(this.RbToYourAccount_Checked);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\Transaction.xaml"
                this.CbToAccount.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbToAccount_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 18:
                this.RbToOtherUserAccount = ((System.Windows.Controls.RadioButton)(target));

            #line 69 "..\..\Transaction.xaml"
                this.RbToOtherUserAccount.Checked += new System.Windows.RoutedEventHandler(this.RbToOtherUserAccount_Checked);

            #line default
            #line hidden
                return;

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

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

            #line 72 "..\..\Transaction.xaml"
                this.BtnTransactionCancel.Click += new System.Windows.RoutedEventHandler(this.BtnTransactionCancel_Click);

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\Transaction.xaml"
                this.BtnTransactionTransfer.Click += new System.Windows.RoutedEventHandler(this.BtnTransactionTransfer_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.LvTransaction = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
                this.GridContainer = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:

            #line 87 "..\..\Sudoku.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuNewGame_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 88 "..\..\Sudoku.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuNewGame_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 89 "..\..\Sudoku.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuNewGame_Click);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\Sudoku.xaml"
                this.MenuSave.Click += new System.Windows.RoutedEventHandler(this.MenuSave_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 96 "..\..\Sudoku.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuLoad_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 101 "..\..\Sudoku.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuExit_Click);

            #line default
            #line hidden
                return;

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

            #line 107 "..\..\Sudoku.xaml"
                this.MenuStatistics.Click += new System.Windows.RoutedEventHandler(this.MenuStatistics_Click);

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\Sudoku.xaml"
                this.MenuSolve.Click += new System.Windows.RoutedEventHandler(this.BtnSolve_Click);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\Sudoku.xaml"
                this.MenuUndo.Click += new System.Windows.RoutedEventHandler(this.BtnUndo_Click);

            #line default
            #line hidden
                return;

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

            #line 110 "..\..\Sudoku.xaml"
                this.MenuRedo.Click += new System.Windows.RoutedEventHandler(this.BtnRedo_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 41:
                this.TxtX8Y2 = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

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

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

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

            case 49:
                this.TxtX2Y4 = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 52:
                this.TxtX3Y4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 53:
                this.TxtX3Y5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 54:
                this.TxtX4Y3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 55:
                this.TxtX4Y4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 56:
                this.TxtX4Y5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 57:
                this.TxtX5Y3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 58:
                this.TxtX5Y4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 59:
                this.TxtX5Y5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 60:
                this.TxtX6Y3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 61:
                this.TxtX6Y4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 62:
                this.TxtX6Y5 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 64:
                this.TxtX7Y4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 65:
                this.TxtX7Y5 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 67:
                this.TxtX8Y4 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 68:
                this.TxtX8Y5 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 69:
                this.TxtX0Y6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 70:
                this.TxtX0Y7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 71:
                this.TxtX0Y8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 72:
                this.TxtX1Y6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 73:
                this.TxtX1Y7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 74:
                this.TxtX1Y8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 75:
                this.TxtX2Y6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 76:
                this.TxtX2Y7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 77:
                this.TxtX2Y8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 78:
                this.TxtX3Y6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 79:
                this.TxtX3Y7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 80:
                this.TxtX3Y8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 81:
                this.TxtX4Y6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 82:
                this.TxtX4Y7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 83:
                this.TxtX4Y8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 84:
                this.TxtX5Y6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 85:
                this.TxtX5Y7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 86:
                this.TxtX5Y8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 87:
                this.TxtX6Y6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 88:
                this.TxtX6Y7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 89:
                this.TxtX6Y8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 90:
                this.TxtX7Y6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 91:
                this.TxtX7Y7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 92:
                this.TxtX7Y8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 93:
                this.TxtX8Y6 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 94:
                this.TxtX8Y7 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 95:
                this.TxtX8Y8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 96:
                this.BtnSolve = ((System.Windows.Controls.Button)(target));

            #line 238 "..\..\Sudoku.xaml"
                this.BtnSolve.Click += new System.Windows.RoutedEventHandler(this.BtnSolve_Click);

            #line default
            #line hidden
                return;

            case 97:
                this.BtnUndo = ((System.Windows.Controls.Button)(target));

            #line 241 "..\..\Sudoku.xaml"
                this.BtnUndo.Click += new System.Windows.RoutedEventHandler(this.BtnUndo_Click);

            #line default
            #line hidden
                return;

            case 98:
                this.BtnRedo = ((System.Windows.Controls.Button)(target));

            #line 242 "..\..\Sudoku.xaml"
                this.BtnRedo.Click += new System.Windows.RoutedEventHandler(this.BtnRedo_Click);

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

            #line 6 "..\..\..\MainWindow.xaml"
                ((wExp.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\MainWindow.xaml"
                this.textSearch.MouseEnter += new System.Windows.Input.MouseEventHandler(this.textSearch_MouseEnter);

            #line default
            #line hidden

            #line 70 "..\..\..\MainWindow.xaml"
                this.textSearch.MouseLeave += new System.Windows.Input.MouseEventHandler(this.textSearch_MouseLeave);

            #line default
            #line hidden

            #line 70 "..\..\..\MainWindow.xaml"
                this.textSearch.KeyDown += new System.Windows.Input.KeyEventHandler(this.textSearch_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 71 "..\..\..\MainWindow.xaml"
                this.buttonSearchClose.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.buttonSearchClose_MouseDown);

            #line default
            #line hidden
                return;

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

            case 8:
                this.treeFolder = ((System.Windows.Controls.TreeView)(target));

            #line 91 "..\..\..\MainWindow.xaml"
                this.treeFolder.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.treeFolder_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.listExp = ((System.Windows.Controls.ListBox)(target));

            #line 103 "..\..\..\MainWindow.xaml"
                this.listExp.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listExp_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 122 "..\..\..\MainWindow.xaml"
                this.menuCopy.Click += new System.Windows.RoutedEventHandler(this.menuCopy_Click);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\..\MainWindow.xaml"
                this.menuPaste.Click += new System.Windows.RoutedEventHandler(this.menuPaste_Click);

            #line default
            #line hidden
                return;

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

            #line 132 "..\..\..\MainWindow.xaml"
                this.menuDelete.Click += new System.Windows.RoutedEventHandler(this.menuDelete_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 144 "..\..\..\MainWindow.xaml"
                this.menuProperties.Click += new System.Windows.RoutedEventHandler(this.menuProperties_Click);

            #line default
            #line hidden
                return;

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

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

            #line 158 "..\..\..\MainWindow.xaml"
                this.buttonIconInfo.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.buttonIconInfo_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 162 "..\..\..\MainWindow.xaml"
                this.buttonFavourite.Click += new System.Windows.RoutedEventHandler(this.buttonFavourite_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.favouriteText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FileMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

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

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

            #line 15 "MovieView.xaml"
                this.FileLoad.Click += new System.Windows.RoutedEventHandler(this.FileLoad_Click);

            #line default
            #line hidden
                return;

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

            #line 16 "MovieView.xaml"
                this.FileSave.Click += new System.Windows.RoutedEventHandler(this.FileSave_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 23 "MovieView.xaml"
                this.EditEdit.Click += new System.Windows.RoutedEventHandler(this.EditMenu_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 29 "MovieView.xaml"
                this.ViewTitle.Click += new System.Windows.RoutedEventHandler(this.ViewTitle_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "MovieView.xaml"
                this.ViewYear.Click += new System.Windows.RoutedEventHandler(this.ViewYear_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "MovieView.xaml"
                this.ViewDUration.Click += new System.Windows.RoutedEventHandler(this.ViewDUration_Click);

            #line default
            #line hidden
                return;

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

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

            #line 35 "MovieView.xaml"
                this.ViewAbout.Click += new System.Windows.RoutedEventHandler(this.ViewAbout_Click);

            #line default
            #line hidden
                return;

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

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

            #line 51 "MovieView.xaml"
                this.NextB.Click += new System.Windows.RoutedEventHandler(this.NextB_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 54 "MovieView.xaml"
                this.CancelB.Click += new System.Windows.RoutedEventHandler(this.CancelB_Click);

            #line default
            #line hidden
                return;

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

            #line 55 "MovieView.xaml"
                this.SaveB.Click += new System.Windows.RoutedEventHandler(this.SaveB_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 26:
                this.RatingControl = ((MovieDatabase.RatingControl)(target));
                return;

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

            case 28:
                this.GenreCheck = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 30:
                this.Romance = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            case 33:
                this.Family = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 34:
                this.Horor = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 35:
                this.Western = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 36:
                this.SciFi = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            case 40:
                this.URLText = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\MainWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 11:
                this.dtEntryDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 12:
                this.dgvData = ((System.Windows.Controls.DataGrid)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.dgvData.RowEditEnding += new System.EventHandler <System.Windows.Controls.DataGridRowEditEndingEventArgs>(this.dgvData_RowEditEnding);

            #line default
            #line hidden

            #line 61 "..\..\MainWindow.xaml"
                this.dgvData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgvData_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\MainWindow.xaml"
                this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\MainWindow.xaml"
                this.grid1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.grid_MouseRightButtonDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 4:
                this.zoomAndPanControl = ((System.Windows.Controls.ContentControl)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.zoomAndPanControl_MouseDown);

            #line default
            #line hidden

            #line 43 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.zoomAndPanControl_MouseUp);

            #line default
            #line hidden

            #line 44 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseMove += new System.Windows.Input.MouseEventHandler(this.zoomAndPanControl_MouseMove);

            #line default
            #line hidden

            #line 45 "..\..\MainWindow.xaml"
                this.zoomAndPanControl.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Canvas_MouseWheel);

            #line default
            #line hidden
                return;

            case 5:
                this.front_canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.st = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 85 "..\..\MainWindow.xaml"
                this.btnOpenFile2.Click += new System.Windows.RoutedEventHandler(this.btnOpenFiles_Click2);

            #line default
            #line hidden
                return;

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

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

            #line 88 "..\..\MainWindow.xaml"
                this.btnOpenWeb2.Click += new System.Windows.RoutedEventHandler(this.btnOpenWeb_Click2);

            #line default
            #line hidden
                return;

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

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

            #line 92 "..\..\MainWindow.xaml"
                this.YesButton2.Click += new System.Windows.RoutedEventHandler(this.create_Click2);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 17:
                this.InputBox = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 111 "..\..\MainWindow.xaml"
                this.btnOpenFile.Click += new System.Windows.RoutedEventHandler(this.btnOpenFiles_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 23:
                this.start_timepicker2 = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 24:
                this.end_timepicker2 = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 25:
                this.color = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 136 "..\..\MainWindow.xaml"
                this.NoButton.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

            #line default
            #line hidden
                return;

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

            case 29:

            #line 142 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Edit_Act);

            #line default
            #line hidden

            #line 142 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Edit_Act);

            #line default
            #line hidden
                return;

            case 30:

            #line 143 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Dele_Act);

            #line default
            #line hidden

            #line 143 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Dele_Act);

            #line default
            #line hidden
                return;

            case 31:

            #line 144 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.E_Act);

            #line default
            #line hidden

            #line 144 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ListBoxItem)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.E_Act);

            #line default
            #line hidden
                return;

            case 32:
                this.EditBox = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 158 "..\..\MainWindow.xaml"
                this.btnEditOpenFile.Click += new System.Windows.RoutedEventHandler(this.btnEditOpenFiles_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 38:
                this.start_timepicker = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 39:
                this.end_timepicker = ((Xceed.Wpf.Toolkit.DateTimeUpDown)(target));
                return;

            case 40:
                this.editcolor = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 184 "..\..\MainWindow.xaml"
                this.Act_YesButton.Click += new System.Windows.RoutedEventHandler(this.edit_Click);

            #line default
            #line hidden
                return;

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

            #line 185 "..\..\MainWindow.xaml"
                this.Act_NoButton.Click += new System.Windows.RoutedEventHandler(this.cancel_Click);

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

            #line 7 "..\..\..\ui\MainWindow.xaml"
                this.AppWindow.Loaded += new System.Windows.RoutedEventHandler(this.AppWindow_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.MainMenu = ((System.Windows.Controls.Menu)(target));
                return;

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

            #line 48 "..\..\..\ui\MainWindow.xaml"
                this.miRestaurerDatabase.Click += new System.Windows.RoutedEventHandler(this.miRestaurerDatabase_Click);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\..\ui\MainWindow.xaml"
                this.miBackupDatabase.Click += new System.Windows.RoutedEventHandler(this.miBackupDatabase_Click);

            #line default
            #line hidden
                return;

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

            #line 50 "..\..\..\ui\MainWindow.xaml"
                this.miQuitter.Click += new System.Windows.RoutedEventHandler(this.miQuitter_Click);

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\ui\MainWindow.xaml"
                this.miModifierEmploye.Click += new System.Windows.RoutedEventHandler(this.miModifierEmploye_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\ui\MainWindow.xaml"
                this.miRechercheCode.Click += new System.Windows.RoutedEventHandler(this.miRechercheCode_Click);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\ui\MainWindow.xaml"
                this.miRechercheNom.Click += new System.Windows.RoutedEventHandler(this.miRechercheNom_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\ui\MainWindow.xaml"
                this.miPromotionEmploye.Click += new System.Windows.RoutedEventHandler(this.miPromotionEmploye_Click);

            #line default
            #line hidden
                return;

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

            #line 62 "..\..\..\ui\MainWindow.xaml"
                this.miTransfertEmploye.Click += new System.Windows.RoutedEventHandler(this.miTransfertEmploye_Click);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\..\ui\MainWindow.xaml"
                this.miRevocationEmploye.Click += new System.Windows.RoutedEventHandler(this.miRevocationEmploye_Click);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\..\ui\MainWindow.xaml"
                this.miDemandeConge.Click += new System.Windows.RoutedEventHandler(this.miDemandeConge_Click);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\..\ui\MainWindow.xaml"
                this.miRetourConge.Click += new System.Windows.RoutedEventHandler(this.miRetourConge_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\ui\MainWindow.xaml"
                this.miCalculerPayroll.Click += new System.Windows.RoutedEventHandler(this.miCalculerPayroll_Click);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\..\ui\MainWindow.xaml"
                this.miEmployeStatut.Click += new System.Windows.RoutedEventHandler(this.miEmployeStatut_Click);

            #line default
            #line hidden
                return;

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

            #line 75 "..\..\..\ui\MainWindow.xaml"
                this.miComptageEmploye.Click += new System.Windows.RoutedEventHandler(this.miComptageEmploye_Click);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\..\ui\MainWindow.xaml"
                this.miContactEmploye.Click += new System.Windows.RoutedEventHandler(this.miContactEmploye_Click);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\..\ui\MainWindow.xaml"
                this.miAnniversaire.Click += new System.Windows.RoutedEventHandler(this.miAnniversaire_Click);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\..\ui\MainWindow.xaml"
                this.miPresenceJour.Click += new System.Windows.RoutedEventHandler(this.miPresenceJour_Click);

            #line default
            #line hidden
                return;

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

            #line 81 "..\..\..\ui\MainWindow.xaml"
                this.miPresenceMois.Click += new System.Windows.RoutedEventHandler(this.miPresenceMois_Click);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\..\ui\MainWindow.xaml"
                this.miPresenceAnnee.Click += new System.Windows.RoutedEventHandler(this.miPresenceAnnee_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\..\ui\MainWindow.xaml"
                this.miEmplois.Click += new System.Windows.RoutedEventHandler(this.miEmplois_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.LeftGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

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

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

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

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

            case 33:
                this.MainMdiContainer = ((WPF.MDI.MdiContainer)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#48
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\MainWindow.xaml"
                ((BotNet_Server_UI.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Formloaded);

            #line default
            #line hidden

            #line 7 "..\..\MainWindow.xaml"
                ((BotNet_Server_UI.MainWindow)(target)).Closed += new System.EventHandler(this.Main_Closed);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 4:
                this.ScrollLog = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            #line 26 "..\..\MainWindow.xaml"
                this.Command.KeyDown += new System.Windows.Input.KeyEventHandler(this.Command_KeyDown);

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 26 "..\..\MainWindow.xaml"
                this.Command.LostFocus += new System.Windows.RoutedEventHandler(this.Command_LostFocus);

            #line default
            #line hidden

            #line 26 "..\..\MainWindow.xaml"
                this.Command.GotFocus += new System.Windows.RoutedEventHandler(this.Command_GotFocus);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

            case 21:

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

            #line default
            #line hidden
                return;

            case 22:

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

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.InfinityListenMenuItem.Checked += new System.Windows.RoutedEventHandler(this.MenuItem_Checked);

            #line default
            #line hidden

            #line 61 "..\..\MainWindow.xaml"
                this.InfinityListenMenuItem.Unchecked += new System.Windows.RoutedEventHandler(this.MenuItem_Unchecked);

            #line default
            #line hidden
                return;

            case 24:

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

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:
                this.ListHelper = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#49
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\UI\ReadingPage.xaml"
                ((HappyReading.UI.ReadingPage)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Direction_PreviewKeyDown);

            #line default
            #line hidden

            #line 7 "..\..\..\UI\ReadingPage.xaml"
                ((HappyReading.UI.ReadingPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            #line 12 "..\..\..\UI\ReadingPage.xaml"
                this.TitleBar.MouseMove += new System.Windows.Input.MouseEventHandler(this.Window_MouseMove);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\..\UI\ReadingPage.xaml"
                this.newTitle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.NewTitle_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 14 "..\..\..\UI\ReadingPage.xaml"
                this.img.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Img_MouseDown);

            #line default
            #line hidden

            #line 14 "..\..\..\UI\ReadingPage.xaml"
                this.img.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Img_MouseEnter);

            #line default
            #line hidden

            #line 14 "..\..\..\UI\ReadingPage.xaml"
                this.img.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Img_MouseLeave);

            #line default
            #line hidden
                return;

            case 7:
                this.newText = ((System.Windows.Controls.RichTextBox)(target));

            #line 16 "..\..\..\UI\ReadingPage.xaml"
                this.newText.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.NewText_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\..\UI\ReadingPage.xaml"
                this.ViewDirectory.Click += new System.Windows.RoutedEventHandler(this.ViewDirectory_Click);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\UI\ReadingPage.xaml"
                this.UpperChapter.Click += new System.Windows.RoutedEventHandler(this.UpperChapter_Click);

            #line default
            #line hidden
                return;

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

            #line 21 "..\..\..\UI\ReadingPage.xaml"
                this.NextChapter.Click += new System.Windows.RoutedEventHandler(this.NextChapter_Click);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\UI\ReadingPage.xaml"
                this.Default.Click += new System.Windows.RoutedEventHandler(this.ThemePreservation);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\..\UI\ReadingPage.xaml"
                this.Eyehelp.Click += new System.Windows.RoutedEventHandler(this.ThemePreservation);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\..\UI\ReadingPage.xaml"
                this.Night.Click += new System.Windows.RoutedEventHandler(this.ThemePreservation);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\UI\ReadingPage.xaml"
                this.transparent.Click += new System.Windows.RoutedEventHandler(this.ThemePreservation);

            #line default
            #line hidden
                return;

            case 15:

            #line 28 "..\..\..\UI\ReadingPage.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ReadingAloud_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 29 "..\..\..\UI\ReadingPage.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Homepage_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.NewListView = ((System.Windows.Controls.ListView)(target));

            #line 34 "..\..\..\UI\ReadingPage.xaml"
                this.NewListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.NewListView_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\UI\ReadingPage.xaml"
                this.ExitDirectory.Click += new System.Windows.RoutedEventHandler(this.ExitDirectory_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:

            #line 9 "..\..\MainWindow.xaml"
                ((Figures.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.KeyboardDragging);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewCanvas);

            #line default
            #line hidden
                return;

            case 3:

            #line 12 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenCanvas);

            #line default
            #line hidden
                return;

            case 4:

            #line 13 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCanvas);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 53 "..\..\MainWindow.xaml"
                this.MainCanvas.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.SelectPolygon);

            #line default
            #line hidden

            #line 54 "..\..\MainWindow.xaml"
                this.MainCanvas.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.KeyboardDragging);

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

            #line 6 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((MasterSchedule.Views.RawMaterialWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 6 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((MasterSchedule.Views.RawMaterialWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden

            #line 7 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((MasterSchedule.Views.RawMaterialWindow)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden

            #line 7 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((MasterSchedule.Views.RawMaterialWindow)(target)).Deactivated += new System.EventHandler(this.Window_Deactivated);

            #line default
            #line hidden
                return;

            case 2:

            #line 12 "..\..\..\..\Views\RawMaterialWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCommandBinding_Executed);

            #line default
            #line hidden
                return;

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

            #line 23 "..\..\..\..\Views\RawMaterialWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.scrlHeader = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 5:
                this.dgRawMaterial = ((MasterSchedule.Customs.CustomDataGrid)(target));

            #line 120 "..\..\..\..\Views\RawMaterialWindow.xaml"
                this.dgRawMaterial.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.dgRawMaterial_ScrollChanged));

            #line default
            #line hidden
                return;

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

            #line 135 "..\..\..\..\Views\RawMaterialWindow.xaml"
                this.miDisable.Click += new System.Windows.RoutedEventHandler(this.miDisable_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Column1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 8:
                this.Column2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 9:
                this.Column3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 10:
                this.Column4 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:
                this.Column5 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 12:
                this.Column5_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 13:
                this.Column6 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 14:
                this.Column7 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 15:
                this.Column7_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 16:
                this.Column7_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 17:
                this.Column10_1 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 18:
                this.Column10_2 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 19:
                this.Column10_3 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

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

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

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

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

            case 25:
                this.Column13 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 26:
                this.Column14 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 27:
                this.Column15 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 28:
                this.Column16 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 29:
                this.Column17 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.Column18 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.Column19 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.Column20 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.Column21 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.Column22 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.Column23 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 36:
                this.Column24 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.Column25 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.Column26 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.Column27 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.Column28 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.Column29 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.Column30 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.Column31 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 44:
                this.Column32 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.Column33 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 46:
                this.Column34 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 47:
                this.Column35 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 48:
                this.Column36 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 49:
                this.Column37 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 50:
                this.Column38 = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Celo_Main = ((CELO_Enhanced.MainWindow)(target));

            #line 14 "..\..\MainWindow.xaml"
                this.Celo_Main.Loaded += new System.Windows.RoutedEventHandler(this.Celo_Main_Loaded);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.docPanName = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 4:
                this.menuMain = ((System.Windows.Controls.Menu)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line 75 "..\..\MainWindow.xaml"
                this.mnuPref.Click += new System.Windows.RoutedEventHandler(this.mnuPref_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 87 "..\..\MainWindow.xaml"
                this.mnuLogs.Click += new System.Windows.RoutedEventHandler(this.mnuLogs_Click);

            #line default
            #line hidden
                return;

            case 20:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 22:
                this.groupMatchInfo = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            case 25:
                this.match_mapImg = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 28:
                this.groupGameInfo = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

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

            case 33:
                this.playerList = ((System.Windows.Controls.ListView)(target));

            #line 148 "..\..\MainWindow.xaml"
                this.playerList.MouseEnter += new System.Windows.Input.MouseEventHandler(this.playerList_MouseEnter);

            #line default
            #line hidden

            #line 149 "..\..\MainWindow.xaml"
                this.playerList.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.playerList_MouseRightButtonDown);

            #line default
            #line hidden

            #line 149 "..\..\MainWindow.xaml"
                this.playerList.MouseMove += new System.Windows.Input.MouseEventHandler(this.playerList_MouseMove);

            #line default
            #line hidden
                return;

            case 34:
                this.mnu_p_Copy = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 35:
                this.mnu_p_copyNick = ((System.Windows.Controls.MenuItem)(target));

            #line 157 "..\..\MainWindow.xaml"
                this.mnu_p_copyNick.Click += new System.Windows.RoutedEventHandler(this.mnu_p_copyNick_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.mnu_p_copyRank = ((System.Windows.Controls.MenuItem)(target));

            #line 162 "..\..\MainWindow.xaml"
                this.mnu_p_copyRank.Click += new System.Windows.RoutedEventHandler(this.mnu_p_copyRank_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.mnu_p_copyTimePlayed = ((System.Windows.Controls.MenuItem)(target));

            #line 168 "..\..\MainWindow.xaml"
                this.mnu_p_copyTimePlayed.Click += new System.Windows.RoutedEventHandler(this.mnu_p_copyTimePlayed_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.mnu_p_copyLevel = ((System.Windows.Controls.MenuItem)(target));

            #line 173 "..\..\MainWindow.xaml"
                this.mnu_p_copyLevel.Click += new System.Windows.RoutedEventHandler(this.mnu_p_copyLevel_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.mnu_p_copyID = ((System.Windows.Controls.MenuItem)(target));

            #line 178 "..\..\MainWindow.xaml"
                this.mnu_p_copyID.Click += new System.Windows.RoutedEventHandler(this.mnu_p_copyID_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.mnu_p_Open = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 41:
                this.mnu_p_open_coh2org = ((System.Windows.Controls.MenuItem)(target));

            #line 189 "..\..\MainWindow.xaml"
                this.mnu_p_open_coh2org.Click += new System.Windows.RoutedEventHandler(this.mnu_p_open_coh2org_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.mnu_p_open_coh = ((System.Windows.Controls.MenuItem)(target));

            #line 195 "..\..\MainWindow.xaml"
                this.mnu_p_open_coh.Click += new System.Windows.RoutedEventHandler(this.mnu_p_open_coh_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.mnu_p_open_steampage = ((System.Windows.Controls.MenuItem)(target));

            #line 201 "..\..\MainWindow.xaml"
                this.mnu_p_open_steampage.Click += new System.Windows.RoutedEventHandler(this.mnu_p_open_steampage_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.groupWatcher = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 45:
                this.LoadFormHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 46:
                this.pLoadpic = ((System.Windows.Forms.PictureBox)(target));
                return;

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

            #line 336 "..\..\MainWindow.xaml"
                this.btn_GameWatcher.Click += new System.Windows.RoutedEventHandler(this.btn_GameWatcher_Click);

            #line default
            #line hidden
                return;

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

            case 49:
                this.groupReplays = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 50:
                this.btn_ReplayManager = ((System.Windows.Controls.Button)(target));

            #line 352 "..\..\MainWindow.xaml"
                this.btn_ReplayManager.Click += new System.Windows.RoutedEventHandler(this.btn_ReplayManager_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.txt_ReplayManager = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 52:
                this.statusExpander = ((System.Windows.Controls.Expander)(target));
                return;

            case 53:
                this.status_gameName = ((System.Windows.Controls.Label)(target));
                return;

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

            case 55:
                this.status_cont = ((System.Windows.Controls.Label)(target));
                return;

            case 56:
                this.status_cont_text = ((System.Windows.Controls.AccessText)(target));
                return;

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

            #line 17 "..\..\managerWindow.xaml"
                ((SourceCode.managerWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 82 "..\..\managerWindow.xaml"
                ((MaterialDesignThemes.Wpf.ColorZone)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ColorZone_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

            #line 103 "..\..\managerWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_7);

            #line default
            #line hidden
                return;

            case 6:

            #line 105 "..\..\managerWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_6);

            #line default
            #line hidden
                return;

            case 7:

            #line 107 "..\..\managerWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_5);

            #line default
            #line hidden
                return;

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

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

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

            #line 134 "..\..\managerWindow.xaml"
                this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden

            #line 135 "..\..\managerWindow.xaml"
                this.btnMinimize.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseEnter);

            #line default
            #line hidden

            #line 135 "..\..\managerWindow.xaml"
                this.btnMinimize.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnMinimize_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\managerWindow.xaml"
                this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.btnMaximize_Click);

            #line default
            #line hidden

            #line 141 "..\..\managerWindow.xaml"
                this.btnMaximize.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnMaximize_MouseEnter);

            #line default
            #line hidden

            #line 141 "..\..\managerWindow.xaml"
                this.btnMaximize.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnMaximize_MouseLeave);

            #line default
            #line hidden
                return;

            case 14:
                this.iconMaximize = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

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

            #line 147 "..\..\managerWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden

            #line 148 "..\..\managerWindow.xaml"
                this.btnClose.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Button_MouseEnter);

            #line default
            #line hidden

            #line 148 "..\..\managerWindow.xaml"
                this.btnClose.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnClose_MouseLeave);

            #line default
            #line hidden
                return;

            case 16:

            #line 160 "..\..\managerWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 17:
                this.UserControl_MainWindow = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.Menu_SliderBar = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Main = ((rulesencyclopediaclient.MainWindow)(target));
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.MainFrame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#55
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\WinDpkMain.xaml"
                ((DpkViewer.WinDpkMain)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 27 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenProtocolFile_Executed);

            #line default
            #line hidden
                return;

            case 3:

            #line 28 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Exit_Executed);

            #line default
            #line hidden
                return;

            case 4:

            #line 30 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FilterParametres_Executed);

            #line default
            #line hidden
                return;

            case 5:

            #line 32 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.Search_Executed);

            #line default
            #line hidden
                return;

            case 6:

            #line 33 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SearchPreviousError);

            #line default
            #line hidden
                return;

            case 7:

            #line 34 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SearchNextError);

            #line default
            #line hidden
                return;

            case 8:

            #line 35 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SearchPreviousSynchroImpulse);

            #line default
            #line hidden
                return;

            case 9:

            #line 36 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SearchNextSynchroImpulse);

            #line default
            #line hidden
                return;

            case 10:

            #line 38 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.GraphicalAnalisys);

            #line default
            #line hidden
                return;

            case 11:

            #line 39 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.FormatView);

            #line default
            #line hidden
                return;

            case 12:

            #line 40 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveProtocolAsTxt);

            #line default
            #line hidden
                return;

            case 13:

            #line 42 "..\..\..\WinDpkMain.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.AboutApp);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 21:
                this.listStringViewDpkWords = ((ListStringViewWPF.ListStringView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\UIView\UIMapAlarm.xaml"
                ((Camera_Final.UIView.UIMapAlarm)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 7 "..\..\..\UIView\UIMapAlarm.xaml"
                ((Camera_Final.UIView.UIMapAlarm)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 7 "..\..\..\UIView\UIMapAlarm.xaml"
                ((Camera_Final.UIView.UIMapAlarm)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.UserControl_MouseMove);

            #line default
            #line hidden

            #line 7 "..\..\..\UIView\UIMapAlarm.xaml"
                ((Camera_Final.UIView.UIMapAlarm)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.UserControl_MouseDoubleClick);

            #line default
            #line hidden

            #line 7 "..\..\..\UIView\UIMapAlarm.xaml"
                ((Camera_Final.UIView.UIMapAlarm)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden

            #line 7 "..\..\..\UIView\UIMapAlarm.xaml"
                ((Camera_Final.UIView.UIMapAlarm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

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

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

            case 5:

            #line 14 "..\..\..\UIView\UIMapAlarm.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AlarmOff);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\UIView\UIMapAlarm.xaml"
                this.UIM_Link.Click += new System.Windows.RoutedEventHandler(this.ConnectCamera);

            #line default
            #line hidden
                return;

            case 7:

            #line 16 "..\..\..\UIView\UIMapAlarm.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DisableAlarm);

            #line default
            #line hidden
                return;

            case 8:

            #line 17 "..\..\..\UIView\UIMapAlarm.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.EnableAlarm);

            #line default
            #line hidden
                return;

            case 9:

            #line 18 "..\..\..\UIView\UIMapAlarm.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteAlarm);

            #line default
            #line hidden
                return;

            case 10:

            #line 19 "..\..\..\UIView\UIMapAlarm.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ScheduleAlarm);

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

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

            #line 39 "..\..\AdminUI.xaml"
                this.btnRemoveMovie.Click += new System.Windows.RoutedEventHandler(this.btnRemoveMovie_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\AdminUI.xaml"
                this.btnRemoveGame.Click += new System.Windows.RoutedEventHandler(this.btnRemoveGame_Click);

            #line default
            #line hidden
                return;

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

            #line 41 "..\..\AdminUI.xaml"
                this.btnOrder.Click += new System.Windows.RoutedEventHandler(this.btnOrder_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\AdminUI.xaml"
                this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.btnLogout_Click);

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.lblLazerShark = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            case 20:
                this.isTrans = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

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

            #line 78 "..\..\MainWindow.xaml"
                this.AddDB.Click += new System.Windows.RoutedEventHandler(this.AddDB_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.MainData = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 26:
                this.categoryIdColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 27:
                this.nameColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 28:
                this.surnameColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 29:
                this.strtnameColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.houseColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.hnumberColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.cityColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.zipColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.sexColumn = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#59
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainwindow_root = ((AMD.AMDPlayer.MainWindow)(target));

            #line 1080 "..\..\MainWindow.xaml"
                this.mainwindow_root.Loaded += new System.Windows.RoutedEventHandler(this.mainwindow_root_loaded);

            #line default
            #line hidden

            #line 1081 "..\..\MainWindow.xaml"
                this.mainwindow_root.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_toggle_fullscreen);

            #line default
            #line hidden

            #line 1082 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mainWindow_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 1083 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_root_show_components);

            #line default
            #line hidden

            #line 1084 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseMove += new System.Windows.Input.MouseEventHandler(this.mainwindow_root_show_components);

            #line default
            #line hidden

            #line 1085 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.mainwindow_root_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 1086 "..\..\MainWindow.xaml"
                this.mainwindow_root.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.mainwindow_root_KeyDown);

            #line default
            #line hidden

            #line 1087 "..\..\MainWindow.xaml"
                this.mainwindow_root.KeyUp += new System.Windows.Input.KeyEventHandler(this.mainwindow_root_KeyUp);

            #line default
            #line hidden

            #line 1088 "..\..\MainWindow.xaml"
                this.mainwindow_root.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.mainwindow_root_MouseWheel);

            #line default
            #line hidden

            #line 1088 "..\..\MainWindow.xaml"
                this.mainwindow_root.Closing += new System.ComponentModel.CancelEventHandler(this.mainwindow_root_Closing);

            #line default
            #line hidden
                return;

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

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

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

            case 6:
                this.gs_main = ((System.Windows.Controls.GridSplitter)(target));
                return;

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

            case 8:
                this.component_state_flag = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 1815 "..\..\MainWindow.xaml"
                this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);

            #line default
            #line hidden
                return;

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

            #line 1826 "..\..\MainWindow.xaml"
                this.border_media_element.Drop += new System.Windows.DragEventHandler(this.ml_main_Drop);

            #line default
            #line hidden
                return;

            case 11:
                this.ml_main = ((System.Windows.Controls.MediaElement)(target));

            #line 1839 "..\..\MainWindow.xaml"
                this.ml_main.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ml_main_MouseDown);

            #line default
            #line hidden

            #line 1840 "..\..\MainWindow.xaml"
                this.ml_main.MediaOpened += new System.Windows.RoutedEventHandler(this.ml_main_MediaOpened);

            #line default
            #line hidden

            #line 1841 "..\..\MainWindow.xaml"
                this.ml_main.MediaFailed += new System.EventHandler <System.Windows.ExceptionRoutedEventArgs>(this.ml_main_MediaFailed);

            #line default
            #line hidden

            #line 1842 "..\..\MainWindow.xaml"
                this.ml_main.MediaEnded += new System.Windows.RoutedEventHandler(this.ml_main_MediaEnded);

            #line default
            #line hidden
                return;

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

            #line 1855 "..\..\MainWindow.xaml"
                this.lv_playlist.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lv_playlist_SelectionChanged);

            #line default
            #line hidden

            #line 1856 "..\..\MainWindow.xaml"
                this.lv_playlist.KeyDown += new System.Windows.Input.KeyEventHandler(this.lv_playlist_KeyDown);

            #line default
            #line hidden

            #line 1857 "..\..\MainWindow.xaml"
                this.lv_playlist.Drop += new System.Windows.DragEventHandler(this.lv_playlist_Drop);

            #line default
            #line hidden
                return;

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

            #line 1861 "..\..\MainWindow.xaml"
                this.lv_playlist_context_sort_by_lable.Click += new System.Windows.RoutedEventHandler(this.lv_playlist_context_sort_by_lable_Click);

            #line default
            #line hidden
                return;

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

            #line 1862 "..\..\MainWindow.xaml"
                this.lv_playlist_context_sort_by_path.Click += new System.Windows.RoutedEventHandler(this.lv_playlist_context_sort_by_path_Click);

            #line default
            #line hidden
                return;

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

            #line 1865 "..\..\MainWindow.xaml"
                this.lv_context_clear_playlist.Click += new System.Windows.RoutedEventHandler(this.lv_context_clear_playlist_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.col1 = ((System.Windows.Controls.GridViewColumn)(target));
                return;

            case 17:
                this.helperField = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 1900 "..\..\MainWindow.xaml"
                this.grid_sl_progress.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.sl_progress_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 1901 "..\..\MainWindow.xaml"
                this.grid_sl_progress.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.sl_progress_PreviewMouseLeftButtonUp);

            #line default
            #line hidden

            #line 1902 "..\..\MainWindow.xaml"
                this.grid_sl_progress.MouseMove += new System.Windows.Input.MouseEventHandler(this.grid_sl_progress_MouseMove);

            #line default
            #line hidden
                return;

            case 20:
                this.tt_sl_progress = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 21:
                this.sl_progress = ((System.Windows.Controls.Slider)(target));

            #line 1916 "..\..\MainWindow.xaml"
                this.sl_progress.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sl_progress_ValueChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 1933 "..\..\MainWindow.xaml"
                this.btn_open.Click += new System.Windows.RoutedEventHandler(this.btn_open_Click);

            #line default
            #line hidden
                return;

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

            #line 1934 "..\..\MainWindow.xaml"
                this.btn_prev.Click += new System.Windows.RoutedEventHandler(this.btn_prev_Click);

            #line default
            #line hidden
                return;

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

            #line 1935 "..\..\MainWindow.xaml"
                this.btn_play.Click += new System.Windows.RoutedEventHandler(this.btn_play_Click);

            #line default
            #line hidden
                return;

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

            #line 1936 "..\..\MainWindow.xaml"
                this.btn_stop.Click += new System.Windows.RoutedEventHandler(this.btn_stop_Click);

            #line default
            #line hidden
                return;

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

            #line 1937 "..\..\MainWindow.xaml"
                this.btn_next.Click += new System.Windows.RoutedEventHandler(this.btn_next_Click);

            #line default
            #line hidden
                return;

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

            #line 1938 "..\..\MainWindow.xaml"
                this.btn_playlist_toggle.Click += new System.Windows.RoutedEventHandler(this.btn_playlist_toggle_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 33:
                this.btn_shuffle = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 34:
                this.btn_auto_play_next_in_folder = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 35:
                this.grid_duration_and_volume = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 1994 "..\..\MainWindow.xaml"
                this.lbl_progress.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.lbl_progress_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 37:
                this.lbl_devider = ((System.Windows.Controls.Label)(target));
                return;

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

            case 39:
                this.sl_volume = ((System.Windows.Controls.Slider)(target));
                return;

            case 40:
                this.main_context = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 41:
                this.main_context_aspect_submenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 42:
                this.main_context_aspect_normal = ((System.Windows.Controls.MenuItem)(target));

            #line 2029 "..\..\MainWindow.xaml"
                this.main_context_aspect_normal.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_normal_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.main_context_aspect_zoom = ((System.Windows.Controls.MenuItem)(target));

            #line 2035 "..\..\MainWindow.xaml"
                this.main_context_aspect_zoom.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_zoom_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.main_context_aspect_stretch = ((System.Windows.Controls.MenuItem)(target));

            #line 2041 "..\..\MainWindow.xaml"
                this.main_context_aspect_stretch.Click += new System.Windows.RoutedEventHandler(this.main_context_aspect_stretch_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.main_context_appearance_submenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 46:
                this.main_context_appearence_gb_colour = ((System.Windows.Controls.MenuItem)(target));

            #line 2048 "..\..\MainWindow.xaml"
                this.main_context_appearence_gb_colour.Click += new System.Windows.RoutedEventHandler(this.main_context_appearence_gb_colour_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.main_context_appearence_txt_colour = ((System.Windows.Controls.MenuItem)(target));

            #line 2051 "..\..\MainWindow.xaml"
                this.main_context_appearence_txt_colour.Click += new System.Windows.RoutedEventHandler(this.main_context_appearence_txt_colour_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.main_context_view_submenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 49:
                this.main_context_view_always_on_top = ((System.Windows.Controls.MenuItem)(target));

            #line 2061 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_Changed);

            #line default
            #line hidden

            #line 2062 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_Changed);

            #line default
            #line hidden
                return;

            case 50:
                this.main_context_view_always_on_top_when_playing = ((System.Windows.Controls.MenuItem)(target));

            #line 2068 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top_when_playing.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_when_playing_Changed);

            #line default
            #line hidden

            #line 2069 "..\..\MainWindow.xaml"
                this.main_context_view_always_on_top_when_playing.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_always_on_top_when_playing_Changed);

            #line default
            #line hidden
                return;

            case 51:
                this.main_context_view_expanded = ((System.Windows.Controls.MenuItem)(target));

            #line 2076 "..\..\MainWindow.xaml"
                this.main_context_view_expanded.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_expanded_Checked);

            #line default
            #line hidden

            #line 2077 "..\..\MainWindow.xaml"
                this.main_context_view_expanded.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_expanded_Unchecked);

            #line default
            #line hidden
                return;

            case 52:
                this.main_context_view_fullscreen = ((System.Windows.Controls.MenuItem)(target));

            #line 2083 "..\..\MainWindow.xaml"
                this.main_context_view_fullscreen.Checked += new System.Windows.RoutedEventHandler(this.main_context_view_fullscreen_Checked);

            #line default
            #line hidden

            #line 2084 "..\..\MainWindow.xaml"
                this.main_context_view_fullscreen.Unchecked += new System.Windows.RoutedEventHandler(this.main_context_view_fullscreen_Unchecked);

            #line default
            #line hidden
                return;

            case 53:
                this.main_context_exit = ((System.Windows.Controls.MenuItem)(target));

            #line 2090 "..\..\MainWindow.xaml"
                this.main_context_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.tbtn_prev = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2102 "..\..\MainWindow.xaml"
                this.tbtn_prev.Click += new System.EventHandler(this.tbtn_prev_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.tbtn_play = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2107 "..\..\MainWindow.xaml"
                this.tbtn_play.Click += new System.EventHandler(this.tbtn_play_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.tbtn_pause = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2112 "..\..\MainWindow.xaml"
                this.tbtn_pause.Click += new System.EventHandler(this.tbtn_pause_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.tbtn_stop = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2117 "..\..\MainWindow.xaml"
                this.tbtn_stop.Click += new System.EventHandler(this.tbtn_stop_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.tbtn_next = ((System.Windows.Shell.ThumbButtonInfo)(target));

            #line 2122 "..\..\MainWindow.xaml"
                this.tbtn_next.Click += new System.EventHandler(this.tbtn_next_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        public WatchViewFullscreen()
        {
            InitializeComponent();

            MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(view_MouseButtonIgnore);
            MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(view_MouseButtonIgnore);
            MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(view_MouseRightButtonUp);
            PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(view_PreviewMouseRightButtonDown);

            MenuItem mi = new MenuItem();
            mi.Header = "Zoom to Fit";
            mi.Click += new RoutedEventHandler(mi_Click);

            MainContextMenu.Items.Add(mi);

            System.Windows.Shapes.Rectangle backgroundRect = new System.Windows.Shapes.Rectangle();
            Canvas.SetZIndex(backgroundRect, -10);
            backgroundRect.IsHitTestVisible = false;
            BrushConverter bc = new BrushConverter();
            Brush strokeBrush = (Brush)bc.ConvertFrom("#313131");
            backgroundRect.Stroke = strokeBrush;
            backgroundRect.StrokeThickness = 1;
            SolidColorBrush backgroundBrush = new SolidColorBrush(System.Windows.Media.Color.FromRgb(250, 250, 216));
            backgroundRect.Fill = backgroundBrush;

            inputGrid.Children.Add(backgroundRect);
        }