This commit is contained in:
kotcheshir73 2022-12-14 10:26:55 +04:00
parent 074fc405ed
commit 7f91c8086f
3 changed files with 368 additions and 359 deletions

View File

@ -265,6 +265,7 @@ namespace ToolsDesktop.Controls
// Открытие через родительский элемент
if (_openMode == ControlOpenMode.Child)
{
dataGridViewList.MultiSelect = true;
panelHeader.Visible = false;
toolStripButtonClose.Visible = false;
toolStripSeparator6.Visible = false;

View File

@ -3,10 +3,6 @@ namespace ToolsDesktop.Controls
{
partial class MainControlViewEntityList
{
/// <summary>
/// Обязательная переменная конструктора.
/// </summary>
protected System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
@ -42,6 +38,8 @@ namespace ToolsDesktop.Controls
this.toolStripButtonRef = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSplitButtonActions = new System.Windows.Forms.ToolStripSplitButton();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButtonSelect = new System.Windows.Forms.ToolStripButton();
this.toolStripButtonClose = new System.Windows.Forms.ToolStripButton();
this.labelTitle = new System.Windows.Forms.Label();
this.panelHeader = new System.Windows.Forms.Panel();
@ -61,8 +59,6 @@ namespace ToolsDesktop.Controls
this.toolStripLabelPageName = new System.Windows.Forms.ToolStripLabel();
this.toolStripComboBoxPageNames = new System.Windows.Forms.ToolStripComboBox();
this.dataGridViewList = new System.Windows.Forms.DataGridView();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButtonSelect = new System.Windows.Forms.ToolStripButton();
this.contextMenuStripDataGrid = new System.Windows.Forms.ContextMenuStrip(this.components);
this.toolStripMenu.SuspendLayout();
this.panelHeader.SuspendLayout();
@ -168,6 +164,21 @@ namespace ToolsDesktop.Controls
this.toolStripSplitButtonActions.Size = new System.Drawing.Size(74, 22);
this.toolStripSplitButtonActions.Text = "Действия";
//
// toolStripSeparator6
//
this.toolStripSeparator6.Name = "toolStripSeparator6";
this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25);
this.toolStripSeparator6.Visible = false;
//
// toolStripButtonSelect
//
this.toolStripButtonSelect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripButtonSelect.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonSelect.Name = "toolStripButtonSelect";
this.toolStripButtonSelect.Size = new System.Drawing.Size(58, 22);
this.toolStripButtonSelect.Text = "Выбрать";
this.toolStripButtonSelect.Visible = false;
//
// toolStripButtonClose
//
this.toolStripButtonClose.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
@ -328,10 +339,11 @@ namespace ToolsDesktop.Controls
//
this.dataGridViewList.AllowUserToAddRows = false;
this.dataGridViewList.AllowUserToDeleteRows = false;
this.dataGridViewList.AllowUserToResizeColumns = false;
this.dataGridViewList.AllowUserToResizeRows = false;
this.dataGridViewList.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
this.dataGridViewList.ContextMenuStrip = this.contextMenuStripDataGrid;
this.dataGridViewList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridViewList.ContextMenuStrip = this.contextMenuStripDataGrid;
this.dataGridViewList.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridViewList.Location = new System.Drawing.Point(0, 142);
this.dataGridViewList.Name = "dataGridViewList";
@ -342,27 +354,12 @@ namespace ToolsDesktop.Controls
this.dataGridViewList.Size = new System.Drawing.Size(1000, 633);
this.dataGridViewList.TabIndex = 3;
//
// toolStripSeparator6
//
this.toolStripSeparator6.Name = "toolStripSeparator6";
this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25);
this.toolStripSeparator6.Visible = false;
//
// toolStripButtonSelect
//
this.toolStripButtonSelect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripButtonSelect.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButtonSelect.Name = "toolStripButtonSelect";
this.toolStripButtonSelect.Size = new System.Drawing.Size(58, 22);
this.toolStripButtonSelect.Text = "Выбрать";
this.toolStripButtonSelect.Visible = false;
//
// contextMenuStripDataGrid
//
this.contextMenuStripDataGrid.Name = "contextMenuStripDataGrid";
this.contextMenuStripDataGrid.Size = new System.Drawing.Size(61, 4);
//
// ControlViewEntityList
// MainControlViewEntityList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@ -371,7 +368,7 @@ namespace ToolsDesktop.Controls
this.Controls.Add(this.panelSearch);
this.Controls.Add(this.toolStripMenu);
this.Controls.Add(this.panelHeader);
this.Name = "ControlViewEntityList";
this.Name = "MainControlViewEntityList";
this.Size = new System.Drawing.Size(1000, 800);
this.toolStripMenu.ResumeLayout(false);
this.toolStripMenu.PerformLayout();
@ -383,6 +380,7 @@ namespace ToolsDesktop.Controls
((System.ComponentModel.ISupportInitialize)(this.dataGridViewList)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
@ -421,5 +419,6 @@ namespace ToolsDesktop.Controls
protected System.Windows.Forms.Panel panelSearchControls;
protected System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
protected System.Windows.Forms.ToolStripButton toolStripButtonSelect;
protected System.ComponentModel.IContainer components;
}
}

View File

@ -57,4 +57,13 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolStripMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolStripFooter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>147, 17</value>
</metadata>
<metadata name="contextMenuStripDataGrid.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>281, 17</value>
</metadata>
</root>