2010-08-19 15:18:11 +00:00
|
|
|
namespace CodeImp.DoomBuilder.CommentsPanel
|
|
|
|
{
|
|
|
|
partial class CommentsDocker
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Required designer variable.
|
|
|
|
/// </summary>
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
#region Component Designer generated code
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
/// </summary>
|
|
|
|
private void InitializeComponent()
|
|
|
|
{
|
2010-08-20 06:07:56 +00:00
|
|
|
this.components = new System.ComponentModel.Container();
|
2010-08-20 19:15:50 +00:00
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
2010-08-19 15:18:11 +00:00
|
|
|
this.optionsgroup = new System.Windows.Forms.GroupBox();
|
2010-08-20 19:15:50 +00:00
|
|
|
this.clickselects = new System.Windows.Forms.CheckBox();
|
2010-08-19 15:18:11 +00:00
|
|
|
this.filtermode = new System.Windows.Forms.CheckBox();
|
|
|
|
this.grid = new System.Windows.Forms.DataGridView();
|
|
|
|
this.iconcolumn = new System.Windows.Forms.DataGridViewImageColumn();
|
|
|
|
this.textcolumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
2010-08-20 06:07:56 +00:00
|
|
|
this.updatetimer = new System.Windows.Forms.Timer(this.components);
|
2010-08-20 15:04:08 +00:00
|
|
|
this.contextmenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
|
|
this.editobjectitem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
this.selectitem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
this.selectadditiveitem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
|
|
|
this.removecommentsitem = new System.Windows.Forms.ToolStripMenuItem();
|
2010-08-20 19:15:50 +00:00
|
|
|
this.addcomment = new System.Windows.Forms.Button();
|
|
|
|
this.addcommentgroup = new System.Windows.Forms.GroupBox();
|
|
|
|
this.addcommenttext = new System.Windows.Forms.TextBox();
|
|
|
|
this.enabledtimer = new System.Windows.Forms.Timer(this.components);
|
2010-08-19 15:18:11 +00:00
|
|
|
this.optionsgroup.SuspendLayout();
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
|
2010-08-20 15:04:08 +00:00
|
|
|
this.contextmenu.SuspendLayout();
|
2010-08-20 19:15:50 +00:00
|
|
|
this.addcommentgroup.SuspendLayout();
|
2010-08-19 15:18:11 +00:00
|
|
|
this.SuspendLayout();
|
|
|
|
//
|
|
|
|
// optionsgroup
|
|
|
|
//
|
|
|
|
this.optionsgroup.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
2010-08-20 15:04:08 +00:00
|
|
|
this.optionsgroup.Controls.Add(this.clickselects);
|
2010-08-19 15:18:11 +00:00
|
|
|
this.optionsgroup.Controls.Add(this.filtermode);
|
2010-08-20 15:04:08 +00:00
|
|
|
this.optionsgroup.Location = new System.Drawing.Point(3, 561);
|
2010-08-19 15:18:11 +00:00
|
|
|
this.optionsgroup.Name = "optionsgroup";
|
2010-08-20 15:04:08 +00:00
|
|
|
this.optionsgroup.Size = new System.Drawing.Size(244, 93);
|
2010-08-19 15:18:11 +00:00
|
|
|
this.optionsgroup.TabIndex = 1;
|
|
|
|
this.optionsgroup.TabStop = false;
|
2010-08-20 19:15:50 +00:00
|
|
|
//
|
|
|
|
// clickselects
|
|
|
|
//
|
|
|
|
this.clickselects.AutoSize = true;
|
|
|
|
this.clickselects.Location = new System.Drawing.Point(15, 57);
|
|
|
|
this.clickselects.Name = "clickselects";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.clickselects.Size = new System.Drawing.Size(96, 17);
|
2010-08-20 19:15:50 +00:00
|
|
|
this.clickselects.TabIndex = 1;
|
|
|
|
this.clickselects.Text = "Select on click";
|
|
|
|
this.clickselects.UseVisualStyleBackColor = true;
|
|
|
|
this.clickselects.CheckedChanged += new System.EventHandler(this.clickselects_CheckedChanged);
|
2010-08-19 15:18:11 +00:00
|
|
|
//
|
|
|
|
// filtermode
|
|
|
|
//
|
|
|
|
this.filtermode.AutoSize = true;
|
2010-08-20 19:15:50 +00:00
|
|
|
this.filtermode.Location = new System.Drawing.Point(15, 25);
|
2010-08-19 15:18:11 +00:00
|
|
|
this.filtermode.Name = "filtermode";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.filtermode.Size = new System.Drawing.Size(168, 17);
|
2010-08-19 15:18:11 +00:00
|
|
|
this.filtermode.TabIndex = 0;
|
2010-08-20 19:15:50 +00:00
|
|
|
this.filtermode.Text = "Comments from this mode only";
|
2010-08-19 15:18:11 +00:00
|
|
|
this.filtermode.UseVisualStyleBackColor = true;
|
2010-08-20 15:04:08 +00:00
|
|
|
this.filtermode.CheckedChanged += new System.EventHandler(this.filtermode_CheckedChanged);
|
2010-08-19 15:18:11 +00:00
|
|
|
//
|
|
|
|
// grid
|
|
|
|
//
|
|
|
|
this.grid.AllowUserToAddRows = false;
|
|
|
|
this.grid.AllowUserToDeleteRows = false;
|
|
|
|
this.grid.AllowUserToResizeColumns = false;
|
|
|
|
this.grid.AllowUserToResizeRows = false;
|
|
|
|
this.grid.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.grid.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
|
|
this.grid.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
|
|
|
|
this.grid.BackgroundColor = System.Drawing.SystemColors.Window;
|
|
|
|
this.grid.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
|
this.grid.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
|
|
|
|
this.grid.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText;
|
|
|
|
this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
this.grid.ColumnHeadersVisible = false;
|
|
|
|
this.grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
|
this.iconcolumn,
|
|
|
|
this.textcolumn});
|
|
|
|
this.grid.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
|
|
|
this.grid.Location = new System.Drawing.Point(0, 0);
|
|
|
|
this.grid.Name = "grid";
|
|
|
|
this.grid.ReadOnly = true;
|
|
|
|
this.grid.RowHeadersVisible = false;
|
2010-08-20 19:15:50 +00:00
|
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopLeft;
|
|
|
|
dataGridViewCellStyle1.Padding = new System.Windows.Forms.Padding(2, 4, 2, 5);
|
|
|
|
this.grid.RowsDefaultCellStyle = dataGridViewCellStyle1;
|
2010-08-19 15:18:11 +00:00
|
|
|
this.grid.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
|
|
this.grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
this.grid.ShowCellErrors = false;
|
|
|
|
this.grid.ShowCellToolTips = false;
|
|
|
|
this.grid.ShowEditingIcon = false;
|
|
|
|
this.grid.ShowRowErrors = false;
|
2010-08-20 19:15:50 +00:00
|
|
|
this.grid.Size = new System.Drawing.Size(250, 465);
|
2010-08-19 15:18:11 +00:00
|
|
|
this.grid.StandardTab = true;
|
|
|
|
this.grid.TabIndex = 6;
|
2010-08-20 15:04:08 +00:00
|
|
|
this.grid.MouseDown += new System.Windows.Forms.MouseEventHandler(this.grid_MouseDown);
|
2010-08-20 19:15:50 +00:00
|
|
|
this.grid.Leave += new System.EventHandler(this.grid_Leave);
|
2010-08-20 15:04:08 +00:00
|
|
|
this.grid.MouseUp += new System.Windows.Forms.MouseEventHandler(this.grid_MouseUp);
|
2010-08-19 15:18:11 +00:00
|
|
|
//
|
|
|
|
// iconcolumn
|
|
|
|
//
|
|
|
|
this.iconcolumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
|
|
this.iconcolumn.HeaderText = "Icon";
|
|
|
|
this.iconcolumn.MinimumWidth = 20;
|
|
|
|
this.iconcolumn.Name = "iconcolumn";
|
|
|
|
this.iconcolumn.ReadOnly = true;
|
|
|
|
this.iconcolumn.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
|
this.iconcolumn.Width = 24;
|
|
|
|
//
|
|
|
|
// textcolumn
|
|
|
|
//
|
|
|
|
this.textcolumn.HeaderText = "Text";
|
|
|
|
this.textcolumn.Name = "textcolumn";
|
|
|
|
this.textcolumn.ReadOnly = true;
|
|
|
|
//
|
2010-08-20 06:07:56 +00:00
|
|
|
// updatetimer
|
2010-08-19 15:18:11 +00:00
|
|
|
//
|
2010-08-20 06:07:56 +00:00
|
|
|
this.updatetimer.Interval = 2000;
|
|
|
|
this.updatetimer.Tick += new System.EventHandler(this.updatetimer_Tick);
|
2010-08-19 15:18:11 +00:00
|
|
|
//
|
2010-08-20 15:04:08 +00:00
|
|
|
// contextmenu
|
|
|
|
//
|
|
|
|
this.contextmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
this.editobjectitem,
|
|
|
|
this.toolStripMenuItem1,
|
|
|
|
this.selectitem,
|
|
|
|
this.selectadditiveitem,
|
|
|
|
this.toolStripMenuItem2,
|
|
|
|
this.removecommentsitem});
|
|
|
|
this.contextmenu.Name = "contextMenuStrip1";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.contextmenu.Size = new System.Drawing.Size(175, 116);
|
2010-08-20 15:04:08 +00:00
|
|
|
this.contextmenu.Closed += new System.Windows.Forms.ToolStripDropDownClosedEventHandler(this.contextmenu_Closed);
|
|
|
|
//
|
|
|
|
// editobjectitem
|
|
|
|
//
|
|
|
|
this.editobjectitem.Name = "editobjectitem";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.editobjectitem.Size = new System.Drawing.Size(174, 22);
|
2010-08-20 15:04:08 +00:00
|
|
|
this.editobjectitem.Text = "Edit Objects";
|
|
|
|
this.editobjectitem.Click += new System.EventHandler(this.editobjectitem_Click);
|
|
|
|
//
|
|
|
|
// toolStripMenuItem1
|
|
|
|
//
|
|
|
|
this.toolStripMenuItem1.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
|
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(171, 6);
|
2010-08-20 15:04:08 +00:00
|
|
|
//
|
|
|
|
// selectitem
|
|
|
|
//
|
|
|
|
this.selectitem.Name = "selectitem";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.selectitem.Size = new System.Drawing.Size(174, 22);
|
2010-08-20 15:04:08 +00:00
|
|
|
this.selectitem.Text = "Select";
|
|
|
|
this.selectitem.Click += new System.EventHandler(this.selectitem_Click);
|
|
|
|
//
|
|
|
|
// selectadditiveitem
|
|
|
|
//
|
|
|
|
this.selectadditiveitem.Name = "selectadditiveitem";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.selectadditiveitem.Size = new System.Drawing.Size(174, 22);
|
2010-08-20 15:04:08 +00:00
|
|
|
this.selectadditiveitem.Text = "Select Additive";
|
|
|
|
this.selectadditiveitem.Click += new System.EventHandler(this.selectadditiveitem_Click);
|
|
|
|
//
|
|
|
|
// toolStripMenuItem2
|
|
|
|
//
|
|
|
|
this.toolStripMenuItem2.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
|
|
|
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.toolStripMenuItem2.Size = new System.Drawing.Size(171, 6);
|
2010-08-20 15:04:08 +00:00
|
|
|
//
|
|
|
|
// removecommentsitem
|
|
|
|
//
|
|
|
|
this.removecommentsitem.Name = "removecommentsitem";
|
2015-01-06 11:49:06 +00:00
|
|
|
this.removecommentsitem.Size = new System.Drawing.Size(174, 22);
|
2010-08-20 15:04:08 +00:00
|
|
|
this.removecommentsitem.Text = "Remove Comment";
|
|
|
|
this.removecommentsitem.Click += new System.EventHandler(this.removecommentsitem_Click);
|
|
|
|
//
|
2010-08-20 19:15:50 +00:00
|
|
|
// addcomment
|
2010-08-20 15:04:08 +00:00
|
|
|
//
|
2010-08-20 19:15:50 +00:00
|
|
|
this.addcomment.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.addcomment.Location = new System.Drawing.Point(6, 45);
|
|
|
|
this.addcomment.Name = "addcomment";
|
|
|
|
this.addcomment.Size = new System.Drawing.Size(232, 31);
|
|
|
|
this.addcomment.TabIndex = 7;
|
|
|
|
this.addcomment.Text = "Set Selection Comment";
|
|
|
|
this.addcomment.UseVisualStyleBackColor = true;
|
|
|
|
this.addcomment.Click += new System.EventHandler(this.addcomment_Click);
|
|
|
|
//
|
|
|
|
// addcommentgroup
|
|
|
|
//
|
|
|
|
this.addcommentgroup.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.addcommentgroup.Controls.Add(this.addcommenttext);
|
|
|
|
this.addcommentgroup.Controls.Add(this.addcomment);
|
|
|
|
this.addcommentgroup.Location = new System.Drawing.Point(3, 471);
|
|
|
|
this.addcommentgroup.Name = "addcommentgroup";
|
|
|
|
this.addcommentgroup.Size = new System.Drawing.Size(244, 84);
|
|
|
|
this.addcommentgroup.TabIndex = 8;
|
|
|
|
this.addcommentgroup.TabStop = false;
|
|
|
|
//
|
|
|
|
// addcommenttext
|
|
|
|
//
|
|
|
|
this.addcommenttext.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
this.addcommenttext.Location = new System.Drawing.Point(6, 19);
|
|
|
|
this.addcommenttext.Name = "addcommenttext";
|
|
|
|
this.addcommenttext.Size = new System.Drawing.Size(232, 20);
|
|
|
|
this.addcommenttext.TabIndex = 8;
|
|
|
|
this.addcommenttext.KeyDown += new System.Windows.Forms.KeyEventHandler(this.addcommenttext_KeyDown);
|
|
|
|
//
|
|
|
|
// enabledtimer
|
|
|
|
//
|
|
|
|
this.enabledtimer.Interval = 333;
|
|
|
|
this.enabledtimer.Tick += new System.EventHandler(this.enabledtimer_Tick);
|
2010-08-20 15:04:08 +00:00
|
|
|
//
|
2010-08-19 15:18:11 +00:00
|
|
|
// CommentsDocker
|
|
|
|
//
|
2010-08-20 06:07:56 +00:00
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
2010-08-20 19:15:50 +00:00
|
|
|
this.Controls.Add(this.addcommentgroup);
|
2010-08-19 15:18:11 +00:00
|
|
|
this.Controls.Add(this.grid);
|
|
|
|
this.Controls.Add(this.optionsgroup);
|
|
|
|
this.Name = "CommentsDocker";
|
|
|
|
this.Size = new System.Drawing.Size(250, 657);
|
|
|
|
this.optionsgroup.ResumeLayout(false);
|
|
|
|
this.optionsgroup.PerformLayout();
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
|
2010-08-20 15:04:08 +00:00
|
|
|
this.contextmenu.ResumeLayout(false);
|
2010-08-20 19:15:50 +00:00
|
|
|
this.addcommentgroup.ResumeLayout(false);
|
|
|
|
this.addcommentgroup.PerformLayout();
|
2010-08-19 15:18:11 +00:00
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
private System.Windows.Forms.GroupBox optionsgroup;
|
|
|
|
private System.Windows.Forms.CheckBox filtermode;
|
|
|
|
private System.Windows.Forms.DataGridView grid;
|
|
|
|
private System.Windows.Forms.DataGridViewImageColumn iconcolumn;
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn textcolumn;
|
2010-08-20 06:07:56 +00:00
|
|
|
private System.Windows.Forms.Timer updatetimer;
|
2010-08-20 15:04:08 +00:00
|
|
|
private System.Windows.Forms.ContextMenuStrip contextmenu;
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem selectitem;
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem selectadditiveitem;
|
|
|
|
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem removecommentsitem;
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem editobjectitem;
|
|
|
|
private System.Windows.Forms.CheckBox clickselects;
|
2010-08-20 19:15:50 +00:00
|
|
|
private System.Windows.Forms.Button addcomment;
|
|
|
|
private System.Windows.Forms.GroupBox addcommentgroup;
|
|
|
|
private System.Windows.Forms.TextBox addcommenttext;
|
|
|
|
private System.Windows.Forms.Timer enabledtimer;
|
2010-08-19 15:18:11 +00:00
|
|
|
}
|
|
|
|
}
|