コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DlgExternals = ((PNotes.NET.WndExternals)(target));
     
     #line 17 "..\..\WndExternals.xaml"
     this.DlgExternals.Loaded += new System.Windows.RoutedEventHandler(this.DlgExternals_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lblExtName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.txtExtName = ((System.Windows.Controls.TextBox)(target));
     
     #line 29 "..\..\WndExternals.xaml"
     this.txtExtName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtExtName_TextChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.lblExtProgram = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.txtExtProg = ((System.Windows.Controls.TextBox)(target));
     
     #line 36 "..\..\WndExternals.xaml"
     this.txtExtProg.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtExtProg_TextChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.cmdProg = ((System.Windows.Controls.Button)(target));
     
     #line 37 "..\..\WndExternals.xaml"
     this.cmdProg.Click += new System.Windows.RoutedEventHandler(this.cmdProg_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.lblCommandLine = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.txtCommandLine = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.cmdOK = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\WndExternals.xaml"
     this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     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.DlgExternals = ((PNotes.NET.WndExternals)(target));

            #line 17 "..\..\WndExternals.xaml"
                this.DlgExternals.Loaded += new System.Windows.RoutedEventHandler(this.DlgExternals_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 29 "..\..\WndExternals.xaml"
                this.txtExtName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtExtName_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.lblExtProgram = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 36 "..\..\WndExternals.xaml"
                this.txtExtProg.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtExtProg_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\WndExternals.xaml"
                this.cmdProg.Click += new System.Windows.RoutedEventHandler(this.cmdProg_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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