Add initial handling for donut icon loading
412
PKHeX.Drawing.Misc/Properties/Resources.Designer.cs
generated
@@ -19,7 +19,7 @@ namespace PKHeX.Drawing.Misc.Properties {
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "18.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Resources {
|
||||
@@ -2190,6 +2190,416 @@ public class Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_bitter00 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_bitter00", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_bitter01 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_bitter01", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_bitter02 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_bitter02", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_bitter03 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_bitter03", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_bitter04 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_bitter04", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_bitter05 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_bitter05", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_fresh00 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_fresh00", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_fresh01 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_fresh01", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_fresh02 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_fresh02", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_fresh03 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_fresh03", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_fresh04 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_fresh04", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_fresh05 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_fresh05", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_mix00 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_mix00", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_mix01 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_mix01", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_mix02 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_mix02", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_mix03 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_mix03", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_mix04 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_mix04", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_mix05 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_mix05", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sour00 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sour00", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sour01 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sour01", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sour02 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sour02", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sour03 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sour03", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sour04 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sour04", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sour05 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sour05", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_spicy00 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_spicy00", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_spicy01 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_spicy01", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_spicy02 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_spicy02", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_spicy03 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_spicy03", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_spicy04 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_spicy04", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_spicy05 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_spicy05", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sweet00 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sweet00", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sweet01 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sweet01", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sweet02 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sweet02", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sweet03 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sweet03", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sweet04 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sweet04", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_sweet05 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_sweet05", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_uni382 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_uni382", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_uni383 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_uni383", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_uni384 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_uni384", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_uni491 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_uni491", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap donut_uni807 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("donut_uni807", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
@@ -1696,4 +1696,127 @@
|
||||
<data name="type_wide_99" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\types\wide\type_wide_99.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_bitter04" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_bitter04.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_bitter05" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_bitter05.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_fresh00" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_fresh00.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_fresh01" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_fresh01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_fresh02" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_fresh02.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_fresh03" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_fresh03.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_fresh04" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_fresh04.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_fresh05" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_fresh05.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_mix00" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_mix00.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_mix01" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_mix01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_mix02" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_mix02.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_mix03" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_mix03.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_mix04" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_mix04.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_mix05" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_mix05.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sour00" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sour00.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sour01" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sour01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sour02" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sour02.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sour03" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sour03.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sour04" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sour04.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sour05" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sour05.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_spicy00" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_spicy00.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_spicy01" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_spicy01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_spicy02" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_spicy02.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_spicy03" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_spicy03.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_spicy04" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_spicy04.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_spicy05" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_spicy05.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sweet00" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sweet00.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sweet01" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sweet01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sweet02" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sweet02.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sweet03" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sweet03.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sweet04" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sweet04.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_sweet05" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_sweet05.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_uni382" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_uni382.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_uni383" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_uni383.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_uni384" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_uni384.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_uni491" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_uni491.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_uni807" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_uni807.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_bitter00" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_bitter00.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_bitter01" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_bitter01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_bitter02" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_bitter02.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="donut_bitter03" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\img\donut\donut_bitter03.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_bitter00.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_bitter01.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_bitter02.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_bitter03.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_bitter04.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_bitter05.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_fresh00.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_fresh01.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_fresh02.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_fresh03.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_fresh04.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_fresh05.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_mix00.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_mix01.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_mix02.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_mix03.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_mix04.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_mix05.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sour00.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sour01.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sour02.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sour03.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sour04.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sour05.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_spicy00.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_spicy01.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_spicy02.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_spicy03.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_spicy04.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_spicy05.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sweet00.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sweet01.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sweet02.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sweet03.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sweet04.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_sweet05.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_uni382.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_uni383.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_uni384.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_uni491.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
PKHeX.Drawing.Misc/Resources/img/donut/donut_uni807.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
44
PKHeX.Drawing.Misc/Util/DonutSpriteUtil.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using PKHeX.Core;
|
||||
using PKHeX.Drawing.Misc.Properties;
|
||||
using PKHeX.Drawing.PokeSprite;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
|
||||
namespace PKHeX.Drawing.Misc;
|
||||
|
||||
/// <summary>
|
||||
/// Provides utility methods for retrieving and composing sprites for Donuts.
|
||||
/// </summary>
|
||||
public static class DonutSpriteUtil
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the sprite image for the specified <see cref="Donut9a"/>.
|
||||
/// </summary>
|
||||
/// <param name="donut">The donut to get the sprite for.</param>
|
||||
/// <returns>A <see cref="Bitmap"/> representing the sprite image.</returns>
|
||||
public static Bitmap? Sprite(this Donut9a donut) => GetDonutImage(donut);
|
||||
|
||||
private static Bitmap? GetDonutImage(Donut9a donut)
|
||||
{
|
||||
if (donut.Donut is >= 198 and <= 202)
|
||||
return GetSpecialDonutImage(donut);
|
||||
|
||||
ReadOnlySpan<string> flavors = ["sweet", "spicy", "sour", "bitter", "fresh", "mix"];
|
||||
var variant = donut.Donut % 6;
|
||||
var stars = donut.Stars;
|
||||
var flavor = flavors[variant];
|
||||
var resource = $"donut_{flavor}{stars:00}";
|
||||
return (Bitmap?)Resources.ResourceManager.GetObject(resource);
|
||||
}
|
||||
|
||||
private static Bitmap? GetSpecialDonutImage(Donut9a donut) => donut.Donut switch
|
||||
{
|
||||
198 => Resources.donut_uni491, // Bad Dreams Cruller
|
||||
199 => Resources.donut_uni383, // Omega Old-Fashioned Donut
|
||||
200 => Resources.donut_uni382, // Alpha Old-Fashioned Donut
|
||||
201 => Resources.donut_uni384, // Delta Old-Fashioned Donut
|
||||
202 => Resources.donut_uni807, // Plasma-Glazed Donut
|
||||
_ => null,
|
||||
};
|
||||
}
|
||||
@@ -129,7 +129,7 @@ private void InitializeComponent()
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel1.Size = new System.Drawing.Size(296, 238);
|
||||
tableLayoutPanel1.Size = new System.Drawing.Size(296, 220);
|
||||
tableLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// CB_Berry8
|
||||
@@ -138,10 +138,10 @@ private void InitializeComponent()
|
||||
CB_Berry8.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Berry8.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Berry8.FormattingEnabled = true;
|
||||
CB_Berry8.Location = new System.Drawing.Point(130, 210);
|
||||
CB_Berry8.Location = new System.Drawing.Point(130, 194);
|
||||
CB_Berry8.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Berry8.Name = "CB_Berry8";
|
||||
CB_Berry8.Size = new System.Drawing.Size(164, 25);
|
||||
CB_Berry8.Size = new System.Drawing.Size(164, 23);
|
||||
CB_Berry8.TabIndex = 17;
|
||||
//
|
||||
// CB_Berry7
|
||||
@@ -150,10 +150,10 @@ private void InitializeComponent()
|
||||
CB_Berry7.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Berry7.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Berry7.FormattingEnabled = true;
|
||||
CB_Berry7.Location = new System.Drawing.Point(130, 184);
|
||||
CB_Berry7.Location = new System.Drawing.Point(130, 170);
|
||||
CB_Berry7.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Berry7.Name = "CB_Berry7";
|
||||
CB_Berry7.Size = new System.Drawing.Size(164, 25);
|
||||
CB_Berry7.Size = new System.Drawing.Size(164, 23);
|
||||
CB_Berry7.TabIndex = 16;
|
||||
//
|
||||
// CB_Berry6
|
||||
@@ -162,10 +162,10 @@ private void InitializeComponent()
|
||||
CB_Berry6.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Berry6.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Berry6.FormattingEnabled = true;
|
||||
CB_Berry6.Location = new System.Drawing.Point(130, 158);
|
||||
CB_Berry6.Location = new System.Drawing.Point(130, 146);
|
||||
CB_Berry6.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Berry6.Name = "CB_Berry6";
|
||||
CB_Berry6.Size = new System.Drawing.Size(164, 25);
|
||||
CB_Berry6.Size = new System.Drawing.Size(164, 23);
|
||||
CB_Berry6.TabIndex = 15;
|
||||
//
|
||||
// CB_Berry5
|
||||
@@ -174,10 +174,10 @@ private void InitializeComponent()
|
||||
CB_Berry5.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Berry5.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Berry5.FormattingEnabled = true;
|
||||
CB_Berry5.Location = new System.Drawing.Point(130, 132);
|
||||
CB_Berry5.Location = new System.Drawing.Point(130, 122);
|
||||
CB_Berry5.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Berry5.Name = "CB_Berry5";
|
||||
CB_Berry5.Size = new System.Drawing.Size(164, 25);
|
||||
CB_Berry5.Size = new System.Drawing.Size(164, 23);
|
||||
CB_Berry5.TabIndex = 14;
|
||||
//
|
||||
// CB_Berry4
|
||||
@@ -186,10 +186,10 @@ private void InitializeComponent()
|
||||
CB_Berry4.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Berry4.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Berry4.FormattingEnabled = true;
|
||||
CB_Berry4.Location = new System.Drawing.Point(130, 106);
|
||||
CB_Berry4.Location = new System.Drawing.Point(130, 98);
|
||||
CB_Berry4.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Berry4.Name = "CB_Berry4";
|
||||
CB_Berry4.Size = new System.Drawing.Size(164, 25);
|
||||
CB_Berry4.Size = new System.Drawing.Size(164, 23);
|
||||
CB_Berry4.TabIndex = 13;
|
||||
//
|
||||
// CB_Berry3
|
||||
@@ -198,10 +198,10 @@ private void InitializeComponent()
|
||||
CB_Berry3.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Berry3.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Berry3.FormattingEnabled = true;
|
||||
CB_Berry3.Location = new System.Drawing.Point(130, 80);
|
||||
CB_Berry3.Location = new System.Drawing.Point(130, 74);
|
||||
CB_Berry3.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Berry3.Name = "CB_Berry3";
|
||||
CB_Berry3.Size = new System.Drawing.Size(164, 25);
|
||||
CB_Berry3.Size = new System.Drawing.Size(164, 23);
|
||||
CB_Berry3.TabIndex = 12;
|
||||
//
|
||||
// CB_Berry2
|
||||
@@ -210,10 +210,10 @@ private void InitializeComponent()
|
||||
CB_Berry2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Berry2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Berry2.FormattingEnabled = true;
|
||||
CB_Berry2.Location = new System.Drawing.Point(130, 54);
|
||||
CB_Berry2.Location = new System.Drawing.Point(130, 50);
|
||||
CB_Berry2.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Berry2.Name = "CB_Berry2";
|
||||
CB_Berry2.Size = new System.Drawing.Size(164, 25);
|
||||
CB_Berry2.Size = new System.Drawing.Size(164, 23);
|
||||
CB_Berry2.TabIndex = 11;
|
||||
//
|
||||
// CB_Berry1
|
||||
@@ -222,10 +222,10 @@ private void InitializeComponent()
|
||||
CB_Berry1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Berry1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Berry1.FormattingEnabled = true;
|
||||
CB_Berry1.Location = new System.Drawing.Point(130, 28);
|
||||
CB_Berry1.Location = new System.Drawing.Point(130, 26);
|
||||
CB_Berry1.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Berry1.Name = "CB_Berry1";
|
||||
CB_Berry1.Size = new System.Drawing.Size(164, 25);
|
||||
CB_Berry1.Size = new System.Drawing.Size(164, 23);
|
||||
CB_Berry1.TabIndex = 10;
|
||||
//
|
||||
// CB_Berry0
|
||||
@@ -237,13 +237,13 @@ private void InitializeComponent()
|
||||
CB_Berry0.Location = new System.Drawing.Point(130, 2);
|
||||
CB_Berry0.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Berry0.Name = "CB_Berry0";
|
||||
CB_Berry0.Size = new System.Drawing.Size(164, 25);
|
||||
CB_Berry0.Size = new System.Drawing.Size(164, 23);
|
||||
CB_Berry0.TabIndex = 9;
|
||||
//
|
||||
// L_Berry0
|
||||
//
|
||||
L_Berry0.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Berry0.Location = new System.Drawing.Point(2, 3);
|
||||
L_Berry0.Location = new System.Drawing.Point(2, 2);
|
||||
L_Berry0.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Berry0.Name = "L_Berry0";
|
||||
L_Berry0.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -255,7 +255,7 @@ private void InitializeComponent()
|
||||
//
|
||||
PB_Berry0.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
PB_Berry0.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
PB_Berry0.Location = new System.Drawing.Point(106, 3);
|
||||
PB_Berry0.Location = new System.Drawing.Point(106, 2);
|
||||
PB_Berry0.Margin = new System.Windows.Forms.Padding(0);
|
||||
PB_Berry0.Name = "PB_Berry0";
|
||||
PB_Berry0.Size = new System.Drawing.Size(24, 24);
|
||||
@@ -266,7 +266,7 @@ private void InitializeComponent()
|
||||
// L_Berry1
|
||||
//
|
||||
L_Berry1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Berry1.Location = new System.Drawing.Point(2, 29);
|
||||
L_Berry1.Location = new System.Drawing.Point(2, 26);
|
||||
L_Berry1.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Berry1.Name = "L_Berry1";
|
||||
L_Berry1.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -278,7 +278,7 @@ private void InitializeComponent()
|
||||
//
|
||||
PB_Berry1.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
PB_Berry1.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
PB_Berry1.Location = new System.Drawing.Point(106, 29);
|
||||
PB_Berry1.Location = new System.Drawing.Point(106, 26);
|
||||
PB_Berry1.Margin = new System.Windows.Forms.Padding(0);
|
||||
PB_Berry1.Name = "PB_Berry1";
|
||||
PB_Berry1.Size = new System.Drawing.Size(24, 24);
|
||||
@@ -289,7 +289,7 @@ private void InitializeComponent()
|
||||
// L_Berry2
|
||||
//
|
||||
L_Berry2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Berry2.Location = new System.Drawing.Point(2, 55);
|
||||
L_Berry2.Location = new System.Drawing.Point(2, 50);
|
||||
L_Berry2.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Berry2.Name = "L_Berry2";
|
||||
L_Berry2.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -301,7 +301,7 @@ private void InitializeComponent()
|
||||
//
|
||||
PB_Berry2.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
PB_Berry2.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
PB_Berry2.Location = new System.Drawing.Point(106, 55);
|
||||
PB_Berry2.Location = new System.Drawing.Point(106, 50);
|
||||
PB_Berry2.Margin = new System.Windows.Forms.Padding(0);
|
||||
PB_Berry2.Name = "PB_Berry2";
|
||||
PB_Berry2.Size = new System.Drawing.Size(24, 24);
|
||||
@@ -312,7 +312,7 @@ private void InitializeComponent()
|
||||
// L_Berry3
|
||||
//
|
||||
L_Berry3.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Berry3.Location = new System.Drawing.Point(2, 81);
|
||||
L_Berry3.Location = new System.Drawing.Point(2, 74);
|
||||
L_Berry3.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Berry3.Name = "L_Berry3";
|
||||
L_Berry3.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -324,7 +324,7 @@ private void InitializeComponent()
|
||||
//
|
||||
PB_Berry3.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
PB_Berry3.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
PB_Berry3.Location = new System.Drawing.Point(106, 81);
|
||||
PB_Berry3.Location = new System.Drawing.Point(106, 74);
|
||||
PB_Berry3.Margin = new System.Windows.Forms.Padding(0);
|
||||
PB_Berry3.Name = "PB_Berry3";
|
||||
PB_Berry3.Size = new System.Drawing.Size(24, 24);
|
||||
@@ -335,7 +335,7 @@ private void InitializeComponent()
|
||||
// L_Berry4
|
||||
//
|
||||
L_Berry4.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Berry4.Location = new System.Drawing.Point(2, 107);
|
||||
L_Berry4.Location = new System.Drawing.Point(2, 98);
|
||||
L_Berry4.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Berry4.Name = "L_Berry4";
|
||||
L_Berry4.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -347,7 +347,7 @@ private void InitializeComponent()
|
||||
//
|
||||
PB_Berry4.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
PB_Berry4.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
PB_Berry4.Location = new System.Drawing.Point(106, 107);
|
||||
PB_Berry4.Location = new System.Drawing.Point(106, 98);
|
||||
PB_Berry4.Margin = new System.Windows.Forms.Padding(0);
|
||||
PB_Berry4.Name = "PB_Berry4";
|
||||
PB_Berry4.Size = new System.Drawing.Size(24, 24);
|
||||
@@ -358,7 +358,7 @@ private void InitializeComponent()
|
||||
// L_Berry5
|
||||
//
|
||||
L_Berry5.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Berry5.Location = new System.Drawing.Point(2, 133);
|
||||
L_Berry5.Location = new System.Drawing.Point(2, 122);
|
||||
L_Berry5.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Berry5.Name = "L_Berry5";
|
||||
L_Berry5.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -370,7 +370,7 @@ private void InitializeComponent()
|
||||
//
|
||||
PB_Berry5.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
PB_Berry5.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
PB_Berry5.Location = new System.Drawing.Point(106, 133);
|
||||
PB_Berry5.Location = new System.Drawing.Point(106, 122);
|
||||
PB_Berry5.Margin = new System.Windows.Forms.Padding(0);
|
||||
PB_Berry5.Name = "PB_Berry5";
|
||||
PB_Berry5.Size = new System.Drawing.Size(24, 24);
|
||||
@@ -381,7 +381,7 @@ private void InitializeComponent()
|
||||
// L_Berry6
|
||||
//
|
||||
L_Berry6.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Berry6.Location = new System.Drawing.Point(2, 159);
|
||||
L_Berry6.Location = new System.Drawing.Point(2, 146);
|
||||
L_Berry6.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Berry6.Name = "L_Berry6";
|
||||
L_Berry6.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -393,7 +393,7 @@ private void InitializeComponent()
|
||||
//
|
||||
PB_Berry6.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
PB_Berry6.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
PB_Berry6.Location = new System.Drawing.Point(106, 159);
|
||||
PB_Berry6.Location = new System.Drawing.Point(106, 146);
|
||||
PB_Berry6.Margin = new System.Windows.Forms.Padding(0);
|
||||
PB_Berry6.Name = "PB_Berry6";
|
||||
PB_Berry6.Size = new System.Drawing.Size(24, 24);
|
||||
@@ -404,7 +404,7 @@ private void InitializeComponent()
|
||||
// L_Berry7
|
||||
//
|
||||
L_Berry7.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Berry7.Location = new System.Drawing.Point(2, 185);
|
||||
L_Berry7.Location = new System.Drawing.Point(2, 170);
|
||||
L_Berry7.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Berry7.Name = "L_Berry7";
|
||||
L_Berry7.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -416,7 +416,7 @@ private void InitializeComponent()
|
||||
//
|
||||
PB_Berry7.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
PB_Berry7.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
PB_Berry7.Location = new System.Drawing.Point(106, 185);
|
||||
PB_Berry7.Location = new System.Drawing.Point(106, 170);
|
||||
PB_Berry7.Margin = new System.Windows.Forms.Padding(0);
|
||||
PB_Berry7.Name = "PB_Berry7";
|
||||
PB_Berry7.Size = new System.Drawing.Size(24, 24);
|
||||
@@ -427,7 +427,7 @@ private void InitializeComponent()
|
||||
// L_Berry8
|
||||
//
|
||||
L_Berry8.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Berry8.Location = new System.Drawing.Point(2, 211);
|
||||
L_Berry8.Location = new System.Drawing.Point(2, 194);
|
||||
L_Berry8.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Berry8.Name = "L_Berry8";
|
||||
L_Berry8.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -439,7 +439,7 @@ private void InitializeComponent()
|
||||
//
|
||||
PB_Berry8.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
PB_Berry8.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
PB_Berry8.Location = new System.Drawing.Point(106, 211);
|
||||
PB_Berry8.Location = new System.Drawing.Point(106, 194);
|
||||
PB_Berry8.Margin = new System.Windows.Forms.Padding(0);
|
||||
PB_Berry8.Name = "PB_Berry8";
|
||||
PB_Berry8.Size = new System.Drawing.Size(24, 24);
|
||||
@@ -452,6 +452,7 @@ private void InitializeComponent()
|
||||
PB_Donut.Location = new System.Drawing.Point(466, 0);
|
||||
PB_Donut.Name = "PB_Donut";
|
||||
PB_Donut.Size = new System.Drawing.Size(80, 80);
|
||||
PB_Donut.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
PB_Donut.TabIndex = 62;
|
||||
PB_Donut.TabStop = false;
|
||||
//
|
||||
@@ -463,7 +464,7 @@ private void InitializeComponent()
|
||||
flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||
flowLayoutPanel1.Size = new System.Drawing.Size(644, 238);
|
||||
flowLayoutPanel1.Size = new System.Drawing.Size(644, 220);
|
||||
flowLayoutPanel1.TabIndex = 63;
|
||||
//
|
||||
// tableLayoutPanel2
|
||||
@@ -503,15 +504,15 @@ private void InitializeComponent()
|
||||
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel2.Size = new System.Drawing.Size(348, 238);
|
||||
tableLayoutPanel2.Size = new System.Drawing.Size(348, 220);
|
||||
tableLayoutPanel2.TabIndex = 2;
|
||||
//
|
||||
// TB_Unknown
|
||||
//
|
||||
TB_Unknown.Location = new System.Drawing.Point(106, 210);
|
||||
TB_Unknown.Location = new System.Drawing.Point(106, 194);
|
||||
TB_Unknown.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
TB_Unknown.Name = "TB_Unknown";
|
||||
TB_Unknown.Size = new System.Drawing.Size(163, 25);
|
||||
TB_Unknown.Size = new System.Drawing.Size(163, 23);
|
||||
TB_Unknown.TabIndex = 60;
|
||||
//
|
||||
// NUD_Stars
|
||||
@@ -520,13 +521,13 @@ private void InitializeComponent()
|
||||
NUD_Stars.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
NUD_Stars.Maximum = new decimal(new int[] { 6, 0, 0, 0 });
|
||||
NUD_Stars.Name = "NUD_Stars";
|
||||
NUD_Stars.Size = new System.Drawing.Size(61, 25);
|
||||
NUD_Stars.Size = new System.Drawing.Size(61, 23);
|
||||
NUD_Stars.TabIndex = 24;
|
||||
//
|
||||
// L_Donut
|
||||
//
|
||||
L_Donut.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Donut.Location = new System.Drawing.Point(2, 81);
|
||||
L_Donut.Location = new System.Drawing.Point(2, 74);
|
||||
L_Donut.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Donut.Name = "L_Donut";
|
||||
L_Donut.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -536,17 +537,17 @@ private void InitializeComponent()
|
||||
//
|
||||
// NUD_LevelBoost
|
||||
//
|
||||
NUD_LevelBoost.Location = new System.Drawing.Point(106, 54);
|
||||
NUD_LevelBoost.Location = new System.Drawing.Point(106, 50);
|
||||
NUD_LevelBoost.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
NUD_LevelBoost.Maximum = new decimal(new int[] { 255, 0, 0, 0 });
|
||||
NUD_LevelBoost.Name = "NUD_LevelBoost";
|
||||
NUD_LevelBoost.Size = new System.Drawing.Size(61, 25);
|
||||
NUD_LevelBoost.Size = new System.Drawing.Size(61, 23);
|
||||
NUD_LevelBoost.TabIndex = 21;
|
||||
//
|
||||
// L_LevelBoost
|
||||
//
|
||||
L_LevelBoost.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_LevelBoost.Location = new System.Drawing.Point(2, 55);
|
||||
L_LevelBoost.Location = new System.Drawing.Point(2, 50);
|
||||
L_LevelBoost.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_LevelBoost.Name = "L_LevelBoost";
|
||||
L_LevelBoost.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -557,7 +558,7 @@ private void InitializeComponent()
|
||||
// L_Calories
|
||||
//
|
||||
L_Calories.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Calories.Location = new System.Drawing.Point(2, 29);
|
||||
L_Calories.Location = new System.Drawing.Point(2, 26);
|
||||
L_Calories.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Calories.Name = "L_Calories";
|
||||
L_Calories.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -568,7 +569,7 @@ private void InitializeComponent()
|
||||
// L_Stars
|
||||
//
|
||||
L_Stars.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Stars.Location = new System.Drawing.Point(2, 3);
|
||||
L_Stars.Location = new System.Drawing.Point(2, 2);
|
||||
L_Stars.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Stars.Name = "L_Stars";
|
||||
L_Stars.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -579,7 +580,7 @@ private void InitializeComponent()
|
||||
// L_Flavor2
|
||||
//
|
||||
L_Flavor2.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Flavor2.Location = new System.Drawing.Point(2, 159);
|
||||
L_Flavor2.Location = new System.Drawing.Point(2, 146);
|
||||
L_Flavor2.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Flavor2.Name = "L_Flavor2";
|
||||
L_Flavor2.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -590,7 +591,7 @@ private void InitializeComponent()
|
||||
// L_Flavor1
|
||||
//
|
||||
L_Flavor1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Flavor1.Location = new System.Drawing.Point(2, 133);
|
||||
L_Flavor1.Location = new System.Drawing.Point(2, 122);
|
||||
L_Flavor1.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Flavor1.Name = "L_Flavor1";
|
||||
L_Flavor1.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -601,7 +602,7 @@ private void InitializeComponent()
|
||||
// L_Flavor0
|
||||
//
|
||||
L_Flavor0.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Flavor0.Location = new System.Drawing.Point(2, 107);
|
||||
L_Flavor0.Location = new System.Drawing.Point(2, 98);
|
||||
L_Flavor0.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Flavor0.Name = "L_Flavor0";
|
||||
L_Flavor0.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -614,10 +615,10 @@ private void InitializeComponent()
|
||||
CB_Flavor0.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Flavor0.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Flavor0.FormattingEnabled = true;
|
||||
CB_Flavor0.Location = new System.Drawing.Point(106, 106);
|
||||
CB_Flavor0.Location = new System.Drawing.Point(106, 98);
|
||||
CB_Flavor0.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Flavor0.Name = "CB_Flavor0";
|
||||
CB_Flavor0.Size = new System.Drawing.Size(240, 25);
|
||||
CB_Flavor0.Size = new System.Drawing.Size(240, 23);
|
||||
CB_Flavor0.TabIndex = 10;
|
||||
//
|
||||
// CB_Flavor1
|
||||
@@ -625,10 +626,10 @@ private void InitializeComponent()
|
||||
CB_Flavor1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Flavor1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Flavor1.FormattingEnabled = true;
|
||||
CB_Flavor1.Location = new System.Drawing.Point(106, 132);
|
||||
CB_Flavor1.Location = new System.Drawing.Point(106, 122);
|
||||
CB_Flavor1.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Flavor1.Name = "CB_Flavor1";
|
||||
CB_Flavor1.Size = new System.Drawing.Size(240, 25);
|
||||
CB_Flavor1.Size = new System.Drawing.Size(240, 23);
|
||||
CB_Flavor1.TabIndex = 11;
|
||||
//
|
||||
// CB_Flavor2
|
||||
@@ -636,19 +637,19 @@ private void InitializeComponent()
|
||||
CB_Flavor2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Flavor2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Flavor2.FormattingEnabled = true;
|
||||
CB_Flavor2.Location = new System.Drawing.Point(106, 158);
|
||||
CB_Flavor2.Location = new System.Drawing.Point(106, 146);
|
||||
CB_Flavor2.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Flavor2.Name = "CB_Flavor2";
|
||||
CB_Flavor2.Size = new System.Drawing.Size(240, 25);
|
||||
CB_Flavor2.Size = new System.Drawing.Size(240, 23);
|
||||
CB_Flavor2.TabIndex = 12;
|
||||
//
|
||||
// NUD_Calories
|
||||
//
|
||||
NUD_Calories.Location = new System.Drawing.Point(106, 28);
|
||||
NUD_Calories.Location = new System.Drawing.Point(106, 26);
|
||||
NUD_Calories.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
NUD_Calories.Maximum = new decimal(new int[] { 65535, 0, 0, 0 });
|
||||
NUD_Calories.Name = "NUD_Calories";
|
||||
NUD_Calories.Size = new System.Drawing.Size(61, 25);
|
||||
NUD_Calories.Size = new System.Drawing.Size(61, 23);
|
||||
NUD_Calories.TabIndex = 18;
|
||||
//
|
||||
// CB_Donut
|
||||
@@ -656,28 +657,28 @@ private void InitializeComponent()
|
||||
CB_Donut.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
CB_Donut.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
CB_Donut.FormattingEnabled = true;
|
||||
CB_Donut.Location = new System.Drawing.Point(106, 80);
|
||||
CB_Donut.Location = new System.Drawing.Point(106, 74);
|
||||
CB_Donut.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CB_Donut.Name = "CB_Donut";
|
||||
CB_Donut.Size = new System.Drawing.Size(240, 25);
|
||||
CB_Donut.Size = new System.Drawing.Size(240, 23);
|
||||
CB_Donut.TabIndex = 22;
|
||||
//
|
||||
// CAL_Date
|
||||
//
|
||||
CAL_Date.CustomFormat = "hh:mm:ss ddd MMMM dd, yyyy";
|
||||
CAL_Date.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
CAL_Date.Location = new System.Drawing.Point(106, 184);
|
||||
CAL_Date.Location = new System.Drawing.Point(106, 170);
|
||||
CAL_Date.Margin = new System.Windows.Forms.Padding(0, 0, 0, 1);
|
||||
CAL_Date.MaxDate = new System.DateTime(4095, 12, 31, 0, 0, 0, 0);
|
||||
CAL_Date.Name = "CAL_Date";
|
||||
CAL_Date.Size = new System.Drawing.Size(240, 25);
|
||||
CAL_Date.Size = new System.Drawing.Size(240, 23);
|
||||
CAL_Date.TabIndex = 58;
|
||||
CAL_Date.Value = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
|
||||
//
|
||||
// L_Unknown
|
||||
//
|
||||
L_Unknown.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
L_Unknown.Location = new System.Drawing.Point(2, 211);
|
||||
L_Unknown.Location = new System.Drawing.Point(2, 194);
|
||||
L_Unknown.Margin = new System.Windows.Forms.Padding(0);
|
||||
L_Unknown.Name = "L_Unknown";
|
||||
L_Unknown.Size = new System.Drawing.Size(104, 24);
|
||||
@@ -692,7 +693,7 @@ private void InitializeComponent()
|
||||
Controls.Add(PB_Donut);
|
||||
Controls.Add(flowLayoutPanel1);
|
||||
Name = "DonutEditor9a";
|
||||
Size = new System.Drawing.Size(644, 238);
|
||||
Size = new System.Drawing.Size(644, 220);
|
||||
tableLayoutPanel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)PB_Berry0).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)PB_Berry1).EndInit();
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using PKHeX.Core;
|
||||
using PKHeX.Drawing.Misc;
|
||||
using PKHeX.Drawing.PokeSprite;
|
||||
|
||||
namespace PKHeX.WinForms;
|
||||
@@ -10,8 +11,13 @@ public sealed partial class DonutEditor9a : UserControl
|
||||
{
|
||||
private Donut9a _donut;
|
||||
public event EventHandler? ValueChanged;
|
||||
private readonly bool Initialized;
|
||||
|
||||
public DonutEditor9a() => InitializeComponent();
|
||||
public DonutEditor9a()
|
||||
{
|
||||
InitializeComponent();
|
||||
Initialized = true;
|
||||
}
|
||||
|
||||
public void InitializeLists(ReadOnlySpan<string> flavors, ReadOnlySpan<string> items, ReadOnlySpan<string> donutNames)
|
||||
{
|
||||
@@ -152,6 +158,7 @@ public void LoadDonut(Donut9a donut)
|
||||
}
|
||||
|
||||
TB_Unknown.Text = donut.Unknown.ToString();
|
||||
PB_Donut.Image = DonutSpriteUtil.Sprite(donut);
|
||||
|
||||
return;
|
||||
|
||||
@@ -229,6 +236,16 @@ private static ulong GetDonutFlavorHash(ComboBox cb)
|
||||
return hash;
|
||||
}
|
||||
|
||||
// todo please fix this Kurt <3
|
||||
private void CB_Donut_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!Initialized)
|
||||
return;
|
||||
|
||||
_donut.Donut = (ushort)CB_Donut.SelectedIndex;
|
||||
PB_Donut.Image = DonutSpriteUtil.Sprite(_donut);
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
_donut.Clear();
|
||||
|
||||