Ejemplo n.º 1
0
 public int AddMenu(ComMenu objComMenu, int entryMode, int menuId)
 {
     object[] results = this.Invoke("AddMenu", new object[] {
         objComMenu,
         entryMode,
         menuId
     });
     return((int)(results[0]));
 }
Ejemplo n.º 2
0
 /// <remarks/>
 public void AddMenuAsync(ComMenu objComMenu, int entryMode, int menuId, object userState)
 {
     if ((this.AddMenuOperationCompleted == null))
     {
         this.AddMenuOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMenuOperationCompleted);
     }
     this.InvokeAsync("AddMenu", new object[] {
         objComMenu,
         entryMode,
         menuId
     }, this.AddMenuOperationCompleted, userState);
 }
Ejemplo n.º 3
0
 /// <remarks/>
 public void AddMenuAsync(ComMenu objComMenu, int entryMode, int menuId)
 {
     this.AddMenuAsync(objComMenu, entryMode, menuId, null);
 }