mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-12-10 08:51:34 +08:00
New banner editor (#44)
* Make basic interface framework (unfinished) * Show Items * Show Weights * Update Weights * Complete the new banner editor * Simple supplementary English translation (unfinished) * i18n Update * Update version to v1.4.0 * Clean up code
This commit is contained in:
@@ -31,7 +31,6 @@ namespace GrasscutterTools.Forms
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormGachaBannerEditor));
|
||||
this.GrpBannerValues = new System.Windows.Forms.GroupBox();
|
||||
this.LblBannerEditorOldTip = new System.Windows.Forms.Label();
|
||||
this.CmbPrefab = new System.Windows.Forms.ComboBox();
|
||||
this.LblEventChanceTip = new System.Windows.Forms.Label();
|
||||
this.NUDEventChance = new System.Windows.Forms.NumericUpDown();
|
||||
@@ -98,7 +97,6 @@ namespace GrasscutterTools.Forms
|
||||
// GrpBannerValues
|
||||
//
|
||||
resources.ApplyResources(this.GrpBannerValues, "GrpBannerValues");
|
||||
this.GrpBannerValues.Controls.Add(this.LblBannerEditorOldTip);
|
||||
this.GrpBannerValues.Controls.Add(this.CmbPrefab);
|
||||
this.GrpBannerValues.Controls.Add(this.LblEventChanceTip);
|
||||
this.GrpBannerValues.Controls.Add(this.NUDEventChance);
|
||||
@@ -141,17 +139,11 @@ namespace GrasscutterTools.Forms
|
||||
this.GrpBannerValues.Name = "GrpBannerValues";
|
||||
this.GrpBannerValues.TabStop = false;
|
||||
//
|
||||
// LblBannerEditorOldTip
|
||||
//
|
||||
resources.ApplyResources(this.LblBannerEditorOldTip, "LblBannerEditorOldTip");
|
||||
this.LblBannerEditorOldTip.ForeColor = System.Drawing.Color.Red;
|
||||
this.LblBannerEditorOldTip.Name = "LblBannerEditorOldTip";
|
||||
//
|
||||
// CmbPrefab
|
||||
//
|
||||
resources.ApplyResources(this.CmbPrefab, "CmbPrefab");
|
||||
this.CmbPrefab.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CmbPrefab.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.CmbPrefab, "CmbPrefab");
|
||||
this.CmbPrefab.Name = "CmbPrefab";
|
||||
//
|
||||
// LblEventChanceTip
|
||||
@@ -181,8 +173,8 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// NUDBaseYellowWeight
|
||||
//
|
||||
resources.ApplyResources(this.NUDBaseYellowWeight, "NUDBaseYellowWeight");
|
||||
this.NUDBaseYellowWeight.DecimalPlaces = 2;
|
||||
resources.ApplyResources(this.NUDBaseYellowWeight, "NUDBaseYellowWeight");
|
||||
this.NUDBaseYellowWeight.Name = "NUDBaseYellowWeight";
|
||||
this.NUDBaseYellowWeight.Value = new decimal(new int[] {
|
||||
6,
|
||||
@@ -197,8 +189,8 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TxtRateUpItems2
|
||||
//
|
||||
resources.ApplyResources(this.TxtRateUpItems2, "TxtRateUpItems2");
|
||||
this.TxtRateUpItems2.BackColor = System.Drawing.Color.White;
|
||||
resources.ApplyResources(this.TxtRateUpItems2, "TxtRateUpItems2");
|
||||
this.TxtRateUpItems2.Name = "TxtRateUpItems2";
|
||||
this.TxtRateUpItems2.ReadOnly = true;
|
||||
//
|
||||
@@ -294,8 +286,8 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TxtRateUpItems1
|
||||
//
|
||||
resources.ApplyResources(this.TxtRateUpItems1, "TxtRateUpItems1");
|
||||
this.TxtRateUpItems1.BackColor = System.Drawing.Color.White;
|
||||
resources.ApplyResources(this.TxtRateUpItems1, "TxtRateUpItems1");
|
||||
this.TxtRateUpItems1.Name = "TxtRateUpItems1";
|
||||
this.TxtRateUpItems1.ReadOnly = true;
|
||||
//
|
||||
@@ -381,13 +373,13 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// CmbBannerType
|
||||
//
|
||||
resources.ApplyResources(this.CmbBannerType, "CmbBannerType");
|
||||
this.CmbBannerType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CmbBannerType.FormattingEnabled = true;
|
||||
this.CmbBannerType.Items.AddRange(new object[] {
|
||||
resources.GetString("CmbBannerType.Items"),
|
||||
resources.GetString("CmbBannerType.Items1"),
|
||||
resources.GetString("CmbBannerType.Items2")});
|
||||
resources.ApplyResources(this.CmbBannerType, "CmbBannerType");
|
||||
this.CmbBannerType.Name = "CmbBannerType";
|
||||
//
|
||||
// LblSortIdTip
|
||||
@@ -397,8 +389,8 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// NUDBasePurpleWeight
|
||||
//
|
||||
resources.ApplyResources(this.NUDBasePurpleWeight, "NUDBasePurpleWeight");
|
||||
this.NUDBasePurpleWeight.DecimalPlaces = 2;
|
||||
resources.ApplyResources(this.NUDBasePurpleWeight, "NUDBasePurpleWeight");
|
||||
this.NUDBasePurpleWeight.Name = "NUDBasePurpleWeight";
|
||||
this.NUDBasePurpleWeight.Value = new decimal(new int[] {
|
||||
51,
|
||||
@@ -455,8 +447,8 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// ListPurplePool
|
||||
//
|
||||
resources.ApplyResources(this.ListPurplePool, "ListPurplePool");
|
||||
this.ListPurplePool.CheckOnClick = true;
|
||||
resources.ApplyResources(this.ListPurplePool, "ListPurplePool");
|
||||
this.ListPurplePool.FormattingEnabled = true;
|
||||
this.ListPurplePool.Name = "ListPurplePool";
|
||||
this.ListPurplePool.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.ListPurplePool_ItemCheck);
|
||||
@@ -470,8 +462,8 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// ListYellowPool
|
||||
//
|
||||
resources.ApplyResources(this.ListYellowPool, "ListYellowPool");
|
||||
this.ListYellowPool.CheckOnClick = true;
|
||||
resources.ApplyResources(this.ListYellowPool, "ListYellowPool");
|
||||
this.ListYellowPool.FormattingEnabled = true;
|
||||
this.ListYellowPool.Name = "ListYellowPool";
|
||||
this.ListYellowPool.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.ListYellowPool_ItemCheck);
|
||||
@@ -583,6 +575,5 @@ namespace GrasscutterTools.Forms
|
||||
private System.Windows.Forms.Button BtnGen;
|
||||
private System.Windows.Forms.Button BtnParse;
|
||||
private System.Windows.Forms.ComboBox CmbPrefab;
|
||||
private System.Windows.Forms.Label LblBannerEditorOldTip;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user