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

            #line 5 "..\..\WindowMetRibbon.xaml"
                ((WindowMetRibbonControl.WindowMetRibbon)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.RibbonWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

            #line 17 "..\..\WindowMetRibbon.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PrintExecuted);

            #line default
            #line hidden
                return;

            case 8:

            #line 18 "..\..\WindowMetRibbon.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PreviewExecuted);

            #line default
            #line hidden
                return;

            case 9:
                this.closing = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 10:
                this.Qat = ((System.Windows.Controls.Ribbon.RibbonQuickAccessToolBar)(target));
                return;

            case 11:
                this.ButtonVet = ((System.Windows.Controls.Ribbon.RibbonToggleButton)(target));
                return;

            case 12:
                this.ButtonSchuin = ((System.Windows.Controls.Ribbon.RibbonToggleButton)(target));
                return;

            case 13:
                this.MRUGallery = ((System.Windows.Controls.Ribbon.RibbonGallery)(target));

            #line 54 "..\..\WindowMetRibbon.xaml"
                this.MRUGallery.SelectionChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.MRUGallery_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.MRUGalleryCat = ((System.Windows.Controls.Ribbon.RibbonGalleryCategory)(target));
                return;

            case 15:
                this.CheckBoxAlleenLezen = ((System.Windows.Controls.Ribbon.RibbonCheckBox)(target));
                return;

            case 16:
                this.MenuKleur = ((System.Windows.Controls.Ribbon.RibbonMenuButton)(target));
                return;

            case 17:

            #line 83 "..\..\WindowMetRibbon.xaml"
                ((System.Windows.Controls.Ribbon.RibbonRadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonRadioButton_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 84 "..\..\WindowMetRibbon.xaml"
                ((System.Windows.Controls.Ribbon.RibbonRadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonRadioButton_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 85 "..\..\WindowMetRibbon.xaml"
                ((System.Windows.Controls.Ribbon.RibbonRadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonRadioButton_Click);

            #line default
            #line hidden
                return;

            case 20:

            #line 86 "..\..\WindowMetRibbon.xaml"
                ((System.Windows.Controls.Ribbon.RibbonRadioButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RibbonRadioButton_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.TextBoxVoorbeeld = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        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.mnuExit = ((System.Windows.Controls.Ribbon.RibbonApplicationMenuItem)(target));
                return;

            case 3:
                this.mnuNew = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 4:
                this.mnuOpen = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

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

            case 6:
                this.mnuRun = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 7:
                this.mnuHold = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 8:
                this.mnuStop = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 9:
                this.txtXLPos2 = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 10:
                this.txtYLPos2 = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 11:
                this.txtZLPos2 = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

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

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

            case 14:
                this.txtDMMValue1_2 = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 15:
                this.txtDMMValue2_2 = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 16:
                this.mnuXJogNegative = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 17:
                this.mnuXJogPositive = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 18:
                this.mnuYJogNegative = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 19:
                this.mnuYJogPositive = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 20:
                this.mnuZJogNegative = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 21:
                this.mnuZJogPositive = ((System.Windows.Controls.Ribbon.RibbonButton)(target));
                return;

            case 22:
                this.txtXLPos1 = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 23:
                this.txtYLPos1 = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 24:
                this.txtZLPos1 = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 25:
                this.cboXStep = ((System.Windows.Controls.Ribbon.RibbonGallery)(target));
                return;

            case 26:
                this.catXStep = ((System.Windows.Controls.Ribbon.RibbonGalleryCategory)(target));
                return;

            case 27:
                this.cboYStep = ((System.Windows.Controls.Ribbon.RibbonGallery)(target));
                return;

            case 28:
                this.catYStep = ((System.Windows.Controls.Ribbon.RibbonGalleryCategory)(target));
                return;

            case 29:
                this.cboXStart = ((System.Windows.Controls.Ribbon.RibbonGallery)(target));
                return;

            case 30:
                this.catXStart = ((System.Windows.Controls.Ribbon.RibbonGalleryCategory)(target));
                return;

            case 31:
                this.cboXEnd = ((System.Windows.Controls.Ribbon.RibbonGallery)(target));
                return;

            case 32:
                this.catXEnd = ((System.Windows.Controls.Ribbon.RibbonGalleryCategory)(target));
                return;

            case 33:
                this.cboYStart = ((System.Windows.Controls.Ribbon.RibbonGallery)(target));
                return;

            case 34:
                this.catYStart = ((System.Windows.Controls.Ribbon.RibbonGalleryCategory)(target));
                return;

            case 35:
                this.cboYEnd = ((System.Windows.Controls.Ribbon.RibbonGallery)(target));
                return;

            case 36:
                this.catYEnd = ((System.Windows.Controls.Ribbon.RibbonGalleryCategory)(target));
                return;

            case 37:
                this.cboSensorInterval = ((System.Windows.Controls.Ribbon.RibbonGallery)(target));
                return;

            case 38:
                this.catSensorInterval = ((System.Windows.Controls.Ribbon.RibbonGalleryCategory)(target));
                return;

            case 39:
                this.txtXMin = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 40:
                this.txtXMax = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 41:
                this.txtYMin = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 42:
                this.txtYMax = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 43:
                this.txtZMin = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 44:
                this.txtZMax = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 45:
                this.txtXYPortName = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 46:
                this.txtZPortName = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 47:
                this.txtDMMValue1 = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 48:
                this.txtDMMPortName = ((System.Windows.Controls.Ribbon.RibbonTextBox)(target));
                return;

            case 49:
                this.dgCurrentData = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }