Esempio n. 1
0
 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);
     }
 }
Esempio n. 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);
 }