Exemplo n.º 1
0
 public void AddItem(string strBuddyName)
 {
     try
     {
         ctlMenuItem objMenuItem = new ctlMenuItem();
         objMenuItem.Title = strBuddyName;
         stPanel.Children.Add(objMenuItem);
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "AddItem()", "Controls\\VMuktiGrid\\Menu\\ctlMenu.xaml.cs");
     }
 }
Exemplo n.º 2
0
 public ctlMenu()
 {
     try
     {
         InitializeComponent();
         objMIClose.strLeftImage = @"\Skins\Images\Delete.Png";
         _objMISave = objMISave;
         stPanel.Children.Remove(_objMISave);
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "ctlMenu()", "Controls\\VMuktiGrid\\Menu\\ctlMenu.xaml.cs");
     }
 }
Exemplo n.º 3
0
 public ctlMenu()
 {
     try
     {
         InitializeComponent();
         objMIClose.strLeftImage = @"\Skins\Images\Delete.Png";
         _objMISave = objMISave;
         stPanel.Children.Remove(_objMISave);
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "ctlMenu()", "Controls\\VMuktiGrid\\Menu\\ctlMenu.xaml.cs");
     }
 }
Exemplo n.º 4
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;
        }
Exemplo n.º 5
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;
 }
Exemplo n.º 6
0
 public void AddItem(string strBuddyName)
 {
     try
     {
         ctlMenuItem objMenuItem = new ctlMenuItem();
         objMenuItem.Title = strBuddyName;
         stPanel.Children.Add(objMenuItem);
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "AddItem()", "Controls\\VMuktiGrid\\Menu\\ctlMenu.xaml.cs");
     }
 }