public static void SetCommonAttributes(this Atk.Object o, string name, string label, string help)
 {
     if (!string.IsNullOrEmpty(name))
     {
         o.Name = name;
     }
     if (!string.IsNullOrEmpty(name))
     {
         o.Description = help;
     }
     if (!string.IsNullOrEmpty(name))
     {
         o.SetLabel(label);
     }
 }
Exemple #2
0
 public static void SetCommonAttributes(this Atk.Object o, string name, string label, string help)
 {
     o.Name        = name;
     o.Description = help;
     o.SetLabel(label);
 }