示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnMenu = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\..\..\..\Controls\VMuktiGrid\Menu\ctlMenu.xaml"
                this.btnMenu.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.menuPopUP = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 3:
                this.stPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.objMIClose = ((VMuktiGrid.CustomMenu.ctlMenuItem)(target));
                return;

            case 5:
                this.objMIDelete = ((VMuktiGrid.CustomMenu.ctlMenuItem)(target));
                return;

            case 6:
                this.objMIRename = ((VMuktiGrid.CustomMenu.ctlMenuItem)(target));
                return;

            case 7:
                this.objMISave = ((VMuktiGrid.CustomMenu.ctlMenuItem)(target));
                return;

            case 8:
                this.objEMIBuddyList = ((VMuktiGrid.CustomMenu.ctlExpMenuItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.btnMenu = ((System.Windows.Controls.Button)(target));
     
     #line 110 "..\..\..\..\..\Controls\VMuktiGrid\Menu\ctlMenu.xaml"
     this.btnMenu.Click += new System.Windows.RoutedEventHandler(this.btnMenu_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.menuPopUP = ((System.Windows.Controls.Primitives.Popup)(target));
     return;
     case 3:
     this.stPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.objMIClose = ((VMuktiGrid.CustomMenu.ctlMenuItem)(target));
     return;
     case 5:
     this.objMIDelete = ((VMuktiGrid.CustomMenu.ctlMenuItem)(target));
     return;
     case 6:
     this.objMIRename = ((VMuktiGrid.CustomMenu.ctlMenuItem)(target));
     return;
     case 7:
     this.objMISave = ((VMuktiGrid.CustomMenu.ctlMenuItem)(target));
     return;
     case 8:
     this.objEMIBuddyList = ((VMuktiGrid.CustomMenu.ctlExpMenuItem)(target));
     return;
     }
     this._contentLoaded = true;
 }