コード例 #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");
     }
 }
コード例 #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");
     }
 }
コード例 #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");
     }
 }
コード例 #4
0
ファイル: ctlMenu.g.cs プロジェクト: xiaoliukai/VMukti
        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;
        }
コード例 #5
0
ファイル: ctlMenu.g.cs プロジェクト: jiangguang5201314/VMukti
 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;
 }
コード例 #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");
     }
 }