Update Task page translates

This commit is contained in:
2022-12-10 18:14:54 +08:00
parent a8a0a14713
commit 399888f976
11 changed files with 1421 additions and 922 deletions

View File

@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PageTasks));
this.GrpTasks = new System.Windows.Forms.GroupBox();
this.ListTasks = new System.Windows.Forms.ListView();
this.ColTag = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@@ -50,19 +51,14 @@
//
// GrpTasks
//
this.GrpTasks.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.GrpTasks, "GrpTasks");
this.GrpTasks.Controls.Add(this.ListTasks);
this.GrpTasks.Location = new System.Drawing.Point(3, 3);
this.GrpTasks.Name = "GrpTasks";
this.GrpTasks.Size = new System.Drawing.Size(640, 183);
this.GrpTasks.TabIndex = 0;
this.GrpTasks.TabStop = false;
this.GrpTasks.Text = "任务列表";
//
// ListTasks
//
resources.ApplyResources(this.ListTasks, "ListTasks");
this.ListTasks.AllowColumnReorder = true;
this.ListTasks.CheckBoxes = true;
this.ListTasks.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
@@ -70,13 +66,9 @@
this.ColContent,
this.ColDelay,
this.ColCount});
this.ListTasks.Dock = System.Windows.Forms.DockStyle.Fill;
this.ListTasks.HideSelection = false;
this.ListTasks.Location = new System.Drawing.Point(3, 19);
this.ListTasks.MultiSelect = false;
this.ListTasks.Name = "ListTasks";
this.ListTasks.Size = new System.Drawing.Size(634, 161);
this.ListTasks.TabIndex = 0;
this.ListTasks.UseCompatibleStateImageBehavior = false;
this.ListTasks.View = System.Windows.Forms.View.Details;
this.ListTasks.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.ListTasks_ItemChecked);
@@ -84,26 +76,23 @@
//
// ColTag
//
this.ColTag.Text = "标签";
this.ColTag.Width = 150;
resources.ApplyResources(this.ColTag, "ColTag");
//
// ColContent
//
this.ColContent.Text = "内容";
this.ColContent.Width = 330;
resources.ApplyResources(this.ColContent, "ColContent");
//
// ColDelay
//
this.ColDelay.Text = "延迟";
resources.ApplyResources(this.ColDelay, "ColDelay");
//
// ColCount
//
this.ColCount.Text = "次数";
resources.ApplyResources(this.ColCount, "ColCount");
//
// GrpTask
//
this.GrpTask.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
resources.ApplyResources(this.GrpTask, "GrpTask");
this.GrpTask.Controls.Add(this.BtnRemove);
this.GrpTask.Controls.Add(this.BtnAccept);
this.GrpTask.Controls.Add(this.NUDTriggerCount);
@@ -112,39 +101,26 @@
this.GrpTask.Controls.Add(this.LblDelay);
this.GrpTask.Controls.Add(this.TxtTag);
this.GrpTask.Controls.Add(this.LblTag);
this.GrpTask.Location = new System.Drawing.Point(3, 186);
this.GrpTask.Name = "GrpTask";
this.GrpTask.Size = new System.Drawing.Size(640, 50);
this.GrpTask.TabIndex = 1;
this.GrpTask.TabStop = false;
this.GrpTask.Text = "任务";
//
// BtnRemove
//
this.BtnRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.BtnRemove.Location = new System.Drawing.Point(534, 18);
resources.ApplyResources(this.BtnRemove, "BtnRemove");
this.BtnRemove.Name = "BtnRemove";
this.BtnRemove.Size = new System.Drawing.Size(100, 23);
this.BtnRemove.TabIndex = 7;
this.BtnRemove.Text = "× 删除";
this.BtnRemove.UseVisualStyleBackColor = true;
this.BtnRemove.Click += new System.EventHandler(this.BtnRemove_Click);
//
// BtnAccept
//
this.BtnAccept.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.BtnAccept.Location = new System.Drawing.Point(428, 18);
resources.ApplyResources(this.BtnAccept, "BtnAccept");
this.BtnAccept.Name = "BtnAccept";
this.BtnAccept.Size = new System.Drawing.Size(100, 23);
this.BtnAccept.TabIndex = 6;
this.BtnAccept.Text = "√ 确定";
this.BtnAccept.UseVisualStyleBackColor = true;
this.BtnAccept.Click += new System.EventHandler(this.BtnAccept_Click);
//
// NUDTriggerCount
//
this.NUDTriggerCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.NUDTriggerCount.Location = new System.Drawing.Point(372, 19);
resources.ApplyResources(this.NUDTriggerCount, "NUDTriggerCount");
this.NUDTriggerCount.Maximum = new decimal(new int[] {
1000,
0,
@@ -156,8 +132,6 @@
0,
-2147483648});
this.NUDTriggerCount.Name = "NUDTriggerCount";
this.NUDTriggerCount.Size = new System.Drawing.Size(50, 23);
this.NUDTriggerCount.TabIndex = 5;
this.NUDTriggerCount.Value = new decimal(new int[] {
1,
0,
@@ -166,57 +140,35 @@
//
// LblTriggerCount
//
this.LblTriggerCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.LblTriggerCount.AutoSize = true;
this.LblTriggerCount.Location = new System.Drawing.Point(334, 22);
resources.ApplyResources(this.LblTriggerCount, "LblTriggerCount");
this.LblTriggerCount.Name = "LblTriggerCount";
this.LblTriggerCount.Size = new System.Drawing.Size(32, 17);
this.LblTriggerCount.TabIndex = 4;
this.LblTriggerCount.Text = "次数";
//
// DTPDelay
//
this.DTPDelay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.DTPDelay.CustomFormat = "";
resources.ApplyResources(this.DTPDelay, "DTPDelay");
this.DTPDelay.Format = System.Windows.Forms.DateTimePickerFormat.Time;
this.DTPDelay.Location = new System.Drawing.Point(258, 19);
this.DTPDelay.Name = "DTPDelay";
this.DTPDelay.ShowUpDown = true;
this.DTPDelay.Size = new System.Drawing.Size(70, 23);
this.DTPDelay.TabIndex = 3;
this.DTPDelay.Value = new System.DateTime(2022, 12, 10, 0, 1, 0, 0);
//
// LblDelay
//
this.LblDelay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.LblDelay.AutoSize = true;
this.LblDelay.Location = new System.Drawing.Point(220, 22);
resources.ApplyResources(this.LblDelay, "LblDelay");
this.LblDelay.Name = "LblDelay";
this.LblDelay.Size = new System.Drawing.Size(32, 17);
this.LblDelay.TabIndex = 2;
this.LblDelay.Text = "延迟";
//
// TxtTag
//
this.TxtTag.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.TxtTag.Location = new System.Drawing.Point(49, 18);
resources.ApplyResources(this.TxtTag, "TxtTag");
this.TxtTag.Name = "TxtTag";
this.TxtTag.Size = new System.Drawing.Size(165, 23);
this.TxtTag.TabIndex = 1;
//
// LblTag
//
this.LblTag.AutoSize = true;
this.LblTag.Location = new System.Drawing.Point(11, 21);
resources.ApplyResources(this.LblTag, "LblTag");
this.LblTag.Name = "LblTag";
this.LblTag.Size = new System.Drawing.Size(32, 17);
this.LblTag.TabIndex = 0;
this.LblTag.Text = "标签";
//
// PageTasks
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.GrpTask);
this.Controls.Add(this.GrpTasks);