Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RTFNoteDialog = ((Rapid_Reporter.RTFNote)(target));

            #line 4 "..\..\RTFNote.xaml"
                this.RTFNoteDialog.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.RTFNoteDialog_VisibilityChanged);

            #line default
            #line hidden
                return;

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

            case 3:
                this.clean = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\RTFNote.xaml"
                this.clean.Click += new System.Windows.RoutedEventHandler(this.clean_Click);

            #line default
            #line hidden
                return;

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

            #line 19 "..\..\RTFNote.xaml"
                this.save.Click += new System.Windows.RoutedEventHandler(this.save_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RTFNoteDialog = ((Rapid_Reporter.RTFNote)(target));
     
     #line 4 "..\..\RTFNote.xaml"
     this.RTFNoteDialog.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.RTFNoteDialog_VisibilityChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.richTextNote = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 3:
     this.clean = ((System.Windows.Controls.Button)(target));
     
     #line 18 "..\..\RTFNote.xaml"
     this.clean.Click += new System.Windows.RoutedEventHandler(this.clean_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.save = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\RTFNote.xaml"
     this.save.Click += new System.Windows.RoutedEventHandler(this.save_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }