From 2c64975fb178ab9af41080cc6e5311520e78e7e9 Mon Sep 17 00:00:00 2001 From: kotcheshir73 Date: Thu, 1 Apr 2021 21:37:07 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=BD=D0=BE=D1=81=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=BD=D1=82=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GenericControlEntityList.Designer.cs | 382 ------------------ .../MainControlViewEntityList.Designer.cs | 374 ++++++++++++++++- 2 files changed, 373 insertions(+), 383 deletions(-) diff --git a/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityList.Designer.cs b/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityList.Designer.cs index 71998d3..e301259 100644 --- a/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityList.Designer.cs +++ b/DepartmentPortal/Common/DesktopTools/MainControls/GenericControlEntityList.Designer.cs @@ -23,390 +23,8 @@ /// private void InitializeComponent() { - this.toolStripMenu = new System.Windows.Forms.ToolStrip(); - this.toolStripButtonAdd = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButtonUpd = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButtonDel = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButtonSearch = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripButtonRef = new System.Windows.Forms.ToolStripButton(); - this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripSplitButtonActions = new System.Windows.Forms.ToolStripSplitButton(); - this.toolStripButtonClose = new System.Windows.Forms.ToolStripButton(); - this.labelTitle = new System.Windows.Forms.Label(); - this.panelHeader = new System.Windows.Forms.Panel(); - this.panelSearch = new System.Windows.Forms.Panel(); - this.panelSearchControls = new System.Windows.Forms.Panel(); - this.panelSearchActions = new System.Windows.Forms.Panel(); - this.buttonSearch = new System.Windows.Forms.Button(); - this.buttonCancelSearch = new System.Windows.Forms.Button(); - this.toolStripFooter = new System.Windows.Forms.ToolStrip(); - this.toolStripButtonPrev = new System.Windows.Forms.ToolStripButton(); - this.toolStripLabelPage = new System.Windows.Forms.ToolStripLabel(); - this.toolStripTextBoxPage = new System.Windows.Forms.ToolStripTextBox(); - this.toolStripLabelCountPages = new System.Windows.Forms.ToolStripLabel(); - this.toolStripLabelCountRecords = new System.Windows.Forms.ToolStripLabel(); - this.toolStripTextBoxCountRecords = new System.Windows.Forms.ToolStripTextBox(); - this.toolStripButtonNext = new System.Windows.Forms.ToolStripButton(); - 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.toolStripMenu.SuspendLayout(); - this.panelHeader.SuspendLayout(); - this.panelSearch.SuspendLayout(); - this.panelSearchActions.SuspendLayout(); - this.toolStripFooter.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridViewList)).BeginInit(); - this.SuspendLayout(); - // - // toolStripMenu - // - this.toolStripMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripButtonAdd, - this.toolStripSeparator1, - this.toolStripButtonUpd, - this.toolStripSeparator2, - this.toolStripButtonDel, - this.toolStripSeparator3, - this.toolStripButtonSearch, - this.toolStripSeparator4, - this.toolStripButtonRef, - this.toolStripSeparator5, - this.toolStripSplitButtonActions, - this.toolStripSeparator6, - this.toolStripButtonSelect, - this.toolStripButtonClose}); - this.toolStripMenu.Location = new System.Drawing.Point(0, 30); - this.toolStripMenu.Name = "toolStripMenu"; - this.toolStripMenu.Size = new System.Drawing.Size(1000, 25); - this.toolStripMenu.TabIndex = 0; - this.toolStripMenu.Text = "Главное меню"; - // - // toolStripButtonAdd - // - this.toolStripButtonAdd.Image = global::DesktopTools.Properties.Resources.Add; - this.toolStripButtonAdd.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButtonAdd.Name = "toolStripButtonAdd"; - this.toolStripButtonAdd.Size = new System.Drawing.Size(79, 22); - this.toolStripButtonAdd.Text = "Добавить"; - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); - // - // toolStripButtonUpd - // - this.toolStripButtonUpd.Image = global::DesktopTools.Properties.Resources.Upd; - this.toolStripButtonUpd.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButtonUpd.Name = "toolStripButtonUpd"; - this.toolStripButtonUpd.Size = new System.Drawing.Size(81, 22); - this.toolStripButtonUpd.Text = "Изменить"; - // - // toolStripSeparator2 - // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); - // - // toolStripButtonDel - // - this.toolStripButtonDel.Image = global::DesktopTools.Properties.Resources.Del; - this.toolStripButtonDel.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButtonDel.Name = "toolStripButtonDel"; - this.toolStripButtonDel.Size = new System.Drawing.Size(71, 22); - this.toolStripButtonDel.Text = "Удалить"; - // - // toolStripSeparator3 - // - this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); - // - // toolStripButtonSearch - // - this.toolStripButtonSearch.Image = global::DesktopTools.Properties.Resources.Search; - this.toolStripButtonSearch.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButtonSearch.Name = "toolStripButtonSearch"; - this.toolStripButtonSearch.Size = new System.Drawing.Size(62, 22); - this.toolStripButtonSearch.Text = "Поиск"; - // - // toolStripSeparator4 - // - this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); - // - // toolStripButtonRef - // - this.toolStripButtonRef.Image = global::DesktopTools.Properties.Resources.Ref; - this.toolStripButtonRef.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButtonRef.Name = "toolStripButtonRef"; - this.toolStripButtonRef.Size = new System.Drawing.Size(81, 22); - this.toolStripButtonRef.Text = "Обновить"; - // - // toolStripSeparator5 - // - this.toolStripSeparator5.Name = "toolStripSeparator5"; - this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); - // - // toolStripSplitButtonActions - // - this.toolStripSplitButtonActions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.toolStripSplitButtonActions.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripSplitButtonActions.Name = "toolStripSplitButtonActions"; - this.toolStripSplitButtonActions.Size = new System.Drawing.Size(74, 22); - this.toolStripSplitButtonActions.Text = "Действия"; - // - // toolStripButtonClose - // - this.toolStripButtonClose.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.toolStripButtonClose.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripButtonClose.Image = global::DesktopTools.Properties.Resources.Close; - this.toolStripButtonClose.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButtonClose.Name = "toolStripButtonClose"; - this.toolStripButtonClose.Size = new System.Drawing.Size(23, 22); - this.toolStripButtonClose.Text = "Закрть"; - // - // labelTitle - // - this.labelTitle.Dock = System.Windows.Forms.DockStyle.Fill; - this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); - this.labelTitle.Location = new System.Drawing.Point(0, 0); - this.labelTitle.Name = "labelTitle"; - this.labelTitle.Size = new System.Drawing.Size(1000, 30); - this.labelTitle.TabIndex = 0; - this.labelTitle.Text = "Сущность"; - this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panelHeader - // - this.panelHeader.Controls.Add(this.labelTitle); - this.panelHeader.Dock = System.Windows.Forms.DockStyle.Top; - this.panelHeader.Location = new System.Drawing.Point(0, 0); - this.panelHeader.Name = "panelHeader"; - this.panelHeader.Size = new System.Drawing.Size(1000, 30); - this.panelHeader.TabIndex = 1; - // - // panelSearch - // - this.panelSearch.Controls.Add(this.panelSearchControls); - this.panelSearch.Controls.Add(this.panelSearchActions); - this.panelSearch.Dock = System.Windows.Forms.DockStyle.Top; - this.panelSearch.Location = new System.Drawing.Point(0, 55); - this.panelSearch.Name = "panelSearch"; - this.panelSearch.Size = new System.Drawing.Size(1000, 87); - this.panelSearch.TabIndex = 1; - this.panelSearch.Visible = false; - // - // panelSearchControls - // - this.panelSearchControls.Dock = System.Windows.Forms.DockStyle.Fill; - this.panelSearchControls.Location = new System.Drawing.Point(118, 0); - this.panelSearchControls.Name = "panelSearchControls"; - this.panelSearchControls.Size = new System.Drawing.Size(882, 87); - this.panelSearchControls.TabIndex = 1; - // - // panelSearchActions - // - this.panelSearchActions.Controls.Add(this.buttonSearch); - this.panelSearchActions.Controls.Add(this.buttonCancelSearch); - this.panelSearchActions.Dock = System.Windows.Forms.DockStyle.Left; - this.panelSearchActions.Location = new System.Drawing.Point(0, 0); - this.panelSearchActions.Name = "panelSearchActions"; - this.panelSearchActions.Size = new System.Drawing.Size(118, 87); - this.panelSearchActions.TabIndex = 0; - // - // buttonSearch - // - this.buttonSearch.Location = new System.Drawing.Point(13, 14); - this.buttonSearch.Name = "buttonSearch"; - this.buttonSearch.Size = new System.Drawing.Size(89, 24); - this.buttonSearch.TabIndex = 0; - this.buttonSearch.Text = "Запуск"; - this.buttonSearch.UseVisualStyleBackColor = true; - // - // buttonCancelSearch - // - this.buttonCancelSearch.Location = new System.Drawing.Point(13, 48); - this.buttonCancelSearch.Name = "buttonCancelSearch"; - this.buttonCancelSearch.Size = new System.Drawing.Size(89, 24); - this.buttonCancelSearch.TabIndex = 1; - this.buttonCancelSearch.Text = "Скрыть"; - this.buttonCancelSearch.UseVisualStyleBackColor = true; - // - // toolStripFooter - // - this.toolStripFooter.Dock = System.Windows.Forms.DockStyle.Bottom; - this.toolStripFooter.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripButtonPrev, - this.toolStripLabelPage, - this.toolStripTextBoxPage, - this.toolStripLabelCountPages, - this.toolStripLabelCountRecords, - this.toolStripTextBoxCountRecords, - this.toolStripButtonNext, - this.toolStripLabelPageName, - this.toolStripComboBoxPageNames}); - this.toolStripFooter.Location = new System.Drawing.Point(0, 775); - this.toolStripFooter.Name = "toolStripFooter"; - this.toolStripFooter.Size = new System.Drawing.Size(1000, 25); - this.toolStripFooter.TabIndex = 2; - this.toolStripFooter.Text = "Пагинация"; - // - // toolStripButtonPrev - // - this.toolStripButtonPrev.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripButtonPrev.Image = global::DesktopTools.Properties.Resources.Left; - this.toolStripButtonPrev.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButtonPrev.Name = "toolStripButtonPrev"; - this.toolStripButtonPrev.Size = new System.Drawing.Size(23, 22); - this.toolStripButtonPrev.Text = "Назад"; - // - // toolStripLabelPage - // - this.toolStripLabelPage.Name = "toolStripLabelPage"; - this.toolStripLabelPage.Size = new System.Drawing.Size(60, 22); - this.toolStripLabelPage.Text = "Страница"; - // - // toolStripTextBoxPage - // - this.toolStripTextBoxPage.Name = "toolStripTextBoxPage"; - this.toolStripTextBoxPage.Size = new System.Drawing.Size(30, 25); - this.toolStripTextBoxPage.Text = "1"; - // - // toolStripLabelCountPages - // - this.toolStripLabelCountPages.Name = "toolStripLabelCountPages"; - this.toolStripLabelCountPages.Size = new System.Drawing.Size(28, 22); - this.toolStripLabelCountPages.Text = "из 0"; - // - // toolStripLabelCountRecords - // - this.toolStripLabelCountRecords.Name = "toolStripLabelCountRecords"; - this.toolStripLabelCountRecords.Size = new System.Drawing.Size(21, 22); - this.toolStripLabelCountRecords.Text = "по"; - // - // toolStripTextBoxCountRecords - // - this.toolStripTextBoxCountRecords.Name = "toolStripTextBoxCountRecords"; - this.toolStripTextBoxCountRecords.Size = new System.Drawing.Size(30, 25); - this.toolStripTextBoxCountRecords.Text = "1"; - // - // toolStripButtonNext - // - this.toolStripButtonNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripButtonNext.Image = global::DesktopTools.Properties.Resources.Right; - this.toolStripButtonNext.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButtonNext.Name = "toolStripButtonNext"; - this.toolStripButtonNext.Size = new System.Drawing.Size(23, 22); - this.toolStripButtonNext.Text = "Вперед"; - // - // toolStripLabelPageName - // - this.toolStripLabelPageName.Name = "toolStripLabelPageName"; - this.toolStripLabelPageName.Size = new System.Drawing.Size(62, 22); - this.toolStripLabelPageName.Text = "Параметр"; - // - // toolStripComboBoxPageNames - // - this.toolStripComboBoxPageNames.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.toolStripComboBoxPageNames.Name = "toolStripComboBoxPageNames"; - this.toolStripComboBoxPageNames.Size = new System.Drawing.Size(200, 25); - // - // dataGridViewList - // - this.dataGridViewList.AllowUserToAddRows = false; - this.dataGridViewList.AllowUserToDeleteRows = false; - this.dataGridViewList.AllowUserToResizeRows = false; - this.dataGridViewList.BackgroundColor = System.Drawing.SystemColors.ControlLightLight; - this.dataGridViewList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dataGridViewList.Dock = System.Windows.Forms.DockStyle.Fill; - this.dataGridViewList.Location = new System.Drawing.Point(0, 142); - this.dataGridViewList.Name = "dataGridViewList"; - this.dataGridViewList.ReadOnly = true; - this.dataGridViewList.RowHeadersVisible = false; - this.dataGridViewList.RowTemplate.Height = 25; - this.dataGridViewList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - 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; - // - // GenericControlEntityList - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.dataGridViewList); - this.Controls.Add(this.toolStripFooter); - this.Controls.Add(this.panelSearch); - this.Controls.Add(this.toolStripMenu); - this.Controls.Add(this.panelHeader); - this.Name = "GenericControlEntityList"; - this.Size = new System.Drawing.Size(1000, 800); - this.toolStripMenu.ResumeLayout(false); - this.toolStripMenu.PerformLayout(); - this.panelHeader.ResumeLayout(false); - this.panelSearch.ResumeLayout(false); - this.panelSearchActions.ResumeLayout(false); - this.toolStripFooter.ResumeLayout(false); - this.toolStripFooter.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridViewList)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - } #endregion - - protected System.Windows.Forms.ToolStrip toolStripMenu; - protected System.Windows.Forms.ToolStripButton toolStripButtonAdd; - protected System.Windows.Forms.ToolStripSeparator toolStripSeparator1; - protected System.Windows.Forms.ToolStripButton toolStripButtonUpd; - protected System.Windows.Forms.ToolStripSeparator toolStripSeparator2; - protected System.Windows.Forms.ToolStripButton toolStripButtonDel; - protected System.Windows.Forms.ToolStripSeparator toolStripSeparator3; - protected System.Windows.Forms.ToolStripButton toolStripButtonSearch; - protected System.Windows.Forms.ToolStripSeparator toolStripSeparator4; - protected System.Windows.Forms.ToolStripButton toolStripButtonRef; - protected System.Windows.Forms.ToolStripSeparator toolStripSeparator5; - protected System.Windows.Forms.ToolStripSplitButton toolStripSplitButtonActions; - protected System.Windows.Forms.ToolStripButton toolStripButtonClose; - protected System.Windows.Forms.Label labelTitle; - protected System.Windows.Forms.Panel panelHeader; - protected System.Windows.Forms.Panel panelSearch; - protected System.Windows.Forms.Button buttonCancelSearch; - protected System.Windows.Forms.Button buttonSearch; - protected System.Windows.Forms.ToolStrip toolStripFooter; - protected System.Windows.Forms.ToolStripButton toolStripButtonPrev; - protected System.Windows.Forms.ToolStripLabel toolStripLabelPage; - protected System.Windows.Forms.ToolStripTextBox toolStripTextBoxPage; - protected System.Windows.Forms.ToolStripLabel toolStripLabelCountPages; - protected System.Windows.Forms.ToolStripLabel toolStripLabelCountRecords; - protected System.Windows.Forms.ToolStripTextBox toolStripTextBoxCountRecords; - protected System.Windows.Forms.ToolStripButton toolStripButtonNext; - protected System.Windows.Forms.ToolStripLabel toolStripLabelPageName; - protected System.Windows.Forms.ToolStripComboBox toolStripComboBoxPageNames; - protected System.Windows.Forms.ContextMenuStrip contextMenuStripDataGrid; - protected System.Windows.Forms.DataGridView dataGridViewList; - private System.Windows.Forms.Panel panelSearchActions; - protected System.Windows.Forms.Panel panelSearchControls; - private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; - private System.Windows.Forms.ToolStripButton toolStripButtonSelect; } } diff --git a/DepartmentPortal/Common/DesktopTools/MainControls/MainControlViewEntityList.Designer.cs b/DepartmentPortal/Common/DesktopTools/MainControls/MainControlViewEntityList.Designer.cs index fafb1d7..dd9145c 100644 --- a/DepartmentPortal/Common/DesktopTools/MainControls/MainControlViewEntityList.Designer.cs +++ b/DepartmentPortal/Common/DesktopTools/MainControls/MainControlViewEntityList.Designer.cs @@ -29,17 +29,389 @@ namespace DesktopTools.Controls /// private void InitializeComponent() { + this.toolStripMenu = new System.Windows.Forms.ToolStrip(); + this.toolStripButtonAdd = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButtonUpd = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButtonDel = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButtonSearch = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripButtonRef = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripSplitButtonActions = new System.Windows.Forms.ToolStripSplitButton(); + this.toolStripButtonClose = new System.Windows.Forms.ToolStripButton(); + this.labelTitle = new System.Windows.Forms.Label(); + this.panelHeader = new System.Windows.Forms.Panel(); + this.panelSearch = new System.Windows.Forms.Panel(); + this.panelSearchControls = new System.Windows.Forms.Panel(); + this.panelSearchActions = new System.Windows.Forms.Panel(); + this.buttonSearch = new System.Windows.Forms.Button(); + this.buttonCancelSearch = new System.Windows.Forms.Button(); + this.toolStripFooter = new System.Windows.Forms.ToolStrip(); + this.toolStripButtonPrev = new System.Windows.Forms.ToolStripButton(); + this.toolStripLabelPage = new System.Windows.Forms.ToolStripLabel(); + this.toolStripTextBoxPage = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripLabelCountPages = new System.Windows.Forms.ToolStripLabel(); + this.toolStripLabelCountRecords = new System.Windows.Forms.ToolStripLabel(); + this.toolStripTextBoxCountRecords = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripButtonNext = new System.Windows.Forms.ToolStripButton(); + 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.toolStripMenu.SuspendLayout(); + this.panelHeader.SuspendLayout(); + this.panelSearch.SuspendLayout(); + this.panelSearchActions.SuspendLayout(); + this.toolStripFooter.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridViewList)).BeginInit(); this.SuspendLayout(); // + // toolStripMenu + // + this.toolStripMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripButtonAdd, + this.toolStripSeparator1, + this.toolStripButtonUpd, + this.toolStripSeparator2, + this.toolStripButtonDel, + this.toolStripSeparator3, + this.toolStripButtonSearch, + this.toolStripSeparator4, + this.toolStripButtonRef, + this.toolStripSeparator5, + this.toolStripSplitButtonActions, + this.toolStripSeparator6, + this.toolStripButtonSelect, + this.toolStripButtonClose}); + this.toolStripMenu.Location = new System.Drawing.Point(0, 30); + this.toolStripMenu.Name = "toolStripMenu"; + this.toolStripMenu.Size = new System.Drawing.Size(1000, 25); + this.toolStripMenu.TabIndex = 0; + this.toolStripMenu.Text = "Главное меню"; + // + // toolStripButtonAdd + // + this.toolStripButtonAdd.Image = global::DesktopTools.Properties.Resources.Add; + this.toolStripButtonAdd.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButtonAdd.Name = "toolStripButtonAdd"; + this.toolStripButtonAdd.Size = new System.Drawing.Size(79, 22); + this.toolStripButtonAdd.Text = "Добавить"; + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); + // + // toolStripButtonUpd + // + this.toolStripButtonUpd.Image = global::DesktopTools.Properties.Resources.Upd; + this.toolStripButtonUpd.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButtonUpd.Name = "toolStripButtonUpd"; + this.toolStripButtonUpd.Size = new System.Drawing.Size(81, 22); + this.toolStripButtonUpd.Text = "Изменить"; + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); + // + // toolStripButtonDel + // + this.toolStripButtonDel.Image = global::DesktopTools.Properties.Resources.Del; + this.toolStripButtonDel.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButtonDel.Name = "toolStripButtonDel"; + this.toolStripButtonDel.Size = new System.Drawing.Size(71, 22); + this.toolStripButtonDel.Text = "Удалить"; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); + // + // toolStripButtonSearch + // + this.toolStripButtonSearch.Image = global::DesktopTools.Properties.Resources.Search; + this.toolStripButtonSearch.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButtonSearch.Name = "toolStripButtonSearch"; + this.toolStripButtonSearch.Size = new System.Drawing.Size(62, 22); + this.toolStripButtonSearch.Text = "Поиск"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); + // + // toolStripButtonRef + // + this.toolStripButtonRef.Image = global::DesktopTools.Properties.Resources.Ref; + this.toolStripButtonRef.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButtonRef.Name = "toolStripButtonRef"; + this.toolStripButtonRef.Size = new System.Drawing.Size(81, 22); + this.toolStripButtonRef.Text = "Обновить"; + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); + // + // toolStripSplitButtonActions + // + this.toolStripSplitButtonActions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.toolStripSplitButtonActions.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripSplitButtonActions.Name = "toolStripSplitButtonActions"; + this.toolStripSplitButtonActions.Size = new System.Drawing.Size(74, 22); + this.toolStripSplitButtonActions.Text = "Действия"; + // + // toolStripButtonClose + // + this.toolStripButtonClose.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripButtonClose.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButtonClose.Image = global::DesktopTools.Properties.Resources.Close; + this.toolStripButtonClose.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButtonClose.Name = "toolStripButtonClose"; + this.toolStripButtonClose.Size = new System.Drawing.Size(23, 22); + this.toolStripButtonClose.Text = "Закрть"; + // + // labelTitle + // + this.labelTitle.Dock = System.Windows.Forms.DockStyle.Fill; + this.labelTitle.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point); + this.labelTitle.Location = new System.Drawing.Point(0, 0); + this.labelTitle.Name = "labelTitle"; + this.labelTitle.Size = new System.Drawing.Size(1000, 30); + this.labelTitle.TabIndex = 0; + this.labelTitle.Text = "Сущность"; + this.labelTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // panelHeader + // + this.panelHeader.Controls.Add(this.labelTitle); + this.panelHeader.Dock = System.Windows.Forms.DockStyle.Top; + this.panelHeader.Location = new System.Drawing.Point(0, 0); + this.panelHeader.Name = "panelHeader"; + this.panelHeader.Size = new System.Drawing.Size(1000, 30); + this.panelHeader.TabIndex = 1; + // + // panelSearch + // + this.panelSearch.Controls.Add(this.panelSearchControls); + this.panelSearch.Controls.Add(this.panelSearchActions); + this.panelSearch.Dock = System.Windows.Forms.DockStyle.Top; + this.panelSearch.Location = new System.Drawing.Point(0, 55); + this.panelSearch.Name = "panelSearch"; + this.panelSearch.Size = new System.Drawing.Size(1000, 87); + this.panelSearch.TabIndex = 1; + this.panelSearch.Visible = false; + // + // panelSearchControls + // + this.panelSearchControls.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelSearchControls.Location = new System.Drawing.Point(118, 0); + this.panelSearchControls.Name = "panelSearchControls"; + this.panelSearchControls.Size = new System.Drawing.Size(882, 87); + this.panelSearchControls.TabIndex = 1; + // + // panelSearchActions + // + this.panelSearchActions.Controls.Add(this.buttonSearch); + this.panelSearchActions.Controls.Add(this.buttonCancelSearch); + this.panelSearchActions.Dock = System.Windows.Forms.DockStyle.Left; + this.panelSearchActions.Location = new System.Drawing.Point(0, 0); + this.panelSearchActions.Name = "panelSearchActions"; + this.panelSearchActions.Size = new System.Drawing.Size(118, 87); + this.panelSearchActions.TabIndex = 0; + // + // buttonSearch + // + this.buttonSearch.Location = new System.Drawing.Point(13, 14); + this.buttonSearch.Name = "buttonSearch"; + this.buttonSearch.Size = new System.Drawing.Size(89, 24); + this.buttonSearch.TabIndex = 0; + this.buttonSearch.Text = "Запуск"; + this.buttonSearch.UseVisualStyleBackColor = true; + // + // buttonCancelSearch + // + this.buttonCancelSearch.Location = new System.Drawing.Point(13, 48); + this.buttonCancelSearch.Name = "buttonCancelSearch"; + this.buttonCancelSearch.Size = new System.Drawing.Size(89, 24); + this.buttonCancelSearch.TabIndex = 1; + this.buttonCancelSearch.Text = "Скрыть"; + this.buttonCancelSearch.UseVisualStyleBackColor = true; + // + // toolStripFooter + // + this.toolStripFooter.Dock = System.Windows.Forms.DockStyle.Bottom; + this.toolStripFooter.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripButtonPrev, + this.toolStripLabelPage, + this.toolStripTextBoxPage, + this.toolStripLabelCountPages, + this.toolStripLabelCountRecords, + this.toolStripTextBoxCountRecords, + this.toolStripButtonNext, + this.toolStripLabelPageName, + this.toolStripComboBoxPageNames}); + this.toolStripFooter.Location = new System.Drawing.Point(0, 775); + this.toolStripFooter.Name = "toolStripFooter"; + this.toolStripFooter.Size = new System.Drawing.Size(1000, 25); + this.toolStripFooter.TabIndex = 2; + this.toolStripFooter.Text = "Пагинация"; + // + // toolStripButtonPrev + // + this.toolStripButtonPrev.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButtonPrev.Image = global::DesktopTools.Properties.Resources.Left; + this.toolStripButtonPrev.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButtonPrev.Name = "toolStripButtonPrev"; + this.toolStripButtonPrev.Size = new System.Drawing.Size(23, 22); + this.toolStripButtonPrev.Text = "Назад"; + // + // toolStripLabelPage + // + this.toolStripLabelPage.Name = "toolStripLabelPage"; + this.toolStripLabelPage.Size = new System.Drawing.Size(60, 22); + this.toolStripLabelPage.Text = "Страница"; + // + // toolStripTextBoxPage + // + this.toolStripTextBoxPage.Name = "toolStripTextBoxPage"; + this.toolStripTextBoxPage.Size = new System.Drawing.Size(30, 25); + this.toolStripTextBoxPage.Text = "1"; + // + // toolStripLabelCountPages + // + this.toolStripLabelCountPages.Name = "toolStripLabelCountPages"; + this.toolStripLabelCountPages.Size = new System.Drawing.Size(28, 22); + this.toolStripLabelCountPages.Text = "из 0"; + // + // toolStripLabelCountRecords + // + this.toolStripLabelCountRecords.Name = "toolStripLabelCountRecords"; + this.toolStripLabelCountRecords.Size = new System.Drawing.Size(21, 22); + this.toolStripLabelCountRecords.Text = "по"; + // + // toolStripTextBoxCountRecords + // + this.toolStripTextBoxCountRecords.Name = "toolStripTextBoxCountRecords"; + this.toolStripTextBoxCountRecords.Size = new System.Drawing.Size(30, 25); + this.toolStripTextBoxCountRecords.Text = "1"; + // + // toolStripButtonNext + // + this.toolStripButtonNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripButtonNext.Image = global::DesktopTools.Properties.Resources.Right; + this.toolStripButtonNext.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButtonNext.Name = "toolStripButtonNext"; + this.toolStripButtonNext.Size = new System.Drawing.Size(23, 22); + this.toolStripButtonNext.Text = "Вперед"; + // + // toolStripLabelPageName + // + this.toolStripLabelPageName.Name = "toolStripLabelPageName"; + this.toolStripLabelPageName.Size = new System.Drawing.Size(62, 22); + this.toolStripLabelPageName.Text = "Параметр"; + // + // toolStripComboBoxPageNames + // + this.toolStripComboBoxPageNames.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.toolStripComboBoxPageNames.Name = "toolStripComboBoxPageNames"; + this.toolStripComboBoxPageNames.Size = new System.Drawing.Size(200, 25); + // + // dataGridViewList + // + this.dataGridViewList.AllowUserToAddRows = false; + this.dataGridViewList.AllowUserToDeleteRows = false; + this.dataGridViewList.AllowUserToResizeRows = false; + this.dataGridViewList.BackgroundColor = System.Drawing.SystemColors.ControlLightLight; + this.dataGridViewList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridViewList.Dock = System.Windows.Forms.DockStyle.Fill; + this.dataGridViewList.Location = new System.Drawing.Point(0, 142); + this.dataGridViewList.Name = "dataGridViewList"; + this.dataGridViewList.ReadOnly = true; + this.dataGridViewList.RowHeadersVisible = false; + this.dataGridViewList.RowTemplate.Height = 25; + this.dataGridViewList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + 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; + // // ControlViewEntityList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.dataGridViewList); + this.Controls.Add(this.toolStripFooter); + this.Controls.Add(this.panelSearch); + this.Controls.Add(this.toolStripMenu); + this.Controls.Add(this.panelHeader); this.Name = "ControlViewEntityList"; - this.Size = new System.Drawing.Size(1116, 747); + this.Size = new System.Drawing.Size(1000, 800); + this.toolStripMenu.ResumeLayout(false); + this.toolStripMenu.PerformLayout(); + this.panelHeader.ResumeLayout(false); + this.panelSearch.ResumeLayout(false); + this.panelSearchActions.ResumeLayout(false); + this.toolStripFooter.ResumeLayout(false); + this.toolStripFooter.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridViewList)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } #endregion + + protected System.Windows.Forms.ToolStrip toolStripMenu; + protected System.Windows.Forms.ToolStripButton toolStripButtonAdd; + protected System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + protected System.Windows.Forms.ToolStripButton toolStripButtonUpd; + protected System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + protected System.Windows.Forms.ToolStripButton toolStripButtonDel; + protected System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + protected System.Windows.Forms.ToolStripButton toolStripButtonSearch; + protected System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + protected System.Windows.Forms.ToolStripButton toolStripButtonRef; + protected System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + protected System.Windows.Forms.ToolStripSplitButton toolStripSplitButtonActions; + protected System.Windows.Forms.ToolStripButton toolStripButtonClose; + protected System.Windows.Forms.Label labelTitle; + protected System.Windows.Forms.Panel panelHeader; + protected System.Windows.Forms.Panel panelSearch; + protected System.Windows.Forms.Button buttonCancelSearch; + protected System.Windows.Forms.Button buttonSearch; + protected System.Windows.Forms.ToolStrip toolStripFooter; + protected System.Windows.Forms.ToolStripButton toolStripButtonPrev; + protected System.Windows.Forms.ToolStripLabel toolStripLabelPage; + protected System.Windows.Forms.ToolStripTextBox toolStripTextBoxPage; + protected System.Windows.Forms.ToolStripLabel toolStripLabelCountPages; + protected System.Windows.Forms.ToolStripLabel toolStripLabelCountRecords; + protected System.Windows.Forms.ToolStripTextBox toolStripTextBoxCountRecords; + protected System.Windows.Forms.ToolStripButton toolStripButtonNext; + protected System.Windows.Forms.ToolStripLabel toolStripLabelPageName; + protected System.Windows.Forms.ToolStripComboBox toolStripComboBoxPageNames; + protected System.Windows.Forms.ContextMenuStrip contextMenuStripDataGrid; + protected System.Windows.Forms.DataGridView dataGridViewList; + protected System.Windows.Forms.Panel panelSearchActions; + protected System.Windows.Forms.Panel panelSearchControls; + protected System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + protected System.Windows.Forms.ToolStripButton toolStripButtonSelect; } }