170 lines
8.8 KiB
C#
170 lines
8.8 KiB
C#
|
|
namespace CPSO.Forms
|
|||
|
|
{
|
|||
|
|
partial class FrmSelectEntity
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Required designer variable.
|
|||
|
|
/// </summary>
|
|||
|
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Clean up any resources being used.
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|||
|
|
protected override void Dispose(bool disposing)
|
|||
|
|
{
|
|||
|
|
if (disposing && (components != null))
|
|||
|
|
{
|
|||
|
|
components.Dispose();
|
|||
|
|
}
|
|||
|
|
base.Dispose(disposing);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#region Windows Form 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()
|
|||
|
|
{
|
|||
|
|
this.dgvNames = new System.Windows.Forms.DataGridView();
|
|||
|
|
this.colName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|||
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|||
|
|
this.btnContinue = new System.Windows.Forms.Button();
|
|||
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|||
|
|
this.label1 = new System.Windows.Forms.Label();
|
|||
|
|
this.cbHighlight = new System.Windows.Forms.CheckBox();
|
|||
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvNames)).BeginInit();
|
|||
|
|
this.groupBox1.SuspendLayout();
|
|||
|
|
this.SuspendLayout();
|
|||
|
|
//
|
|||
|
|
// dgvNames
|
|||
|
|
//
|
|||
|
|
this.dgvNames.AllowUserToAddRows = false;
|
|||
|
|
this.dgvNames.AllowUserToDeleteRows = false;
|
|||
|
|
this.dgvNames.AllowUserToResizeRows = false;
|
|||
|
|
this.dgvNames.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.dgvNames.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
|
this.dgvNames.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|||
|
|
this.colName});
|
|||
|
|
this.dgvNames.Location = new System.Drawing.Point(6, 37);
|
|||
|
|
this.dgvNames.Name = "dgvNames";
|
|||
|
|
this.dgvNames.RowHeadersVisible = false;
|
|||
|
|
this.dgvNames.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|||
|
|
this.dgvNames.Size = new System.Drawing.Size(296, 288);
|
|||
|
|
this.dgvNames.TabIndex = 0;
|
|||
|
|
this.dgvNames.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvNames_CellDoubleClick);
|
|||
|
|
this.dgvNames.SelectionChanged += new System.EventHandler(this.dgvNames_SelectionChanged);
|
|||
|
|
//
|
|||
|
|
// colName
|
|||
|
|
//
|
|||
|
|
this.colName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|||
|
|
this.colName.HeaderText = "Name";
|
|||
|
|
this.colName.Name = "colName";
|
|||
|
|
this.colName.ReadOnly = true;
|
|||
|
|
//
|
|||
|
|
// btnCancel
|
|||
|
|
//
|
|||
|
|
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|||
|
|
this.btnCancel.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|||
|
|
this.btnCancel.Location = new System.Drawing.Point(239, 376);
|
|||
|
|
this.btnCancel.Name = "btnCancel";
|
|||
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|||
|
|
this.btnCancel.TabIndex = 1;
|
|||
|
|
this.btnCancel.Text = "Cancel";
|
|||
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|||
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|||
|
|
//
|
|||
|
|
// btnContinue
|
|||
|
|
//
|
|||
|
|
this.btnContinue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|||
|
|
this.btnContinue.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|||
|
|
this.btnContinue.Location = new System.Drawing.Point(158, 376);
|
|||
|
|
this.btnContinue.Name = "btnContinue";
|
|||
|
|
this.btnContinue.Size = new System.Drawing.Size(75, 23);
|
|||
|
|
this.btnContinue.TabIndex = 2;
|
|||
|
|
this.btnContinue.Text = "Continue";
|
|||
|
|
this.btnContinue.UseVisualStyleBackColor = true;
|
|||
|
|
this.btnContinue.Click += new System.EventHandler(this.btnContinue_Click);
|
|||
|
|
//
|
|||
|
|
// groupBox1
|
|||
|
|
//
|
|||
|
|
this.groupBox1.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.groupBox1.Controls.Add(this.label1);
|
|||
|
|
this.groupBox1.Controls.Add(this.cbHighlight);
|
|||
|
|
this.groupBox1.Controls.Add(this.dgvNames);
|
|||
|
|
this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|||
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|||
|
|
this.groupBox1.Name = "groupBox1";
|
|||
|
|
this.groupBox1.Size = new System.Drawing.Size(310, 358);
|
|||
|
|
this.groupBox1.TabIndex = 3;
|
|||
|
|
this.groupBox1.TabStop = false;
|
|||
|
|
this.groupBox1.Text = "Available entities";
|
|||
|
|
//
|
|||
|
|
// label1
|
|||
|
|
//
|
|||
|
|
this.label1.AutoSize = true;
|
|||
|
|
this.label1.Location = new System.Drawing.Point(6, 19);
|
|||
|
|
this.label1.Name = "label1";
|
|||
|
|
this.label1.Size = new System.Drawing.Size(163, 15);
|
|||
|
|
this.label1.TabIndex = 2;
|
|||
|
|
this.label1.Text = "Select one or multiple entities";
|
|||
|
|
//
|
|||
|
|
// cbHighlight
|
|||
|
|
//
|
|||
|
|
this.cbHighlight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|||
|
|
this.cbHighlight.AutoSize = true;
|
|||
|
|
this.cbHighlight.Checked = true;
|
|||
|
|
this.cbHighlight.CheckState = System.Windows.Forms.CheckState.Checked;
|
|||
|
|
this.cbHighlight.Enabled = false;
|
|||
|
|
this.cbHighlight.Location = new System.Drawing.Point(6, 331);
|
|||
|
|
this.cbHighlight.Name = "cbHighlight";
|
|||
|
|
this.cbHighlight.Size = new System.Drawing.Size(188, 19);
|
|||
|
|
this.cbHighlight.TabIndex = 1;
|
|||
|
|
this.cbHighlight.Text = "Highlight selection in viewport";
|
|||
|
|
this.cbHighlight.UseVisualStyleBackColor = true;
|
|||
|
|
this.cbHighlight.CheckedChanged += new System.EventHandler(this.cbHighlight_CheckedChanged);
|
|||
|
|
//
|
|||
|
|
// FrmSelectEntity
|
|||
|
|
//
|
|||
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|||
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
|
this.CancelButton = this.btnCancel;
|
|||
|
|
this.ClientSize = new System.Drawing.Size(334, 411);
|
|||
|
|
this.Controls.Add(this.groupBox1);
|
|||
|
|
this.Controls.Add(this.btnContinue);
|
|||
|
|
this.Controls.Add(this.btnCancel);
|
|||
|
|
this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
|
|||
|
|
this.MaximizeBox = false;
|
|||
|
|
this.MinimizeBox = false;
|
|||
|
|
this.MinimumSize = new System.Drawing.Size(350, 450);
|
|||
|
|
this.Name = "FrmSelectEntity";
|
|||
|
|
this.ShowInTaskbar = false;
|
|||
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|||
|
|
this.Text = "Entity selection";
|
|||
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmSelectEntity_FormClosing);
|
|||
|
|
this.VisibleChanged += new System.EventHandler(this.FrmSelectEntity_VisibleChanged);
|
|||
|
|
((System.ComponentModel.ISupportInitialize)(this.dgvNames)).EndInit();
|
|||
|
|
this.groupBox1.ResumeLayout(false);
|
|||
|
|
this.groupBox1.PerformLayout();
|
|||
|
|
this.ResumeLayout(false);
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
private System.Windows.Forms.DataGridView dgvNames;
|
|||
|
|
private System.Windows.Forms.Button btnCancel;
|
|||
|
|
private System.Windows.Forms.Button btnContinue;
|
|||
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|||
|
|
private System.Windows.Forms.Label label1;
|
|||
|
|
private System.Windows.Forms.CheckBox cbHighlight;
|
|||
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colName;
|
|||
|
|
}
|
|||
|
|
}
|