public GHIcon(GHIcon icon) { windowType = icon.windowType; image = (Bitmap)icon.image.Clone(); Init(); }
/// <summary> /// アイコンのクローンを生成(簡易版・分類指定) /// </summary> /// <param name="windowType">画像の分類</param> /// <returns></returns> public GHIcon Clone(FormType windowType) { GHIcon icon = new GHIcon(ref image, windowType); return(icon); }