diff --git a/Source/GrasscutterTools/Pages/BasePage.cs b/Source/GrasscutterTools/Pages/BasePage.cs
index e7064d0..6775d10 100644
--- a/Source/GrasscutterTools/Pages/BasePage.cs
+++ b/Source/GrasscutterTools/Pages/BasePage.cs
@@ -34,7 +34,6 @@ namespace GrasscutterTools.Pages
{
Font = new Font("Microsoft YaHei UI", 9, GraphicsUnit.Point);
//Size = new Size(652, 245);
- Dock = DockStyle.Fill;
Size = new Size(646, 239);
BackColor = Color.FromArgb(0xF9, 0xF9, 0xF9);
Margin = new Padding(0);
diff --git a/Source/GrasscutterTools/Pages/PageAchievement.Designer.cs b/Source/GrasscutterTools/Pages/PageAchievement.Designer.cs
index 4578a93..64294bf 100644
--- a/Source/GrasscutterTools/Pages/PageAchievement.Designer.cs
+++ b/Source/GrasscutterTools/Pages/PageAchievement.Designer.cs
@@ -28,6 +28,7 @@
///
private void InitializeComponent()
{
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PageAchievement));
this.ListAchievements = new System.Windows.Forms.ListBox();
this.GrpAchievements = new System.Windows.Forms.GroupBox();
this.TxtAchievementFilter = new System.Windows.Forms.TextBox();
@@ -45,94 +46,60 @@
//
// ListAchievements
//
- this.ListAchievements.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ resources.ApplyResources(this.ListAchievements, "ListAchievements");
this.ListAchievements.FormattingEnabled = true;
- this.ListAchievements.ItemHeight = 17;
- this.ListAchievements.Location = new System.Drawing.Point(6, 51);
this.ListAchievements.Name = "ListAchievements";
this.ListAchievements.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
- this.ListAchievements.Size = new System.Drawing.Size(628, 106);
- this.ListAchievements.TabIndex = 0;
//
// GrpAchievements
//
- this.GrpAchievements.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ resources.ApplyResources(this.GrpAchievements, "GrpAchievements");
this.GrpAchievements.Controls.Add(this.TxtAchievementFilter);
this.GrpAchievements.Controls.Add(this.LnkRevokeAll);
this.GrpAchievements.Controls.Add(this.ListAchievements);
this.GrpAchievements.Controls.Add(this.LnkGrantAll);
- this.GrpAchievements.Location = new System.Drawing.Point(3, 3);
this.GrpAchievements.Name = "GrpAchievements";
- this.GrpAchievements.Size = new System.Drawing.Size(640, 167);
- this.GrpAchievements.TabIndex = 1;
this.GrpAchievements.TabStop = false;
- this.GrpAchievements.Text = "成就列表(GC v1.4.7 起)";
//
// TxtAchievementFilter
//
- this.TxtAchievementFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.TxtAchievementFilter.Location = new System.Drawing.Point(6, 22);
+ resources.ApplyResources(this.TxtAchievementFilter, "TxtAchievementFilter");
this.TxtAchievementFilter.Name = "TxtAchievementFilter";
- this.TxtAchievementFilter.Size = new System.Drawing.Size(628, 23);
- this.TxtAchievementFilter.TabIndex = 8;
this.TxtAchievementFilter.TextChanged += new System.EventHandler(this.TxtAchievementFilter_TextChanged);
//
// LnkRevokeAll
//
- this.LnkRevokeAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.LnkRevokeAll.AutoSize = true;
- this.LnkRevokeAll.Location = new System.Drawing.Point(578, 0);
+ resources.ApplyResources(this.LnkRevokeAll, "LnkRevokeAll");
this.LnkRevokeAll.Name = "LnkRevokeAll";
- this.LnkRevokeAll.Size = new System.Drawing.Size(56, 17);
- this.LnkRevokeAll.TabIndex = 7;
this.LnkRevokeAll.TabStop = true;
- this.LnkRevokeAll.Text = "全部撤销";
this.LnkRevokeAll.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkRevokeAll_LinkClicked);
//
// LnkGrantAll
//
- this.LnkGrantAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.LnkGrantAll.AutoSize = true;
- this.LnkGrantAll.Location = new System.Drawing.Point(516, 0);
+ resources.ApplyResources(this.LnkGrantAll, "LnkGrantAll");
this.LnkGrantAll.Name = "LnkGrantAll";
- this.LnkGrantAll.Size = new System.Drawing.Size(56, 17);
- this.LnkGrantAll.TabIndex = 6;
this.LnkGrantAll.TabStop = true;
- this.LnkGrantAll.Text = "全部达成";
this.LnkGrantAll.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkGrantAll_LinkClicked);
//
// GrpAchievementCommands
//
- this.GrpAchievementCommands.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ resources.ApplyResources(this.GrpAchievementCommands, "GrpAchievementCommands");
this.GrpAchievementCommands.Controls.Add(this.NUDProgress);
this.GrpAchievementCommands.Controls.Add(this.BtnProgress);
this.GrpAchievementCommands.Controls.Add(this.BtnRevoke);
this.GrpAchievementCommands.Controls.Add(this.BtnGrant);
- this.GrpAchievementCommands.Location = new System.Drawing.Point(3, 176);
this.GrpAchievementCommands.Name = "GrpAchievementCommands";
- this.GrpAchievementCommands.Size = new System.Drawing.Size(640, 60);
- this.GrpAchievementCommands.TabIndex = 2;
this.GrpAchievementCommands.TabStop = false;
- this.GrpAchievementCommands.Text = "成就控制(在列表中选择目标项)";
//
// NUDProgress
//
- this.NUDProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.NUDProgress.Location = new System.Drawing.Point(579, 25);
+ resources.ApplyResources(this.NUDProgress, "NUDProgress");
this.NUDProgress.Maximum = new decimal(new int[] {
2147483647,
0,
0,
0});
this.NUDProgress.Name = "NUDProgress";
- this.NUDProgress.Size = new System.Drawing.Size(55, 23);
- this.NUDProgress.TabIndex = 5;
this.NUDProgress.Value = new decimal(new int[] {
10,
0,
@@ -141,38 +108,28 @@
//
// BtnProgress
//
- this.BtnProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.BtnProgress.Location = new System.Drawing.Point(473, 25);
+ resources.ApplyResources(this.BtnProgress, "BtnProgress");
this.BtnProgress.Name = "BtnProgress";
- this.BtnProgress.Size = new System.Drawing.Size(100, 23);
- this.BtnProgress.TabIndex = 4;
- this.BtnProgress.Text = "修改进度";
this.BtnProgress.UseVisualStyleBackColor = true;
this.BtnProgress.Click += new System.EventHandler(this.BtnProgress_Click);
//
// BtnRevoke
//
- this.BtnRevoke.Location = new System.Drawing.Point(112, 25);
+ resources.ApplyResources(this.BtnRevoke, "BtnRevoke");
this.BtnRevoke.Name = "BtnRevoke";
- this.BtnRevoke.Size = new System.Drawing.Size(100, 23);
- this.BtnRevoke.TabIndex = 1;
- this.BtnRevoke.Text = "撤销";
this.BtnRevoke.UseVisualStyleBackColor = true;
this.BtnRevoke.Click += new System.EventHandler(this.BtnRevoke_Click);
//
// BtnGrant
//
- this.BtnGrant.Location = new System.Drawing.Point(6, 25);
+ resources.ApplyResources(this.BtnGrant, "BtnGrant");
this.BtnGrant.Name = "BtnGrant";
- this.BtnGrant.Size = new System.Drawing.Size(100, 23);
- this.BtnGrant.TabIndex = 0;
- this.BtnGrant.Text = "达成";
this.BtnGrant.UseVisualStyleBackColor = true;
this.BtnGrant.Click += new System.EventHandler(this.BtnGrant_Click);
//
// PageAchievement
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
+ resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.GrpAchievementCommands);
this.Controls.Add(this.GrpAchievements);
diff --git a/Source/GrasscutterTools/Pages/PageAchievement.en-US.resx b/Source/GrasscutterTools/Pages/PageAchievement.en-US.resx
new file mode 100644
index 0000000..42b56be
--- /dev/null
+++ b/Source/GrasscutterTools/Pages/PageAchievement.en-US.resx
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Achievements (since GC v1.4.7)
+
+
+
+ 565, 0
+
+
+ 69, 17
+
+
+ Revoke All
+
+
+ 501, 0
+
+
+ 58, 17
+
+
+ Grant All
+
+
+ Achievement control (select target item in list)
+
+
+ Progress
+
+
+ Revoke
+
+
+ Grant
+
+
\ No newline at end of file
diff --git a/Source/GrasscutterTools/Pages/PageAchievement.resx b/Source/GrasscutterTools/Pages/PageAchievement.resx
index 1af7de1..c1f6ceb 100644
--- a/Source/GrasscutterTools/Pages/PageAchievement.resx
+++ b/Source/GrasscutterTools/Pages/PageAchievement.resx
@@ -117,4 +117,283 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ GrpAchievements
+
+
+
+ Top, Bottom, Left, Right
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ True
+
+
+ Top, Right
+
+
+ TxtAchievementFilter
+
+
+ GrasscutterTools.Pages.BasePage, GrasscutterTools, Version=1.9.0.0, Culture=neutral, PublicKeyToken=de2b1c089621e923
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 1
+
+
+ 0
+
+
+ Top, Left, Right
+
+
+ $this
+
+
+ Bottom, Left, Right
+
+
+ 0
+
+
+ 0
+
+
+ 全部撤销
+
+
+ Top, Right
+
+
+ $this
+
+
+ 2
+
+
+
+ 628, 106
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 578, 0
+
+
+ 2
+
+
+ 达成
+
+
+ 全部达成
+
+
+ 56, 17
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Top, Right
+
+
+ 100, 23
+
+
+ 成就列表(GC v1.4.7 起)
+
+
+ GrpAchievements
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 56, 17
+
+
+ ListAchievements
+
+
+ 640, 167
+
+
+ 1
+
+
+ GrpAchievementCommands
+
+
+ 628, 23
+
+
+ 1
+
+
+ Top, Right
+
+
+ 1
+
+
+ 6, 25
+
+
+ System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17
+
+
+ GrpAchievementCommands
+
+
+ 撤销
+
+
+ 6, 51
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ GrpAchievements
+
+
+ 516, 0
+
+
+ Top, Bottom, Left, Right
+
+
+ 100, 23
+
+
+ 6, 22
+
+
+ 修改进度
+
+
+ 0
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 成就控制(在列表中选择目标项)
+
+
+ GrpAchievementCommands
+
+
+ 1
+
+
+ System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 3, 3
+
+
+ 7, 17
+
+
+ LnkRevokeAll
+
+
+ 473, 25
+
+
+ 100, 23
+
+
+ BtnGrant
+
+
+ 640, 60
+
+
+ 4
+
+
+ PageAchievement
+
+
+ 5
+
+
+ 3
+
+
+ 0
+
+
+ 3
+
+
+ LnkGrantAll
+
+
+ 8
+
+
+ GrpAchievements
+
+
+ 6
+
+
+ True
+
+
+ 2
+
+
+ 3, 176
+
+
+ 112, 25
+
+
+ BtnProgress
+
+
+ GrpAchievements
+
+
+ GrpAchievementCommands
+
+
+ NUDProgress
+
+
+ GrpAchievementCommands
+
+
+ 7
+
+
+ BtnRevoke
+
+
+ 579, 25
+
+
+ System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 55, 23
+
+
+ True
+
\ No newline at end of file
diff --git a/Source/GrasscutterTools/Pages/PageAchievement.ru-RU.resx b/Source/GrasscutterTools/Pages/PageAchievement.ru-RU.resx
new file mode 100644
index 0000000..92b0024
--- /dev/null
+++ b/Source/GrasscutterTools/Pages/PageAchievement.ru-RU.resx
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Список достижений (начиная с GC v1.4.7)
+
+
+
+ 543, 0
+
+
+ 91, 17
+
+
+ Отменить все
+
+
+ 455, 0
+
+
+ 82, 17
+
+
+ Достичь все
+
+
+ Контроль достижений (выберите целевой элемент в списке)
+
+
+ Прогресс
+
+
+ Отменить
+
+
+ Достичь
+
+
\ No newline at end of file
diff --git a/Source/GrasscutterTools/Pages/PageAchievement.zh-TW.resx b/Source/GrasscutterTools/Pages/PageAchievement.zh-TW.resx
new file mode 100644
index 0000000..8d2b5b9
--- /dev/null
+++ b/Source/GrasscutterTools/Pages/PageAchievement.zh-TW.resx
@@ -0,0 +1,138 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 全部撤銷
+
+
+ 全部達成
+
+
+ 成就控制(在列表中選擇目標項)
+
+
+ 修改進度
+
+
+ 撤銷
+
+
+ 達成
+
+
\ No newline at end of file