예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DlgScramble = ((PNotes.NET.WndScramble)(target));
     
     #line 19 "..\..\WndScramble.xaml"
     this.DlgScramble.Loaded += new System.Windows.RoutedEventHandler(this.DlgScramble_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lblScramble = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.pwrdKey = ((System.Windows.Controls.PasswordBox)(target));
     
     #line 29 "..\..\WndScramble.xaml"
     this.pwrdKey.PasswordChanged += new System.Windows.RoutedEventHandler(this.pwrdKey_PasswordChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.txtKey = ((System.Windows.Controls.TextBox)(target));
     
     #line 30 "..\..\WndScramble.xaml"
     this.txtKey.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtKey_TextChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.chkSmtpShowPassword = ((System.Windows.Controls.CheckBox)(target));
     
     #line 31 "..\..\WndScramble.xaml"
     this.chkSmtpShowPassword.Checked += new System.Windows.RoutedEventHandler(this.chkSmtpShowPassword_Checked);
     
     #line default
     #line hidden
     
     #line 31 "..\..\WndScramble.xaml"
     this.chkSmtpShowPassword.Unchecked += new System.Windows.RoutedEventHandler(this.chkSmtpShowPassword_Unchecked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.lblScrambleWarning = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.cmdOK = ((System.Windows.Controls.Button)(target));
     
     #line 38 "..\..\WndScramble.xaml"
     this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     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.DlgScramble = ((PNotes.NET.WndScramble)(target));

            #line 19 "..\..\WndScramble.xaml"
                this.DlgScramble.Loaded += new System.Windows.RoutedEventHandler(this.DlgScramble_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.pwrdKey = ((System.Windows.Controls.PasswordBox)(target));

            #line 29 "..\..\WndScramble.xaml"
                this.pwrdKey.PasswordChanged += new System.Windows.RoutedEventHandler(this.pwrdKey_PasswordChanged);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\WndScramble.xaml"
                this.txtKey.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtKey_TextChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.chkSmtpShowPassword = ((System.Windows.Controls.CheckBox)(target));

            #line 31 "..\..\WndScramble.xaml"
                this.chkSmtpShowPassword.Checked += new System.Windows.RoutedEventHandler(this.chkSmtpShowPassword_Checked);

            #line default
            #line hidden

            #line 31 "..\..\WndScramble.xaml"
                this.chkSmtpShowPassword.Unchecked += new System.Windows.RoutedEventHandler(this.chkSmtpShowPassword_Unchecked);

            #line default
            #line hidden
                return;

            case 6:
                this.lblScrambleWarning = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:
                this.cmdCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }