示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.FullScreen);

            #line default
            #line hidden

            #line 13 "..\..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewportLayout1_OnPreviewMouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.viewPortLayout1 = ((devDept.Eyeshot.ViewportLayout)(target));

            #line 233 "..\..\..\MainWindow.xaml"
                this.viewPortLayout1.Loaded += new System.Windows.RoutedEventHandler(this.ViewPortLayout1_OnLoad);

            #line default
            #line hidden

            #line 233 "..\..\..\MainWindow.xaml"
                this.viewPortLayout1.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewportLayout1_OnPreviewMouseDown);

            #line default
            #line hidden

            #line 233 "..\..\..\MainWindow.xaml"
                this.viewPortLayout1.SelectionChanged += new devDept.Eyeshot.ViewportLayout.SelectionChangedEventHandler(this.viewportLayout1_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line 283 "..\..\..\MainWindow.xaml"
                this.SafteyResetButton.Click += new System.Windows.RoutedEventHandler(this.ResetSaftey);

            #line default
            #line hidden
                return;

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

            #line 288 "..\..\..\MainWindow.xaml"
                this.VirtualModeButton.Click += new System.Windows.RoutedEventHandler(this.EnableVirtualMode);

            #line default
            #line hidden
                return;

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

            #line 293 "..\..\..\MainWindow.xaml"
                this.ErrorIcon.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.ErrorIcon_PreviewKeyUp);

            #line default
            #line hidden

            #line 293 "..\..\..\MainWindow.xaml"
                this.ErrorIcon.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ErrorIcon_MouseEnter);

            #line default
            #line hidden

            #line 293 "..\..\..\MainWindow.xaml"
                this.ErrorIcon.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ErrorIcon_MouseLeave);

            #line default
            #line hidden
                return;

            case 8:
                this.DataGrid_Prop = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 10:
                this.ID = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:
                this.AxisControl_1 = ((CustomControl.AxisControl)(target));
                return;

            case 13:
                this.AxisControl_2 = ((CustomControl.AxisControl)(target));
                return;

            case 14:
                this.AxisControl_3 = ((CustomControl.AxisControl)(target));
                return;

            case 15:
                this.AxisControl_4 = ((CustomControl.AxisControl)(target));
                return;

            case 16:

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 21:

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

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

            #line 12 "..\..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.FullScreen);

            #line default
            #line hidden

            #line 12 "..\..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewportLayout1_OnPreviewMouseDown);

            #line default
            #line hidden
                return;

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

            case 3:
                this.viewPortLayout1 = ((devDept.Eyeshot.ViewportLayout)(target));

            #line 73 "..\..\..\MainWindow.xaml"
                this.viewPortLayout1.Loaded += new System.Windows.RoutedEventHandler(this.ViewPortLayout1_OnLoad);

            #line default
            #line hidden

            #line 73 "..\..\..\MainWindow.xaml"
                this.viewPortLayout1.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewportLayout1_OnPreviewMouseDown);

            #line default
            #line hidden

            #line 73 "..\..\..\MainWindow.xaml"
                this.viewPortLayout1.SelectionChanged += new devDept.Eyeshot.ViewportLayout.SelectionChangedEventHandler(this.viewportLayout1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.ShadeRectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

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

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

            #line 123 "..\..\..\MainWindow.xaml"
                this.SafteyResetButton.Click += new System.Windows.RoutedEventHandler(this.ResetSaftey);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 133 "..\..\..\MainWindow.xaml"
                this.ErrorIcon.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.ErrorIcon_PreviewKeyUp);

            #line default
            #line hidden

            #line 133 "..\..\..\MainWindow.xaml"
                this.ErrorIcon.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ErrorIcon_MouseEnter);

            #line default
            #line hidden

            #line 133 "..\..\..\MainWindow.xaml"
                this.ErrorIcon.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ErrorIcon_MouseLeave);

            #line default
            #line hidden
                return;

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

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

            case 11:

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

            #line default
            #line hidden
                return;

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

            #line 178 "..\..\..\MainWindow.xaml"
                this.QueGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.QueGrid_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            case 16:

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

            #line default
            #line hidden
                return;

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

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

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

            case 20:

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

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

            #line 12 "..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.FullScreen);

            #line default
            #line hidden

            #line 12 "..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewportLayout1_OnPreviewMouseDown);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.viewPortLayout1 = ((devDept.Eyeshot.ViewportLayout)(target));

            #line 82 "..\..\MainWindow.xaml"
                this.viewPortLayout1.Loaded += new System.Windows.RoutedEventHandler(this.ViewPortLayout1_OnLoad);

            #line default
            #line hidden

            #line 82 "..\..\MainWindow.xaml"
                this.viewPortLayout1.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.viewportLayout1_OnPreviewMouseDown);

            #line default
            #line hidden

            #line 82 "..\..\MainWindow.xaml"
                this.viewPortLayout1.SelectionChanged += new devDept.Eyeshot.ViewportLayout.SelectionChangedEventHandler(this.viewportLayout1_SelectionChanged);

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 137 "..\..\MainWindow.xaml"
                this.ErrorIcon.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.ErrorIcon_PreviewKeyUp);

            #line default
            #line hidden

            #line 137 "..\..\MainWindow.xaml"
                this.ErrorIcon.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ErrorIcon_MouseEnter);

            #line default
            #line hidden

            #line 137 "..\..\MainWindow.xaml"
                this.ErrorIcon.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ErrorIcon_MouseLeave);

            #line default
            #line hidden
                return;

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 13:
                this.QueGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 190 "..\..\MainWindow.xaml"
                this.QueGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.QueGrid_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 192 "..\..\MainWindow.xaml"
                this.SelectedQueTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.QueText_Changed);

            #line default
            #line hidden
                return;

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

            #line 194 "..\..\MainWindow.xaml"
                this.SelectedQueNotesTextBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.QueText_Changed);

            #line default
            #line hidden
                return;

            case 16:
                this.RB0 = ((System.Windows.Controls.RadioButton)(target));

            #line 197 "..\..\MainWindow.xaml"
                this.RB0.Click += new System.Windows.RoutedEventHandler(this.JSSelecterRB_Clicked);

            #line default
            #line hidden
                return;

            case 17:
                this.RB1 = ((System.Windows.Controls.RadioButton)(target));

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

            #line default
            #line hidden
                return;

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

            #line 203 "..\..\MainWindow.xaml"
                this.RB2.Click += new System.Windows.RoutedEventHandler(this.JSSelecterRB_Clicked);

            #line default
            #line hidden
                return;

            case 19:
                this.RB3 = ((System.Windows.Controls.RadioButton)(target));

            #line 206 "..\..\MainWindow.xaml"
                this.RB3.Click += new System.Windows.RoutedEventHandler(this.JSSelecterRB_Clicked);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            case 26:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }