/// <summary>
        /// Initializes a new instance of the <see cref="VSInteractiveWindowControl"/> class.
        /// </summary>
        public VSInteractiveWindowControl()
        {
            this.InitializeComponent();

            // Set window look
            Background = ExecutingBackground;

            // Add dock panel and status bar
            DockPanel dockPanel = new DockPanel();
            StatusBar statusBar = new StatusBar();
            statusBarStatusText = new StatusBarItem();
            statusBarStatusText.Content = InitializingStatusText;
            statusBar.Items.Add(statusBarStatusText);
            DockPanel.SetDock(statusBar, Dock.Bottom);
            dockPanel.Children.Add(statusBar);
            Content = dockPanel;

            // Add results panel
            ScrollViewer scrollViewer = new ScrollViewer();
            scrollViewer.HorizontalScrollBarVisibility = ScrollBarVisibility.Auto;
            scrollViewer.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
            scrollViewer.Margin = new Thickness(5);
            dockPanel.Children.Add(scrollViewer);
            resultsPanel = new StackPanel();
            resultsPanel.Orientation = Orientation.Vertical;
            resultsPanel.CanVerticallyScroll = true;
            resultsPanel.CanHorizontallyScroll = true;
            scrollViewer.Content = resultsPanel;

            // Add prompt for text editor
            var panel = new DockPanel();
            resultsPanel.Children.Add(panel);

            promptBlock = new TextBlock();
            promptBlock.FontFamily = new FontFamily("Consolas");
            promptBlock.FontSize = 14;
            promptBlock.Text = ExecutingPrompt;
            DockPanel.SetDock(promptBlock, Dock.Left);
            panel.Children.Add(promptBlock);

            // Add text editor
            textEditor = new InteractiveCodeEditor();
            textEditor.Background = Brushes.Transparent;
            textEditor.CommandExecuted += TextEditor_CommandExecuted;
            textEditor.CommandFailed += TextEditor_CommandFailed;
            textEditor.Executing += TextEditor_Executing;
            textEditor.CloseRequested += TextEditor_CloseRequested;
            textEditor.HorizontalScrollBarVisibility = ScrollBarVisibility.Hidden;
            textEditor.VerticalScrollBarVisibility = ScrollBarVisibility.Hidden;
            textEditor.TextArea.PreviewKeyDown += TextEditor_PreviewKeyDown;
            panel.Children.Add(textEditor);

            MakeEnabled(VSContext.CurrentDebugMode == EnvDTE.dbgDebugMode.dbgBreakMode);
            VSContext.DebuggerEnteredBreakMode += () => MakeEnabled(true);
            VSContext.DebuggerEnteredDesignMode += () => MakeEnabled(false);
            VSContext.DebuggerEnteredRunMode += () => MakeEnabled(false);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="InteractiveWindow"/> class.
        /// </summary>
        public InteractiveWindow()
        {
            // Set window look
            Background = ExecutingBackground;
            ShowInTaskbar = false;
            Title = "C# Interactive Window";

            // Add dock panel and status bar
            DockPanel dockPanel = new DockPanel();
            StatusBar statusBar = new StatusBar();
            statusBarStatusText = new StatusBarItem();
            statusBarStatusText.Content = InitializingStatusText;
            statusBar.Items.Add(statusBarStatusText);
            DockPanel.SetDock(statusBar, Dock.Bottom);
            dockPanel.Children.Add(statusBar);
            Content = dockPanel;

            // Add results panel
            ScrollViewer scrollViewer = new ScrollViewer();
            scrollViewer.HorizontalScrollBarVisibility = ScrollBarVisibility.Auto;
            scrollViewer.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
            scrollViewer.Margin = new Thickness(5);
            dockPanel.Children.Add(scrollViewer);
            resultsPanel = new StackPanel();
            resultsPanel.Orientation = Orientation.Vertical;
            resultsPanel.CanVerticallyScroll = true;
            resultsPanel.CanHorizontallyScroll = true;
            scrollViewer.Content = resultsPanel;

            // Add prompt for text editor
            var panel = new DockPanel();
            resultsPanel.Children.Add(panel);

            promptBlock = new TextBlock();
            promptBlock.FontFamily = new FontFamily("Consolas");
            promptBlock.FontSize = 14;
            promptBlock.Text = ExecutingPrompt;
            DockPanel.SetDock(promptBlock, Dock.Left);
            panel.Children.Add(promptBlock);

            // Add text editor
            textEditor = new InteractiveCodeEditor();
            textEditor.Background = Brushes.Transparent;
            textEditor.CommandExecuted += TextEditor_CommandExecuted;
            textEditor.CommandFailed += TextEditor_CommandFailed;
            textEditor.Executing += TextEditor_Executing;
            textEditor.CloseRequested += TextEditor_CloseRequested;
            textEditor.HorizontalScrollBarVisibility = ScrollBarVisibility.Hidden;
            textEditor.VerticalScrollBarVisibility = ScrollBarVisibility.Hidden;
            textEditor.TextArea.PreviewKeyDown += TextEditor_PreviewKeyDown;
            panel.Children.Add(textEditor);
        }
        public MeetTheDockers()
        {
            Title = "Meet the Dockers";

            DockPanel dock = new DockPanel();
            Content = dock;

            // Create menu.
            Menu menu = new Menu();
            MenuItem item = new MenuItem();
            item.Header = "Menu";
            menu.Items.Add(item);

            // Dock menu at top of panel.
            DockPanel.SetDock(menu, Dock.Top);
            dock.Children.Add(menu);

            // Create tool bar.
            ToolBar tool = new ToolBar();
            tool.Header = "Toolbar";

            // Dock tool bar at top of panel.
            DockPanel.SetDock(tool, Dock.Top);
            dock.Children.Add(tool);

            // Create status bar.
            StatusBar status = new StatusBar();
            StatusBarItem statitem = new StatusBarItem();
            statitem.Content = "Status";
            status.Items.Add(statitem);

            // Dock status bar at bottom of panel.
            DockPanel.SetDock(status, Dock.Bottom);
            dock.Children.Add(status);

            // Create list box.
            ListBox lstbox = new ListBox();
            lstbox.Items.Add("List Box Item");

            // Dock list box at left of panel.
            DockPanel.SetDock(lstbox, Dock.Left);
            dock.Children.Add(lstbox);

            // Create text box.
            TextBox txtbox = new TextBox();
            txtbox.AcceptsReturn = true;

            // Add text box to panel & give it input focus.
            dock.Children.Add(txtbox);
            txtbox.Focus();
        }
        public static void SetRichTextBox(RichTextBox rtb, StatusBar block = null)
        {
            rtb.IsReadOnly = true;

            foreach (IAppender appender in
                GetAppenders())
            {
                var richTextBoxAppender = appender as RichTextBoxAppender;
                if (richTextBoxAppender != null)
                {
                    richTextBoxAppender.RichTextBox = rtb;
                    richTextBoxAppender.statusBar = block;
                }
            }
        }
        void AddStatusBar(DockPanel dock)
        {
            StatusBar status = new StatusBar();
            dock.Children.Add(status);
            DockPanel.SetDock(status, Dock.Bottom);

            itemDateTime = new StatusBarItem();
            itemDateTime.HorizontalAlignment = HorizontalAlignment.Right;
            status.Items.Add(itemDateTime);

            DispatcherTimer tmr = new DispatcherTimer();
            tmr.Interval = TimeSpan.FromSeconds(1);
            tmr.Tick += TimerOnTick;
            tmr.Start();
        }
Beispiel #6
0
        public MeetTheDockers()
        {
            Title = "Meet the Dockers";

            DockPanel dock = new DockPanel();
            Content = dock;

            Menu menu = new Menu();
            MenuItem item = new MenuItem();
            item.Header = "Menu";
            menu.Items.Add(item);

            DockPanel.SetDock(menu, Dock.Top);
            dock.Children.Add(menu);

            ToolBar tool = new ToolBar();
            tool.Header = "Toolbar";

            DockPanel.SetDock(tool, Dock.Top);
            dock.Children.Add(tool);

            StatusBar status = new StatusBar();
            StatusBarItem statitem = new StatusBarItem();
            statitem.Content = "Status";
            status.Items.Add(statitem);

            DockPanel.SetDock(status, Dock.Bottom);
            dock.Children.Add(status);

            ListBox lstbox = new ListBox();
            lstbox.Items.Add("List Box Item");

            DockPanel.SetDock(lstbox, Dock.Left);
            dock.Children.Add(lstbox);

            TextBox txtbox = new TextBox();
            txtbox.AcceptsReturn = true;

            dock.Children.Add(txtbox);
            txtbox.Focus();
        }
Beispiel #7
0
        public WindowManager( RibbonBarPanel rib, StatusBar stat, DockPanel dock, DockingManager dockingManager )
        {
            RibbonBar = rib;
            StatusBar = stat;
            DockWindow = dock;
            DockingManager = dockingManager;
            //TabControl = tab;

            // TODO
            //var ribbonTab = new RibbonTabItem();
            //ribbonTab.Header = "ahoj";

            //var ribGroup = new RibbonGroup();
            //ribGroup.Caption = "Preprocessing";
            //ribbonTab.RibbonGroups.Add(ribGroup);

            //FIXME RibbonBar.Tabs.Add(ribbonTab);

            //var temp = new TabItem();
            //temp.Header = "Pokus";
            //var tabItems = TabControl.Items;

            // TODO: refactor -> RenderWindow
            //var wfh = new WindowsFormsHost();

            //RayCaster rc = new RayCaster();

            //OpenGLWindow glWindow = new OpenGLWindow();
            //glWindow.setRenderingMethod( rc );
            //lstGlWindows.Add( glWindow );

            //wfh.Child = lstGlWindows[ 0 ];

            //temp.Content = wfh;

            //TabControl.Items.Add( temp );
        }
Beispiel #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 11:
                this.tabsetMain = ((System.Windows.Controls.TabControl)(target));
                return;

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

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

            case 14:
                this.tabMembers = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.MainStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 16:
                this.statusMessage = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mWin = ((pSHA_Keccak.MainWindow)(target));
                return;

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

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

            case 4:
                this.rtb_Input = ((System.Windows.Controls.RichTextBox)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 9:
                this.radioButton4 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

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

            case 13:
                this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

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

            case 18:
                this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

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

            #line default
            #line hidden

            #line 57 "..\..\..\MainWindow.xaml"
                this.chBox_HMAC.Unchecked += new System.Windows.RoutedEventHandler(this.chBox_HMAC_Unchecked);

            #line default
            #line hidden
                return;

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

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

            #line 59 "..\..\..\MainWindow.xaml"
                this.rB_HexHesh.Checked += new System.Windows.RoutedEventHandler(this.rB_HexHesh_Checked);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\..\MainWindow.xaml"
                this.rB_BinHesh.Checked += new System.Windows.RoutedEventHandler(this.rB_BinHesh_Checked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #10
0
		public AppStatusBar() {
			statusBar = new StatusBar { Visibility = Visibility.Collapsed };
			textBlock = new TextBlock();
			statusBar.Items.Add(new StatusBarItem { Content = textBlock });
		}
Beispiel #11
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Mouse = ((KControls.KMouse)(target));
     return;
     case 2:
     this.Controles = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 3:
     this.VP_HB_Pincel = ((KControls.KHoverButton)(target));
     
     #line 9 "..\..\..\Paint.xaml"
     this.VP_HB_Pincel.Click += new KControls.KHoverButton.ClickHandler(this.Pincel_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Dibujo = ((System.Windows.Controls.InkCanvas)(target));
     return;
     }
     this._contentLoaded = true;
 }
 // Set the total counts in the total coutns portion of the status bar
 public static void TotalCount(StatusBar statusBar, int totalCount)
 {
     StatusBarItem item = (StatusBarItem)statusBar.Items[3];
     item.Content = totalCount.ToString();
 }
Beispiel #13
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\MainWindow.xaml"
     ((Microsoft.Samples.Kinect.BodyBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);
     
     #line default
     #line hidden
     
     #line 7 "..\..\MainWindow.xaml"
     ((Microsoft.Samples.Kinect.BodyBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 3:
     this.InputBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 29 "..\..\MainWindow.xaml"
     this.InputBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.InputBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.HeightLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.StatusLight = ((System.Windows.Shapes.Ellipse)(target));
     return;
     case 6:
     this.StatusLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     
     #line 35 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Button_1 = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.scroll = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:
                this.status = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 11:
                this.txtBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ThisWindow = ((BoardDesigner.MainWindow)(target));
                return;

            case 2:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 12:
                this.xmlDockPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 13:
                this.xamSyntaxEditor1 = ((Infragistics.Controls.Editors.XamSyntaxEditor)(target));
                return;

            case 14:
                this.debugDockPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 15:
                this.DebugTextBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 16:
                this.ToolGroupPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 17:
                this.structDockPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 18:
                this.propertiesDockPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 19:
                this.xamPropertyGrid = ((Infragistics.Controls.Editors.XamPropertyGrid)(target));
                return;

            case 22:
                this.MainContentHost = ((Infragistics.Windows.DockManager.DocumentContentHost)(target));

            #line 225 "..\..\MainWindow.xaml"
                this.MainContentHost.ActiveDocumentChanged += new System.Windows.RoutedPropertyChangedEventHandler <Infragistics.Windows.DockManager.ContentPane>(this.MainContentHost_ActiveDocumentChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.MainTabGroupPane = ((Infragistics.Windows.DockManager.TabGroupPane)(target));
                return;

            case 24:
                this.MainPage = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 25:
                this.Stsbar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 26:
                this.MainApplicationMenu = ((Infragistics.Windows.Ribbon.ApplicationMenu)(target));
                return;

            case 27:
                this.NewProjectButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 28:
                this.OpenProjectButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 29:
                this.SaveProjectButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 30:
                this.ExitApplicationButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 31:
                this.SelectAllButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 32:

            #line 378 "..\..\MainWindow.xaml"
                ((Infragistics.Windows.Ribbon.ButtonTool)(target)).Click += new System.Windows.RoutedEventHandler(this.ViewButtonTool_Click);

            #line default
            #line hidden
                return;

            case 33:

            #line 385 "..\..\MainWindow.xaml"
                ((Infragistics.Windows.Ribbon.ButtonTool)(target)).Click += new System.Windows.RoutedEventHandler(this.ViewButtonTool_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.WordButtonGroup = ((Infragistics.Windows.Ribbon.ButtonGroup)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DiagnosesForm1 = ((SystemMed.View.DiagnosesForm)(target));
                return;

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

            #line 25 "..\..\..\View\DiagnosesForm.xaml"
                this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.buttonCancel_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 49 "..\..\..\View\DiagnosesForm.xaml"
                this.buttonSearch.Click += new System.Windows.RoutedEventHandler(this.buttonSearch_Click);

            #line default
            #line hidden
                return;

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

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

            #line 73 "..\..\..\View\DiagnosesForm.xaml"
                this.buttonEdit.Click += new System.Windows.RoutedEventHandler(this.buttonEdit_Click);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\..\View\DiagnosesForm.xaml"
                this.buttonDelete.Click += new System.Windows.RoutedEventHandler(this.buttonDelete_Click);

            #line default
            #line hidden
                return;

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

            #line 87 "..\..\..\View\DiagnosesForm.xaml"
                this.buttonAdd.Click += new System.Windows.RoutedEventHandler(this.buttonAdd_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.statusStripBottom = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

            #line 4 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.SkeletonBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 4 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.SkeletonBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            case 11:
                this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

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

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

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

            case 3:
                this.NewsForm = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

            #line 38 "..\..\MainWindow.xaml"
                this.SearchTb.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchTb_TextChanged);

            #line default
            #line hidden

            #line 38 "..\..\MainWindow.xaml"
                this.SearchTb.LostFocus += new System.Windows.RoutedEventHandler(this.SearchTb_LostFocus);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\MainWindow.xaml"
                this.SearchBtn.Click += new System.Windows.RoutedEventHandler(this.SearchBtn_Click);

            #line default
            #line hidden
                return;

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

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

            #line 43 "..\..\MainWindow.xaml"
                this.ScrollNews.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.ScrollNews_ScrollChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.WorksScroll.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.ScrollWorks_ScrollChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\MainWindow.xaml"
                this.AddGraficBtn.Click += new System.Windows.RoutedEventHandler(this.AddGraficBtn_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.ScrollTask = ((System.Windows.Controls.ScrollViewer)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.ScrollTask.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.ScrollTasks_ScrollChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 20:
                this.RightPanelGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.humbrgMenu = ((HamburgerMenu.HumburgerMenu)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dgCountry = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 3:
                this.dgRepair = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.dgMachine = ((System.Windows.Controls.DataGrid)(target));
                return;

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

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

            case 7:
                this.mainMenu = ((System.Windows.Controls.Menu)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line 91 "..\..\MainWindow.xaml"
                this.GraphReportButton.Click += new System.Windows.RoutedEventHandler(this.GraphReportButton_Click);

            #line default
            #line hidden
                return;

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

            #line 92 "..\..\MainWindow.xaml"
                this.ExcelExporterButton.Click += new System.Windows.RoutedEventHandler(this.ExсelExporterButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 105 "..\..\MainWindow.xaml"
                this.btnCountry.Click += new System.Windows.RoutedEventHandler(this.btnCountry_Click);

            #line default
            #line hidden
                return;

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

            #line 117 "..\..\MainWindow.xaml"
                this.btnEnterprise.Click += new System.Windows.RoutedEventHandler(this.btnEnterprise_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\MainWindow.xaml"
                this.btnTypeRepair.Click += new System.Windows.RoutedEventHandler(this.btnTypeRepair_Click);

            #line default
            #line hidden
                return;

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

            #line 157 "..\..\MainWindow.xaml"
                this.btnTypeMachine.Click += new System.Windows.RoutedEventHandler(this.btnTypeMachine_Click);

            #line default
            #line hidden
                return;

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

            #line 172 "..\..\MainWindow.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

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

            #line 182 "..\..\MainWindow.xaml"
                this.btnEdit.Click += new System.Windows.RoutedEventHandler(this.btnEdit_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 212 "..\..\MainWindow.xaml"
                this.btnShearc.Click += new System.Windows.RoutedEventHandler(this.btnTypeShearc_Click);

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

            #line 6 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.BodyIndexBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 59 "..\..\MainWindow.xaml"
                this.dir_text.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.max_text.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged_2);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #21
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WindowRect = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 2:
     this.btnWindowClose = ((System.Windows.Controls.Button)(target));
     return;
     case 3:
     this.StatusBarStatus = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 6 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.BodyBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.BodyBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);

            #line default
            #line hidden
                return;

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

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
 // Set the total counts in the total coutns portion of the status bar
 public static void CurrentImageNumber(StatusBar statusBar, int imageNumber)
 {
     StatusBarItem item = (StatusBarItem)statusBar.Items[1];
     item.Content = imageNumber.ToString();
 }
Beispiel #24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Pairs_game1 = ((Pairs.Pairs_game)(target));
                return;

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

            case 3:

            #line 8 "..\..\Pairs_game.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_NewGame);

            #line default
            #line hidden
                return;

            case 4:

            #line 9 "..\..\Pairs_game.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_OpenGame);

            #line default
            #line hidden
                return;

            case 5:

            #line 10 "..\..\Pairs_game.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_SaveGame);

            #line default
            #line hidden
                return;

            case 6:

            #line 11 "..\..\Pairs_game.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_Exit);

            #line default
            #line hidden
                return;

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

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

            #line 14 "..\..\Pairs_game.xaml"
                this.Beginner.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_Beginner);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\Pairs_game.xaml"
                this.Intermediate.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_Intermediate);

            #line default
            #line hidden
                return;

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

            #line 16 "..\..\Pairs_game.xaml"
                this.Custom.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_Custom);

            #line default
            #line hidden
                return;

            case 11:

            #line 19 "..\..\Pairs_game.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_About);

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            case 26:
                this.gridTabelaJoc = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\MainWindow.xaml"
     ((Microsoft.Samples.Kinect.SkeletonBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);
     
     #line default
     #line hidden
     
     #line 6 "..\..\MainWindow.xaml"
     ((Microsoft.Samples.Kinect.SkeletonBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Image = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.button = ((System.Windows.Controls.Button)(target));
     
     #line 53 "..\..\MainWindow.xaml"
     this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.dogebutton = ((System.Windows.Controls.Button)(target));
     
     #line 54 "..\..\MainWindow.xaml"
     this.dogebutton.Click += new System.Windows.RoutedEventHandler(this.dogebutton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.centerbutton = ((System.Windows.Controls.Button)(target));
     
     #line 55 "..\..\MainWindow.xaml"
     this.centerbutton.Click += new System.Windows.RoutedEventHandler(this.centerbutton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 8:
     this.infoImage = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     
     #line 60 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.setMountain);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 61 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.setTree);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 62 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.setSalute);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 63 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.setWarrior);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 64 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.setReverse);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 65 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.setFlower);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 66 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.setNone);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainPane = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.Configuration = ((PosControls.ConfigurationManager)(target));
                return;

            case 3:

            #line 27 "..\..\..\OrderEntryControl.xaml"
                ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);

            #line default
            #line hidden
                return;

            case 4:
                this.mainContentBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.couponEntryControl = ((TemPOS.TicketCouponControl)(target));
                return;

            case 6:
                this.discountControl = ((TemPOS.TicketDiscountControl)(target));
                return;

            case 7:
                this.ticketDetailsControl = ((TemPOS.OrderEntryTicketDetailsControl)(target));
                return;

            case 8:
                this.ticketSelectionControl = ((TemPOS.OrderEntryTicketSelectionControl)(target));
                return;

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

            case 10:
                this.nonOrderCommandControl = ((TemPOS.OrderEntryNonOrderCommandsControl)(target));
                return;

            case 11:
                this.groupBoxOrderCommands = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 12:
                this.orderCommandControl = ((TemPOS.OrderEntryOrderCommandsControl)(target));
                return;

            case 13:
                this.groupBoxOptions = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 14:
                this.orderEntryItemOptions = ((TemPOS.OrderEntryStandardItemOptionsControl)(target));
                return;

            case 15:
                this.orderEntryPizzaItemOptions = ((TemPOS.OrderEntryPizzaItemControl)(target));
                return;

            case 16:
                this.groupBoxItems = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 17:
                this.orderEntryItemSelection = ((TemPOS.OrderEntryItemSelectionControl)(target));
                return;

            case 18:
                this.groupBoxCategories = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 19:
                this.buttonTouchInputCategory = ((TemPOS.OrderEntryCategorySelectionControl)(target));
                return;

            case 20:
                this.receiptTape1 = ((TemPOS.OrderEntryReceiptTape)(target));
                return;

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

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

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

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

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

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

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

            case 28:
                this.textBlockTime = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #27
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Button_turnon = ((ArduinoCommunication.MainWindow)(target));
     return;
     case 2:
     this.Grid_parent = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Button_Close = ((System.Windows.Controls.Button)(target));
     return;
     case 4:
     this.StatusBar_mystatus = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 5:
     this.TextBlock_StatusCaption = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.Menu_MyMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 7:
     this.MenuItem1 = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 8:
     
     #line 29 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Close_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.MenuItem2 = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 10:
     this.Slider_Deg1 = ((System.Windows.Controls.Slider)(target));
     
     #line 40 "..\..\MainWindow.xaml"
     this.Slider_Deg1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.Slider_Deg1_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Textbox_test = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.This = ((Geldverleih.UI.MainWindow)(target));
                return;

            case 2:
                this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 3:
                this.toolBar1 = ((System.Windows.Controls.ToolBar)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 8:
                this.StatistikTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

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

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

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

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

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

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

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

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

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

            case 19:
                this.EinnahmenBisDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 67 "..\..\..\MainWindow.xaml"
                this.AuswertenButton.Click += new System.Windows.RoutedEventHandler(this.AuswertenButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #29
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.wind = ((NicoTrola.MainWindow)(target));
     
     #line 10 "..\..\..\MainWindow.xaml"
     this.wind.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);
     
     #line default
     #line hidden
     
     #line 10 "..\..\..\MainWindow.xaml"
     this.wind.KeyUp += new System.Windows.Input.KeyEventHandler(this.Window_KeyUp);
     
     #line default
     #line hidden
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.wind.LostKeyboardFocus += new System.Windows.Input.KeyboardFocusChangedEventHandler(this.wind_LostKeyboardFocus);
     
     #line default
     #line hidden
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.wind.Loaded += new System.Windows.RoutedEventHandler(this.wind_Loaded);
     
     #line default
     #line hidden
     
     #line 12 "..\..\..\MainWindow.xaml"
     this.wind.Closed += new System.EventHandler(this.wind_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.genreUp = ((System.Windows.Shapes.Polygon)(target));
     
     #line 224 "..\..\..\MainWindow.xaml"
     this.genreUp.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.genreUp_TouchDown);
     
     #line default
     #line hidden
     
     #line 224 "..\..\..\MainWindow.xaml"
     this.genreUp.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.genreUp_TouchUp);
     
     #line default
     #line hidden
     return;
     case 3:
     this.listBoxGenre = ((System.Windows.Controls.ListBox)(target));
     
     #line 239 "..\..\..\MainWindow.xaml"
     this.listBoxGenre.SizeChanged += new System.Windows.SizeChangedEventHandler(this.listBoxGenre_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.genreDown = ((System.Windows.Shapes.Polygon)(target));
     
     #line 241 "..\..\..\MainWindow.xaml"
     this.genreDown.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.genreDown_TouchDown);
     
     #line default
     #line hidden
     
     #line 241 "..\..\..\MainWindow.xaml"
     this.genreDown.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.genreDown_TouchUp);
     
     #line default
     #line hidden
     return;
     case 5:
     this.artistUp = ((System.Windows.Shapes.Polygon)(target));
     
     #line 259 "..\..\..\MainWindow.xaml"
     this.artistUp.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.artistUp_TouchDown);
     
     #line default
     #line hidden
     
     #line 259 "..\..\..\MainWindow.xaml"
     this.artistUp.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.artistUp_TouchUp);
     
     #line default
     #line hidden
     return;
     case 6:
     this.listBoxArtist = ((System.Windows.Controls.ListBox)(target));
     return;
     case 7:
     this.artistDown = ((System.Windows.Shapes.Polygon)(target));
     
     #line 276 "..\..\..\MainWindow.xaml"
     this.artistDown.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.artistDown_TouchUp);
     
     #line default
     #line hidden
     
     #line 276 "..\..\..\MainWindow.xaml"
     this.artistDown.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.artistDown_TouchDown);
     
     #line default
     #line hidden
     return;
     case 8:
     this.trackUp = ((System.Windows.Shapes.Polygon)(target));
     
     #line 293 "..\..\..\MainWindow.xaml"
     this.trackUp.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.trackUp_TouchDown);
     
     #line default
     #line hidden
     
     #line 293 "..\..\..\MainWindow.xaml"
     this.trackUp.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.trackUp_TouchUp);
     
     #line default
     #line hidden
     return;
     case 9:
     this.listBoxTrack = ((System.Windows.Controls.ListBox)(target));
     
     #line 309 "..\..\..\MainWindow.xaml"
     this.listBoxTrack.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.listBoxTrack_TouchDown);
     
     #line default
     #line hidden
     return;
     case 10:
     this.trackDown = ((System.Windows.Shapes.Polygon)(target));
     
     #line 313 "..\..\..\MainWindow.xaml"
     this.trackDown.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.trackDown_TouchDown);
     
     #line default
     #line hidden
     
     #line 313 "..\..\..\MainWindow.xaml"
     this.trackDown.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.trackDown_TouchUp);
     
     #line default
     #line hidden
     return;
     case 11:
     this.gridOptions = ((System.Windows.Controls.Grid)(target));
     return;
     case 12:
     this.imageArtist = ((System.Windows.Controls.Image)(target));
     return;
     case 13:
     this.listBoxReproduction = ((System.Windows.Controls.ListView)(target));
     return;
     case 14:
     this.mediaElement = ((System.Windows.Controls.MediaElement)(target));
     
     #line 350 "..\..\..\MainWindow.xaml"
     this.mediaElement.MediaFailed += new System.EventHandler<System.Windows.ExceptionRoutedEventArgs>(this.mediaElement_MediaFailed);
     
     #line default
     #line hidden
     return;
     case 15:
     this.labelMoney = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.textBlockMoney = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 17:
     this.textBlockReference = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.canMain = ((System.Windows.Controls.Canvas)(target));
     return;
     case 19:
     this.tbmarquee = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.sbar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 21:
     this.progressBar1 = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 22:
     this.storyBoard = ((System.Windows.Media.Animation.Storyboard)(target));
     return;
     case 23:
     this.dAmElementBs = ((System.Windows.Media.Animation.DoubleAnimation)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\MainWindow.xaml"
                ((txtEditor_A02.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.TextWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            case 9:
                this.wordLineCounter = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

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

            #line 74 "..\..\MainWindow.xaml"
                this.textInput.KeyUp += new System.Windows.Input.KeyEventHandler(this.StatusShow_KeyUp);

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

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

            #line default
            #line hidden
                return;

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

            case 3:
                this.btnPowerOn = ((System.Windows.Controls.Primitives.ToggleButton)(target));

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

            #line default
            #line hidden
                return;

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

            case 5:
                this.stb = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

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

            #line 105 "..\..\MainWindow.xaml"
                this.btnResetConfirm.Click += new System.Windows.RoutedEventHandler(this.btnResetConfirm_Click);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\MainWindow.xaml"
                this.cbMode.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line 125 "..\..\MainWindow.xaml"
                this.btnLoadFile.Click += new System.Windows.RoutedEventHandler(this.btnLoadFile_Click);

            #line default
            #line hidden
                return;

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

            #line 126 "..\..\MainWindow.xaml"
                this.btnStartTransfer.Click += new System.Windows.RoutedEventHandler(this.btnStartTransfer_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 16:

            #line 135 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 135 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.StackPanel_PreviewMouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 17:
                this.sdrS1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 18:
                this.sdrS2 = ((System.Windows.Controls.Slider)(target));
                return;

            case 19:
                this.sdrS3 = ((System.Windows.Controls.Slider)(target));
                return;

            case 20:
                this.sdrS4 = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            case 33:
                this.sdrW1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 34:
                this.sdrW2 = ((System.Windows.Controls.Slider)(target));
                return;

            case 35:
                this.sdrW3 = ((System.Windows.Controls.Slider)(target));
                return;

            case 36:
                this.sdrW4 = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

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

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

            #line 200 "..\..\MainWindow.xaml"
                this.btnPullW1.Click += new System.Windows.RoutedEventHandler(this.btnPullW1_Click);

            #line default
            #line hidden
                return;

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

            case 43:
                this.btnPullW2 = ((System.Windows.Controls.Button)(target));
                return;

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

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

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

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

            case 48:
                this.btnReleaseW4 = ((System.Windows.Controls.Button)(target));
                return;

            case 49:
                this.sdrE1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 50:
                this.sdrE2 = ((System.Windows.Controls.Slider)(target));
                return;

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

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

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

            case 54:
                this.btnReleaseE1 = ((System.Windows.Controls.Button)(target));
                return;

            case 55:
                this.btnPullE2 = ((System.Windows.Controls.Button)(target));

            #line 233 "..\..\MainWindow.xaml"
                this.btnPullE2.Click += new System.Windows.RoutedEventHandler(this.btnPullE2_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.btnReleaseE2 = ((System.Windows.Controls.Button)(target));
                return;

            case 57:
                this.gbSingleJoint = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 58:
                this.sdrSZ = ((System.Windows.Controls.Slider)(target));
                return;

            case 59:
                this.sdrSY = ((System.Windows.Controls.Slider)(target));
                return;

            case 60:
                this.sdrSX = ((System.Windows.Controls.Slider)(target));
                return;

            case 61:
                this.sdrE = ((System.Windows.Controls.Slider)(target));
                return;

            case 62:
                this.sdrWZ = ((System.Windows.Controls.Slider)(target));
                return;

            case 63:
                this.sdrWY = ((System.Windows.Controls.Slider)(target));
                return;

            case 64:
                this.sdrWX = ((System.Windows.Controls.Slider)(target));
                return;

            case 65:
                this.btnSingleJointZero = ((System.Windows.Controls.Button)(target));

            #line 295 "..\..\MainWindow.xaml"
                this.btnSingleJointZero.Click += new System.Windows.RoutedEventHandler(this.btnSingleJointZero_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.btnSingleJointAction = ((System.Windows.Controls.Button)(target));

            #line 296 "..\..\MainWindow.xaml"
                this.btnSingleJointAction.Click += new System.Windows.RoutedEventHandler(this.btnSingleJointAction_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.btnLoadStartPoint = ((System.Windows.Controls.Button)(target));

            #line 299 "..\..\MainWindow.xaml"
                this.btnLoadStartPoint.Click += new System.Windows.RoutedEventHandler(this.btnLoadStartPoint_Click);

            #line default
            #line hidden
                return;

            case 68:
                this.l1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 69:
                this.l2 = ((System.Windows.Controls.Slider)(target));
                return;

            case 70:
                this.h1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 71:
                this.h2 = ((System.Windows.Controls.Slider)(target));
                return;

            case 72:
                this.A1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 73:
                this.A2 = ((System.Windows.Controls.Slider)(target));
                return;

            case 74:
                this.A3 = ((System.Windows.Controls.Slider)(target));
                return;

            case 75:
                this.A4 = ((System.Windows.Controls.Slider)(target));
                return;

            case 76:
                this.B1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 77:
                this.B2 = ((System.Windows.Controls.Slider)(target));
                return;

            case 78:
                this.B3 = ((System.Windows.Controls.Slider)(target));
                return;

            case 79:
                this.B4 = ((System.Windows.Controls.Slider)(target));
                return;

            case 80:
                this.B5 = ((System.Windows.Controls.Slider)(target));
                return;

            case 81:
                this.B6 = ((System.Windows.Controls.Slider)(target));
                return;

            case 82:
                this.C1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 83:
                this.C2 = ((System.Windows.Controls.Slider)(target));
                return;

            case 84:
                this.btnMechPara = ((System.Windows.Controls.Button)(target));

            #line 450 "..\..\MainWindow.xaml"
                this.btnMechPara.Click += new System.Windows.RoutedEventHandler(this.btnMechPara_Click);

            #line default
            #line hidden
                return;

            case 85:
                this.plotterJointAngle = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 86:
                this.plotterIMU1 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 87:
                this.plotterIMU2 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 88:
                this.plotterIMU3 = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 89:
                this.rtbConsole = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 90:
                this.paraConsole = ((System.Windows.Documents.Paragraph)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #32
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 12 "..\..\ModelTransform.xaml"
     ((Battlehack.ModelTransform)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ModelTransformLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.sensorChooserUi = ((Microsoft.Kinect.Toolkit.KinectSensorChooserUI)(target));
     return;
     case 4:
     this.EntireGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.SmsText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.Backdrop = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.Macklemore = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.SpaceNeedle = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.MaskedColor = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.MaskedColor2 = ((System.Windows.Controls.Image)(target));
     return;
     case 11:
     this.MaskedColor3 = ((System.Windows.Controls.Image)(target));
     return;
     case 12:
     this.view1 = ((HelixToolkit.Wpf.HelixViewport3D)(target));
     return;
     case 13:
     this.Dress = ((System.Windows.Media.Media3D.ModelVisual3D)(target));
     return;
     case 14:
     this.buttonScreenshot = ((System.Windows.Controls.Button)(target));
     
     #line 148 "..\..\ModelTransform.xaml"
     this.buttonScreenshot.Click += new System.Windows.RoutedEventHandler(this.ButtonScreenshotClick);
     
     #line default
     #line hidden
     return;
     case 15:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:
                this.MenuBalk = ((System.Windows.Controls.Menu)(target));
                return;

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

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

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

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

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

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

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

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

            #line 39 "..\..\MainWindow.xaml"
                this.Kerstkaart.Click += new System.Windows.RoutedEventHandler(this.KerstkaartBg);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 16:
                this.KaartCanvas = ((System.Windows.Controls.Canvas)(target));

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

            #line default
            #line hidden
                return;

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

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

            case 19:
                this.sleepEllipse = ((System.Windows.Shapes.Ellipse)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.sleepEllipse.MouseMove += new System.Windows.Input.MouseEventHandler(this.Ellipse_MouseMove);

            #line default
            #line hidden
                return;

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

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

            case 22:
                this.Plus = ((System.Windows.Controls.Primitives.RepeatButton)(target));

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

            #line default
            #line hidden
                return;

            case 23:
                this.Min = ((System.Windows.Controls.Primitives.RepeatButton)(target));

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

            #line default
            #line hidden
                return;

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

            case 25:
                this.KaartStatus = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 26:
                this.StatusItemName = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #34
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((ProjectK.ErgoMC.Assessment.Rula)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.img_status = ((System.Windows.Controls.Image)(target));
     return;
     case 3:
     
     #line 59 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked_1);
     
     #line default
     #line hidden
     return;
     case 4:
     this.lb_orientations = ((System.Windows.Controls.ListBox)(target));
     return;
     case 5:
     
     #line 98 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.upper_arm_score = ((System.Windows.Controls.TextBox)(target));
     
     #line 112 "..\..\..\MainWindow.xaml"
     this.upper_arm_score.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 132 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionalUpperArm_Checked);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 141 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionalUpperArm_Checked);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 149 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionalUpperArm_Checked);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 158 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.lower_arm_score = ((System.Windows.Controls.TextBox)(target));
     
     #line 169 "..\..\..\MainWindow.xaml"
     this.lower_arm_score.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.lower_arm_add1 = ((System.Windows.Controls.CheckBox)(target));
     
     #line 186 "..\..\..\MainWindow.xaml"
     this.lower_arm_add1.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxLowerArmPosition_Checked);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 196 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.txt_wrist_position = ((System.Windows.Controls.TextBox)(target));
     
     #line 215 "..\..\..\MainWindow.xaml"
     this.txt_wrist_position.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 232 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.CheckBoxWristPosition_Checked);
     
     #line default
     #line hidden
     return;
     case 16:
     
     #line 248 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     
     #line 259 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     
     #line 279 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionaWristTwist_Checked);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 285 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionaWristTwist_Checked);
     
     #line default
     #line hidden
     return;
     case 20:
     
     #line 302 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     
     #line 313 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 22:
     
     #line 322 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.ArmMuscleUse_Checked);
     
     #line default
     #line hidden
     return;
     case 23:
     
     #line 334 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     
     #line 345 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 25:
     
     #line 348 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_armWristLoad_Checked);
     
     #line default
     #line hidden
     return;
     case 26:
     
     #line 349 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_armWristLoad_Checked);
     
     #line default
     #line hidden
     return;
     case 27:
     
     #line 350 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_armWristLoad_Checked);
     
     #line default
     #line hidden
     return;
     case 28:
     
     #line 351 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_armWristLoad_Checked);
     
     #line default
     #line hidden
     return;
     case 29:
     
     #line 371 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 30:
     this.neck_position_score = ((System.Windows.Controls.TextBox)(target));
     
     #line 384 "..\..\..\MainWindow.xaml"
     this.neck_position_score.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 31:
     
     #line 391 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionalNeckPosition_Checked);
     
     #line default
     #line hidden
     return;
     case 32:
     
     #line 395 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionalNeckPosition_Checked);
     
     #line default
     #line hidden
     return;
     case 33:
     
     #line 404 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.trunk_poosition_score = ((System.Windows.Controls.TextBox)(target));
     
     #line 416 "..\..\..\MainWindow.xaml"
     this.trunk_poosition_score.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 35:
     
     #line 425 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionalTrunkPosition_Checked);
     
     #line default
     #line hidden
     return;
     case 36:
     
     #line 433 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionalTrunkPosition_Checked);
     
     #line default
     #line hidden
     return;
     case 37:
     
     #line 442 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 38:
     
     #line 454 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 39:
     
     #line 461 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionalLegPosition_Checked);
     
     #line default
     #line hidden
     return;
     case 40:
     
     #line 469 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_additionalLegPosition_Checked);
     
     #line default
     #line hidden
     return;
     case 41:
     
     #line 480 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 42:
     
     #line 492 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 43:
     
     #line 496 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.NeckMuscleUse_Checked);
     
     #line default
     #line hidden
     return;
     case 44:
     
     #line 508 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 45:
     
     #line 520 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);
     
     #line default
     #line hidden
     return;
     case 46:
     
     #line 524 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_neckForceLoad_Checked);
     
     #line default
     #line hidden
     return;
     case 47:
     
     #line 525 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_neckForceLoad_Checked);
     
     #line default
     #line hidden
     return;
     case 48:
     
     #line 526 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_neckForceLoad_Checked);
     
     #line default
     #line hidden
     return;
     case 49:
     
     #line 527 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.rdb_neckForceLoad_Checked);
     
     #line default
     #line hidden
     return;
     case 50:
     
     #line 528 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_evaluate);
     
     #line default
     #line hidden
     return;
     case 51:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #35
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 4 "..\..\MainWindow.xaml"
                ((HastaGirisi.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 14:
                this.image = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line 54 "..\..\MainWindow.xaml"
                this.mnuAdminLogin.Click += new System.Windows.RoutedEventHandler(this.mnuAdminLogin_Click);

            #line default
            #line hidden
                return;

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

            #line 73 "..\..\MainWindow.xaml"
                this.btnLogIn.Click += new System.Windows.RoutedEventHandler(this.btnLogIn_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.MainStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 9:
                this.statusMessage = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

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

            case 11:
                this.lstMediaList = ((System.Windows.Controls.ListBox)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.lstMediaList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LstMediaList_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\MainWindow.xaml"
                this.lstCart.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstCart_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 17:
                this.cmbMovies = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 91 "..\..\MainWindow.xaml"
                this.cmbMovies.Selected += new System.Windows.RoutedEventHandler(this.cmbMovies_Selected);

            #line default
            #line hidden
                return;

            case 18:
                this.cmbVideoGames = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.cmbVideoGames.Selected += new System.Windows.RoutedEventHandler(this.cmbVideoGames_Selected);

            #line default
            #line hidden
                return;

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

            case 20:
                this.cmbAction = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 95 "..\..\MainWindow.xaml"
                this.cmbAction.Selected += new System.Windows.RoutedEventHandler(this.cmbAction_Selected);

            #line default
            #line hidden
                return;

            case 21:
                this.cmbDrama = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 96 "..\..\MainWindow.xaml"
                this.cmbDrama.Selected += new System.Windows.RoutedEventHandler(this.cmbDrama_Selected);

            #line default
            #line hidden
                return;

            case 22:
                this.cmbComedy = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 97 "..\..\MainWindow.xaml"
                this.cmbComedy.Selected += new System.Windows.RoutedEventHandler(this.cmbComedy_Selected);

            #line default
            #line hidden
                return;

            case 23:
                this.cmbShooter = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 98 "..\..\MainWindow.xaml"
                this.cmbShooter.Selected += new System.Windows.RoutedEventHandler(this.cmbShooter_Selected);

            #line default
            #line hidden
                return;

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

            #line 99 "..\..\MainWindow.xaml"
                this.cmbSimulation.Selected += new System.Windows.RoutedEventHandler(this.cmbSimulation_Selected);

            #line default
            #line hidden
                return;

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

            #line 100 "..\..\MainWindow.xaml"
                this.cmbRpg.Selected += new System.Windows.RoutedEventHandler(this.cmbRpg_Selected);

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\MainWindow.xaml"
                this.cmbAll1.Selected += new System.Windows.RoutedEventHandler(this.cmbAll1_Selected);

            #line default
            #line hidden
                return;

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

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

            #line 104 "..\..\MainWindow.xaml"
                this.cmbDvd.Selected += new System.Windows.RoutedEventHandler(this.cmbDvd_Selected);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\MainWindow.xaml"
                this.cmbBluRay.Selected += new System.Windows.RoutedEventHandler(this.cmbBluRay_Selected);

            #line default
            #line hidden
                return;

            case 30:
                this.cmbXbox = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 106 "..\..\MainWindow.xaml"
                this.cmbXbox.Selected += new System.Windows.RoutedEventHandler(this.cmbXbox_Selected);

            #line default
            #line hidden
                return;

            case 31:
                this.cmbPs4 = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 107 "..\..\MainWindow.xaml"
                this.cmbPs4.Selected += new System.Windows.RoutedEventHandler(this.cmbPs4_Selected);

            #line default
            #line hidden
                return;

            case 32:
                this.cmbPc = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 108 "..\..\MainWindow.xaml"
                this.cmbPc.Selected += new System.Windows.RoutedEventHandler(this.cmbPc_Selected);

            #line default
            #line hidden
                return;

            case 33:
                this.cmbAll2 = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.cmbAll2.Selected += new System.Windows.RoutedEventHandler(this.cmbAll2_Selected);

            #line default
            #line hidden
                return;

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

            #line 112 "..\..\MainWindow.xaml"
                this.btnAddToCart.Click += new System.Windows.RoutedEventHandler(this.btnAddToCart_Click);

            #line default
            #line hidden
                return;

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

            #line 113 "..\..\MainWindow.xaml"
                this.btnClearCart.Click += new System.Windows.RoutedEventHandler(this.btnClearCart_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #37
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 23 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 26 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.RefreshCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 29 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 32 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.BackCommandCanExecute);
     
     #line default
     #line hidden
     
     #line 33 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.BackCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 36 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.ForwardCommandCanExecute);
     
     #line default
     #line hidden
     
     #line 37 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.ForwardCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 40 "..\..\..\MainWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SearchCommandExecuted);
     
     #line default
     #line hidden
     return;
     case 7:
     this.mainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 8:
     this.toolBar = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 9:
     this.languageComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 10:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 11:
     this.StatusLabel = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.leftColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 13:
     this.rightColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 14:
     this.treeView = ((ICSharpCode.TreeView.SharpTreeView)(target));
     
     #line 113 "..\..\..\MainWindow.xaml"
     this.treeView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeView_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 15:
     this.topPaneRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 16:
     this.textViewRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 17:
     this.bottomPaneRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 18:
     this.updateAvailablePanel = ((System.Windows.Controls.Border)(target));
     return;
     case 19:
     
     #line 142 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.updateAvailablePanelCloseButtonClick);
     
     #line default
     #line hidden
     return;
     case 20:
     
     #line 145 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.downloadUpdateButtonClick);
     
     #line default
     #line hidden
     return;
     case 21:
     this.topPane = ((ICSharpCode.ILSpy.Controls.DockedPane)(target));
     return;
     case 22:
     this.mainPane = ((System.Windows.Controls.ContentPresenter)(target));
     return;
     case 23:
     this.bottomPane = ((ICSharpCode.ILSpy.Controls.DockedPane)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.KinectSecuritySystem.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.KinectSecuritySystem.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.kinectBodyViewbox = ((System.Windows.Controls.Viewbox)(target));
                return;

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

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

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

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

            #line 171 "..\..\..\MainWindow.xaml"
                this.cmbFirst.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded);

            #line default
            #line hidden
                return;

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

            #line 175 "..\..\..\MainWindow.xaml"
                this.cmbSecond.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded);

            #line default
            #line hidden
                return;

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

            #line 179 "..\..\..\MainWindow.xaml"
                this.cmbThird.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded);

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

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

            case 14:

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 19:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #39
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((Tsuchidasan.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((Tsuchidasan.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.DataWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.StatusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 3:
     this.SearchText = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     
     #line 13 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.StatusLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     
     #line 23 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 40 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this._dockingManager = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
     return;
     case 10:
     this._TreeView = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
     return;
     case 11:
     this.TreeView1 = ((System.Windows.Controls.TreeView)(target));
     
     #line 51 "..\..\..\MainWindow.xaml"
     this.TreeView1.Drop += new System.Windows.DragEventHandler(this.TreeView1_Drop);
     
     #line default
     #line hidden
     
     #line 51 "..\..\..\MainWindow.xaml"
     this.TreeView1.PreviewDragOver += new System.Windows.DragEventHandler(this.TreeView1_PreviewDragOver);
     
     #line default
     #line hidden
     
     #line 51 "..\..\..\MainWindow.xaml"
     this.TreeView1.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.TreeView1_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.ColorBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 4 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.ColorBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            #line 69 "..\..\MainWindow.xaml"
                this.mError.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.mError_ValueChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #41
0
        private void InitializeComponent(Configuration cfg)
        {
            this.Width = 1024;
            this.Height = 768;

            Button btnNew = NewImageButton(ApplicationCommands.New, "New", "New(Ctrl-N)", "New_16x16.png");
            Button btnOpen = NewImageButton(ApplicationCommands.Open, "Open", "Open(Ctrl-O)", "Open_16x16.png");
            Button btnSave = NewImageButton(ApplicationCommands.Save, "Save", "Save(Ctrl-S)", "Save_16x16.png");
            Button btnExecute = NewImageButton(ExecuteCommand, "Execute", "Execute(F5)", "Next_16x16.png");

            DockPanel dockPanel = new DockPanel();
            this.Content = dockPanel;

            //Tool bar
            ToolBarTray tray = new ToolBarTray();
            tray.SetValue(DockPanel.DockProperty, Dock.Top);
            dockPanel.Children.Add(tray);

            ToolBar toolBar;
            tray.ToolBars.Add(toolBar = new ToolBar());
            toolBar.Items.Add(btnNew);
            toolBar.Items.Add(btnOpen);
            toolBar.Items.Add(btnSave);
            tray.ToolBars.Add(toolBar = new ToolBar());
            toolBar.Items.Add(btnExecute);

            //status bar
            StatusBar statusBar = new StatusBar { Height = 20 };
            statusBar.Items.Add(new StatusBarItem { Content = lblMessage, HorizontalAlignment = HorizontalAlignment.Left });
            statusBar.Items.Add(new StatusBarItem { Content = lblCursorPosition, HorizontalAlignment = HorizontalAlignment.Right });
            statusBar.Items.Add(new StatusBarItem { Content = lblRowCount, HorizontalAlignment = HorizontalAlignment.Right });
            statusBar.SetValue(DockPanel.DockProperty, Dock.Bottom);
            dockPanel.Children.Add(statusBar);

            #region editor and results
            Grid grid = new Grid();
            grid.RowDefinitions.Add(new RowDefinition());
            grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(5) });
            grid.RowDefinitions.Add(new RowDefinition());

            dockPanel.Children.Add(grid);
            textBox.Foreground = cfg.GetSolidBrush("gui.sql.editor.Foreground", Colors.Black);
            textBox.Background = cfg.GetSolidBrush("gui.sql.editor.Background", Colors.White);

            //Paragraph space
            Style style = new Style { TargetType = typeof(Paragraph) };
            style.Setters.Add(new Setter { Property = Block.MarginProperty, Value = new Thickness(0) });
            textBox.Resources.Add(typeof(Paragraph), style);

            GridSplitter splitter = new GridSplitter { Height = 5, HorizontalAlignment = HorizontalAlignment.Stretch };
            tabControl.Foreground = cfg.GetSolidBrush("gui.sql.editor.Foreground", Colors.Black);
            tabControl.Background = cfg.GetSolidBrush("gui.sql.editor.Background", Colors.White);

            textBox.SetValue(Grid.RowProperty, 0);
            splitter.SetValue(Grid.RowProperty, 1);
            tabControl.SetValue(Grid.RowProperty, 2);
            grid.Children.Add(textBox);
            grid.Children.Add(splitter);
            grid.Children.Add(tabControl);

            #endregion

            CommandBinding binding;
            RoutedUICommand[] commands = new RoutedUICommand[]
               {
                  ApplicationCommands.New,
                  ApplicationCommands.Open,
                  ApplicationCommands.Save,
                  ExecuteCommand
               };

            foreach (var cmd in commands)
            {
                binding = new CommandBinding(cmd);
                binding.Executed += commandExecute;
                binding.CanExecute += commandCanExecute;
                this.CommandBindings.Add(binding);
            }
        }
Beispiel #42
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.SpeechBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 5 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.SpeechBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.playArea = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.turtle = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.turtleRotation = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 5:
                this.turtleTranslation = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 6:
                this.forwardSpan = ((System.Windows.Documents.Span)(target));
                return;

            case 7:
                this.backSpan = ((System.Windows.Documents.Span)(target));
                return;

            case 8:
                this.leftSpan = ((System.Windows.Documents.Span)(target));
                return;

            case 9:
                this.rightSpan = ((System.Windows.Documents.Span)(target));
                return;

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

            case 11:
                this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #43
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\MainWindow.xaml"
     ((Cursor3.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\MainWindow.xaml"
     ((Cursor3.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Image = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 5:
     this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.scrollViewer1 = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 7:
     this.text = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((SPEAQ.MainWindow)(target));
                return;

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

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

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

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

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

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

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

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

            case 13:
                this.Global_tab = ((System.Windows.Controls.TabControl)(target));

            #line 31 "..\..\..\MainWindow.xaml"
                this.Global_tab.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Global_tab_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line 51 "..\..\..\MainWindow.xaml"
                this.MaxQuantCheckBox.Checked += new System.Windows.RoutedEventHandler(this.MaxQuantChecked);

            #line default
            #line hidden

            #line 51 "..\..\..\MainWindow.xaml"
                this.MaxQuantCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.MaxQuantUnchecked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden

            #line 52 "..\..\..\MainWindow.xaml"
                this.SWATHCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.SWATHUnchecked);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\..\MainWindow.xaml"
                this.mzQuantMLCheckBox.Checked += new System.Windows.RoutedEventHandler(this.mzQuantMLChecked);

            #line default
            #line hidden

            #line 53 "..\..\..\MainWindow.xaml"
                this.mzQuantMLCheckBox.Unchecked += new System.Windows.RoutedEventHandler(this.mzQuantMLUnchecked);

            #line default
            #line hidden
                return;

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

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

            #line 65 "..\..\..\MainWindow.xaml"
                this.txtfasta.MouseLeave += new System.Windows.Input.MouseEventHandler(this.txtfasta_MouseLeave);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 21:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

            case 24:
                this.GridPanel3 = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 92 "..\..\..\MainWindow.xaml"
                this.ContainDecoyProtein.Checked += new System.Windows.RoutedEventHandler(this.DecoyProteinChecked);

            #line default
            #line hidden

            #line 92 "..\..\..\MainWindow.xaml"
                this.ContainDecoyProtein.Unchecked += new System.Windows.RoutedEventHandler(this.DecoyProteinUnchecked);

            #line default
            #line hidden
                return;

            case 26:
                this.NoDecoyProtein = ((System.Windows.Controls.CheckBox)(target));

            #line 93 "..\..\..\MainWindow.xaml"
                this.NoDecoyProtein.Checked += new System.Windows.RoutedEventHandler(this.NoDecoyProteinChecked);

            #line default
            #line hidden

            #line 93 "..\..\..\MainWindow.xaml"
                this.NoDecoyProtein.Unchecked += new System.Windows.RoutedEventHandler(this.NoDecoyProteinUnchecked);

            #line default
            #line hidden
                return;

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

            case 28:
                this.ExistContaProteins = ((System.Windows.Controls.CheckBox)(target));

            #line 104 "..\..\..\MainWindow.xaml"
                this.ExistContaProteins.Checked += new System.Windows.RoutedEventHandler(this.ExistContaProteinsChecked);

            #line default
            #line hidden

            #line 104 "..\..\..\MainWindow.xaml"
                this.ExistContaProteins.Unchecked += new System.Windows.RoutedEventHandler(this.ExistContaProteinsUnchecked);

            #line default
            #line hidden
                return;

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

            #line 105 "..\..\..\MainWindow.xaml"
                this.NoContaProteins.Checked += new System.Windows.RoutedEventHandler(this.NoContaProteins_Checked);

            #line default
            #line hidden

            #line 105 "..\..\..\MainWindow.xaml"
                this.NoContaProteins.Unchecked += new System.Windows.RoutedEventHandler(this.NoContaProteins_Unchecked);

            #line default
            #line hidden
                return;

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

            case 31:
                this.InputDirectoryStack = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 120 "..\..\..\MainWindow.xaml"
                this.txtInputDirectoryPath.MouseLeave += new System.Windows.Input.MouseEventHandler(this.txtDirectoryPath_MouseLeave);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 34:
                this.InputFileStack = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 125 "..\..\..\MainWindow.xaml"
                this.txtInputFilePath.MouseLeave += new System.Windows.Input.MouseEventHandler(this.FilePath_MouseLeave);

            #line default
            #line hidden
                return;

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

            #line 126 "..\..\..\MainWindow.xaml"
                this.InputFile_Browse.Click += new System.Windows.RoutedEventHandler(this.InputFile_Browse_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 38:
                this.RegressionParamGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 39:
                this.ComboBoxRegressionMethod = ((System.Windows.Controls.ComboBox)(target));

            #line 157 "..\..\..\MainWindow.xaml"
                this.ComboBoxRegressionMethod.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.method_SelectionChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.CbiStepwise = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 41:
                this.CbiBART = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

            #line 187 "..\..\..\MainWindow.xaml"
                this.txtAlpha1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtAlpha1_TextChanged);

            #line default
            #line hidden

            #line 187 "..\..\..\MainWindow.xaml"
                this.txtAlpha1.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtAlpha1_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\..\MainWindow.xaml"
                this.txtAlpha2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtAlpha2_TextChanged);

            #line default
            #line hidden

            #line 188 "..\..\..\MainWindow.xaml"
                this.txtAlpha2.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtAlpha2_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 45:
                this.BARTPanel = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 211 "..\..\..\MainWindow.xaml"
                this.txtAlpha.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtAlpha_TextChanged);

            #line default
            #line hidden

            #line 211 "..\..\..\MainWindow.xaml"
                this.txtAlpha.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtAlpha_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 223 "..\..\..\MainWindow.xaml"
                this.txtBeta.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtBeta_TextChanged);

            #line default
            #line hidden

            #line 223 "..\..\..\MainWindow.xaml"
                this.txtBeta.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtBeta_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 240 "..\..\..\MainWindow.xaml"
                this.txtK.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtK_TextChanged);

            #line default
            #line hidden

            #line 240 "..\..\..\MainWindow.xaml"
                this.txtK.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtK_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 251 "..\..\..\MainWindow.xaml"
                this.txtNumberOfTrees.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtNumberOfTrees_TextChanged);

            #line default
            #line hidden

            #line 251 "..\..\..\MainWindow.xaml"
                this.txtNumberOfTrees.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtNumberOfTrees_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 278 "..\..\..\MainWindow.xaml"
                this.txtMaxMissedCleave.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtMaxMissedCleave_TextChanged);

            #line default
            #line hidden

            #line 278 "..\..\..\MainWindow.xaml"
                this.txtMaxMissedCleave.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtMaxMissedCleave_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 288 "..\..\..\MainWindow.xaml"
                this.txtPepShotest.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPepShotest_TextChanged);

            #line default
            #line hidden

            #line 288 "..\..\..\MainWindow.xaml"
                this.txtPepShotest.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtPepShotest_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            #line 298 "..\..\..\MainWindow.xaml"
                this.txtPepLongest.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPepLongest_TextChanged);

            #line default
            #line hidden

            #line 298 "..\..\..\MainWindow.xaml"
                this.txtPepLongest.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtPepLongest_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            case 54:
                this.ComboBoxContainStand = ((System.Windows.Controls.ComboBox)(target));

            #line 322 "..\..\..\MainWindow.xaml"
                this.ComboBoxContainStand.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ContainStand_SelectionChanged);

            #line default
            #line hidden
                return;

            case 55:
                this.CbiYes = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 56:
                this.CbiNo = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 57:
                this.StandProteinGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 59:
                this.SetStandProteins = ((System.Windows.Controls.Button)(target));

            #line 337 "..\..\..\MainWindow.xaml"
                this.SetStandProteins.Click += new System.Windows.RoutedEventHandler(this.SetStandProteins_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.QuantParamGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 62:
                this.IfCalculateiBAQ = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 63:
                this.IfCalculateTop3 = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            #line 374 "..\..\..\MainWindow.xaml"
                this.txtResultPath.MouseLeave += new System.Windows.Input.MouseEventHandler(this.txtResultPath_MouseLeave);

            #line default
            #line hidden
                return;

            case 65:
                this.Result_Browse = ((System.Windows.Controls.Button)(target));

            #line 375 "..\..\..\MainWindow.xaml"
                this.Result_Browse.Click += new System.Windows.RoutedEventHandler(this.Result_Browse_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.Run_ButtonInQuantification = ((System.Windows.Controls.Button)(target));

            #line 381 "..\..\..\MainWindow.xaml"
                this.Run_ButtonInQuantification.Click += new System.Windows.RoutedEventHandler(this.QuantificationRun_Click);

            #line default
            #line hidden
                return;

            case 67:
                this.VisualizationTabItem = ((System.Windows.Controls.TabItem)(target));
                return;

            case 68:
                this.VisualizationGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 69:
                this.SPEAQ_result_grid = ((System.Windows.Controls.DataGrid)(target));

            #line 396 "..\..\..\MainWindow.xaml"
                this.SPEAQ_result_grid.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.SPEAQpep_gridSelectedChanged);

            #line default
            #line hidden
                return;

            case 70:
                this.canvasOfOneProtein = ((System.Windows.Controls.Canvas)(target));
                return;

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

            case 72:
                this.dataGrid_StandProteins = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 73:
                this.dataGrid_SelectExperiment = ((System.Windows.Controls.DataGrid)(target));

            #line 633 "..\..\..\MainWindow.xaml"
                this.dataGrid_SelectExperiment.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.dataGrid_SelectExperiment_SelectedChanged);

            #line default
            #line hidden
                return;

            case 74:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 75:
                this.SPEAQ_image = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 //Clear the message portion of the status bar
 public static void ClearMessage(StatusBar statusBar)
 {
     StatusBarUpdate.Message(statusBar, "");
 }
Beispiel #46
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frmMainWindow = ((MrBootman.MainWindow)(target));
                return;

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

            case 3:
                this.tabctrlBootman = ((System.Windows.Controls.TabControl)(target));
                return;

            case 4:
                this.tabitemImageToDrive = ((System.Windows.Controls.TabItem)(target));

            #line 99 "..\..\MainWindow.xaml"
                this.tabitemImageToDrive.GotFocus += new System.Windows.RoutedEventHandler(this.tabitemImageToDrive_GotFocus);

            #line default
            #line hidden
                return;

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

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

            #line 125 "..\..\MainWindow.xaml"
                this.btnTab1Browse.Click += new System.Windows.RoutedEventHandler(this.btnTab1Browse_Click);

            #line default
            #line hidden
                return;

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

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

            #line 141 "..\..\MainWindow.xaml"
                this.chkTab1ExtractImageDirectToDrive.Loaded += new System.Windows.RoutedEventHandler(this.chkTab1ExtractImageDirectToDrive_Loaded);

            #line default
            #line hidden
                return;

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

            #line 142 "..\..\MainWindow.xaml"
                this.chkTab1FormatBootReady.Unchecked += new System.Windows.RoutedEventHandler(this.chkTab1FormatBootReady_Unchecked);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

            #line 145 "..\..\MainWindow.xaml"
                this.tabitemDriveToDrive.GotFocus += new System.Windows.RoutedEventHandler(this.tabitemDriveToDrive_GotFocus);

            #line default
            #line hidden
                return;

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

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

            #line 171 "..\..\MainWindow.xaml"
                this.chkTab2FormatBootReady.Checked += new System.Windows.RoutedEventHandler(this.chkTab2FormatBootReady_Checked);

            #line default
            #line hidden

            #line 171 "..\..\MainWindow.xaml"
                this.chkTab2FormatBootReady.Unchecked += new System.Windows.RoutedEventHandler(this.chkTab2FormatBootReady_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 172 "..\..\MainWindow.xaml"
                this.chkTab2UseXCopy.Loaded += new System.Windows.RoutedEventHandler(this.chkTab2UseXCopy_Loaded);

            #line default
            #line hidden
                return;

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

            case 15:
                this.tabitemCreateImage = ((System.Windows.Controls.TabItem)(target));

            #line 183 "..\..\MainWindow.xaml"
                this.tabitemCreateImage.GotFocus += new System.Windows.RoutedEventHandler(this.tabitemCreateImage_GotFocus);

            #line default
            #line hidden
                return;

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

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

            #line 208 "..\..\MainWindow.xaml"
                this.btnTab3BrowseSource.Click += new System.Windows.RoutedEventHandler(this.btnTab3BrowseSource_Click);

            #line default
            #line hidden
                return;

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

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

            #line 224 "..\..\MainWindow.xaml"
                this.btnTab3BrowseDestination.Click += new System.Windows.RoutedEventHandler(this.btnTab3BrowseDestination_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.tabitemAbout = ((System.Windows.Controls.TabItem)(target));

            #line 236 "..\..\MainWindow.xaml"
                this.tabitemAbout.GotFocus += new System.Windows.RoutedEventHandler(this.TabItemAbout_GotFocus);

            #line default
            #line hidden
                return;

            case 21:
                this.Info_Grid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 255 "..\..\MainWindow.xaml"
                this.btnTab4SysInfo.Click += new System.Windows.RoutedEventHandler(this.btnTab4SysInfo_Click);

            #line default
            #line hidden
                return;

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

            #line 286 "..\..\MainWindow.xaml"
                this.btnCreate.Click += new System.Windows.RoutedEventHandler(this.btnCreate_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 28:
                this.progressBarBootman = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

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

            case 30:
                this.SBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

            #line 335 "..\..\MainWindow.xaml"
                this.chkBtnLog.Checked += new System.Windows.RoutedEventHandler(this.chkBtnLog_Checked);

            #line default
            #line hidden

            #line 335 "..\..\MainWindow.xaml"
                this.chkBtnLog.Unchecked += new System.Windows.RoutedEventHandler(this.chkBtnLog_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 338 "..\..\MainWindow.xaml"
                this.btnClearLog.Click += new System.Windows.RoutedEventHandler(this.btnClearLog_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 //Display a message in the message portion of the status bar
 public static void Message(StatusBar statusBar, string message)
 {
     StatusBarItem item = (StatusBarItem) statusBar.Items[5];
     item.Content = message;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\FeedbackDisplay.xaml"
                ((Microsoft.Samples.Kinect.DiscreteGestureBasics.FeedbackDisplay)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MainWindow_Closing);

            #line default
            #line hidden
                return;

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

            case 3:
                this.kinectBodyViewbox = ((System.Windows.Controls.Viewbox)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            #line 88 "..\..\..\FeedbackDisplay.xaml"
                this.ButtonCalibrate.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 //Display a view  in the View portion of the status bar
 public static void View(StatusBar statusBar, string view)
 {
     StatusBarItem item = (StatusBarItem)statusBar.Items[4];
     item.Content = "of " + view;
 }
Beispiel #50
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.CoordinateMappingBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);

            #line default
            #line hidden

            #line 4 "..\..\MainWindow.xaml"
                ((Microsoft.Samples.Kinect.CoordinateMappingBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 90 "..\..\MainWindow.xaml"
                this.buttonScreenshot.Click += new System.Windows.RoutedEventHandler(this.ButtonScreenshotClick);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\MainWindow.xaml"
                this.checkBoxNearMode.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxNearModeChanged);

            #line default
            #line hidden

            #line 91 "..\..\MainWindow.xaml"
                this.checkBoxNearMode.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxNearModeChanged);

            #line default
            #line hidden
                return;

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

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

            case 9:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\MainWindow.xaml"
     ((Microsoft.Samples.Kinect.SkeletonBasics.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.WindowLoaded);
     
     #line default
     #line hidden
     
     #line 4 "..\..\MainWindow.xaml"
     ((Microsoft.Samples.Kinect.SkeletonBasics.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.WindowClosing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.layoutGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.Image = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.checkBoxSeatedMode = ((System.Windows.Controls.CheckBox)(target));
     
     #line 65 "..\..\MainWindow.xaml"
     this.checkBoxSeatedMode.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxSeatedModeChanged);
     
     #line default
     #line hidden
     
     #line 65 "..\..\MainWindow.xaml"
     this.checkBoxSeatedMode.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxSeatedModeChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 7:
     this.statusBarText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

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

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

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

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

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

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

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

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

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

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

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

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

            #line 42 "..\..\..\DDI.xaml"
                this.GraphDisplayButton.Click += new System.Windows.RoutedEventHandler(this.GraphDisplayButton_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.plot = ((OxyPlot.Wpf.PlotView)(target));
                return;

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

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

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

            case 18:
                this.parameterBox = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #53
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 2:
     this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 3:
     this.Help = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\MainWindow.xaml"
     this.Help.Click += new System.Windows.RoutedEventHandler(this.Help_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #54
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\MainWindow.xaml"
                ((StarPix.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.mainWindowGrid_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.dragSelectionCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            case 8:
                this.statusTextWrapper = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

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

            case 10:
                this.photoSizeSliderWrapper = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

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

            #line 32 "..\..\MainWindow.xaml"
                this.photoSizeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.photoSizeSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.searchBar.GotFocus += new System.Windows.RoutedEventHandler(this.searchBar_GotFocus);

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 35 "..\..\MainWindow.xaml"
                this.searchBar.KeyDown += new System.Windows.Input.KeyEventHandler(this.searchBar_KeyDown);

            #line default
            #line hidden
                return;

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

            case 14:
                this.sort = ((System.Windows.Controls.Menu)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 16:
                this.sortByFileType = ((System.Windows.Controls.RadioButton)(target));

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

            #line default
            #line hidden
                return;

            case 17:
                this.sortByName = ((System.Windows.Controls.RadioButton)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 19:
                this.sortDescending = ((System.Windows.Controls.RadioButton)(target));

            #line 67 "..\..\MainWindow.xaml"
                this.sortDescending.Click += new System.Windows.RoutedEventHandler(this.sortDescending_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.collectionsMenu = ((System.Windows.Controls.Menu)(target));
                return;

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

            case 22:

            #line 72 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked_1);

            #line default
            #line hidden
                return;

            case 23:

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

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\MainWindow.xaml"
                this.trashCan.Drop += new System.Windows.DragEventHandler(this.trashCan_Drop);

            #line default
            #line hidden
                return;

            case 25:
                this._listbox = ((System.Windows.Controls.ListBox)(target));

            #line 95 "..\..\MainWindow.xaml"
                this._listbox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.keyDown);

            #line default
            #line hidden

            #line 95 "..\..\MainWindow.xaml"
                this._listbox.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this._listbox_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 27:
                this.noPhotosLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #55
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.baseContainer = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.mainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 3:
     this.mainToolbar = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 4:
     this.mainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.mainStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #56
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\MainWindow.xaml"
                this.btnLogIn.Click += new System.Windows.RoutedEventHandler(this.btnLogIn_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.MainStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 9:
                this.statusMessage = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

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

            case 11:
                this.LstMediaList = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

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

            case 15:
                this.cmbMovies = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 91 "..\..\MainWindow.xaml"
                this.cmbMovies.Selected += new System.Windows.RoutedEventHandler(this.cmbMovies_Selected);

            #line default
            #line hidden
                return;

            case 16:
                this.cmbVideoGames = ((System.Windows.Controls.ComboBoxItem)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.cmbVideoGames.Selected += new System.Windows.RoutedEventHandler(this.cmbVideoGames_Selected);

            #line default
            #line hidden
                return;

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

            case 18:
                this.cmbAction = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 19:
                this.cmbDrama = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 20:
                this.cmdComedy = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

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

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

            case 23:
                this.btnRemoveAll = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((Simplimation.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((Simplimation.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 7 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Grid)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Grid_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.Ratio = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.Big = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.Play_Button = ((System.Windows.Controls.Image)(target));
     
     #line 22 "..\..\..\MainWindow.xaml"
     this.Play_Button.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Play_Button_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 22 "..\..\..\MainWindow.xaml"
     this.Play_Button.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Play_Button_MouseEnter);
     
     #line default
     #line hidden
     
     #line 22 "..\..\..\MainWindow.xaml"
     this.Play_Button.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Play_Button_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 7:
     this.con_beg = ((System.Windows.Controls.Image)(target));
     
     #line 23 "..\..\..\MainWindow.xaml"
     this.con_beg.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.con_beg_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 23 "..\..\..\MainWindow.xaml"
     this.con_beg.MouseEnter += new System.Windows.Input.MouseEventHandler(this.con_beg_MouseEnter);
     
     #line default
     #line hidden
     
     #line 23 "..\..\..\MainWindow.xaml"
     this.con_beg.MouseLeave += new System.Windows.Input.MouseEventHandler(this.con_beg_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Play_Point = ((System.Windows.Controls.Image)(target));
     
     #line 24 "..\..\..\MainWindow.xaml"
     this.Play_Point.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Play_Point_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.TimeShown = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.AboveBench = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.delayt = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.DelaySet = ((System.Windows.Controls.TextBox)(target));
     
     #line 34 "..\..\..\MainWindow.xaml"
     this.DelaySet.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.DelaySet_TextChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.Moveback = ((System.Windows.Controls.Image)(target));
     
     #line 35 "..\..\..\MainWindow.xaml"
     this.Moveback.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Moveback_MouseDown);
     
     #line default
     #line hidden
     return;
     case 14:
     this.forward = ((System.Windows.Controls.Image)(target));
     
     #line 36 "..\..\..\MainWindow.xaml"
     this.forward.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.MoveFor_MouseDown);
     
     #line default
     #line hidden
     return;
     case 15:
     this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 16:
     this.Add_it = ((System.Windows.Controls.Image)(target));
     
     #line 39 "..\..\..\MainWindow.xaml"
     this.Add_it.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Add_Click);
     
     #line default
     #line hidden
     
     #line 39 "..\..\..\MainWindow.xaml"
     this.Add_it.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Add_it_MouseEnter);
     
     #line default
     #line hidden
     
     #line 39 "..\..\..\MainWindow.xaml"
     this.Add_it.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Add_it_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 17:
     this.border1 = ((System.Windows.Controls.Border)(target));
     return;
     case 18:
     this.rem = ((System.Windows.Controls.Image)(target));
     
     #line 41 "..\..\..\MainWindow.xaml"
     this.rem.MouseEnter += new System.Windows.Input.MouseEventHandler(this.rem_it_MouseEnter);
     
     #line default
     #line hidden
     
     #line 41 "..\..\..\MainWindow.xaml"
     this.rem.MouseLeave += new System.Windows.Input.MouseEventHandler(this.rem_it_MouseLeave);
     
     #line default
     #line hidden
     
     #line 41 "..\..\..\MainWindow.xaml"
     this.rem.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.rem_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 41 "..\..\..\MainWindow.xaml"
     this.rem.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.rem_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 19:
     this.border2 = ((System.Windows.Controls.Border)(target));
     return;
     case 20:
     this.MainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 21:
     this.F_Menu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 22:
     
     #line 45 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.New_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.open = ((System.Windows.Controls.MenuItem)(target));
     
     #line 46 "..\..\..\MainWindow.xaml"
     this.open.Click += new System.Windows.RoutedEventHandler(this.open_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.save = ((System.Windows.Controls.MenuItem)(target));
     
     #line 47 "..\..\..\MainWindow.xaml"
     this.save.Click += new System.Windows.RoutedEventHandler(this.Save_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.exit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 49 "..\..\..\MainWindow.xaml"
     this.exit.Click += new System.Windows.RoutedEventHandler(this.exit_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.E_Menu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 27:
     this.AddIM = ((System.Windows.Controls.MenuItem)(target));
     
     #line 52 "..\..\..\MainWindow.xaml"
     this.AddIM.Click += new System.Windows.RoutedEventHandler(this.Add_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.S_Menu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 29:
     this.About = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 30:
     this.T_Menu = ((System.Windows.Controls.MenuItem)(target));
     
     #line 63 "..\..\..\MainWindow.xaml"
     this.T_Menu.Click += new System.Windows.RoutedEventHandler(this.About_Click);
     
     #line default
     #line hidden
     return;
     case 31:
     this.CineBench = ((System.Windows.Controls.WrapPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #58
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:

            #line 14 "..\..\..\RssWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove);

            #line default
            #line hidden
                return;

            case 3:
                this.dataGridShowInfo = ((System.Windows.Controls.DataGrid)(target));

            #line 17 "..\..\..\RssWindow.xaml"
                this.dataGridShowInfo.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGridShowInfo_MouseDoubleClick);

            #line default
            #line hidden

            #line 17 "..\..\..\RssWindow.xaml"
                this.dataGridShowInfo.PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGridShowInfo_PreviewMouseDoubleClick);

            #line default
            #line hidden

            #line 17 "..\..\..\RssWindow.xaml"
                this.dataGridShowInfo.MouseMove += new System.Windows.Input.MouseEventHandler(this.dataGridShowInfo_MouseMove);

            #line default
            #line hidden

            #line 17 "..\..\..\RssWindow.xaml"
                this.dataGridShowInfo.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.dataGridShowInfo_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 17 "..\..\..\RssWindow.xaml"
                this.dataGridShowInfo.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.dataGridShowInfo_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\RssWindow.xaml"
                this.MenuItem_Record.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Record_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line 67 "..\..\..\RssWindow.xaml"
                this.Title2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Title2_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

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

            case 10:
                this.statusBar1 = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 11:
                this.Selection_1 = ((System.Windows.Controls.Primitives.StatusBarItem)(target));

            #line 74 "..\..\..\RssWindow.xaml"
                this.Selection_1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Selection_1_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 12:
                this.Selection_2 = ((System.Windows.Controls.Primitives.StatusBarItem)(target));

            #line 75 "..\..\..\RssWindow.xaml"
                this.Selection_2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Selection_2_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 13:
                this.Selection_3 = ((System.Windows.Controls.Primitives.StatusBarItem)(target));

            #line 76 "..\..\..\RssWindow.xaml"
                this.Selection_3.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Selection_3_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 14:
                this.Selection_4 = ((System.Windows.Controls.Primitives.StatusBarItem)(target));

            #line 77 "..\..\..\RssWindow.xaml"
                this.Selection_4.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Selection_4_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 15:
                this.Selection_5 = ((System.Windows.Controls.Primitives.StatusBarItem)(target));

            #line 78 "..\..\..\RssWindow.xaml"
                this.Selection_5.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Selection_5_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 16:
                this.Selection_Setting = ((System.Windows.Controls.Primitives.StatusBarItem)(target));

            #line 79 "..\..\..\RssWindow.xaml"
                this.Selection_Setting.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Selection_Setting_MouseLeftButtonDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #59
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainPane = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 2:
     this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
     
     #line 15 "..\..\TabPage.xaml"
     this.progressBar.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.ProgressBar_ValueChanged_1);
     
     #line default
     #line hidden
     return;
     case 3:
     this.searchBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 16 "..\..\TabPage.xaml"
     this.searchBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.onKey);
     
     #line default
     #line hidden
     return;
     case 4:
     this.cancel = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\TabPage.xaml"
     this.cancel.Click += new System.Windows.RoutedEventHandler(this.cancelSearch);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnGo = ((System.Windows.Controls.Button)(target));
     
     #line 21 "..\..\TabPage.xaml"
     this.btnGo.Click += new System.Windows.RoutedEventHandler(this.search);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnShowFav = ((System.Windows.Controls.Button)(target));
     
     #line 68 "..\..\TabPage.xaml"
     this.btnShowFav.Click += new System.Windows.RoutedEventHandler(this.showFav);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnHelp = ((System.Windows.Controls.Button)(target));
     
     #line 116 "..\..\TabPage.xaml"
     this.btnHelp.Click += new System.Windows.RoutedEventHandler(this.help);
     
     #line default
     #line hidden
     return;
     case 8:
     this.SearchWrap = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.SearchPane = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.radioAuthor = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 11:
     this.radioJournal = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 12:
     this.radioCitations = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 13:
     this.radioDate = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 14:
     this.yearStart = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.yearEnd = ((System.Windows.Controls.TextBox)(target));
     return;
     case 16:
     this.checkBoxCustomRange = ((System.Windows.Controls.CheckBox)(target));
     
     #line 178 "..\..\TabPage.xaml"
     this.checkBoxCustomRange.Click += new System.Windows.RoutedEventHandler(this.checkBoxCustomRange_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btnAddFav = ((System.Windows.Controls.Label)(target));
     
     #line 179 "..\..\TabPage.xaml"
     this.btnAddFav.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.addFav);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnExport = ((System.Windows.Controls.Button)(target));
     
     #line 182 "..\..\TabPage.xaml"
     this.btnExport.Click += new System.Windows.RoutedEventHandler(this.export);
     
     #line default
     #line hidden
     return;
     case 19:
     this.sep1 = ((System.Windows.Controls.Separator)(target));
     return;
     case 20:
     this.sep2 = ((System.Windows.Controls.Separator)(target));
     return;
     case 21:
     this.ResultScroll = ((System.Windows.Controls.Grid)(target));
     return;
     case 22:
     this.ResultsPane = ((System.Windows.Controls.ListBox)(target));
     return;
     case 23:
     this.previewPane = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 24:
     
     #line 248 "..\..\TabPage.xaml"
     ((System.Windows.Controls.StackPanel)(target)).Loaded += new System.Windows.RoutedEventHandler(this.keyFocus);
     
     #line default
     #line hidden
     return;
     case 25:
     this.Author = ((System.Windows.Controls.Grid)(target));
     return;
     case 26:
     this.Journal = ((System.Windows.Controls.Grid)(target));
     return;
     case 27:
     this.Paper = ((System.Windows.Controls.Grid)(target));
     return;
     case 28:
     this.Pagination = ((System.Windows.Controls.Primitives.UniformGrid)(target));
     return;
     case 29:
     this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 30:
     this.textbox = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #60
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 6:
                this.CADCtrl = ((abaqus_helper.CADCtrl.CADCtrl)(target));
                return;

            case 7:
                this.dockPanel_bottom = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            case 9:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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