Example #1
0
 public ActiveButtonCollection(ActiveMenuForm owner)
 {
     if (owner == null)
     {
         throw new ArgumentNullException(nameof(owner));
     }
     Owner = owner;
 }
Example #2
0
 /// <summary>
 ///     Creates or returns the menu instance for a given form.
 /// </summary>
 public static IActiveMenu GetInstance(Form form, int leftAdjust = 0, int topAdjust = 0)
 {
     return(ActiveMenuForm.GetInstance(form, leftAdjust, topAdjust));
 }