diff --git a/Source/GrasscutterTools/Forms/FormActivityEditor.Designer.cs b/Source/GrasscutterTools/Forms/FormActivityEditor.Designer.cs index 012dd7f..c57f2e5 100644 --- a/Source/GrasscutterTools/Forms/FormActivityEditor.Designer.cs +++ b/Source/GrasscutterTools/Forms/FormActivityEditor.Designer.cs @@ -28,13 +28,21 @@ /// private void InitializeComponent() { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormActivityEditor)); this.BtnSave = new System.Windows.Forms.Button(); this.BtnLoad = new System.Windows.Forms.Button(); this.ActivityConfigJsonPath = new System.Windows.Forms.TextBox(); this.LblActivityConfigJsonPath = new System.Windows.Forms.Label(); this.GrpAllActivity = new System.Windows.Forms.GroupBox(); this.ListAllActivity = new System.Windows.Forms.ListView(); + this.ColumnActivityId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.ColumnActivityName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.GrpFileActivity = new System.Windows.Forms.GroupBox(); + this.ListActivityConfigItems = new System.Windows.Forms.ListView(); + this.ColActivityId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.ColActivityTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.ColActivityBeginTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.ColActivityEndTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.GrpActivityInfo = new System.Windows.Forms.GroupBox(); this.LblActivityTitle = new System.Windows.Forms.Label(); this.LblActivityParmEditTip = new System.Windows.Forms.Label(); @@ -52,13 +60,6 @@ this.LblScheduleId = new System.Windows.Forms.Label(); this.LblActivityType = new System.Windows.Forms.Label(); this.LblActivityId = new System.Windows.Forms.Label(); - this.ColumnActivityName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.ColumnActivityId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.ListActivityConfigItems = new System.Windows.Forms.ListView(); - this.ColActivityId = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.ColActivityTitle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.ColActivityBeginTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.ColActivityEndTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.GrpAllActivity.SuspendLayout(); this.GrpFileActivity.SuspendLayout(); this.GrpActivityInfo.SuspendLayout(); @@ -69,93 +70,99 @@ // // BtnSave // - this.BtnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.BtnSave.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.BtnSave.Location = new System.Drawing.Point(776, 12); + resources.ApplyResources(this.BtnSave, "BtnSave"); this.BtnSave.Name = "BtnSave"; - this.BtnSave.Size = new System.Drawing.Size(100, 23); - this.BtnSave.TabIndex = 3; - this.BtnSave.Text = "保存"; this.BtnSave.UseVisualStyleBackColor = true; this.BtnSave.Click += new System.EventHandler(this.BtnSave_Click); // // BtnLoad // - this.BtnLoad.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.BtnLoad.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.BtnLoad.Location = new System.Drawing.Point(671, 12); + resources.ApplyResources(this.BtnLoad, "BtnLoad"); this.BtnLoad.Name = "BtnLoad"; - this.BtnLoad.Size = new System.Drawing.Size(100, 23); - this.BtnLoad.TabIndex = 2; - this.BtnLoad.Text = "加载"; this.BtnLoad.UseVisualStyleBackColor = true; this.BtnLoad.Click += new System.EventHandler(this.BtnLoad_Click); // // ActivityConfigJsonPath // - this.ActivityConfigJsonPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ActivityConfigJsonPath.Location = new System.Drawing.Point(176, 12); + resources.ApplyResources(this.ActivityConfigJsonPath, "ActivityConfigJsonPath"); this.ActivityConfigJsonPath.Name = "ActivityConfigJsonPath"; - this.ActivityConfigJsonPath.Size = new System.Drawing.Size(489, 23); - this.ActivityConfigJsonPath.TabIndex = 1; // // LblActivityConfigJsonPath // - this.LblActivityConfigJsonPath.AutoSize = true; - this.LblActivityConfigJsonPath.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.LblActivityConfigJsonPath.Location = new System.Drawing.Point(17, 15); + resources.ApplyResources(this.LblActivityConfigJsonPath, "LblActivityConfigJsonPath"); this.LblActivityConfigJsonPath.Name = "LblActivityConfigJsonPath"; - this.LblActivityConfigJsonPath.Size = new System.Drawing.Size(153, 17); - this.LblActivityConfigJsonPath.TabIndex = 0; - this.LblActivityConfigJsonPath.Text = "ActivityConfig.json 路径:"; // // GrpAllActivity // - this.GrpAllActivity.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Right))); + resources.ApplyResources(this.GrpAllActivity, "GrpAllActivity"); this.GrpAllActivity.Controls.Add(this.ListAllActivity); - this.GrpAllActivity.Location = new System.Drawing.Point(612, 41); this.GrpAllActivity.Name = "GrpAllActivity"; - this.GrpAllActivity.Size = new System.Drawing.Size(260, 328); - this.GrpAllActivity.TabIndex = 6; this.GrpAllActivity.TabStop = false; - this.GrpAllActivity.Text = "已知活动 by dplek"; // // ListAllActivity // + resources.ApplyResources(this.ListAllActivity, "ListAllActivity"); this.ListAllActivity.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.ColumnActivityId, this.ColumnActivityName}); - this.ListAllActivity.Dock = System.Windows.Forms.DockStyle.Fill; this.ListAllActivity.FullRowSelect = true; this.ListAllActivity.HideSelection = false; - this.ListAllActivity.Location = new System.Drawing.Point(3, 19); this.ListAllActivity.MultiSelect = false; this.ListAllActivity.Name = "ListAllActivity"; - this.ListAllActivity.Size = new System.Drawing.Size(254, 306); - this.ListAllActivity.TabIndex = 0; this.ListAllActivity.UseCompatibleStateImageBehavior = false; this.ListAllActivity.View = System.Windows.Forms.View.Details; this.ListAllActivity.SelectedIndexChanged += new System.EventHandler(this.ListAllActivity_SelectedIndexChanged); // + // ColumnActivityId + // + resources.ApplyResources(this.ColumnActivityId, "ColumnActivityId"); + // + // ColumnActivityName + // + resources.ApplyResources(this.ColumnActivityName, "ColumnActivityName"); + // // GrpFileActivity // - this.GrpFileActivity.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.GrpFileActivity, "GrpFileActivity"); this.GrpFileActivity.Controls.Add(this.ListActivityConfigItems); - this.GrpFileActivity.Location = new System.Drawing.Point(12, 41); this.GrpFileActivity.Name = "GrpFileActivity"; - this.GrpFileActivity.Size = new System.Drawing.Size(260, 328); - this.GrpFileActivity.TabIndex = 4; this.GrpFileActivity.TabStop = false; - this.GrpFileActivity.Text = "当前文件"; + // + // ListActivityConfigItems + // + resources.ApplyResources(this.ListActivityConfigItems, "ListActivityConfigItems"); + this.ListActivityConfigItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.ColActivityId, + this.ColActivityTitle, + this.ColActivityBeginTime, + this.ColActivityEndTime}); + this.ListActivityConfigItems.FullRowSelect = true; + this.ListActivityConfigItems.HideSelection = false; + this.ListActivityConfigItems.MultiSelect = false; + this.ListActivityConfigItems.Name = "ListActivityConfigItems"; + this.ListActivityConfigItems.UseCompatibleStateImageBehavior = false; + this.ListActivityConfigItems.View = System.Windows.Forms.View.Details; + this.ListActivityConfigItems.SelectedIndexChanged += new System.EventHandler(this.ListActivityConfigItems_SelectedIndexChanged); + // + // ColActivityId + // + resources.ApplyResources(this.ColActivityId, "ColActivityId"); + // + // ColActivityTitle + // + resources.ApplyResources(this.ColActivityTitle, "ColActivityTitle"); + // + // ColActivityBeginTime + // + resources.ApplyResources(this.ColActivityBeginTime, "ColActivityBeginTime"); + // + // ColActivityEndTime + // + resources.ApplyResources(this.ColActivityEndTime, "ColActivityEndTime"); // // GrpActivityInfo // - this.GrpActivityInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Right))); + resources.ApplyResources(this.GrpActivityInfo, "GrpActivityInfo"); this.GrpActivityInfo.Controls.Add(this.LblActivityTitle); this.GrpActivityInfo.Controls.Add(this.LblActivityParmEditTip); this.GrpActivityInfo.Controls.Add(this.BtnDelete); @@ -172,220 +179,116 @@ this.GrpActivityInfo.Controls.Add(this.LblScheduleId); this.GrpActivityInfo.Controls.Add(this.LblActivityType); this.GrpActivityInfo.Controls.Add(this.LblActivityId); - this.GrpActivityInfo.Location = new System.Drawing.Point(278, 41); this.GrpActivityInfo.Name = "GrpActivityInfo"; - this.GrpActivityInfo.Size = new System.Drawing.Size(328, 328); - this.GrpActivityInfo.TabIndex = 5; this.GrpActivityInfo.TabStop = false; - this.GrpActivityInfo.Text = "活动信息"; // // LblActivityTitle // + resources.ApplyResources(this.LblActivityTitle, "LblActivityTitle"); this.LblActivityTitle.AutoEllipsis = true; this.LblActivityTitle.ForeColor = System.Drawing.SystemColors.GrayText; - this.LblActivityTitle.Location = new System.Drawing.Point(173, 45); this.LblActivityTitle.Name = "LblActivityTitle"; - this.LblActivityTitle.Size = new System.Drawing.Size(134, 17); - this.LblActivityTitle.TabIndex = 2; - this.LblActivityTitle.Text = "活动名称"; // // LblActivityParmEditTip // - this.LblActivityParmEditTip.AutoSize = true; + resources.ApplyResources(this.LblActivityParmEditTip, "LblActivityParmEditTip"); this.LblActivityParmEditTip.ForeColor = System.Drawing.SystemColors.GrayText; - this.LblActivityParmEditTip.Location = new System.Drawing.Point(40, 251); this.LblActivityParmEditTip.Name = "LblActivityParmEditTip"; - this.LblActivityParmEditTip.Size = new System.Drawing.Size(248, 17); - this.LblActivityParmEditTip.TabIndex = 13; - this.LblActivityParmEditTip.Text = "提示:通常情况下你只需要修改活动进行时间"; // // BtnDelete // - this.BtnDelete.Enabled = false; - this.BtnDelete.Location = new System.Drawing.Point(199, 271); + resources.ApplyResources(this.BtnDelete, "BtnDelete"); this.BtnDelete.Name = "BtnDelete"; - this.BtnDelete.Size = new System.Drawing.Size(89, 30); - this.BtnDelete.TabIndex = 15; - this.BtnDelete.Text = "- 删除"; this.BtnDelete.UseVisualStyleBackColor = true; this.BtnDelete.Click += new System.EventHandler(this.BtnDelete_Click); // // BtnAddOrUpdate // - this.BtnAddOrUpdate.Location = new System.Drawing.Point(43, 271); + resources.ApplyResources(this.BtnAddOrUpdate, "BtnAddOrUpdate"); this.BtnAddOrUpdate.Name = "BtnAddOrUpdate"; - this.BtnAddOrUpdate.Size = new System.Drawing.Size(150, 30); - this.BtnAddOrUpdate.TabIndex = 14; - this.BtnAddOrUpdate.Text = "√ 添加或更新"; this.BtnAddOrUpdate.UseVisualStyleBackColor = true; this.BtnAddOrUpdate.Click += new System.EventHandler(this.BtnAddOrUpdate_Click); // // DTPEndTime // - this.DTPEndTime.Location = new System.Drawing.Point(107, 188); + resources.ApplyResources(this.DTPEndTime, "DTPEndTime"); this.DTPEndTime.Name = "DTPEndTime"; - this.DTPEndTime.Size = new System.Drawing.Size(200, 23); - this.DTPEndTime.TabIndex = 12; // // DTPBeginTime // - this.DTPBeginTime.Location = new System.Drawing.Point(107, 159); + resources.ApplyResources(this.DTPBeginTime, "DTPBeginTime"); this.DTPBeginTime.Name = "DTPBeginTime"; - this.DTPBeginTime.Size = new System.Drawing.Size(200, 23); - this.DTPBeginTime.TabIndex = 10; // // TxtMeetCondList // - this.TxtMeetCondList.Location = new System.Drawing.Point(107, 130); + resources.ApplyResources(this.TxtMeetCondList, "TxtMeetCondList"); this.TxtMeetCondList.Name = "TxtMeetCondList"; - this.TxtMeetCondList.Size = new System.Drawing.Size(200, 23); - this.TxtMeetCondList.TabIndex = 8; // // NUDScheduleId // - this.NUDScheduleId.Location = new System.Drawing.Point(107, 101); + resources.ApplyResources(this.NUDScheduleId, "NUDScheduleId"); this.NUDScheduleId.Maximum = new decimal(new int[] { 2147483647, 0, 0, 0}); this.NUDScheduleId.Name = "NUDScheduleId"; - this.NUDScheduleId.Size = new System.Drawing.Size(80, 23); - this.NUDScheduleId.TabIndex = 6; // // NUDActivityType // - this.NUDActivityType.Location = new System.Drawing.Point(107, 72); + resources.ApplyResources(this.NUDActivityType, "NUDActivityType"); this.NUDActivityType.Maximum = new decimal(new int[] { 2147483647, 0, 0, 0}); this.NUDActivityType.Name = "NUDActivityType"; - this.NUDActivityType.Size = new System.Drawing.Size(60, 23); - this.NUDActivityType.TabIndex = 4; // // NUDActivityId // - this.NUDActivityId.Location = new System.Drawing.Point(107, 43); + resources.ApplyResources(this.NUDActivityId, "NUDActivityId"); this.NUDActivityId.Maximum = new decimal(new int[] { 2147483647, 0, 0, 0}); this.NUDActivityId.Name = "NUDActivityId"; - this.NUDActivityId.Size = new System.Drawing.Size(60, 23); - this.NUDActivityId.TabIndex = 1; this.NUDActivityId.ValueChanged += new System.EventHandler(this.NUDActivityId_ValueChanged); // // LblEndTime // - this.LblEndTime.AutoSize = true; - this.LblEndTime.Location = new System.Drawing.Point(21, 193); + resources.ApplyResources(this.LblEndTime, "LblEndTime"); this.LblEndTime.Name = "LblEndTime"; - this.LblEndTime.Size = new System.Drawing.Size(80, 17); - this.LblEndTime.TabIndex = 11; - this.LblEndTime.Text = "活动结束时间"; // // LblBeginTime // - this.LblBeginTime.AutoSize = true; - this.LblBeginTime.Location = new System.Drawing.Point(21, 164); + resources.ApplyResources(this.LblBeginTime, "LblBeginTime"); this.LblBeginTime.Name = "LblBeginTime"; - this.LblBeginTime.Size = new System.Drawing.Size(80, 17); - this.LblBeginTime.TabIndex = 9; - this.LblBeginTime.Text = "活动开始时间"; // // LblMeetCondList // - this.LblMeetCondList.AutoSize = true; - this.LblMeetCondList.Location = new System.Drawing.Point(21, 133); + resources.ApplyResources(this.LblMeetCondList, "LblMeetCondList"); this.LblMeetCondList.Name = "LblMeetCondList"; - this.LblMeetCondList.Size = new System.Drawing.Size(80, 17); - this.LblMeetCondList.TabIndex = 7; - this.LblMeetCondList.Text = "满足条件列表"; // // LblScheduleId // - this.LblScheduleId.AutoSize = true; - this.LblScheduleId.Location = new System.Drawing.Point(21, 103); + resources.ApplyResources(this.LblScheduleId, "LblScheduleId"); this.LblScheduleId.Name = "LblScheduleId"; - this.LblScheduleId.Size = new System.Drawing.Size(45, 17); - this.LblScheduleId.TabIndex = 5; - this.LblScheduleId.Text = "计划ID"; // // LblActivityType // - this.LblActivityType.AutoSize = true; - this.LblActivityType.Location = new System.Drawing.Point(21, 74); + resources.ApplyResources(this.LblActivityType, "LblActivityType"); this.LblActivityType.Name = "LblActivityType"; - this.LblActivityType.Size = new System.Drawing.Size(56, 17); - this.LblActivityType.TabIndex = 3; - this.LblActivityType.Text = "活动类型"; // // LblActivityId // - this.LblActivityId.AutoSize = true; - this.LblActivityId.Location = new System.Drawing.Point(21, 45); + resources.ApplyResources(this.LblActivityId, "LblActivityId"); this.LblActivityId.Name = "LblActivityId"; - this.LblActivityId.Size = new System.Drawing.Size(45, 17); - this.LblActivityId.TabIndex = 0; - this.LblActivityId.Text = "活动ID"; - // - // ColumnActivityName - // - this.ColumnActivityName.Text = "活动名称"; - this.ColumnActivityName.Width = 300; - // - // ColumnActivityId - // - this.ColumnActivityId.Text = "ID"; - this.ColumnActivityId.Width = 50; - // - // ListActivityConfigItems - // - this.ListActivityConfigItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.ColActivityId, - this.ColActivityTitle, - this.ColActivityBeginTime, - this.ColActivityEndTime}); - this.ListActivityConfigItems.Dock = System.Windows.Forms.DockStyle.Fill; - this.ListActivityConfigItems.FullRowSelect = true; - this.ListActivityConfigItems.HideSelection = false; - this.ListActivityConfigItems.Location = new System.Drawing.Point(3, 19); - this.ListActivityConfigItems.MultiSelect = false; - this.ListActivityConfigItems.Name = "ListActivityConfigItems"; - this.ListActivityConfigItems.Size = new System.Drawing.Size(254, 306); - this.ListActivityConfigItems.TabIndex = 0; - this.ListActivityConfigItems.UseCompatibleStateImageBehavior = false; - this.ListActivityConfigItems.View = System.Windows.Forms.View.Details; - this.ListActivityConfigItems.SelectedIndexChanged += new System.EventHandler(this.ListActivityConfigItems_SelectedIndexChanged); - // - // ColActivityId - // - this.ColActivityId.Text = "ID"; - this.ColActivityId.Width = 50; - // - // ColActivityTitle - // - this.ColActivityTitle.Text = "活动名称"; - this.ColActivityTitle.Width = 150; - // - // ColActivityBeginTime - // - this.ColActivityBeginTime.Text = "开始时间"; - this.ColActivityBeginTime.Width = 120; - // - // ColActivityEndTime - // - this.ColActivityEndTime.Text = "结束时间"; - this.ColActivityEndTime.Width = 120; // // FormActivityEditor // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); + resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(884, 381); this.Controls.Add(this.GrpAllActivity); this.Controls.Add(this.GrpActivityInfo); this.Controls.Add(this.GrpFileActivity); @@ -393,12 +296,7 @@ this.Controls.Add(this.BtnLoad); this.Controls.Add(this.ActivityConfigJsonPath); this.Controls.Add(this.LblActivityConfigJsonPath); - this.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); - this.Margin = new System.Windows.Forms.Padding(4); - this.MinimumSize = new System.Drawing.Size(900, 420); this.Name = "FormActivityEditor"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "ActivityConfig.json Editor"; this.GrpAllActivity.ResumeLayout(false); this.GrpFileActivity.ResumeLayout(false); this.GrpActivityInfo.ResumeLayout(false); diff --git a/Source/GrasscutterTools/Forms/FormActivityEditor.en-US.resx b/Source/GrasscutterTools/Forms/FormActivityEditor.en-US.resx new file mode 100644 index 0000000..273d048 --- /dev/null +++ b/Source/GrasscutterTools/Forms/FormActivityEditor.en-US.resx @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Save + + + Load + + + + 145, 17 + + + ActivityConfig.json Path: + + + All Activity by dplek + + + Activity name + + + File + + + Activity name + + + Begin time + + + End time + + + Activity info + + + Activity name + + + 8, 251 + + + 314, 17 + + + Tip: Usually you only need to modify the activity time + + + - Delete + + + √ Add or Update + + + 62, 17 + + + End Time + + + 73, 17 + + + Begin Time + + + 88, 17 + + + MeetCondList + + + 77, 17 + + + Schedule ID + + + 80, 17 + + + Activity Type + + + 65, 17 + + + Activity ID + + \ No newline at end of file diff --git a/Source/GrasscutterTools/Forms/FormActivityEditor.resx b/Source/GrasscutterTools/Forms/FormActivityEditor.resx index 1af7de1..e4d869b 100644 --- a/Source/GrasscutterTools/Forms/FormActivityEditor.resx +++ b/Source/GrasscutterTools/Forms/FormActivityEditor.resx @@ -117,4 +117,742 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + GrpActivityInfo + + + + Fill + + + 6 + + + + 278, 41 + + + ActivityConfig.json 路径: + + + + 120 + + + GrpActivityInfo + + + 3, 19 + + + GrpActivityInfo + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 0 + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 13 + + + 4 + + + NoControl + + + 107, 101 + + + 14 + + + 7 + + + 3, 19 + + + 21, 103 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + TxtMeetCondList + + + True + + + 671, 12 + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + BtnDelete + + + NUDScheduleId + + + 7, 17 + + + 0 + + + LblActivityType + + + True + + + 活动类型 + + + 0 + + + $this + + + 21, 193 + + + NUDActivityId + + + 活动开始时间 + + + 80, 17 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 3 + + + 0 + + + ColumnActivityId + + + BtnSave + + + LblBeginTime + + + GrpActivityInfo + + + $this + + + 11 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GrpActivityInfo + + + 开始时间 + + + Top, Bottom, Right + + + GrpAllActivity + + + 107, 43 + + + 21, 164 + + + Top, Right + + + 199, 271 + + + $this + + + ID + + + 活动结束时间 + + + - 删除 + + + 176, 12 + + + 134, 17 + + + 2 + + + 0 + + + GrpActivityInfo + + + CenterScreen + + + ID + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + LblActivityConfigJsonPath + + + ListActivityConfigItems + + + 612, 41 + + + 2 + + + ColActivityId + + + 2 + + + NUDActivityType + + + 12, 41 + + + 56, 17 + + + 3 + + + GrpActivityInfo + + + Top, Bottom, Right + + + 提示:通常情况下你只需要修改活动进行时间 + + + 200, 23 + + + 15 + + + True + + + 3 + + + 107, 188 + + + LblActivityId + + + 900, 420 + + + 当前文件 + + + 6 + + + GrpActivityInfo + + + ActivityConfig.json Editor + + + GrpFileActivity + + + 107, 159 + + + 100, 23 + + + System.Windows.Forms.ListView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Microsoft YaHei UI, 9pt + + + 50 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 60, 23 + + + GrpActivityInfo + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + 1 + + + 89, 30 + + + 15 + + + BtnLoad + + + 10 + + + 107, 72 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GrpActivityInfo + + + GrpActivityInfo + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 活动ID + + + 50 + + + NoControl + + + 120 + + + 4 + + + 5 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GrpActivityInfo + + + System.Windows.Forms.DateTimePicker, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 150, 30 + + + 结束时间 + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GrpFileActivity + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 1 + + + 1 + + + 5 + + + Top, Left, Right + + + $this + + + True + + + 11 + + + 加载 + + + LblActivityTitle + + + 6 + + + DTPBeginTime + + + 200, 23 + + + 254, 306 + + + 0 + + + FormActivityEditor + + + 13 + + + 17, 15 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GrpAllActivity + + + 21, 74 + + + 活动名称 + + + $this + + + 300 + + + 0 + + + 248, 17 + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 776, 12 + + + True + + + 173, 45 + + + 489, 23 + + + 8 + + + True + + + 884, 381 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 260, 328 + + + 100, 23 + + + 45, 17 + + + Top, Right + + + 260, 328 + + + 保存 + + + 200, 23 + + + 150 + + + DTPEndTime + + + GrpActivityInfo + + + 4, 4, 4, 4 + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 254, 306 + + + LblScheduleId + + + System.Windows.Forms.ListView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + LblActivityParmEditTip + + + 4 + + + 9 + + + 1 + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 5 + + + 计划ID + + + 21, 133 + + + Top, Bottom, Left, Right + + + 活动信息 + + + False + + + 60, 23 + + + GrpActivityInfo + + + 12 + + + 153, 17 + + + 0 + + + BtnAddOrUpdate + + + 328, 328 + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 4 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 已知活动 by dplek + + + √ 添加或更新 + + + 活动名称 + + + GrpActivityInfo + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 80, 23 + + + ColActivityEndTime + + + 3 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 2 + + + 7 + + + 107, 130 + + + GrpActivityInfo + + + ColActivityTitle + + + True + + + 14 + + + System.Windows.Forms.DateTimePicker, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GrpActivityInfo + + + 80, 17 + + + LblEndTime + + + 21, 45 + + + NoControl + + + 12 + + + 6 + + + $this + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 45, 17 + + + 9 + + + LblMeetCondList + + + 活动名称 + + + 43, 271 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.ColumnHeader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 8 + + + ActivityConfigJsonPath + + + 10 + + + 40, 251 + + + 80, 17 + + + 5 + + + ColActivityBeginTime + + + ColumnActivityName + + + ListAllActivity + + + Fill + + + $this + + + 满足条件列表 + + + True + \ No newline at end of file diff --git a/Source/GrasscutterTools/Forms/FormActivityEditor.ru-RU.resx b/Source/GrasscutterTools/Forms/FormActivityEditor.ru-RU.resx new file mode 100644 index 0000000..adbf3ae --- /dev/null +++ b/Source/GrasscutterTools/Forms/FormActivityEditor.ru-RU.resx @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Сохранить + + + Загрузить + + + + 147, 17 + + + ActivityConfig.json Путь: + + + Вся деятельность by dplek + + + Activity name + + + Текущий файл + + + Activity name + + + Begin time + + + End time + + + Информация об активности + + + Название деятельности + + + Microsoft YaHei UI, 8pt + + + 40, 236 + + + 244, 32 + + + Совет: обычно вам нужно изменить только + время активности + + + 213, 271 + + + - Удалить + + + 27, 271 + + + 180, 30 + + + √ Добавить или обновить + + + 59, 17 + + + End time + + + 70, 17 + + + Begin time + + + 88, 17 + + + MeetCondList + + + 85, 17 + + + Scheduled ID + + + 77, 17 + + + Activty Type + + + 65, 17 + + + Activity ID + + \ No newline at end of file diff --git a/Source/GrasscutterTools/Forms/FormActivityEditor.zh-TW.resx b/Source/GrasscutterTools/Forms/FormActivityEditor.zh-TW.resx new file mode 100644 index 0000000..fa8a1da --- /dev/null +++ b/Source/GrasscutterTools/Forms/FormActivityEditor.zh-TW.resx @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 加載 + + + ActivityConfig.json 路徑: + + + 已知活動 by dplek + + + 活動名稱 + + + 當前文件 + + + 活動名稱 + + + 開始時間 + + + 結束時間 + + + 活動信息 + + + 活動名稱 + + + 提示:通常情況下你只需要修改活動進行時間 + + + - 刪除 + + + 活動結束時間 + + + 活動開始時間 + + + 滿足條件列表 + + + 計劃ID + + + 活動類型 + + + 活動ID + + \ No newline at end of file diff --git a/Source/GrasscutterTools/GrasscutterTools.csproj b/Source/GrasscutterTools/GrasscutterTools.csproj index ac8d15f..933b9b8 100644 --- a/Source/GrasscutterTools/GrasscutterTools.csproj +++ b/Source/GrasscutterTools/GrasscutterTools.csproj @@ -283,9 +283,18 @@ + + FormActivityEditor.cs + FormActivityEditor.cs + + FormActivityEditor.cs + + + FormActivityEditor.cs + FormDropEditor.cs