コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DlgSendSmtp = ((PNotes.NET.WndSendSmtp)(target));

            #line 17 "..\..\WndSendSmtp.xaml"
                this.DlgSendSmtp.Loaded += new System.Windows.RoutedEventHandler(this.DlgSendSmtp_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\WndSendSmtp.xaml"
                this.cmdShowContacts.Click += new System.Windows.RoutedEventHandler(this.cmdShowContacts_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\WndSendSmtp.xaml"
                this.txtSmtpRecipients.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\WndSendSmtp.xaml"
                this.txtSmtpSubject.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.lblSmtpAttachments = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 9:
                this.lblSmtpBody = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.txtSmtpBody = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 39 "..\..\WndSendSmtp.xaml"
                this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.cmdCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DlgSendSmtp = ((PNotes.NET.WndSendSmtp)(target));
     
     #line 17 "..\..\WndSendSmtp.xaml"
     this.DlgSendSmtp.Loaded += new System.Windows.RoutedEventHandler(this.DlgSendSmtp_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lblSmtpRecipients = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.cmdShowContacts = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\WndSendSmtp.xaml"
     this.cmdShowContacts.Click += new System.Windows.RoutedEventHandler(this.cmdShowContacts_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.txtSmtpRecipients = ((System.Windows.Controls.TextBox)(target));
     
     #line 26 "..\..\WndSendSmtp.xaml"
     this.txtSmtpRecipients.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_TextChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.lblSmtpSubject = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.txtSmtpSubject = ((System.Windows.Controls.TextBox)(target));
     
     #line 29 "..\..\WndSendSmtp.xaml"
     this.txtSmtpSubject.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.text_TextChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.lblSmtpAttachments = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.txtSmtpAttachments = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.lblSmtpBody = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.txtSmtpBody = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.cmdOK = ((System.Windows.Controls.Button)(target));
     
     #line 39 "..\..\WndSendSmtp.xaml"
     this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.cmdCancel = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }