diff --git a/Source/GrasscutterTools/Forms/FormMain.Designer.cs b/Source/GrasscutterTools/Forms/FormMain.Designer.cs index 1545c43..a1eebf8 100644 --- a/Source/GrasscutterTools/Forms/FormMain.Designer.cs +++ b/Source/GrasscutterTools/Forms/FormMain.Designer.cs @@ -75,6 +75,7 @@ namespace GrasscutterTools.Forms this.DTPBanEndTime = new System.Windows.Forms.DateTimePicker(); this.BtnUnban = new System.Windows.Forms.Button(); this.BtnBan = new System.Windows.Forms.Button(); + this.TxtBanReason = new GrasscutterTools.Controls.TextBoxXP(); this.NUDBanUID = new System.Windows.Forms.NumericUpDown(); this.LblBanUID = new System.Windows.Forms.Label(); this.GrpAccount = new System.Windows.Forms.GroupBox(); @@ -235,6 +236,8 @@ namespace GrasscutterTools.Forms this.LblDefaultUid = new System.Windows.Forms.Label(); this.TCMain = new System.Windows.Forms.TabControl(); this.TPMail = new System.Windows.Forms.TabPage(); + this.BtnAddMailItem = new System.Windows.Forms.Button(); + this.BtnDeleteMailItem = new System.Windows.Forms.Button(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.TxtMailSelectableItemFilter = new System.Windows.Forms.TextBox(); @@ -260,9 +263,6 @@ namespace GrasscutterTools.Forms this.LblMailTitleLabel = new System.Windows.Forms.Label(); this.TxtMailSender = new System.Windows.Forms.TextBox(); this.LblMailSenderLabel = new System.Windows.Forms.Label(); - this.BtnAddMailItem = new System.Windows.Forms.Button(); - this.BtnDeleteMailItem = new System.Windows.Forms.Button(); - this.TxtBanReason = new GrasscutterTools.Controls.TextBoxXP(); this.GrpCommand.SuspendLayout(); this.TPRemoteCall.SuspendLayout(); this.GrpServerStatus.SuspendLayout(); @@ -682,6 +682,14 @@ namespace GrasscutterTools.Forms this.BtnBan.UseVisualStyleBackColor = true; this.BtnBan.Click += new System.EventHandler(this.BtnBan_Click); // + // TxtBanReason + // + this.TxtBanReason.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + resources.ApplyResources(this.TxtBanReason, "TxtBanReason"); + this.TxtBanReason.Maximum = 0F; + this.TxtBanReason.Minimum = 0F; + this.TxtBanReason.Name = "TxtBanReason"; + // // NUDBanUID // resources.ApplyResources(this.NUDBanUID, "NUDBanUID"); @@ -2137,6 +2145,20 @@ namespace GrasscutterTools.Forms this.TPMail.Name = "TPMail"; this.TPMail.UseVisualStyleBackColor = true; // + // BtnAddMailItem + // + resources.ApplyResources(this.BtnAddMailItem, "BtnAddMailItem"); + this.BtnAddMailItem.Name = "BtnAddMailItem"; + this.BtnAddMailItem.UseVisualStyleBackColor = true; + this.BtnAddMailItem.Click += new System.EventHandler(this.BtnAddMailItem_Click); + // + // BtnDeleteMailItem + // + resources.ApplyResources(this.BtnDeleteMailItem, "BtnDeleteMailItem"); + this.BtnDeleteMailItem.Name = "BtnDeleteMailItem"; + this.BtnDeleteMailItem.UseVisualStyleBackColor = true; + this.BtnDeleteMailItem.Click += new System.EventHandler(this.BtnDeleteMailItem_Click); + // // tabControl1 // resources.ApplyResources(this.tabControl1, "tabControl1"); @@ -2270,7 +2292,17 @@ namespace GrasscutterTools.Forms // NUDMailRecipient // resources.ApplyResources(this.NUDMailRecipient, "NUDMailRecipient"); + this.NUDMailRecipient.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); this.NUDMailRecipient.Name = "NUDMailRecipient"; + this.NUDMailRecipient.Value = new decimal(new int[] { + 10001, + 0, + 0, + 0}); // // RbMailSendToPlayer // @@ -2321,28 +2353,6 @@ namespace GrasscutterTools.Forms resources.ApplyResources(this.LblMailSenderLabel, "LblMailSenderLabel"); this.LblMailSenderLabel.Name = "LblMailSenderLabel"; // - // BtnAddMailItem - // - resources.ApplyResources(this.BtnAddMailItem, "BtnAddMailItem"); - this.BtnAddMailItem.Name = "BtnAddMailItem"; - this.BtnAddMailItem.UseVisualStyleBackColor = true; - this.BtnAddMailItem.Click += new System.EventHandler(this.BtnAddMailItem_Click); - // - // BtnDeleteMailItem - // - resources.ApplyResources(this.BtnDeleteMailItem, "BtnDeleteMailItem"); - this.BtnDeleteMailItem.Name = "BtnDeleteMailItem"; - this.BtnDeleteMailItem.UseVisualStyleBackColor = true; - this.BtnDeleteMailItem.Click += new System.EventHandler(this.BtnDeleteMailItem_Click); - // - // TxtBanReason - // - this.TxtBanReason.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - resources.ApplyResources(this.TxtBanReason, "TxtBanReason"); - this.TxtBanReason.Maximum = 0F; - this.TxtBanReason.Minimum = 0F; - this.TxtBanReason.Name = "TxtBanReason"; - // // FormMain // resources.ApplyResources(this, "$this"); diff --git a/Source/GrasscutterTools/Forms/FormMain.resx b/Source/GrasscutterTools/Forms/FormMain.resx index cbeca43..b68222f 100644 --- a/Source/GrasscutterTools/Forms/FormMain.resx +++ b/Source/GrasscutterTools/Forms/FormMain.resx @@ -1354,7 +1354,7 @@ 3, 3, 3, 3 - 296, 109 + 296, 111 1 @@ -1971,6 +1971,30 @@ 2 + + 250, 22 + + + 150, 23 + + + 8 + + + 封禁理由 + + + TxtBanReason + + + GrasscutterTools.Controls.TextBoxXP, GrasscutterTools, Version=1.7.0.0, Culture=neutral, PublicKeyToken=de2b1c089621e923 + + + GrpBanPlayer + + + 3 + 66, 22 @@ -8278,7 +8302,7 @@ Bottom, Left - 175, 179 + 175, 183 50, 23 @@ -8311,7 +8335,7 @@ 0, 0, 0, 0 - 228, 140 + 228, 157 13 @@ -8338,7 +8362,7 @@ NoControl - 127, 181 + 127, 185 44, 17 @@ -8371,7 +8395,7 @@ NoControl - 1, 181 + 1, 185 44, 17 @@ -8398,7 +8422,7 @@ Bottom, Left - 51, 179 + 51, 183 60, 23 @@ -8445,21 +8469,6 @@ 0 - - NoControl - - - 87, 177 - - - 75, 23 - - - 18 - - - × 清空 - BtnClearMail @@ -8472,21 +8481,6 @@ 0 - - NoControl - - - 6, 178 - - - 75, 23 - - - 17 - - - - 删除 - BtnRemoveMail @@ -8499,24 +8493,6 @@ 1 - - Top, Bottom, Left, Right - - - 17 - - - 0, 0 - - - 0, 0, 0, 0 - - - 228, 174 - - - 0 - ListMailList @@ -8979,29 +8955,89 @@ 0 - - 250, 22 + + NoControl - - 150, 23 + + 87, 177 - - 8 + + 75, 23 - - 封禁理由 + + 18 - - TxtBanReason + + × 清空 - - GrasscutterTools.Controls.TextBoxXP, GrasscutterTools, Version=1.7.0.0, Culture=neutral, PublicKeyToken=de2b1c089621e923 + + BtnClearMail - - GrpBanPlayer + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 3 + + tabPage2 + + + 0 + + + NoControl + + + 6, 178 + + + 75, 23 + + + 17 + + + - 删除 + + + BtnRemoveMail + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabPage2 + + + 1 + + + Top, Bottom, Left, Right + + + 17 + + + 0, 0 + + + 0, 0, 0, 0 + + + 228, 174 + + + 0 + + + ListMailList + + + System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tabPage2 + + + 2 True @@ -9015,9 +9051,6 @@ Microsoft YaHei UI, 9pt - - NoControl - 3, 4, 3, 4