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

            #line 17 "..\..\WndFolderIcons.xaml"
                this.DlgFolderIcons.Loaded += new System.Windows.RoutedEventHandler(this.DlgFolderIcons_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.pnlIcons = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

            #line 32 "..\..\WndFolderIcons.xaml"
                this.cmdFromFile.Click += new System.Windows.RoutedEventHandler(this.cmdFromFile_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\WndFolderIcons.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.DlgFolderIcons = ((PNotes.NET.WndFolderIcons)(target));
     
     #line 17 "..\..\WndFolderIcons.xaml"
     this.DlgFolderIcons.Loaded += new System.Windows.RoutedEventHandler(this.DlgFolderIcons_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.pnlIcons = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 3:
     this.cmdFromFile = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\WndFolderIcons.xaml"
     this.cmdFromFile.Click += new System.Windows.RoutedEventHandler(this.cmdFromFile_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.cmdOK = ((System.Windows.Controls.Button)(target));
     
     #line 33 "..\..\WndFolderIcons.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;
 }