mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Changed icon
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@74 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
3557790aec
commit
b4fe1fdb86
@ -271,9 +271,14 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void Initialize(Icon icon, Subtitle subtitle, string fileName, string title, double framerate)
|
internal void Initialize(Bitmap bitmap, Subtitle subtitle, string fileName, string title, double framerate)
|
||||||
{
|
{
|
||||||
this.Icon = (Icon)icon.Clone();
|
if (bitmap != null)
|
||||||
|
{
|
||||||
|
IntPtr Hicon = bitmap.GetHicon();
|
||||||
|
this.Icon = System.Drawing.Icon.FromHandle(Hicon);
|
||||||
|
}
|
||||||
|
|
||||||
_originalSubtitle = subtitle;
|
_originalSubtitle = subtitle;
|
||||||
_oldFramerate = framerate;
|
_oldFramerate = framerate;
|
||||||
_subtitleFileName = fileName;
|
_subtitleFileName = fileName;
|
||||||
|
Loading…
Reference in New Issue
Block a user