Inheritance: System.Windows.Controls.ComboBox, IQuickAccessItemProvider, IRibbonControl, IDropDownControl
コード例 #1
0
ファイル: ShapeDialog.g.cs プロジェクト: zhaoyin/officeOBA
    void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
    {
        switch (connectionId)
        {
        case 1:
            this.CancelButton = ((Fluent.Button)(target));
            return;

        case 2:
            this.OKButton = ((Fluent.Button)(target));
            return;

        case 3:
            this.TypeComboBox = ((Fluent.ComboBox)(target));
            return;

        case 4:
            this.SizeTextBox = ((Fluent.Spinner)(target));
            return;

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

        case 6:
            this.ScrollViewer1 = ((System.Windows.Controls.ScrollViewer)(target));
            return;

        case 7:
            this.BorderSizeTextBox = ((Fluent.Spinner)(target));
            return;
        }
        this._contentLoaded = true;
    }
コード例 #2
0
        /// <summary>
        /// Creates the combobox without command binding.
        /// </summary>
        /// <param name="itemsControl">The items control.</param>
        /// <param name="header">The header.</param>
        /// <returns>
        /// Button.
        /// </returns>
        /// <exception cref="ArgumentNullException">The <paramref header="itemsControl" /> is <c>null</c>.</exception>
        /// <exception cref="ArgumentException">The <paramref header="header" /> is <c>null</c> or whitespace.</exception>
        private static ComboBox CreateComboBoxWithoutBinding(this ItemsControl itemsControl, string header)
        {
            Argument.IsNotNull("itemsControl", itemsControl);

            var comboBox = new ComboBox
            {
                Header = header,
            };

            itemsControl.Items.Add(comboBox);

            return(comboBox);
        }
コード例 #3
0
    void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
    {
        switch (connectionId)
        {
        case 1:
            this.CancelButton = ((Fluent.Button)(target));
            return;

        case 2:
            this.OKButton = ((Fluent.Button)(target));
            return;

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

        case 4:
            this.FromBox = ((Fluent.ComboBox)(target));
            return;

        case 5:
            this.ToBox = ((Fluent.ComboBox)(target));
            return;

        case 6:
            this.TranslateButton = ((Fluent.Button)(target));
            return;

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

        case 8:
            this.TranslatedText = ((System.Windows.Controls.Label)(target));
            return;
        }
        this._contentLoaded = true;
    }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.groupL = ((Fluent.RibbonGroupBox)(target));
                return;

            case 2:
                this.select = ((Fluent.Button)(target));

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

            #line default
            #line hidden
                return;

            case 3:
                this.cobFF = ((Fluent.ComboBox)(target));
                return;

            case 4:
                this.cobFS = ((Fluent.ComboBox)(target));
                return;

            case 5:
                this.cobFC = ((Fluent.ComboBox)(target));
                return;

            case 6:
                this.colorGallery = ((Fluent.ColorGallery)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.colorGallery.SelectedColorChanged += new System.Windows.RoutedEventHandler(this.ColorGallery_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

            #line 94 "..\..\MainWindow.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PenButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Tools = ((Fluent.RibbonGroupBox)(target));
                return;

            case 11:
                this.toolsGallery = ((Fluent.InRibbonGallery)(target));

            #line 123 "..\..\MainWindow.xaml"
                this.toolsGallery.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.InRibbonGallery_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.gro = ((Fluent.RibbonGroupBox)(target));
                return;

            case 13:
                this.IsCheckBox14 = ((Fluent.CheckBox)(target));
                return;

            case 14:
                this.IsCheckBox15 = ((Fluent.CheckBox)(target));
                return;

            case 15:
                this.IsCheckBox16 = ((Fluent.CheckBox)(target));
                return;

            case 16:
                this.canvas = ((System.Windows.Controls.InkCanvas)(target));

            #line 174 "..\..\MainWindow.xaml"
                this.canvas.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.ink_MouseWheel);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((WpfWebcamServer.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 15 "..\..\..\MainWindow.xaml"
     ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConfigButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 16 "..\..\..\MainWindow.xaml"
     ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConfigButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 17 "..\..\..\MainWindow.xaml"
     ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConfigButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 32 "..\..\..\MainWindow.xaml"
     ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.cbxDevice = ((Fluent.ComboBox)(target));
     
     #line 33 "..\..\..\MainWindow.xaml"
     this.cbxDevice.SelectionChanged += new System.EventHandler(this.cbxDevice_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.chkRecord = ((Fluent.CheckBox)(target));
     
     #line 34 "..\..\..\MainWindow.xaml"
     this.chkRecord.Checked += new System.EventHandler(this.chkRecord_Checked);
     
     #line default
     #line hidden
     
     #line 34 "..\..\..\MainWindow.xaml"
     this.chkRecord.Unchecked += new System.EventHandler(this.chkRecord_Checked);
     
     #line default
     #line hidden
     return;
     case 8:
     this.chkSound = ((Fluent.CheckBox)(target));
     
     #line 35 "..\..\..\MainWindow.xaml"
     this.chkSound.Checked += new System.EventHandler(this.chkSound_Checked);
     
     #line default
     #line hidden
     
     #line 35 "..\..\..\MainWindow.xaml"
     this.chkSound.Unchecked += new System.EventHandler(this.chkSound_Checked);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 36 "..\..\..\MainWindow.xaml"
     ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DetectButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.pnlWebcam = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 11:
     this.tabControl = ((System.Windows.Controls.TabControl)(target));
     
     #line 51 "..\..\..\MainWindow.xaml"
     this.tabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.lstClient = ((System.Windows.Controls.ListBox)(target));
     return;
     case 13:
     this.lstStatus = ((System.Windows.Controls.ListBox)(target));
     return;
     case 14:
     this.videoPanel = ((System.Windows.Controls.WrapPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #6
0
    void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
    {
        switch (connectionId)
        {
        case 1:
            this.OptionsDialog = ((OptionsDialog)(target));
            return;

        case 2:
            this.CancelButton = ((Fluent.Button)(target));
            return;

        case 3:
            this.OKButton = ((Fluent.Button)(target));
            return;

        case 4:
            this.ResetButton = ((Fluent.Button)(target));
            return;

        case 5:
            this.TabCell = ((System.Windows.Controls.TabControl)(target));
            return;

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

        case 7:
            this.StartupGroupBox = ((System.Windows.Controls.GroupBox)(target));
            return;

        case 8:
            this.StartUpComboBox = ((Fluent.ComboBox)(target));
            return;

        case 9:
            this.ShowStartupDialogCheckBox = ((Fluent.CheckBox)(target));
            return;

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

        case 11:
            this.ThemeComboBox = ((Fluent.ComboBox)(target));
            return;

        case 12:
            this.EnableGlassCheckBox = ((Fluent.CheckBox)(target));
            return;

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

        case 14:
            this.TTSComboBox = ((Fluent.ComboBox)(target));
            return;

        case 15:
            this.TTSSlider = ((Fluent.Spinner)(target));
            return;

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

        case 17:
            this.ClearRecentButton = ((Fluent.Button)(target));
            return;

        case 18:
            this.RecentDocumentsCheckBox = ((Fluent.CheckBox)(target));
            return;

        case 19:
            this.RulerMeasurementComboBox = ((Fluent.ComboBox)(target));
            return;

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

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

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

        case 23:
            this.CloseButtonGroupBox = ((System.Windows.Controls.GroupBox)(target));
            return;

        case 24:
            this.CloseButtonComboBox = ((Fluent.ComboBox)(target));
            return;

        case 25:
            this.SpellCheckGroupBox = ((System.Windows.Controls.GroupBox)(target));
            return;

        case 26:
            this.SpellCheckBox = ((Fluent.CheckBox)(target));
            return;

        case 27:
            this.DefaultFontGroupBox = ((System.Windows.Controls.GroupBox)(target));
            return;

        case 28:
            this.FontFaceComboBox = ((Fluent.ComboBox)(target));
            return;

        case 29:
            this.FontSizeTextBox = ((Fluent.Spinner)(target));
            return;

        case 30:
            this.TabPlacementComboBox = ((Fluent.ComboBox)(target));
            return;

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

        case 32:
            this.AddTemplateButton = ((Fluent.Button)(target));
            return;

        case 33:
            this.RemoveTemplateButton = ((Fluent.Button)(target));
            return;

        case 34:
            this.TemplatesFolderButton = ((Fluent.Button)(target));
            return;

        case 35:
            this.PluginsListBox = ((System.Windows.Controls.ListBox)(target));
            return;

        case 36:
            this.PluginAddButton = ((Fluent.Button)(target));
            return;

        case 37:
            this.PluginRemoveButton = ((Fluent.Button)(target));
            return;

        case 38:
            this.PluginsCheckBox = ((Fluent.CheckBox)(target));
            return;

        case 39:
            this.PluginsFolderButton = ((Fluent.Button)(target));
            return;

        case 40:
            this.Label6 = ((System.Windows.Controls.Label)(target));
            return;
        }
        this._contentLoaded = true;
    }
コード例 #7
0
ファイル: MainWindow.g.i.cs プロジェクト: paradoxfm/ledx2
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.fmMain = ((LEDX.MWin)(target));
     return;
     case 2:
     this.ribbon = ((Fluent.Ribbon)(target));
     
     #line 57 "..\..\MainWindow.xaml"
     this.ribbon.SelectedTabChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Ribbon_SelectedTabChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btNewProj = ((Fluent.Button)(target));
     return;
     case 4:
     this.btOpenProj = ((Fluent.Button)(target));
     return;
     case 5:
     this.btSaveProj = ((Fluent.Button)(target));
     return;
     case 6:
     this.tbEdit = ((Fluent.RibbonTabItem)(target));
     return;
     case 7:
     this.btUndo = ((Fluent.SplitButton)(target));
     return;
     case 8:
     this.btPasteFram = ((Fluent.SplitButton)(target));
     return;
     case 9:
     this.rgbContrProp = ((Fluent.RibbonGroupBox)(target));
     return;
     case 10:
     this.spAddNew = ((Fluent.SplitButton)(target));
     return;
     case 11:
     this.btDel = ((Fluent.MenuItem)(target));
     return;
     case 12:
     this.tbConName = ((Fluent.TextBox)(target));
     return;
     case 13:
     this.tbConNumb = ((Fluent.Spinner)(target));
     return;
     case 14:
     this.tbConButt = ((Fluent.Spinner)(target));
     return;
     case 15:
     this.rgbFrameProp = ((Fluent.RibbonGroupBox)(target));
     return;
     case 16:
     this.spTime = ((Fluent.Spinner)(target));
     return;
     case 17:
     this.btCopyFram = ((Fluent.Button)(target));
     return;
     case 18:
     this.btCutFram = ((Fluent.Button)(target));
     return;
     case 19:
     this.btDelFram = ((Fluent.Button)(target));
     return;
     case 20:
     this.btToSample = ((Fluent.Button)(target));
     return;
     case 21:
     this.spbtFSet = ((Fluent.SplitButton)(target));
     
     #line 179 "..\..\MainWindow.xaml"
     this.spbtFSet.DropDownClosed += new System.EventHandler(this.SpbtFSet_DropDownClosed);
     
     #line default
     #line hidden
     return;
     case 22:
     this.rgbColorProp = ((Fluent.RibbonGroupBox)(target));
     return;
     case 23:
     this.btBegColor = ((Fluent.Button)(target));
     return;
     case 24:
     this.rctBegClolor = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 25:
     this.btCopyColor = ((Fluent.Button)(target));
     return;
     case 26:
     this.btGetColor = ((Fluent.Button)(target));
     return;
     case 27:
     this.btEndColor = ((Fluent.Button)(target));
     return;
     case 28:
     this.rctEndClolor = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 29:
     this.btCopy = ((Fluent.Button)(target));
     return;
     case 30:
     this.grSampl = ((Fluent.InRibbonGallery)(target));
     return;
     case 31:
     this.tbPalyer = ((Fluent.RibbonTabItem)(target));
     return;
     case 32:
     this.rgbPropLayer = ((Fluent.RibbonGroupBox)(target));
     return;
     case 33:
     this.btLayerDown = ((Fluent.Button)(target));
     return;
     case 34:
     this.btLayerTop = ((Fluent.Button)(target));
     return;
     case 35:
     this.btDelLay = ((Fluent.Button)(target));
     return;
     case 36:
     this.rgbPropPng = ((Fluent.RibbonGroupBox)(target));
     return;
     case 37:
     this.cbController = ((Fluent.ComboBox)(target));
     return;
     case 38:
     this.lgWidth = ((Fluent.TextBox)(target));
     return;
     case 39:
     this.lgHeight = ((Fluent.TextBox)(target));
     return;
     case 40:
     this.rgbPropText = ((Fluent.RibbonGroupBox)(target));
     return;
     case 41:
     this.lbtemTest = ((System.Windows.Controls.Label)(target));
     return;
     case 42:
     this.temTest = ((LEDX.Components.MultiLineTextEditor)(target));
     return;
     case 43:
     this.spTextSize = ((Fluent.Spinner)(target));
     return;
     case 44:
     this.cbFontFamaly = ((Fluent.ComboBox)(target));
     return;
     case 45:
     this.rctTextClolor = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 46:
     this.tbFlash = ((Fluent.RibbonTabItem)(target));
     return;
     case 47:
     this.lbPort = ((System.Windows.Controls.Label)(target));
     return;
     case 48:
     this.cbComName = ((Fluent.ComboBox)(target));
     return;
     case 49:
     this.lbSpeed = ((System.Windows.Controls.Label)(target));
     return;
     case 50:
     this.cbComRate = ((Fluent.ComboBox)(target));
     return;
     case 51:
     this.btRefrPorts = ((Fluent.Button)(target));
     return;
     case 52:
     this.tbSync = ((Fluent.ToggleButton)(target));
     return;
     case 53:
     this.tgbShowLog = ((Fluent.ToggleButton)(target));
     return;
     case 54:
     this.spProgress = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 55:
     this.uiScaleSlider = ((System.Windows.Controls.Slider)(target));
     
     #line 531 "..\..\MainWindow.xaml"
     this.uiScaleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.uiScaleSlider_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 56:
     this.uiMan = ((LEDX.Components.PlayScale)(target));
     return;
     case 57:
     this.svSearch = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 58:
     this.sldTime = ((LEDX.Components.TimeSlider)(target));
     
     #line 561 "..\..\MainWindow.xaml"
     this.sldTime.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.sld_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 59:
     this.scroll = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 60:
     this.icContr = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 61:
     this.svTracks = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 62:
     this.icTrack = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 63:
     this.iCanv = ((LEDX.Components.IncRender)(target));
     
     #line 598 "..\..\MainWindow.xaml"
     this.iCanv.SelectionChanged += new System.EventHandler(this.iCanv_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 64:
     this.mainScroller = ((System.Windows.Controls.ScrollViewer)(target));
     
     #line 607 "..\..\MainWindow.xaml"
     this.mainScroller.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.mainScroller_ScrollChanged);
     
     #line default
     #line hidden
     return;
     case 65:
     this.svLog = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 66:
     this.tbLog = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TestContentControl = ((FluentTest.TestContent)(target));
                return;

            case 3:
                this.ribbon = ((Fluent.Ribbon)(target));
                return;

            case 4:
                this.tabGroup1 = ((Fluent.RibbonContextualTabGroup)(target));
                return;

            case 5:
                this.tabGroup2 = ((Fluent.RibbonContextualTabGroup)(target));
                return;

            case 6:
                this.invisibleTabGroup = ((Fluent.RibbonContextualTabGroup)(target));
                return;

            case 7:
                this.startScreen = ((Fluent.StartScreen)(target));
                return;

            case 8:

            #line 155 "TestContent.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleSaveAsClick);

            #line default
            #line hidden
                return;

            case 9:

            #line 255 "TestContent.xaml"
                ((Fluent.Spinner)(target)).ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.OnSpinnerValueChanged);

            #line default
            #line hidden
                return;

            case 10:

            #line 284 "TestContent.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnHelpClick);

            #line default
            #line hidden
                return;

            case 11:
                this.Clipboard = ((Fluent.RibbonGroupBox)(target));

            #line 328 "TestContent.xaml"
                this.Clipboard.LauncherClick += new System.Windows.RoutedEventHandler(this.OnLauncherButtonClick);

            #line default
            #line hidden
                return;

            case 12:
                this.saveButton = ((Fluent.Button)(target));

            #line 337 "TestContent.xaml"
                this.saveButton.Click += new System.Windows.RoutedEventHandler(this.OnSaveButtonClick);

            #line default
            #line hidden
                return;

            case 13:
                this.buttonWatermark = ((Fluent.DropDownButton)(target));
                return;

            case 14:
                this.WatermarkGallery = ((Fluent.Gallery)(target));
                return;

            case 15:

            #line 360 "TestContent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.New_Suit_Button_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 374 "TestContent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.New_Sequence_Button_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 389 "TestContent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.New_Step_Button_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.addChildren = ((Fluent.DropDownButton)(target));
                return;

            case 19:
                this.ChildrenGallery = ((Fluent.Gallery)(target));
                return;

            case 20:

            #line 422 "TestContent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.New_App_Button_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 434 "TestContent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.New_DataSource_Button_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 447 "TestContent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.New_Variable_Button_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 460 "TestContent.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.New_Variable_Button_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.cutButton = ((Fluent.Button)(target));
                return;

            case 25:
                this.copyButton = ((Fluent.Button)(target));
                return;

            case 26:
                this.pasteButton = ((Fluent.Button)(target));

            #line 508 "TestContent.xaml"
                this.pasteButton.Click += new System.Windows.RoutedEventHandler(this.OnFormatPainterClick);

            #line default
            #line hidden
                return;

            case 27:
                this.FunctionsGalleryGroup = ((Fluent.RibbonGroupBox)(target));
                return;

            case 28:
                this.galleryFunctionsInRibbonGallery = ((Fluent.InRibbonGallery)(target));
                return;

            case 29:
                this.functionsFilterAll = ((Fluent.GalleryGroupFilter)(target));
                return;

            case 30:
                this.Font = ((Fluent.RibbonGroupBox)(target));

            #line 537 "TestContent.xaml"
                this.Font.LauncherClick += new System.Windows.RoutedEventHandler(this.OnLauncherButtonClick);

            #line default
            #line hidden
                return;

            case 31:
                this.comboBoxFontName = ((Fluent.ComboBox)(target));
                return;

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

            case 33:
                this.comboBoxFontSize = ((Fluent.ComboBox)(target));
                return;

            case 34:
                this.buttonGrowFont = ((Fluent.Button)(target));
                return;

            case 35:
                this.buttonShrinkFont = ((Fluent.Button)(target));
                return;

            case 36:
                this.buttonChangeCase = ((Fluent.DropDownButton)(target));
                return;

            case 37:
                this.buttonClearFormatting = ((Fluent.Button)(target));
                return;

            case 38:
                this.buttonBold = ((Fluent.ToggleButton)(target));
                return;

            case 39:
                this.buttonItalic = ((Fluent.ToggleButton)(target));
                return;

            case 40:
                this.buttonUnderline = ((Fluent.DropDownButton)(target));
                return;

            case 41:
                this.buttonStrikethrough = ((Fluent.Button)(target));
                return;

            case 42:
                this.buttonSubscript = ((Fluent.Button)(target));
                return;

            case 43:
                this.buttonSuperscript = ((Fluent.Button)(target));
                return;

            case 44:
                this.buttonTextEffects = ((Fluent.DropDownButton)(target));
                return;

            case 45:
                this.buttonTextHighlightColor = ((Fluent.DropDownButton)(target));
                return;

            case 46:
                this.buttonFontColor = ((Fluent.DropDownButton)(target));
                return;

            case 47:
                this.Group = ((Fluent.RibbonGroupBox)(target));
                return;

            case 48:
                this.spinner = ((Fluent.Spinner)(target));
                return;

            case 49:
                this.buttonGreen = ((Fluent.Button)(target));
                return;

            case 50:
                this.buttonGray = ((Fluent.Button)(target));
                return;

            case 51:
                this.buttonYellow = ((Fluent.Button)(target));
                return;

            case 52:
                this.buttonBrown = ((Fluent.Button)(target));
                return;

            case 53:
                this.B = ((Fluent.RibbonGroupBox)(target));

            #line 889 "TestContent.xaml"
                this.B.LauncherClick += new System.Windows.RoutedEventHandler(this.OnLauncherButtonClick);

            #line default
            #line hidden
                return;

            case 54:
                this.groupLL = ((Fluent.RibbonGroupBox)(target));
                return;

            case 55:

            #line 951 "TestContent.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HandleAddItemToFontsClick);

            #line default
            #line hidden
                return;

            case 56:
                this.InRibbonGallery = ((Fluent.InRibbonGallery)(target));
                return;

            case 57:

            #line 1383 "TestContent.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnEnlargeClick);

            #line default
            #line hidden
                return;

            case 58:

            #line 1388 "TestContent.xaml"
                ((Fluent.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnReduceClick);

            #line default
            #line hidden
                return;

            case 59:
                this.UndoButton = ((Fluent.SplitButton)(target));
                return;

            case 60:
                this.ShowDetailButton = ((Fluent.ToggleButton)(target));
                return;

            case 61:
                this.ShowMoreButton = ((Fluent.ToggleButton)(target));
                return;

            case 62:
                this.FirstGalleryGroup = ((Fluent.RibbonGroupBox)(target));
                return;

            case 63:
                this.dropDownGreen = ((Fluent.DropDownButton)(target));
                return;

            case 64:
                this.SecondGalleryGroup = ((Fluent.RibbonGroupBox)(target));
                return;

            case 65:
                this.gallerySampleInRibbonGallery = ((Fluent.InRibbonGallery)(target));
                return;

            case 66:
                this.galleryFilterAll = ((Fluent.GalleryGroupFilter)(target));
                return;

            case 67:
                this.A = ((Fluent.RibbonGroupBox)(target));

            #line 1798 "TestContent.xaml"
                this.A.LauncherClick += new System.Windows.RoutedEventHandler(this.OnLauncherButtonClick);

            #line default
            #line hidden
                return;

            case 68:
                this.GalleryFilterAll = ((Fluent.GalleryGroupFilter)(target));
                return;

            case 69:

            #line 1850 "TestContent.xaml"
                ((Fluent.SplitButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSplitClick);

            #line default
            #line hidden
                return;

            case 70:
                this.Default = ((Fluent.RibbonGroupBox)(target));
                return;

            case 71:
                this.Large = ((Fluent.RibbonGroupBox)(target));
                return;

            case 72:
                this.Other = ((Fluent.RibbonGroupBox)(target));
                return;

            case 73:
                this.ZC = ((Fluent.RibbonGroupBox)(target));
                return;

            case 74:
                this.xxx = ((Fluent.RibbonGroupBox)(target));

            #line 2317 "TestContent.xaml"
                this.xxx.LauncherClick += new System.Windows.RoutedEventHandler(this.OnLauncherButtonClick);

            #line default
            #line hidden
                return;

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

            #line 2628 "TestContent.xaml"
                this.zoomSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ZoomSlider_OnValueChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.fmMain = ((LEDX.MWin)(target));
                return;

            case 2:
                this.ribbon = ((Fluent.Ribbon)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.ribbon.SelectedTabChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Ribbon_SelectedTabChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.btNewProj = ((Fluent.Button)(target));
                return;

            case 4:
                this.btOpenProj = ((Fluent.Button)(target));
                return;

            case 5:
                this.btSaveProj = ((Fluent.Button)(target));
                return;

            case 6:
                this.tbEdit = ((Fluent.RibbonTabItem)(target));
                return;

            case 7:
                this.btUndo = ((Fluent.SplitButton)(target));
                return;

            case 8:
                this.btPasteFram = ((Fluent.SplitButton)(target));
                return;

            case 9:
                this.rgbContrProp = ((Fluent.RibbonGroupBox)(target));
                return;

            case 10:
                this.spAddNew = ((Fluent.SplitButton)(target));
                return;

            case 11:
                this.btDel = ((Fluent.MenuItem)(target));
                return;

            case 12:
                this.tbConName = ((Fluent.TextBox)(target));
                return;

            case 13:
                this.tbConNumb = ((Fluent.Spinner)(target));
                return;

            case 14:
                this.tbConButt = ((Fluent.Spinner)(target));
                return;

            case 15:
                this.rgbFrameProp = ((Fluent.RibbonGroupBox)(target));
                return;

            case 16:
                this.spTime = ((Fluent.Spinner)(target));
                return;

            case 17:
                this.btCopyFram = ((Fluent.Button)(target));
                return;

            case 18:
                this.btCutFram = ((Fluent.Button)(target));
                return;

            case 19:
                this.btDelFram = ((Fluent.Button)(target));
                return;

            case 20:
                this.btToSample = ((Fluent.Button)(target));
                return;

            case 21:
                this.spbtFSet = ((Fluent.SplitButton)(target));

            #line 179 "..\..\MainWindow.xaml"
                this.spbtFSet.DropDownClosed += new System.EventHandler(this.SpbtFSet_DropDownClosed);

            #line default
            #line hidden
                return;

            case 22:
                this.rgbColorProp = ((Fluent.RibbonGroupBox)(target));
                return;

            case 23:
                this.btBegColor = ((Fluent.Button)(target));
                return;

            case 24:
                this.rctBegClolor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 25:
                this.btCopyColor = ((Fluent.Button)(target));
                return;

            case 26:
                this.btGetColor = ((Fluent.Button)(target));
                return;

            case 27:
                this.btEndColor = ((Fluent.Button)(target));
                return;

            case 28:
                this.rctEndClolor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 29:
                this.btCopy = ((Fluent.Button)(target));
                return;

            case 30:
                this.grSampl = ((Fluent.InRibbonGallery)(target));
                return;

            case 31:
                this.tbPalyer = ((Fluent.RibbonTabItem)(target));
                return;

            case 32:
                this.rgbPropLayer = ((Fluent.RibbonGroupBox)(target));
                return;

            case 33:
                this.btLayerDown = ((Fluent.Button)(target));
                return;

            case 34:
                this.btLayerTop = ((Fluent.Button)(target));
                return;

            case 35:
                this.btDelLay = ((Fluent.Button)(target));
                return;

            case 36:
                this.rgbPropPng = ((Fluent.RibbonGroupBox)(target));
                return;

            case 37:
                this.cbController = ((Fluent.ComboBox)(target));
                return;

            case 38:
                this.lgWidth = ((Fluent.TextBox)(target));
                return;

            case 39:
                this.lgHeight = ((Fluent.TextBox)(target));
                return;

            case 40:
                this.rgbPropText = ((Fluent.RibbonGroupBox)(target));
                return;

            case 41:
                this.lbtemTest = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.temTest = ((LEDX.Components.MultiLineTextEditor)(target));
                return;

            case 43:
                this.spTextSize = ((Fluent.Spinner)(target));
                return;

            case 44:
                this.cbFontFamaly = ((Fluent.ComboBox)(target));
                return;

            case 45:
                this.rctTextClolor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 46:
                this.tbFlash = ((Fluent.RibbonTabItem)(target));
                return;

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

            case 48:
                this.cbComName = ((Fluent.ComboBox)(target));
                return;

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

            case 50:
                this.cbComRate = ((Fluent.ComboBox)(target));
                return;

            case 51:
                this.btRefrPorts = ((Fluent.Button)(target));
                return;

            case 52:
                this.tbSync = ((Fluent.ToggleButton)(target));
                return;

            case 53:
                this.tgbShowLog = ((Fluent.ToggleButton)(target));
                return;

            case 54:
                this.spProgress = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 55:
                this.uiScaleSlider = ((System.Windows.Controls.Slider)(target));

            #line 531 "..\..\MainWindow.xaml"
                this.uiScaleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.uiScaleSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 56:
                this.uiMan = ((LEDX.Components.PlayScale)(target));
                return;

            case 57:
                this.svSearch = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 58:
                this.sldTime = ((LEDX.Components.TimeSlider)(target));

            #line 561 "..\..\MainWindow.xaml"
                this.sldTime.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sld_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 60:
                this.icContr = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 61:
                this.svTracks = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 62:
                this.icTrack = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 63:
                this.iCanv = ((LEDX.Components.IncRender)(target));

            #line 598 "..\..\MainWindow.xaml"
                this.iCanv.SelectionChanged += new System.EventHandler(this.iCanv_SelectionChanged);

            #line default
            #line hidden
                return;

            case 64:
                this.mainScroller = ((System.Windows.Controls.ScrollViewer)(target));

            #line 607 "..\..\MainWindow.xaml"
                this.mainScroller.ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.mainScroller_ScrollChanged);

            #line default
            #line hidden
                return;

            case 65:
                this.svLog = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 66:
                this.tbLog = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }