Sfall-ScriptEditor
380 строк · 20.7 Кб
1
2namespace ScriptEditor {
3partial class RegisterScript {
4/// <summary>
5/// Required designer variable.
6/// </summary>
7private System.ComponentModel.IContainer components = null;
8
9/// <summary>
10/// Clean up any resources being used.
11/// </summary>
12/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
13protected override void Dispose(bool disposing) {
14if(disposing && (components != null)) {
15components.Dispose();
16}
17base.Dispose(disposing);
18}
19
20#region Windows Form Designer generated code
21
22/// <summary>
23/// Required method for Designer support - do not modify
24/// the contents of this method with the code editor.
25/// </summary>
26private void InitializeComponent() {
27this.components = new System.ComponentModel.Container();
28System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
29System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
30System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
31System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RegisterScript));
32this.dgvScripts = new ScriptEditor.TextEditorUI.DataGridViewEx();
33this.EntryCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
34this.cLine = new System.Windows.Forms.DataGridViewButtonColumn();
35this.cScript = new System.Windows.Forms.DataGridViewTextBoxColumn();
36this.cDescription = new System.Windows.Forms.DataGridViewTextBoxColumn();
37this.cVars = new System.Windows.Forms.DataGridViewTextBoxColumn();
38this.cName = new System.Windows.Forms.DataGridViewTextBoxColumn();
39this.groupBox = new System.Windows.Forms.GroupBox();
40this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
41this.imageList1 = new System.Windows.Forms.ImageList(this.components);
42this.DefinetextBox = new System.Windows.Forms.TextBox();
43this.AllowCheckBox = new System.Windows.Forms.CheckBox();
44this.label2 = new System.Windows.Forms.Label();
45this.toolStrip1 = new System.Windows.Forms.ToolStrip();
46this.Save_button = new System.Windows.Forms.ToolStripButton();
47this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
48this.Addbutton = new System.Windows.Forms.ToolStripButton();
49this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
50this.Delbutton = new System.Windows.Forms.ToolStripButton();
51this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
52this.Upbutton = new System.Windows.Forms.ToolStripButton();
53this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
54this.Downbutton = new System.Windows.Forms.ToolStripButton();
55this.FindtextBox = new System.Windows.Forms.ToolStripTextBox();
56this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
57((System.ComponentModel.ISupportInitialize)(this.dgvScripts)).BeginInit();
58this.groupBox.SuspendLayout();
59this.toolStrip1.SuspendLayout();
60this.SuspendLayout();
61//
62// dgvScripts
63//
64this.dgvScripts.AllowUserToAddRows = false;
65this.dgvScripts.AllowUserToDeleteRows = false;
66this.dgvScripts.AllowUserToResizeRows = false;
67this.dgvScripts.BackgroundColor = System.Drawing.SystemColors.MenuBar;
68this.dgvScripts.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
69this.dgvScripts.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.Raised;
70dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
71dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
72dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
73dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
74dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
75dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
76dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
77this.dgvScripts.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
78this.dgvScripts.ColumnHeadersHeight = 24;
79this.dgvScripts.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
80this.dgvScripts.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
81this.EntryCol,
82this.cLine,
83this.cScript,
84this.cDescription,
85this.cVars,
86this.cName});
87this.dgvScripts.Dock = System.Windows.Forms.DockStyle.Fill;
88this.dgvScripts.Location = new System.Drawing.Point(6, 19);
89this.dgvScripts.MultiSelect = false;
90this.dgvScripts.Name = "dgvScripts";
91this.dgvScripts.RowHeadersVisible = false;
92this.dgvScripts.RowHeadersWidth = 30;
93this.dgvScripts.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
94this.dgvScripts.Size = new System.Drawing.Size(724, 453);
95this.dgvScripts.TabIndex = 0;
96this.dgvScripts.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvScripts_CellClick);
97this.dgvScripts.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvScripts_CellContentClick);
98//
99// EntryCol
100//
101this.EntryCol.HeaderText = "Entry";
102this.EntryCol.Name = "EntryCol";
103this.EntryCol.ReadOnly = true;
104this.EntryCol.Resizable = System.Windows.Forms.DataGridViewTriState.False;
105this.EntryCol.Visible = false;
106this.EntryCol.Width = 10;
107//
108// cLine
109//
110this.cLine.HeaderText = "Script #";
111this.cLine.Name = "cLine";
112this.cLine.Resizable = System.Windows.Forms.DataGridViewTriState.False;
113this.cLine.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
114this.cLine.ToolTipText = "Script ID";
115this.cLine.Width = 50;
116//
117// cScript
118//
119dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
120this.cScript.DefaultCellStyle = dataGridViewCellStyle2;
121this.cScript.HeaderText = "Script File";
122this.cScript.Name = "cScript";
123this.cScript.Resizable = System.Windows.Forms.DataGridViewTriState.False;
124this.cScript.Width = 90;
125//
126// cDescription
127//
128this.cDescription.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
129this.cDescription.FillWeight = 70F;
130this.cDescription.HeaderText = "Descriptions";
131this.cDescription.Name = "cDescription";
132this.cDescription.Resizable = System.Windows.Forms.DataGridViewTriState.True;
133//
134// cVars
135//
136dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
137this.cVars.DefaultCellStyle = dataGridViewCellStyle3;
138this.cVars.HeaderText = "LVars:";
139this.cVars.Name = "cVars";
140this.cVars.Resizable = System.Windows.Forms.DataGridViewTriState.False;
141this.cVars.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
142this.cVars.ToolTipText = "Local Variables";
143this.cVars.Width = 40;
144//
145// cName
146//
147this.cName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
148this.cName.FillWeight = 30F;
149this.cName.HeaderText = "Script Name";
150this.cName.Name = "cName";
151this.cName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
152this.cName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
153this.cName.ToolTipText = "Script game name in scrname.msg";
154//
155// groupBox
156//
157this.groupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
158| System.Windows.Forms.AnchorStyles.Left)
159| System.Windows.Forms.AnchorStyles.Right)));
160this.groupBox.Controls.Add(this.dgvScripts);
161this.groupBox.Location = new System.Drawing.Point(3, 54);
162this.groupBox.Name = "groupBox";
163this.groupBox.Padding = new System.Windows.Forms.Padding(6);
164this.groupBox.Size = new System.Drawing.Size(736, 478);
165this.groupBox.TabIndex = 1;
166this.groupBox.TabStop = false;
167this.groupBox.Text = "Scripts List";
168//
169// imageList1
170//
171this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
172this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
173this.imageList1.Images.SetKeyName(0, "RegisterReady.png");
174this.imageList1.Images.SetKeyName(1, "RegisterNeed.png");
175//
176// DefinetextBox
177//
178this.DefinetextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
179| System.Windows.Forms.AnchorStyles.Right)));
180this.DefinetextBox.Enabled = false;
181this.DefinetextBox.Location = new System.Drawing.Point(185, 29);
182this.DefinetextBox.Name = "DefinetextBox";
183this.DefinetextBox.Size = new System.Drawing.Size(497, 20);
184this.DefinetextBox.TabIndex = 7;
185//
186// AllowCheckBox
187//
188this.AllowCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
189this.AllowCheckBox.AutoSize = true;
190this.AllowCheckBox.Enabled = false;
191this.AllowCheckBox.ForeColor = System.Drawing.Color.Firebrick;
192this.AllowCheckBox.Location = new System.Drawing.Point(688, 30);
193this.AllowCheckBox.Name = "AllowCheckBox";
194this.AllowCheckBox.Size = new System.Drawing.Size(51, 17);
195this.AllowCheckBox.TabIndex = 8;
196this.AllowCheckBox.Text = "Allow";
197this.AllowCheckBox.UseVisualStyleBackColor = true;
198//
199// label2
200//
201this.label2.AutoSize = true;
202this.label2.ForeColor = System.Drawing.Color.RoyalBlue;
203this.label2.Location = new System.Drawing.Point(6, 32);
204this.label2.Name = "label2";
205this.label2.Size = new System.Drawing.Size(173, 13);
206this.label2.TabIndex = 9;
207this.label2.Text = "Add definition for script to Scripts.h:";
208//
209// toolStrip1
210//
211this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
212this.Save_button,
213this.toolStripSeparator1,
214this.Addbutton,
215this.toolStripSeparator4,
216this.Delbutton,
217this.toolStripSeparator2,
218this.Upbutton,
219this.toolStripSeparator3,
220this.Downbutton,
221this.FindtextBox,
222this.toolStripLabel1});
223this.toolStrip1.Location = new System.Drawing.Point(0, 0);
224this.toolStrip1.Name = "toolStrip1";
225this.toolStrip1.Size = new System.Drawing.Size(742, 25);
226this.toolStrip1.TabIndex = 10;
227this.toolStrip1.Text = "toolStrip1";
228//
229// Save_button
230//
231this.Save_button.Image = ((System.Drawing.Image)(resources.GetObject("Save_button.Image")));
232this.Save_button.ImageTransparentColor = System.Drawing.Color.Magenta;
233this.Save_button.Name = "Save_button";
234this.Save_button.Size = new System.Drawing.Size(79, 22);
235this.Save_button.Text = "Registered";
236this.Save_button.ToolTipText = "Save all changes to files.";
237this.Save_button.Click += new System.EventHandler(this.Save_button_Click);
238//
239// toolStripSeparator1
240//
241this.toolStripSeparator1.Name = "toolStripSeparator1";
242this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
243//
244// Addbutton
245//
246this.Addbutton.AutoSize = false;
247this.Addbutton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
248this.Addbutton.Image = ((System.Drawing.Image)(resources.GetObject("Addbutton.Image")));
249this.Addbutton.ImageTransparentColor = System.Drawing.Color.Magenta;
250this.Addbutton.Name = "Addbutton";
251this.Addbutton.Size = new System.Drawing.Size(25, 22);
252this.Addbutton.ToolTipText = "Add script line";
253this.Addbutton.Click += new System.EventHandler(this.Addbutton_Click);
254//
255// toolStripSeparator4
256//
257this.toolStripSeparator4.Name = "toolStripSeparator4";
258this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
259//
260// Delbutton
261//
262this.Delbutton.AutoSize = false;
263this.Delbutton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
264this.Delbutton.Image = ((System.Drawing.Image)(resources.GetObject("Delbutton.Image")));
265this.Delbutton.ImageTransparentColor = System.Drawing.Color.Magenta;
266this.Delbutton.Name = "Delbutton";
267this.Delbutton.Size = new System.Drawing.Size(25, 22);
268this.Delbutton.ToolTipText = "Delete last script line";
269this.Delbutton.Click += new System.EventHandler(this.Delbutton_Click);
270//
271// toolStripSeparator2
272//
273this.toolStripSeparator2.Name = "toolStripSeparator2";
274this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
275//
276// Upbutton
277//
278this.Upbutton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
279this.Upbutton.AutoSize = false;
280this.Upbutton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
281this.Upbutton.Image = ((System.Drawing.Image)(resources.GetObject("Upbutton.Image")));
282this.Upbutton.ImageTransparentColor = System.Drawing.Color.Magenta;
283this.Upbutton.Name = "Upbutton";
284this.Upbutton.Size = new System.Drawing.Size(25, 22);
285this.Upbutton.ToolTipText = "Find up";
286this.Upbutton.Click += new System.EventHandler(this.Upbutton_Click);
287//
288// toolStripSeparator3
289//
290this.toolStripSeparator3.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
291this.toolStripSeparator3.AutoSize = false;
292this.toolStripSeparator3.Name = "toolStripSeparator3";
293this.toolStripSeparator3.Size = new System.Drawing.Size(8, 25);
294//
295// Downbutton
296//
297this.Downbutton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
298this.Downbutton.AutoSize = false;
299this.Downbutton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
300this.Downbutton.Image = ((System.Drawing.Image)(resources.GetObject("Downbutton.Image")));
301this.Downbutton.ImageTransparentColor = System.Drawing.Color.Magenta;
302this.Downbutton.Name = "Downbutton";
303this.Downbutton.Size = new System.Drawing.Size(25, 22);
304this.Downbutton.ToolTipText = "Find down";
305this.Downbutton.Click += new System.EventHandler(this.Downbutton_Click);
306//
307// FindtextBox
308//
309this.FindtextBox.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
310this.FindtextBox.AutoSize = false;
311this.FindtextBox.BackColor = System.Drawing.SystemColors.ControlLight;
312this.FindtextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
313this.FindtextBox.Name = "FindtextBox";
314this.FindtextBox.Size = new System.Drawing.Size(300, 21);
315//
316// toolStripLabel1
317//
318this.toolStripLabel1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
319this.toolStripLabel1.AutoSize = false;
320this.toolStripLabel1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
321this.toolStripLabel1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripLabel1.Image")));
322this.toolStripLabel1.Name = "toolStripLabel1";
323this.toolStripLabel1.Size = new System.Drawing.Size(20, 16);
324//
325// RegisterScript
326//
327this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
328this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
329this.ClientSize = new System.Drawing.Size(742, 535);
330this.Controls.Add(this.toolStrip1);
331this.Controls.Add(this.AllowCheckBox);
332this.Controls.Add(this.DefinetextBox);
333this.Controls.Add(this.groupBox);
334this.Controls.Add(this.label2);
335this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
336this.KeyPreview = true;
337this.MinimumSize = new System.Drawing.Size(250, 250);
338this.Name = "RegisterScript";
339this.ShowInTaskbar = false;
340this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
341this.Text = "Scripts list editor";
342this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RegisterScript_FormClosing);
343this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.RegisterScript_KeyDown);
344((System.ComponentModel.ISupportInitialize)(this.dgvScripts)).EndInit();
345this.groupBox.ResumeLayout(false);
346this.toolStrip1.ResumeLayout(false);
347this.toolStrip1.PerformLayout();
348this.ResumeLayout(false);
349this.PerformLayout();
350
351}
352
353#endregion
354
355private ScriptEditor.TextEditorUI.DataGridViewEx dgvScripts;
356private System.Windows.Forms.GroupBox groupBox;
357private System.Windows.Forms.ToolTip toolTip1;
358private System.Windows.Forms.TextBox DefinetextBox;
359private System.Windows.Forms.CheckBox AllowCheckBox;
360private System.Windows.Forms.Label label2;
361private System.Windows.Forms.ImageList imageList1;
362private System.Windows.Forms.ToolStrip toolStrip1;
363private System.Windows.Forms.ToolStripButton Save_button;
364private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
365private System.Windows.Forms.ToolStripButton Addbutton;
366private System.Windows.Forms.ToolStripButton Delbutton;
367private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
368private System.Windows.Forms.ToolStripButton Upbutton;
369private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
370private System.Windows.Forms.ToolStripButton Downbutton;
371private System.Windows.Forms.ToolStripTextBox FindtextBox;
372private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
373private System.Windows.Forms.ToolStripLabel toolStripLabel1;
374private System.Windows.Forms.DataGridViewTextBoxColumn EntryCol;
375private System.Windows.Forms.DataGridViewButtonColumn cLine;
376private System.Windows.Forms.DataGridViewTextBoxColumn cScript;
377private System.Windows.Forms.DataGridViewTextBoxColumn cDescription;
378private System.Windows.Forms.DataGridViewTextBoxColumn cVars;
379private System.Windows.Forms.DataGridViewTextBoxColumn cName;
380}
381}