Esempio n. 1
0
 public EmblemedIcon(Icon icon, Emblem emblem) : base(IntPtr.Zero)
 {
     if (GetType() != typeof(EmblemedIcon))
     {
         throw new InvalidOperationException("Can't override this constructor.");
     }
     Raw = g_emblemed_icon_new(icon == null ? IntPtr.Zero : icon.Handle, emblem == null ? IntPtr.Zero : emblem.Handle);
 }
Esempio n. 2
0
 public void AddEmblem(Emblem emblem)
 {
     g_emblemed_icon_add_emblem(Handle, emblem == null ? IntPtr.Zero : emblem.Handle);
 }