1
0
mirror of synced 2024-12-01 10:37:25 +01:00

BXLAN : Fix string collection editors.

This commit is contained in:
KillzXGaming 2020-07-12 16:52:07 -04:00
parent 5f43b81d37
commit 78fc6c7eb3

View File

@ -1807,6 +1807,9 @@ namespace LayoutBXLYT
public string Name { get; set; } public string Name { get; set; }
[DisplayName("Groups"), CategoryAttribute("Animation")] [DisplayName("Groups"), CategoryAttribute("Animation")]
[Editor(@"System.Windows.Forms.Design.StringCollectionEditor," +
"System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
typeof(System.Drawing.Design.UITypeEditor))]
public List<string> Groups { get; set; } public List<string> Groups { get; set; }
[DisplayName("Start"), CategoryAttribute("Frames")] [DisplayName("Start"), CategoryAttribute("Frames")]
@ -1837,7 +1840,11 @@ namespace LayoutBXLYT
return new BxlanPaiEntry(); return new BxlanPaiEntry();
} }
[Editor(@"System.Windows.Forms.Design.StringCollectionEditor," +
"System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
typeof(System.Drawing.Design.UITypeEditor))]
public List<string> Textures { get; set; } = new List<string>(); public List<string> Textures { get; set; } = new List<string>();
public List<BxlanPaiEntry> Entries = new List<BxlanPaiEntry>(); public List<BxlanPaiEntry> Entries = new List<BxlanPaiEntry>();
} }