Beispiel #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]));
 }
Beispiel #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);
 }
Beispiel #3
0
 /// <remarks/>
 public void AddMenuAsync(ComMenu objComMenu, int entryMode, int menuId)
 {
     this.AddMenuAsync(objComMenu, entryMode, menuId, null);
 }