コード例 #1
0
 /// <summary>
 /// Create a new menu item.
 /// </summary>
 /// <param name="caption">The caption of the menu item.</param>
 /// <param name="kind">The kind of menu item.</param>
 public TaskMenuItem(string caption, TaskMenuKind kind)
 {
     this.caption = caption;
     this.kind    = kind;
 }
コード例 #2
0
 /// <summary>
 /// Create a new menu item.
 /// </summary>
 /// <param name="caption">The caption of the menu item.</param>
 /// <param name="kind">The kind of menu item.</param>
 public TaskMenuItem(string caption, TaskMenuKind kind)
 {
     this.caption = caption;
     this.kind = kind;
 }