コード例 #1
0
 public RtfSpecialCharactersConverter(ITextFormatter formatter = null)
 {
     _richTextBox = new RichTextBox
     {
         TextFormatter = formatter ?? new RtfFormatter()
     };
 }
コード例 #2
0
ファイル: MainWindow.g.i.cs プロジェクト: NeloOpacity/Chat
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((ConsoleChat_Client.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.AllMessages = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

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

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

            #line 27 "..\..\MainWindow.xaml"
                this.bSendMessage.Click += new System.Windows.RoutedEventHandler(this.bSendMessage_Click);

            #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 9 "..\..\..\ClientManipulation\ClientRegistration.xaml"
                ((Lawyer_Diary.ClientRegistration)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.txtClientCNIC = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));

            #line 63 "..\..\..\ClientManipulation\ClientRegistration.xaml"
                this.txtClientCNIC.LostFocus += new System.Windows.RoutedEventHandler(this.txtClientCNIC_LostFocus);

            #line default
            #line hidden
                return;

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

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

            case 5:
                this.txtClientContact = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 6:
                this.txtClientAddress = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

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

            #line 151 "..\..\..\ClientManipulation\ClientRegistration.xaml"
                this.btnClientSave.Click += new System.Windows.RoutedEventHandler(this.btnClientSave_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._zoomFactor = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

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

            case 3:
                this._zoomFactorOnMouseWheel = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 4:
                this._frameType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this._radius = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 6:
                this._width = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 7:
                this._height = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 8:
                this._borderThickness = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 9:
                this._colorPicker = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
                return;

            case 10:
                this._txtContent = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

            case 11:
                this._magnifier = ((Xceed.Wpf.Toolkit.Magnifier)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtClientCNIC = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

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

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

            case 4:
                this.txtClientContact = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 5:
                this.txtClientAddress = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

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

            #line 80 "..\..\AddNewClient.xaml"
                this.btnClientSave.Click += new System.Windows.RoutedEventHandler(this.btnClientSave_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\AddNewClient.xaml"
                this.btnClientCancel.Click += new System.Windows.RoutedEventHandler(this.btnClientCancel_Click);

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

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

            case 3:
                this.mainRTB = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
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.buttonsGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.Box = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
        protected override Control CreateValueControl()
        {
            var control = new RichTextBox
            {
                ToolTip = Definition.Description,
                VerticalScrollBarVisibility = ScrollBarVisibility.Auto,
                MinHeight     = DefaultHeight,
                MaxHeight     = DefaultHeight,
                TextFormatter = _formatter
            };

            var showFormatBar = Definition.Settings.Get <bool>("ShowFormatBar");

            if (showFormatBar == true)
            {
                RichTextBoxFormatBarManager.SetFormatBar(control, new RichTextBoxFormatBar());
            }

            return(control);
        }
コード例 #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._textFormatter = ((System.Windows.Controls.ComboBox)(target));

            #line 48 "..\..\..\..\..\..\Samples\Text\Views\RichTextboxView.xaml"
                this._textFormatter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OnTextFormatterChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this._richTextBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 43 "..\..\..\..\..\States\Code\CodeLibDialogs\ShowCode.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_FareSolTıkBasıldığında);

            #line default
            #line hidden

            #line 44 "..\..\..\..\..\States\Code\CodeLibDialogs\ShowCode.xaml"
                ((System.Windows.Controls.Border)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_ÖnizlemeFareSolTıkKalktığında);

            #line default
            #line hidden

            #line 45 "..\..\..\..\..\States\Code\CodeLibDialogs\ShowCode.xaml"
                ((System.Windows.Controls.Border)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_ÖnizlemeFareSolTıkBastığında);

            #line default
            #line hidden

            #line 46 "..\..\..\..\..\States\Code\CodeLibDialogs\ShowCode.xaml"
                ((System.Windows.Controls.Border)(target)).PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_ÖnizlemeFareyleTaşıma);

            #line default
            #line hidden
                return;

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

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

            case 4:

            #line 80 "..\..\..\..\..\States\Code\CodeLibDialogs\ShowCode.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close);

            #line default
            #line hidden
                return;

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

            case 6:
                this.CodeView = ((ICSharpCode.AvalonEdit.TextEditor)(target));
                return;

            case 7:
                this.CodeDescView = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
0
ファイル: CodeLib.g.i.cs プロジェクト: korproject/PoliMakro
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:

            #line 199 "..\..\..\..\States\Code\CodeLib.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

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

            case 4:
                this.AddCodeDescRichTBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

            case 5:

            #line 264 "..\..\..\..\States\Code\CodeLib.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

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

            case 7:
                this.AddGroupRichTBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

            case 8:

            #line 342 "..\..\..\..\States\Code\CodeLib.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

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

            case 10:
                this.AddLangRichTBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

            case 11:
                this.HighlightedCodeBase = ((AurelienRibon.Ui.SyntaxHighlightBox.SyntaxHighlightBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CodeLibUC = ((Poli.Makro.States.Code.CodeLib)(target));
                return;

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

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

            case 4:
                this.CodeGroupsListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 5:
                this.CodesListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:

            #line 501 "..\..\..\..\States\Code\CodeLib.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CodeView_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 554 "..\..\..\..\States\Code\CodeLib.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

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

            case 9:
                this.AddGroupSwHeDescToggleB = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 10:
                this.AddGroupRichTBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

            case 11:

            #line 641 "..\..\..\..\States\Code\CodeLib.xaml"
                ((System.Windows.Controls.Expander)(target)).Expanded += new System.Windows.RoutedEventHandler(this.SidebarMenuItemExpanded);

            #line default
            #line hidden
                return;

            case 12:
                this.AddLangTitle = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 14:
                this.AddLangRichTBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

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

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

            case 17:
                this.HighlightedCodeBase = ((ICSharpCode.AvalonEdit.TextEditor)(target));
                return;

            case 18:
                this.AddCodeSwHeDescToggleB = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 19:
                this.AddCodeDescRichTBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

            case 20:
                this.ColorGroupsComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 21:
                this.ColorsListView = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #13
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((ComCon.Client.Modules.Chat.ChatControl)(target));
     return;
     case 2:
     this.ChatBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
     return;
     case 3:
     this.textBox1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.button1 = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.listBox1 = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnSpeakGetReadyQuestion = ((System.Windows.Controls.Button)(target));
                return;

            case 2:
                this.btnAutoNextGetReadyQuestion = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            case 4:
                this.lvKeywords = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 5:
                this.lvKeyWordExList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 6:
                this.lvSentences = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 7:
                this.lvSentenceExList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 8:
                this.SentenceWrap = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 9:
                this.lvSentenceOrals = ((System.Windows.Controls.ListView)(target));
                return;

            case 10:
                this.lvListeningExList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 11:
                this.lvListenPart2QuestionList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 12:
                this.dvGrammar = ((System.Windows.Controls.DocumentViewer)(target));
                return;

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

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

            case 15:
                this.lvGrammarExList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 16:
                this._richTextBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

            case 17:
                this.flChampions = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 18:
                this.txtContentOfQuestion = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.btnCloseChampions = ((MahApps.Metro.Controls.Tile)(target));
                return;

            case 20:
                this.flRating = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 21:
                this.gvRating = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.rtLesson = ((SoBasicEnglish.Rating)(target));
                return;

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

            case 24:
                this.lvLessonRating = ((System.Windows.Controls.ListView)(target));
                return;

            case 25:
                this.btnCloseRating = ((MahApps.Metro.Controls.Tile)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #15
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Grind.WPF.CSharp.TaskTrackingFormWPF)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.txtName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.txtTitle = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.grdTaskStatus = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.dtpOpen = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 7:
     this.dtpAnalysis = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 8:
     this.dtpReview = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 9:
     this.dtpCorrection = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 10:
     this.dtpPromotion = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 11:
     this.dtpCollection = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 12:
     this.dtpClosed = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 13:
     this.lblOpen = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.sldTaskStatus = ((System.Windows.Controls.Slider)(target));
     return;
     case 15:
     this.gbTaskOptions = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 16:
     this.rbBug = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 17:
     this.rbHL = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 18:
     this.rbHMA = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 19:
     this.rbBacklog = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 20:
     this.rbCRITSIT = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 21:
     this.rbOthers = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 22:
     this.chkApproval = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 23:
     this.cbExecutor = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 24:
     this.cbReviewer = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 25:
     this.rtbDescription = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
     return;
     case 26:
     this.rtbAnalysis = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
     return;
     case 27:
     this.rtbReview = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\..\States\Color\ColorLibDialogs\AddNewColorGroup.xaml"
                ((Poli.Makro.States.Color.ColorLibDialogs.AddNewColorGroup)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:

            #line 65 "..\..\..\..\..\States\Color\ColorLibDialogs\AddNewColorGroup.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_FareSolTıkBasıldığında);

            #line default
            #line hidden

            #line 66 "..\..\..\..\..\States\Color\ColorLibDialogs\AddNewColorGroup.xaml"
                ((System.Windows.Controls.Border)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_ÖnizlemeFareSolTıkKalktığında);

            #line default
            #line hidden

            #line 67 "..\..\..\..\..\States\Color\ColorLibDialogs\AddNewColorGroup.xaml"
                ((System.Windows.Controls.Border)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_ÖnizlemeFareSolTıkBastığında);

            #line default
            #line hidden

            #line 68 "..\..\..\..\..\States\Color\ColorLibDialogs\AddNewColorGroup.xaml"
                ((System.Windows.Controls.Border)(target)).PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_ÖnizlemeFareyleTaşıma);

            #line default
            #line hidden
                return;

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

            case 4:

            #line 81 "..\..\..\..\..\States\Color\ColorLibDialogs\AddNewColorGroup.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Close);

            #line default
            #line hidden
                return;

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

            case 6:
                this.AddNewColorGroupTgB = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 7:
                this.AddGroupRichTBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((TestExerciser.Diary.Controls.RichTextEditor)(target));
                return;

            case 2:
                this.toolbar = ((System.Windows.Controls.ToolBar)(target));

            #line 19 "..\..\..\Controls\RichTextEditor.xaml"
                this.toolbar.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.rtbContent_IsVisibleChanged);

            #line default
            #line hidden
                return;

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

            case 4:
                this.cbxFontSize = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.tbBold = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 6:
                this.tbItalic = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 7:
                this.tbUnderline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 8:
                this.tbAlignLeft = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 52 "..\..\..\Controls\RichTextEditor.xaml"
                this.tbAlignLeft.Checked += new System.Windows.RoutedEventHandler(this.tbAlignLeft_Checked);

            #line default
            #line hidden
                return;

            case 9:
                this.tbAlignCenter = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 54 "..\..\..\Controls\RichTextEditor.xaml"
                this.tbAlignCenter.Checked += new System.Windows.RoutedEventHandler(this.tbAlignCenter_Checked);

            #line default
            #line hidden
                return;

            case 10:
                this.tbAlignRight = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 56 "..\..\..\Controls\RichTextEditor.xaml"
                this.tbAlignRight.Checked += new System.Windows.RoutedEventHandler(this.tbAlignRight_Checked);

            #line default
            #line hidden
                return;

            case 11:
                this.tbIncreaseIndent = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 12:
                this.tbDecreaseIndent = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

            case 14:
                this.tbNumericList = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 15:
                this.tbHyperlink = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 86 "..\..\..\Controls\RichTextEditor.xaml"
                this.tbHyperlink.Click += new System.Windows.RoutedEventHandler(this.tbHyperlink_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.tbUndo = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 17:
                this.tbRedo = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 18:
                this.rtbContent = ((Xceed.Wpf.Toolkit.RichTextBox)(target));

            #line 107 "..\..\..\Controls\RichTextEditor.xaml"
                this.rtbContent.KeyDown += new System.Windows.Input.KeyEventHandler(this.rtbContent_KeyDown);

            #line default
            #line hidden

            #line 107 "..\..\..\Controls\RichTextEditor.xaml"
                this.rtbContent.SelectionChanged += new System.Windows.RoutedEventHandler(this.rtbContent_SelectionChanged);

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

            #line 11 "..\..\..\CaseManipulation\CaseUpdateRecord.xaml"
                ((Lawyer_Diary.CaseUpdateRecord)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\CaseManipulation\CaseUpdateRecord.xaml"
                this.btnPrintCase.Click += new System.Windows.RoutedEventHandler(this.btnPrintCase_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 8:
                this.dpCaseStartDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            case 11:
                this.btnCase_AddCourt = ((System.Windows.Controls.Button)(target));

            #line 129 "..\..\..\CaseManipulation\CaseUpdateRecord.xaml"
                this.btnCase_AddCourt.Click += new System.Windows.RoutedEventHandler(this.btnCase_AddCourt_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.cbCaseType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 13:
                this.txtCaseClientID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.txtCaseDisc = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

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

            #line 174 "..\..\..\CaseManipulation\CaseUpdateRecord.xaml"
                this.btnCaseSave.Click += new System.Windows.RoutedEventHandler(this.btnCaseSave_Click);

            #line default
            #line hidden
                return;

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

            #line 180 "..\..\..\CaseManipulation\CaseUpdateRecord.xaml"
                this.btnCaseCancel.Click += new System.Windows.RoutedEventHandler(this.btnCaseCancel_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.cbIsCaseCompleted = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\ShadulerCode.xaml"
                ((Scheduler.ShadulerCode)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.AppInTray);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.UpLine = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            #line 50 "..\..\ShadulerCode.xaml"
                this.AddSetBut.Click += new System.Windows.RoutedEventHandler(this.addSet_Click);

            #line default
            #line hidden
                return;

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

            #line 51 "..\..\ShadulerCode.xaml"
                this.backBut.Click += new System.Windows.RoutedEventHandler(this.backClick);

            #line default
            #line hidden
                return;

            case 8:
                this.SettingBtn = ((MaterialDesignThemes.Wpf.PopupBox)(target));
                return;

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

            #line 60 "..\..\ShadulerCode.xaml"
                this.themeBtn.Click += new System.Windows.RoutedEventHandler(this.themes_Click);

            #line default
            #line hidden
                return;

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

            #line 63 "..\..\ShadulerCode.xaml"
                this.languagesBtn.Click += new System.Windows.RoutedEventHandler(this.languages_click);

            #line default
            #line hidden
                return;

            case 11:
                this.AddSetGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.addFrame = ((System.Windows.Controls.Frame)(target));
                return;

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

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

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

            case 16:
                this.textToEl = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
                return;

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

            case 18:
                this.timeEl = ((MaterialDesignThemes.Wpf.TimePicker)(target));
                return;

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

            #line 91 "..\..\ShadulerCode.xaml"
                this.saveBut.Click += new System.Windows.RoutedEventHandler(this.saveClick);

            #line default
            #line hidden
                return;

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

            case 21:
                this.PicturesGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 23:
                this.menuLanguage = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #20
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainFrame = ((TextFinder.MainWindow)(target));
     return;
     case 2:
     
     #line 11 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Open_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 12 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 14 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 16 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.About_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.SearchGrid = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.Pattern = ((Xceed.Wpf.Toolkit.WatermarkTextBox)(target));
     return;
     case 8:
     
     #line 28 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.IgnoreCase = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 10:
     
     #line 32 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Find_click);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 33 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.FindAll_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 34 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearBox_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 35 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.Result = ((System.Windows.Controls.ListView)(target));
     return;
     case 16:
     this.RTB = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
     
     #line 78 "..\..\MainWindow.xaml"
     this.RTB.SelectionChanged += new System.Windows.RoutedEventHandler(this.rtbEditor_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.RTBParagraph = ((System.Windows.Documents.Paragraph)(target));
     return;
     case 18:
     this.QuantityChar = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.QuantityEndl = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.TimeSearch = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.QuantityFinds = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.CBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 23:
     this._Background = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 24:
     this._Foreground = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 25:
     this.CPMenu = ((Xceed.Wpf.Toolkit.ColorCanvas)(target));
     return;
     case 26:
     
     #line 120 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CPMenu_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 27:
     this.btnBold = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 124 "..\..\MainWindow.xaml"
     this.btnBold.Click += new System.Windows.RoutedEventHandler(this.btnBold_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.btnItalic = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 127 "..\..\MainWindow.xaml"
     this.btnItalic.Click += new System.Windows.RoutedEventHandler(this.btnItalic_Click);
     
     #line default
     #line hidden
     return;
     case 29:
     this.btnUnderline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 130 "..\..\MainWindow.xaml"
     this.btnUnderline.Click += new System.Windows.RoutedEventHandler(this.btnUnderline_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #21
0
ファイル: MainWindow.g.cs プロジェクト: caicaicai/webTest
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\View\MainWindow.xaml"
     ((webTest.View.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 118 "..\..\..\View\MainWindow.xaml"
     ((System.Windows.Controls.TextBox)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.TextBox_GotFocus);
     
     #line default
     #line hidden
     return;
     case 3:
     this._richTextBox = ((Xceed.Wpf.Toolkit.RichTextBox)(target));
     return;
     case 4:
     this.btn = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }