public SetWindowIcon ( |
||
icon | System.Drawing.Icon for the window/control associated with this preview | |
return | void |
public void SetWindowIcon(Icon icon)
{
Icon = icon;
// If we have a TaskbarWindow assigned, set its icon
if (TaskbarWindow != null && TaskbarWindow.TabbedThumbnailProxyWindow != null)
{
TaskbarWindow.TabbedThumbnailProxyWindow.Icon = Icon;
}
}
TabbedThumbnail::SetWindowIcon ( |
public void InitalizeDWM() { TabbedThumbnail thumbnail = new TabbedThumbnail(this.Handle, Editor); TaskbarManager.Instance.TabbedThumbnail.AddThumbnailPreview(thumbnail); thumbnail.SetImage(new Bitmap(Editor.Image)); thumbnail.DisplayFrameAroundBitmap = false; thumbnail.Title = "Paint Bucket"; thumbnail.SetWindowIcon(this.Icon); }