Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\Views\RequirementView.xaml"
                ((Sculptor.RequirementView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.RequirementViewBusy = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
                return;

            case 3:
                this.RequirementTreeListView = ((Telerik.Windows.Controls.RadTreeListView)(target));
                return;

            case 4:
                this.ObjectTreeContextMenu = ((Telerik.Windows.Controls.RadContextMenu)(target));
                return;

            case 5:
                this.radRichTextBoxRibbonUI = ((Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxRibbonUI)(target));
                return;

            case 6:
                this.TableTools = ((Telerik.Windows.Controls.RadRibbonContextualGroup)(target));
                return;

            case 7:
                this.HeaderFooterTools = ((Telerik.Windows.Controls.RadRibbonContextualGroup)(target));
                return;

            case 8:
                this.fontSizeComboBox = ((Telerik.Windows.Controls.RadRibbonComboBox)(target));
                return;

            case 9:
                this.HeaderAreaMarginNumericUpDown = ((Telerik.Windows.Controls.RadNumericUpDown)(target));
                return;

            case 10:
                this.FooterAreaMarginNumericUpDown = ((Telerik.Windows.Controls.RadNumericUpDown)(target));
                return;

            case 11:
                this.radRichTextBox = ((Telerik.Windows.Controls.RadRichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.radRichTextBoxParent = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.radRichTextBox = ((Telerik.Windows.Controls.RadRichTextBox)(target));
                return;

            case 3:
                this.ribbon = ((Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxRibbonUI)(target));
                return;

            case 4:
                this.TableTools = ((Telerik.Windows.Controls.RadRibbonContextualGroup)(target));
                return;

            case 5:
                this.HeaderFooterTools = ((Telerik.Windows.Controls.RadRibbonContextualGroup)(target));
                return;

            case 6:
                this.fontSizeComboBox = ((Telerik.Windows.Controls.RadRibbonComboBox)(target));
                return;

            case 7:
                this.HeaderAreaMarginNumericUpDown = ((Telerik.Windows.Controls.RadNumericUpDown)(target));
                return;

            case 8:
                this.FooterAreaMarginNumericUpDown = ((Telerik.Windows.Controls.RadNumericUpDown)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Ribbon = ((Telerik.Windows.Controls.RadRibbonView)(target));
                return;

            case 3:
                this.SamplesList = ((System.Windows.Controls.ListBox)(target));

            #line 43 "..\..\..\View\Diagrams1.xaml"
                this.SamplesList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SamplesList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.NewButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 5:
                this.OpenButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));

            #line 55 "..\..\..\View\Diagrams1.xaml"
                this.OpenButton.Click += new System.Windows.RoutedEventHandler(this.OpenButten_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.SaveButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));

            #line 60 "..\..\..\View\Diagrams1.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 70 "..\..\..\View\Diagrams1.xaml"
                ((System.Windows.Controls.ListBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UndoSelectionChanged);

            #line default
            #line hidden
                return;

            case 8:

            #line 79 "..\..\..\View\Diagrams1.xaml"
                ((System.Windows.Controls.ListBox)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RedoSelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.PasteButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 10:
                this.CutButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 11:
                this.CopyButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 12:
                this.DeleteButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 13:
                this.TextButton = ((Telerik.Windows.Controls.RadRibbonRadioButton)(target));

            #line 116 "..\..\..\View\Diagrams1.xaml"
                this.TextButton.Checked += new System.Windows.RoutedEventHandler(this.OnToolChecked);

            #line default
            #line hidden
                return;

            case 14:
                this.PathButton = ((Telerik.Windows.Controls.RadRibbonRadioButton)(target));

            #line 120 "..\..\..\View\Diagrams1.xaml"
                this.PathButton.Checked += new System.Windows.RoutedEventHandler(this.OnToolChecked);

            #line default
            #line hidden
                return;

            case 15:
                this.PencilButton = ((Telerik.Windows.Controls.RadRibbonRadioButton)(target));

            #line 125 "..\..\..\View\Diagrams1.xaml"
                this.PencilButton.Checked += new System.Windows.RoutedEventHandler(this.OnToolChecked);

            #line default
            #line hidden
                return;

            case 16:
                this.PointerButton = ((Telerik.Windows.Controls.RadRibbonRadioButton)(target));

            #line 130 "..\..\..\View\Diagrams1.xaml"
                this.PointerButton.Checked += new System.Windows.RoutedEventHandler(this.OnToolChecked);

            #line default
            #line hidden
                return;

            case 17:
                this.ConnectionButton = ((Telerik.Windows.Controls.RadRibbonRadioButton)(target));

            #line 135 "..\..\..\View\Diagrams1.xaml"
                this.ConnectionButton.Checked += new System.Windows.RoutedEventHandler(this.OnToolChecked);

            #line default
            #line hidden
                return;

            case 18:

            #line 147 "..\..\..\View\Diagrams1.xaml"
                ((Telerik.Windows.Controls.RadRibbonButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OnExportToHtmlClick);

            #line default
            #line hidden
                return;

            case 19:
                this.GroupButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 20:
                this.UngroupButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 21:
                this.BackwardButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 22:
                this.ForwardButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 23:
                this.ToFrontButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 24:
                this.ToBackButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 25:
                this.AlignLeftButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 26:
                this.AlignBottomButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 27:
                this.AlignTopButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 28:
                this.AlignRightButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 29:
                this.LayoutButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));

            #line 208 "..\..\..\View\Diagrams1.xaml"
                this.LayoutButton.Click += new System.Windows.RoutedEventHandler(this.LayoutButton_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.BackgroundColorButton = ((Telerik.Windows.Controls.RadRibbonDropDownButton)(target));
                return;

            case 31:

            #line 223 "..\..\..\View\Diagrams1.xaml"
                ((Telerik.Windows.Controls.RadColorSelector)(target)).SelectedColorChanged += new System.EventHandler(this.RadColorSelector_SelectedColorChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.ShowGridToggle = ((Telerik.Windows.Controls.RadRibbonToggleButton)(target));
                return;

            case 33:
                this.GridColorButton = ((Telerik.Windows.Controls.RadRibbonDropDownButton)(target));
                return;

            case 34:

            #line 238 "..\..\..\View\Diagrams1.xaml"
                ((Telerik.Windows.Controls.RadColorSelector)(target)).SelectedColorChanged += new System.EventHandler(this.GridColorSelectorOnSelectionChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.CellWidthSpinner = ((Telerik.Windows.Controls.RadNumericUpDown)(target));

            #line 254 "..\..\..\View\Diagrams1.xaml"
                this.CellWidthSpinner.ValueChanged += new System.EventHandler <Telerik.Windows.Controls.RadRangeBaseValueChangedEventArgs>(this.CellWidthSpinner_OnValueChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.CellHeightSpinner = ((Telerik.Windows.Controls.RadNumericUpDown)(target));

            #line 260 "..\..\..\View\Diagrams1.xaml"
                this.CellHeightSpinner.ValueChanged += new System.EventHandler <Telerik.Windows.Controls.RadRangeBaseValueChangedEventArgs>(this.CellHeightSpinner_OnValueChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.ZoomSpinner = ((Telerik.Windows.Controls.RadNumericUpDown)(target));

            #line 302 "..\..\..\View\Diagrams1.xaml"
                this.ZoomSpinner.ValueChanged += new System.EventHandler <Telerik.Windows.Controls.RadRangeBaseValueChangedEventArgs>(this.ZoomSpinner_OnValueChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.FitToWindowButton = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 39:
                this.SelectionModeCombo = ((Telerik.Windows.Controls.RadRibbonComboBox)(target));
                return;

            case 40:
                this.toolBox = ((Telerik.Windows.Controls.Diagrams.Extensions.RadDiagramToolbox)(target));
                return;

            case 41:
                this.diagram = ((Telerik.Windows.Controls.RadDiagram)(target));
                return;

            case 42:
                this.SamplesList1 = ((Telerik.Windows.Controls.RadListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }