Here are the examples of the csharp api class System.Drawing.IconLib.SingleIcon.CopyFrom(System.Drawing.IconLib.SingleIcon) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: bdhero
Source File: SingleIcon.cs
Source File: SingleIcon.cs
public void Load(Stream stream) { IconFormat iconFormat = new IconFormat(); if (!iconFormat.IsRecognizedFormat(stream)) throw new InvalidFileException(); MultiIcon multiIcon = iconFormat.Load(stream); if (multiIcon.Count < 1) return; this.CopyFrom(multiIcon[0]); }