Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DlgGroups = ((PNotes.NET.WndGroups)(target));

            #line 17 "..\..\WndGroups.xaml"
                this.DlgGroups.Loaded += new System.Windows.RoutedEventHandler(this.DlgGroups_Loaded);

            #line default
            #line hidden
                return;

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

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

            #line 25 "..\..\WndGroups.xaml"
                this.txtGroupName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtGroupName_TextChanged);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:
                this.cmdCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DlgGroups = ((PNotes.NET.WndGroups)(target));
     
     #line 17 "..\..\WndGroups.xaml"
     this.DlgGroups.Loaded += new System.Windows.RoutedEventHandler(this.DlgGroups_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lblContactGroupName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.txtGroupName = ((System.Windows.Controls.TextBox)(target));
     
     #line 25 "..\..\WndGroups.xaml"
     this.txtGroupName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtGroupName_TextChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.cmdOK = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\WndGroups.xaml"
     this.cmdOK.Click += new System.Windows.RoutedEventHandler(this.cmdOK_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.cmdCancel = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }