diff --git a/Source/GrasscutterTools/Forms/FormShopEditor.Designer.cs b/Source/GrasscutterTools/Forms/FormShopEditor.Designer.cs new file mode 100644 index 0000000..2eb8be5 --- /dev/null +++ b/Source/GrasscutterTools/Forms/FormShopEditor.Designer.cs @@ -0,0 +1,873 @@ +namespace GrasscutterTools.Forms +{ + partial class FormShopEditor + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.ListShop = new System.Windows.Forms.ListBox(); + this.ListGoods = new System.Windows.Forms.ListBox(); + this.ListItems = new System.Windows.Forms.ListBox(); + this.GrpShopList = new System.Windows.Forms.GroupBox(); + this.GrpGoodsList = new System.Windows.Forms.GroupBox(); + this.GrpItems = new System.Windows.Forms.GroupBox(); + this.GrpGoodsInfo = new System.Windows.Forms.GroupBox(); + this.numericUpDown11 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown10 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown9 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown8 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown7 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown6 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown5 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown4 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown3 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); + this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); + this.label1 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.LblItemLabel = new System.Windows.Forms.Label(); + this.BtnSave = new System.Windows.Forms.Button(); + this.BtnLoad = new System.Windows.Forms.Button(); + this.TxtShopJsonPath = new System.Windows.Forms.TextBox(); + this.LblShopPathLabel = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.NUDGoodsId = new System.Windows.Forms.NumericUpDown(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.label11 = new System.Windows.Forms.Label(); + this.numericUpDown12 = new System.Windows.Forms.NumericUpDown(); + this.label12 = new System.Windows.Forms.Label(); + this.numericUpDown13 = new System.Windows.Forms.NumericUpDown(); + this.label13 = new System.Windows.Forms.Label(); + this.numericUpDown14 = new System.Windows.Forms.NumericUpDown(); + this.label14 = new System.Windows.Forms.Label(); + this.numericUpDown15 = new System.Windows.Forms.NumericUpDown(); + this.label15 = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.DTPBeginTime = new System.Windows.Forms.DateTimePicker(); + this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); + this.label17 = new System.Windows.Forms.Label(); + this.label18 = new System.Windows.Forms.Label(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.label19 = new System.Windows.Forms.Label(); + this.NUDRefreshParm = new System.Windows.Forms.NumericUpDown(); + this.CmdRefreshType = new System.Windows.Forms.ComboBox(); + this.BtnSaveGoods = new System.Windows.Forms.Button(); + this.GrpShopList.SuspendLayout(); + this.GrpGoodsList.SuspendLayout(); + this.GrpItems.SuspendLayout(); + this.GrpGoodsInfo.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown11)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.NUDGoodsId)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown12)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown13)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown14)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown15)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.NUDRefreshParm)).BeginInit(); + this.SuspendLayout(); + // + // ListShop + // + this.ListShop.Dock = System.Windows.Forms.DockStyle.Fill; + this.ListShop.FormattingEnabled = true; + this.ListShop.ItemHeight = 17; + this.ListShop.Location = new System.Drawing.Point(3, 19); + this.ListShop.Name = "ListShop"; + this.ListShop.Size = new System.Drawing.Size(244, 169); + this.ListShop.TabIndex = 0; + // + // ListGoods + // + this.ListGoods.Dock = System.Windows.Forms.DockStyle.Fill; + this.ListGoods.FormattingEnabled = true; + this.ListGoods.ItemHeight = 17; + this.ListGoods.Location = new System.Drawing.Point(3, 19); + this.ListGoods.Name = "ListGoods"; + this.ListGoods.Size = new System.Drawing.Size(244, 289); + this.ListGoods.TabIndex = 1; + // + // ListItems + // + this.ListItems.Dock = System.Windows.Forms.DockStyle.Fill; + this.ListItems.FormattingEnabled = true; + this.ListItems.ItemHeight = 17; + this.ListItems.Location = new System.Drawing.Point(3, 19); + this.ListItems.Name = "ListItems"; + this.ListItems.Size = new System.Drawing.Size(244, 486); + this.ListItems.TabIndex = 2; + // + // GrpShopList + // + this.GrpShopList.Controls.Add(this.ListShop); + this.GrpShopList.Location = new System.Drawing.Point(12, 41); + this.GrpShopList.Name = "GrpShopList"; + this.GrpShopList.Size = new System.Drawing.Size(250, 191); + this.GrpShopList.TabIndex = 3; + this.GrpShopList.TabStop = false; + this.GrpShopList.Text = "商店列表"; + // + // GrpGoodsList + // + this.GrpGoodsList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left))); + this.GrpGoodsList.Controls.Add(this.ListGoods); + this.GrpGoodsList.Location = new System.Drawing.Point(12, 238); + this.GrpGoodsList.Name = "GrpGoodsList"; + this.GrpGoodsList.Size = new System.Drawing.Size(250, 311); + this.GrpGoodsList.TabIndex = 4; + this.GrpGoodsList.TabStop = false; + this.GrpGoodsList.Text = "商品列表"; + // + // GrpItems + // + this.GrpItems.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Right))); + this.GrpItems.Controls.Add(this.ListItems); + this.GrpItems.Location = new System.Drawing.Point(577, 41); + this.GrpItems.Name = "GrpItems"; + this.GrpItems.Size = new System.Drawing.Size(250, 508); + this.GrpItems.TabIndex = 6; + this.GrpItems.TabStop = false; + this.GrpItems.Text = "物品列表"; + // + // GrpGoodsInfo + // + this.GrpGoodsInfo.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))); + this.GrpGoodsInfo.Controls.Add(this.BtnSaveGoods); + this.GrpGoodsInfo.Controls.Add(this.CmdRefreshType); + this.GrpGoodsInfo.Controls.Add(this.NUDRefreshParm); + this.GrpGoodsInfo.Controls.Add(this.label19); + this.GrpGoodsInfo.Controls.Add(this.linkLabel1); + this.GrpGoodsInfo.Controls.Add(this.label18); + this.GrpGoodsInfo.Controls.Add(this.label17); + this.GrpGoodsInfo.Controls.Add(this.label16); + this.GrpGoodsInfo.Controls.Add(this.label15); + this.GrpGoodsInfo.Controls.Add(this.label10); + this.GrpGoodsInfo.Controls.Add(this.label9); + this.GrpGoodsInfo.Controls.Add(this.label8); + this.GrpGoodsInfo.Controls.Add(this.label7); + this.GrpGoodsInfo.Controls.Add(this.label6); + this.GrpGoodsInfo.Controls.Add(this.label5); + this.GrpGoodsInfo.Controls.Add(this.label4); + this.GrpGoodsInfo.Controls.Add(this.label3); + this.GrpGoodsInfo.Controls.Add(this.label2); + this.GrpGoodsInfo.Controls.Add(this.LblItemLabel); + this.GrpGoodsInfo.Controls.Add(this.dateTimePicker2); + this.GrpGoodsInfo.Controls.Add(this.DTPBeginTime); + this.GrpGoodsInfo.Controls.Add(this.NUDGoodsId); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown11); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown10); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown9); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown8); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown7); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown6); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown5); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown4); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown3); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown2); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown15); + this.GrpGoodsInfo.Controls.Add(this.label14); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown14); + this.GrpGoodsInfo.Controls.Add(this.label13); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown13); + this.GrpGoodsInfo.Controls.Add(this.label12); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown12); + this.GrpGoodsInfo.Controls.Add(this.label11); + this.GrpGoodsInfo.Controls.Add(this.numericUpDown1); + this.GrpGoodsInfo.Controls.Add(this.label1); + this.GrpGoodsInfo.Controls.Add(this.textBox1); + this.GrpGoodsInfo.Location = new System.Drawing.Point(268, 41); + this.GrpGoodsInfo.Name = "GrpGoodsInfo"; + this.GrpGoodsInfo.Size = new System.Drawing.Size(303, 508); + this.GrpGoodsInfo.TabIndex = 5; + this.GrpGoodsInfo.TabStop = false; + this.GrpGoodsInfo.Text = "商品信息"; + // + // numericUpDown11 + // + this.numericUpDown11.Location = new System.Drawing.Point(185, 122); + this.numericUpDown11.Maximum = new decimal(new int[] { + 99, + 0, + 0, + 0}); + this.numericUpDown11.Name = "numericUpDown11"; + this.numericUpDown11.Size = new System.Drawing.Size(50, 23); + this.numericUpDown11.TabIndex = 6; + this.numericUpDown11.Value = new decimal(new int[] { + 61, + 0, + 0, + 0}); + // + // numericUpDown10 + // + this.numericUpDown10.Location = new System.Drawing.Point(106, 122); + this.numericUpDown10.Maximum = new decimal(new int[] { + 99, + 0, + 0, + 0}); + this.numericUpDown10.Name = "numericUpDown10"; + this.numericUpDown10.Size = new System.Drawing.Size(50, 23); + this.numericUpDown10.TabIndex = 5; + this.numericUpDown10.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // numericUpDown9 + // + this.numericUpDown9.Location = new System.Drawing.Point(106, 412); + this.numericUpDown9.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown9.Name = "numericUpDown9"; + this.numericUpDown9.Size = new System.Drawing.Size(120, 23); + this.numericUpDown9.TabIndex = 20; + // + // numericUpDown8 + // + this.numericUpDown8.Location = new System.Drawing.Point(106, 383); + this.numericUpDown8.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown8.Name = "numericUpDown8"; + this.numericUpDown8.Size = new System.Drawing.Size(120, 23); + this.numericUpDown8.TabIndex = 18; + // + // numericUpDown7 + // + this.numericUpDown7.Location = new System.Drawing.Point(106, 354); + this.numericUpDown7.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown7.Name = "numericUpDown7"; + this.numericUpDown7.Size = new System.Drawing.Size(120, 23); + this.numericUpDown7.TabIndex = 16; + // + // numericUpDown6 + // + this.numericUpDown6.Location = new System.Drawing.Point(106, 325); + this.numericUpDown6.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown6.Name = "numericUpDown6"; + this.numericUpDown6.Size = new System.Drawing.Size(120, 23); + this.numericUpDown6.TabIndex = 14; + // + // numericUpDown5 + // + this.numericUpDown5.Location = new System.Drawing.Point(106, 296); + this.numericUpDown5.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown5.Name = "numericUpDown5"; + this.numericUpDown5.Size = new System.Drawing.Size(120, 23); + this.numericUpDown5.TabIndex = 13; + // + // numericUpDown4 + // + this.numericUpDown4.Location = new System.Drawing.Point(106, 267); + this.numericUpDown4.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown4.Name = "numericUpDown4"; + this.numericUpDown4.Size = new System.Drawing.Size(120, 23); + this.numericUpDown4.TabIndex = 12; + // + // numericUpDown3 + // + this.numericUpDown3.Location = new System.Drawing.Point(106, 238); + this.numericUpDown3.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown3.Name = "numericUpDown3"; + this.numericUpDown3.Size = new System.Drawing.Size(120, 23); + this.numericUpDown3.TabIndex = 11; + // + // numericUpDown2 + // + this.numericUpDown2.Location = new System.Drawing.Point(106, 90); + this.numericUpDown2.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown2.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDown2.Name = "numericUpDown2"; + this.numericUpDown2.Size = new System.Drawing.Size(120, 23); + this.numericUpDown2.TabIndex = 4; + this.numericUpDown2.Value = new decimal(new int[] { + 100, + 0, + 0, + 0}); + // + // numericUpDown1 + // + this.numericUpDown1.Location = new System.Drawing.Point(244, 61); + this.numericUpDown1.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown1.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDown1.Name = "numericUpDown1"; + this.numericUpDown1.Size = new System.Drawing.Size(50, 23); + this.numericUpDown1.TabIndex = 3; + this.numericUpDown1.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(232, 64); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(14, 17); + this.label1.TabIndex = 2; + this.label1.Text = "x"; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(106, 61); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(120, 23); + this.textBox1.TabIndex = 2; + // + // LblItemLabel + // + this.LblItemLabel.AutoSize = true; + this.LblItemLabel.Location = new System.Drawing.Point(56, 64); + this.LblItemLabel.Name = "LblItemLabel"; + this.LblItemLabel.Size = new System.Drawing.Size(44, 17); + this.LblItemLabel.TabIndex = 0; + this.LblItemLabel.Text = "商品:"; + // + // BtnSave + // + this.BtnSave.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.BtnSave.Location = new System.Drawing.Point(720, 12); + this.BtnSave.Name = "BtnSave"; + this.BtnSave.Size = new System.Drawing.Size(100, 23); + this.BtnSave.TabIndex = 2; + this.BtnSave.Text = "保存"; + this.BtnSave.UseVisualStyleBackColor = true; + // + // BtnLoad + // + this.BtnLoad.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.BtnLoad.Location = new System.Drawing.Point(615, 12); + this.BtnLoad.Name = "BtnLoad"; + this.BtnLoad.Size = new System.Drawing.Size(100, 23); + this.BtnLoad.TabIndex = 1; + this.BtnLoad.Text = "加载"; + this.BtnLoad.UseVisualStyleBackColor = true; + // + // TxtShopJsonPath + // + this.TxtShopJsonPath.Location = new System.Drawing.Point(122, 12); + this.TxtShopJsonPath.Name = "TxtShopJsonPath"; + this.TxtShopJsonPath.Size = new System.Drawing.Size(487, 23); + this.TxtShopJsonPath.TabIndex = 0; + // + // LblShopPathLabel + // + this.LblShopPathLabel.AutoSize = true; + this.LblShopPathLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.LblShopPathLabel.Location = new System.Drawing.Point(11, 15); + this.LblShopPathLabel.Name = "LblShopPathLabel"; + this.LblShopPathLabel.Size = new System.Drawing.Size(105, 17); + this.LblShopPathLabel.TabIndex = 7; + this.LblShopPathLabel.Text = "Shop.json 路径:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(43, 34); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(57, 17); + this.label2.TabIndex = 4; + this.label2.Text = "商品ID:"; + // + // NUDGoodsId + // + this.NUDGoodsId.Location = new System.Drawing.Point(106, 32); + this.NUDGoodsId.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.NUDGoodsId.Name = "NUDGoodsId"; + this.NUDGoodsId.Size = new System.Drawing.Size(120, 23); + this.NUDGoodsId.TabIndex = 0; + this.NUDGoodsId.Value = new decimal(new int[] { + 101001, + 0, + 0, + 0}); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(32, 92); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(68, 17); + this.label3.TabIndex = 6; + this.label3.Text = "限购数量:"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(32, 240); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(68, 17); + this.label4.TabIndex = 7; + this.label4.Text = "消耗金币:"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(32, 269); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(68, 17); + this.label5.TabIndex = 7; + this.label5.Text = "消耗水晶:"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(8, 298); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(92, 17); + this.label6.TabIndex = 7; + this.label6.Text = "消耗创世结晶:"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(25, 327); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(75, 17); + this.label7.TabIndex = 7; + this.label7.Text = "消耗物品1:"; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(25, 356); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(75, 17); + this.label8.TabIndex = 7; + this.label8.Text = "消耗物品2:"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(25, 383); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(75, 17); + this.label9.TabIndex = 7; + this.label9.Text = "消耗物品3:"; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(25, 412); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(75, 17); + this.label10.TabIndex = 7; + this.label10.Text = "消耗物品4:"; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(232, 328); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(14, 17); + this.label11.TabIndex = 2; + this.label11.Text = "x"; + // + // numericUpDown12 + // + this.numericUpDown12.Location = new System.Drawing.Point(244, 325); + this.numericUpDown12.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown12.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDown12.Name = "numericUpDown12"; + this.numericUpDown12.Size = new System.Drawing.Size(50, 23); + this.numericUpDown12.TabIndex = 15; + this.numericUpDown12.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(232, 357); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(14, 17); + this.label12.TabIndex = 2; + this.label12.Text = "x"; + // + // numericUpDown13 + // + this.numericUpDown13.Location = new System.Drawing.Point(244, 354); + this.numericUpDown13.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown13.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDown13.Name = "numericUpDown13"; + this.numericUpDown13.Size = new System.Drawing.Size(50, 23); + this.numericUpDown13.TabIndex = 17; + this.numericUpDown13.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(232, 386); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(14, 17); + this.label13.TabIndex = 2; + this.label13.Text = "x"; + // + // numericUpDown14 + // + this.numericUpDown14.Location = new System.Drawing.Point(244, 383); + this.numericUpDown14.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown14.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDown14.Name = "numericUpDown14"; + this.numericUpDown14.Size = new System.Drawing.Size(50, 23); + this.numericUpDown14.TabIndex = 19; + this.numericUpDown14.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(232, 415); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(14, 17); + this.label14.TabIndex = 2; + this.label14.Text = "x"; + // + // numericUpDown15 + // + this.numericUpDown15.Location = new System.Drawing.Point(244, 412); + this.numericUpDown15.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.numericUpDown15.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDown15.Name = "numericUpDown15"; + this.numericUpDown15.Size = new System.Drawing.Size(50, 23); + this.numericUpDown15.TabIndex = 21; + this.numericUpDown15.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(32, 156); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(68, 17); + this.label15.TabIndex = 8; + this.label15.Text = "上架时间:"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(32, 185); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(68, 17); + this.label16.TabIndex = 9; + this.label16.Text = "下架时间:"; + // + // DTPBeginTime + // + this.DTPBeginTime.CustomFormat = "yyyy\'/\'MM\'/\'dd HH\':\'mm\':\'ss"; + this.DTPBeginTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.DTPBeginTime.Location = new System.Drawing.Point(106, 151); + this.DTPBeginTime.Name = "DTPBeginTime"; + this.DTPBeginTime.Size = new System.Drawing.Size(160, 23); + this.DTPBeginTime.TabIndex = 7; + // + // dateTimePicker2 + // + this.dateTimePicker2.CustomFormat = "yyyy\'/\'MM\'/\'dd HH\':\'mm\':\'ss"; + this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom; + this.dateTimePicker2.Location = new System.Drawing.Point(106, 180); + this.dateTimePicker2.Name = "dateTimePicker2"; + this.dateTimePicker2.Size = new System.Drawing.Size(160, 23); + this.dateTimePicker2.TabIndex = 8; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(32, 125); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(68, 17); + this.label17.TabIndex = 12; + this.label17.Text = "限购等级:"; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(162, 124); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(17, 17); + this.label18.TabIndex = 13; + this.label18.Text = "~"; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Location = new System.Drawing.Point(234, 34); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(32, 17); + this.linkLabel1.TabIndex = 1; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "生成"; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(32, 211); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(68, 17); + this.label19.TabIndex = 15; + this.label19.Text = "刷新方式:"; + // + // NUDRefreshParm + // + this.NUDRefreshParm.Location = new System.Drawing.Point(106, 209); + this.NUDRefreshParm.Name = "NUDRefreshParm"; + this.NUDRefreshParm.Size = new System.Drawing.Size(50, 23); + this.NUDRefreshParm.TabIndex = 9; + // + // CmdRefreshType + // + this.CmdRefreshType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.CmdRefreshType.FormattingEnabled = true; + this.CmdRefreshType.Location = new System.Drawing.Point(162, 207); + this.CmdRefreshType.Name = "CmdRefreshType"; + this.CmdRefreshType.Size = new System.Drawing.Size(104, 25); + this.CmdRefreshType.TabIndex = 10; + // + // BtnSaveGoods + // + this.BtnSaveGoods.Location = new System.Drawing.Point(91, 472); + this.BtnSaveGoods.Name = "BtnSaveGoods"; + this.BtnSaveGoods.Size = new System.Drawing.Size(120, 30); + this.BtnSaveGoods.TabIndex = 30; + this.BtnSaveGoods.Text = "√ 保存"; + this.BtnSaveGoods.UseVisualStyleBackColor = true; + // + // FormShopEditor + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(839, 561); + this.Controls.Add(this.BtnSave); + this.Controls.Add(this.BtnLoad); + this.Controls.Add(this.TxtShopJsonPath); + this.Controls.Add(this.LblShopPathLabel); + this.Controls.Add(this.GrpGoodsInfo); + this.Controls.Add(this.GrpItems); + this.Controls.Add(this.GrpGoodsList); + this.Controls.Add(this.GrpShopList); + this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.Margin = new System.Windows.Forms.Padding(4); + this.MinimumSize = new System.Drawing.Size(855, 600); + this.Name = "FormShopEditor"; + this.Text = "Shop.json Editor"; + this.GrpShopList.ResumeLayout(false); + this.GrpGoodsList.ResumeLayout(false); + this.GrpItems.ResumeLayout(false); + this.GrpGoodsInfo.ResumeLayout(false); + this.GrpGoodsInfo.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown11)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown10)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.NUDGoodsId)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown12)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown13)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown14)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown15)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.NUDRefreshParm)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.ListBox ListShop; + private System.Windows.Forms.ListBox ListGoods; + private System.Windows.Forms.ListBox ListItems; + private System.Windows.Forms.GroupBox GrpShopList; + private System.Windows.Forms.GroupBox GrpGoodsList; + private System.Windows.Forms.GroupBox GrpItems; + private System.Windows.Forms.GroupBox GrpGoodsInfo; + private System.Windows.Forms.Button BtnSave; + private System.Windows.Forms.Button BtnLoad; + private System.Windows.Forms.TextBox TxtShopJsonPath; + private System.Windows.Forms.Label LblShopPathLabel; + private System.Windows.Forms.NumericUpDown numericUpDown1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label LblItemLabel; + private System.Windows.Forms.NumericUpDown numericUpDown8; + private System.Windows.Forms.NumericUpDown numericUpDown7; + private System.Windows.Forms.NumericUpDown numericUpDown6; + private System.Windows.Forms.NumericUpDown numericUpDown5; + private System.Windows.Forms.NumericUpDown numericUpDown4; + private System.Windows.Forms.NumericUpDown numericUpDown3; + private System.Windows.Forms.NumericUpDown numericUpDown2; + private System.Windows.Forms.NumericUpDown numericUpDown11; + private System.Windows.Forms.NumericUpDown numericUpDown10; + private System.Windows.Forms.NumericUpDown numericUpDown9; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.NumericUpDown NUDGoodsId; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.NumericUpDown numericUpDown15; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.NumericUpDown numericUpDown14; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.NumericUpDown numericUpDown13; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.NumericUpDown numericUpDown12; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.DateTimePicker dateTimePicker2; + private System.Windows.Forms.DateTimePicker DTPBeginTime; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.ComboBox CmdRefreshType; + private System.Windows.Forms.NumericUpDown NUDRefreshParm; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Button BtnSaveGoods; + } +} \ No newline at end of file diff --git a/Source/GrasscutterTools/Forms/FormShopEditor.cs b/Source/GrasscutterTools/Forms/FormShopEditor.cs new file mode 100644 index 0000000..fe970c2 --- /dev/null +++ b/Source/GrasscutterTools/Forms/FormShopEditor.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +using GrasscutterTools.Properties; + +namespace GrasscutterTools.Forms +{ + public partial class FormShopEditor : Form + { + public FormShopEditor() + { + InitializeComponent(); + + Icon = Resources.IconGrasscutter; + } + } +} diff --git a/Source/GrasscutterTools/Forms/FormShopEditor.resx b/Source/GrasscutterTools/Forms/FormShopEditor.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Source/GrasscutterTools/Forms/FormShopEditor.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 diff --git a/Source/GrasscutterTools/GrasscutterTools.csproj b/Source/GrasscutterTools/GrasscutterTools.csproj index 8f446d7..fb66c0e 100644 --- a/Source/GrasscutterTools/GrasscutterTools.csproj +++ b/Source/GrasscutterTools/GrasscutterTools.csproj @@ -114,6 +114,12 @@ FormMain.cs + + Form + + + FormShopEditor.cs + Form @@ -207,6 +213,9 @@ FormMain.cs Designer + + FormShopEditor.cs + FormTextMapBrowser.cs