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]); }