launcher: replace messagebox question icon with PokeWhat

This commit is contained in:
somewhatlurker
2019-08-05 08:56:38 +10:00
parent f3e19e9ff8
commit 42e282568c
3 changed files with 4 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

@@ -261,8 +261,7 @@ private: ref class SkinnedMessageBoxForm : Form
}
else if (icon == MessageBoxIcon::Question)
{
Drawing::Icon^ qicon = gcnew Drawing::Icon(SystemIcons::Question, iconsize, iconsize);
iconPB->Image = qicon->ToBitmap();
iconPB->Image = (Image^)(ResMgr->GetObject("PokeWhat4xvc2"));
iconPB->AccessibleDescription = "Question";
//this.Icon = SystemIcons.Question;
System::Media::SystemSounds::Question->Play();
@@ -121,4 +121,7 @@
<data name="PokeSnarf4xd" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>PokeSnarf4xd.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="PokeWhat4xvc2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>PokeWhat4xvc2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>