Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DlgNewInGroup = ((PNotes.NET.WndNewInGroup)(target));

            #line 17 "..\..\WndNewInGroup.xaml"
                this.DlgNewInGroup.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.tvwGroups = ((System.Windows.Controls.TreeView)(target));

            #line 29 "..\..\WndNewInGroup.xaml"
                this.tvwGroups.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.tvwGroups_MouseDoubleClick);

            #line default
            #line hidden

            #line 29 "..\..\WndNewInGroup.xaml"
                this.tvwGroups.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.tvwGroups_SelectedItemChanged);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\WndNewInGroup.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;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DlgNewInGroup = ((PNotes.NET.WndNewInGroup)(target));
     
     #line 17 "..\..\WndNewInGroup.xaml"
     this.DlgNewInGroup.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.lblNewInGroup = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.tvwGroups = ((System.Windows.Controls.TreeView)(target));
     
     #line 29 "..\..\WndNewInGroup.xaml"
     this.tvwGroups.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.tvwGroups_MouseDoubleClick);
     
     #line default
     #line hidden
     
     #line 29 "..\..\WndNewInGroup.xaml"
     this.tvwGroups.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.tvwGroups_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.cmdOK = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\WndNewInGroup.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;
 }