|
@@ -0,0 +1,296 @@
|
|
|
|
|
+using System.Drawing;
|
|
|
|
|
+using System.Windows.Forms;
|
|
|
|
|
+using Guna.UI2.WinForms;
|
|
|
|
|
+
|
|
|
|
|
+namespace ProviderApp
|
|
|
|
|
+{
|
|
|
|
|
+ partial class ContractsForm
|
|
|
|
|
+ {
|
|
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
|
|
+ private Guna2Panel panel;
|
|
|
|
|
+ private Guna2HtmlLabel lblTitle;
|
|
|
|
|
+ private Guna2Button btnAdd;
|
|
|
|
|
+ private Guna2Button btnEdit;
|
|
|
|
|
+ private Guna2Button btnDelete;
|
|
|
|
|
+ private Guna2Button btnExecute;
|
|
|
|
|
+ private Guna2Button btnExport;
|
|
|
|
|
+ private Guna2DataGridView dgvResult;
|
|
|
|
|
+ private Guna2DateTimePicker dtpFrom;
|
|
|
|
|
+ private Guna2DateTimePicker dtpTo;
|
|
|
|
|
+ private Guna2HtmlLabel lblFrom;
|
|
|
|
|
+ private Guna2HtmlLabel lblTo;
|
|
|
|
|
+
|
|
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
|
|
+ {
|
|
|
|
|
+ if (disposing && (components != null)) components.Dispose();
|
|
|
|
|
+ base.Dispose(disposing);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ private void InitializeComponent()
|
|
|
|
|
+ {
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges15 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges16 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges1 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges2 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges3 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges4 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges5 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges6 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges7 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges8 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges9 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges10 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges11 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges12 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges13 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges14 = new Guna.UI2.WinForms.Suite.CustomizableEdges();
|
|
|
|
|
+ DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
|
|
|
|
|
+ DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle();
|
|
|
|
|
+ DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle();
|
|
|
|
|
+ panel = new Guna2Panel();
|
|
|
|
|
+ lblTitle = new Guna2HtmlLabel();
|
|
|
|
|
+ lblFrom = new Guna2HtmlLabel();
|
|
|
|
|
+ dtpFrom = new Guna2DateTimePicker();
|
|
|
|
|
+ lblTo = new Guna2HtmlLabel();
|
|
|
|
|
+ dtpTo = new Guna2DateTimePicker();
|
|
|
|
|
+ btnExecute = new Guna2Button();
|
|
|
|
|
+ btnAdd = new Guna2Button();
|
|
|
|
|
+ btnEdit = new Guna2Button();
|
|
|
|
|
+ btnDelete = new Guna2Button();
|
|
|
|
|
+ btnExport = new Guna2Button();
|
|
|
|
|
+ dgvResult = new Guna2DataGridView();
|
|
|
|
|
+ panel.SuspendLayout();
|
|
|
|
|
+ ((System.ComponentModel.ISupportInitialize)dgvResult).BeginInit();
|
|
|
|
|
+ SuspendLayout();
|
|
|
|
|
+ //
|
|
|
|
|
+ // panel
|
|
|
|
|
+ //
|
|
|
|
|
+ panel.BackColor = Color.FromArgb(30, 30, 30);
|
|
|
|
|
+ panel.Controls.Add(lblTitle);
|
|
|
|
|
+ panel.Controls.Add(lblFrom);
|
|
|
|
|
+ panel.Controls.Add(dtpFrom);
|
|
|
|
|
+ panel.Controls.Add(lblTo);
|
|
|
|
|
+ panel.Controls.Add(dtpTo);
|
|
|
|
|
+ panel.Controls.Add(btnExecute);
|
|
|
|
|
+ panel.Controls.Add(btnAdd);
|
|
|
|
|
+ panel.Controls.Add(btnEdit);
|
|
|
|
|
+ panel.Controls.Add(btnDelete);
|
|
|
|
|
+ panel.Controls.Add(btnExport);
|
|
|
|
|
+ panel.Controls.Add(dgvResult);
|
|
|
|
|
+ panel.CustomizableEdges = customizableEdges15;
|
|
|
|
|
+ panel.Dock = DockStyle.Fill;
|
|
|
|
|
+ panel.Location = new Point(0, 0);
|
|
|
|
|
+ panel.Name = "panel";
|
|
|
|
|
+ panel.Padding = new Padding(26, 28, 26, 28);
|
|
|
|
|
+ panel.ShadowDecoration.CustomizableEdges = customizableEdges16;
|
|
|
|
|
+ panel.Size = new Size(1006, 797);
|
|
|
|
|
+ panel.TabIndex = 0;
|
|
|
|
|
+ //
|
|
|
|
|
+ // lblTitle
|
|
|
|
|
+ //
|
|
|
|
|
+ lblTitle.BackColor = Color.Transparent;
|
|
|
|
|
+ lblTitle.Font = new Font("Segoe UI", 20F, FontStyle.Bold);
|
|
|
|
|
+ lblTitle.ForeColor = Color.White;
|
|
|
|
|
+ lblTitle.Location = new Point(26, 19);
|
|
|
|
|
+ lblTitle.Name = "lblTitle";
|
|
|
|
|
+ lblTitle.Size = new Size(337, 39);
|
|
|
|
|
+ lblTitle.TabIndex = 0;
|
|
|
|
|
+ lblTitle.Text = "Управление договорами";
|
|
|
|
|
+ //
|
|
|
|
|
+ // lblFrom
|
|
|
|
|
+ //
|
|
|
|
|
+ lblFrom.BackColor = Color.Transparent;
|
|
|
|
|
+ lblFrom.Font = new Font("Segoe UI", 10F);
|
|
|
|
|
+ lblFrom.ForeColor = Color.White;
|
|
|
|
|
+ lblFrom.Location = new Point(26, 84);
|
|
|
|
|
+ lblFrom.Name = "lblFrom";
|
|
|
|
|
+ lblFrom.Size = new Size(46, 19);
|
|
|
|
|
+ lblFrom.TabIndex = 1;
|
|
|
|
|
+ lblFrom.Text = "С даты:";
|
|
|
|
|
+ //
|
|
|
|
|
+ // dtpFrom
|
|
|
|
|
+ //
|
|
|
|
|
+ dtpFrom.BorderRadius = 6;
|
|
|
|
|
+ dtpFrom.Checked = true;
|
|
|
|
|
+ dtpFrom.CustomizableEdges = customizableEdges1;
|
|
|
|
|
+ dtpFrom.FillColor = Color.FromArgb(45, 45, 45);
|
|
|
|
|
+ dtpFrom.Font = new Font("Segoe UI", 10F);
|
|
|
|
|
+ dtpFrom.ForeColor = Color.White;
|
|
|
|
|
+ dtpFrom.Format = DateTimePickerFormat.Short;
|
|
|
|
|
+ dtpFrom.Location = new Point(79, 80);
|
|
|
|
|
+ dtpFrom.MaxDate = new DateTime(9998, 12, 31, 0, 0, 0, 0);
|
|
|
|
|
+ dtpFrom.MinDate = new DateTime(1753, 1, 1, 0, 0, 0, 0);
|
|
|
|
|
+ dtpFrom.Name = "dtpFrom";
|
|
|
|
|
+ dtpFrom.ShadowDecoration.CustomizableEdges = customizableEdges2;
|
|
|
|
|
+ dtpFrom.Size = new Size(135, 28);
|
|
|
|
|
+ dtpFrom.TabIndex = 2;
|
|
|
|
|
+ dtpFrom.Value = new DateTime(2026, 5, 25, 16, 48, 30, 278);
|
|
|
|
|
+ //
|
|
|
|
|
+ // lblTo
|
|
|
|
|
+ //
|
|
|
|
|
+ lblTo.BackColor = Color.Transparent;
|
|
|
|
|
+ lblTo.Font = new Font("Segoe UI", 10F);
|
|
|
|
|
+ lblTo.ForeColor = Color.White;
|
|
|
|
|
+ lblTo.Location = new Point(220, 84);
|
|
|
|
|
+ lblTo.Name = "lblTo";
|
|
|
|
|
+ lblTo.Size = new Size(23, 19);
|
|
|
|
|
+ lblTo.TabIndex = 3;
|
|
|
|
|
+ lblTo.Text = "По:";
|
|
|
|
|
+ //
|
|
|
|
|
+ // dtpTo
|
|
|
|
|
+ //
|
|
|
|
|
+ dtpTo.BorderRadius = 6;
|
|
|
|
|
+ dtpTo.Checked = true;
|
|
|
|
|
+ dtpTo.CustomizableEdges = customizableEdges3;
|
|
|
|
|
+ dtpTo.FillColor = Color.FromArgb(45, 45, 45);
|
|
|
|
|
+ dtpTo.Font = new Font("Segoe UI", 10F);
|
|
|
|
|
+ dtpTo.ForeColor = Color.White;
|
|
|
|
|
+ dtpTo.Format = DateTimePickerFormat.Short;
|
|
|
|
|
+ dtpTo.Location = new Point(249, 80);
|
|
|
|
|
+ dtpTo.MaxDate = new DateTime(9998, 12, 31, 0, 0, 0, 0);
|
|
|
|
|
+ dtpTo.MinDate = new DateTime(1753, 1, 1, 0, 0, 0, 0);
|
|
|
|
|
+ dtpTo.Name = "dtpTo";
|
|
|
|
|
+ dtpTo.ShadowDecoration.CustomizableEdges = customizableEdges4;
|
|
|
|
|
+ dtpTo.Size = new Size(131, 28);
|
|
|
|
|
+ dtpTo.TabIndex = 4;
|
|
|
|
|
+ dtpTo.Value = new DateTime(2026, 5, 25, 16, 48, 30, 316);
|
|
|
|
|
+ //
|
|
|
|
|
+ // btnExecute
|
|
|
|
|
+ //
|
|
|
|
|
+ btnExecute.BorderRadius = 8;
|
|
|
|
|
+ btnExecute.CustomizableEdges = customizableEdges5;
|
|
|
|
|
+ btnExecute.FillColor = Color.Green;
|
|
|
|
|
+ btnExecute.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
|
|
|
|
+ btnExecute.ForeColor = Color.White;
|
|
|
|
|
+ btnExecute.Location = new Point(395, 70);
|
|
|
|
|
+ btnExecute.Name = "btnExecute";
|
|
|
|
|
+ btnExecute.ShadowDecoration.CustomizableEdges = customizableEdges6;
|
|
|
|
|
+ btnExecute.Size = new Size(117, 38);
|
|
|
|
|
+ btnExecute.TabIndex = 5;
|
|
|
|
|
+ btnExecute.Text = "Показать";
|
|
|
|
|
+ //
|
|
|
|
|
+ // btnAdd
|
|
|
|
|
+ //
|
|
|
|
|
+ btnAdd.BorderRadius = 8;
|
|
|
|
|
+ btnAdd.CustomizableEdges = customizableEdges7;
|
|
|
|
|
+ btnAdd.FillColor = Color.FromArgb(230, 92, 0);
|
|
|
|
|
+ btnAdd.Font = new Font("Segoe UI", 11F, FontStyle.Bold);
|
|
|
|
|
+ btnAdd.ForeColor = Color.White;
|
|
|
|
|
+ btnAdd.Location = new Point(26, 131);
|
|
|
|
|
+ btnAdd.Name = "btnAdd";
|
|
|
|
|
+ btnAdd.ShadowDecoration.CustomizableEdges = customizableEdges8;
|
|
|
|
|
+ btnAdd.Size = new Size(105, 42);
|
|
|
|
|
+ btnAdd.TabIndex = 6;
|
|
|
|
|
+ btnAdd.Text = "Добавить";
|
|
|
|
|
+ //
|
|
|
|
|
+ // btnEdit
|
|
|
|
|
+ //
|
|
|
|
|
+ btnEdit.BorderRadius = 8;
|
|
|
|
|
+ btnEdit.CustomizableEdges = customizableEdges9;
|
|
|
|
|
+ btnEdit.FillColor = Color.FromArgb(230, 92, 0);
|
|
|
|
|
+ btnEdit.Font = new Font("Segoe UI", 11F, FontStyle.Bold);
|
|
|
|
|
+ btnEdit.ForeColor = Color.White;
|
|
|
|
|
+ btnEdit.Location = new Point(144, 131);
|
|
|
|
|
+ btnEdit.Name = "btnEdit";
|
|
|
|
|
+ btnEdit.ShadowDecoration.CustomizableEdges = customizableEdges10;
|
|
|
|
|
+ btnEdit.Size = new Size(105, 42);
|
|
|
|
|
+ btnEdit.TabIndex = 7;
|
|
|
|
|
+ btnEdit.Text = "Изменить";
|
|
|
|
|
+ //
|
|
|
|
|
+ // btnDelete
|
|
|
|
|
+ //
|
|
|
|
|
+ btnDelete.BorderRadius = 8;
|
|
|
|
|
+ btnDelete.CustomizableEdges = customizableEdges11;
|
|
|
|
|
+ btnDelete.FillColor = Color.FromArgb(230, 92, 0);
|
|
|
|
|
+ btnDelete.Font = new Font("Segoe UI", 11F, FontStyle.Bold);
|
|
|
|
|
+ btnDelete.ForeColor = Color.White;
|
|
|
|
|
+ btnDelete.Location = new Point(262, 131);
|
|
|
|
|
+ btnDelete.Name = "btnDelete";
|
|
|
|
|
+ btnDelete.ShadowDecoration.CustomizableEdges = customizableEdges12;
|
|
|
|
|
+ btnDelete.Size = new Size(105, 42);
|
|
|
|
|
+ btnDelete.TabIndex = 8;
|
|
|
|
|
+ btnDelete.Text = "Удалить";
|
|
|
|
|
+ //
|
|
|
|
|
+ // btnExport
|
|
|
|
|
+ //
|
|
|
|
|
+ btnExport.BorderRadius = 8;
|
|
|
|
|
+ btnExport.CustomizableEdges = customizableEdges13;
|
|
|
|
|
+ btnExport.FillColor = Color.FromArgb(0, 120, 215);
|
|
|
|
|
+ btnExport.Font = new Font("Segoe UI", 11F, FontStyle.Bold);
|
|
|
|
|
+ btnExport.ForeColor = Color.White;
|
|
|
|
|
+ btnExport.Location = new Point(381, 131);
|
|
|
|
|
+ btnExport.Name = "btnExport";
|
|
|
|
|
+ btnExport.ShadowDecoration.CustomizableEdges = customizableEdges14;
|
|
|
|
|
+ btnExport.Size = new Size(143, 42);
|
|
|
|
|
+ btnExport.TabIndex = 9;
|
|
|
|
|
+ btnExport.Text = "Экспорт Excel";
|
|
|
|
|
+ //
|
|
|
|
|
+ // dgvResult
|
|
|
|
|
+ //
|
|
|
|
|
+ dgvResult.AllowUserToAddRows = false;
|
|
|
|
|
+ dgvResult.AllowUserToDeleteRows = false;
|
|
|
|
|
+ dataGridViewCellStyle1.BackColor = Color.White;
|
|
|
|
|
+ dgvResult.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
|
|
+ dgvResult.BackgroundColor = Color.FromArgb(40, 40, 40);
|
|
|
|
|
+ dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleLeft;
|
|
|
|
|
+ dataGridViewCellStyle2.BackColor = Color.FromArgb(100, 88, 255);
|
|
|
|
|
+ dataGridViewCellStyle2.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
+ dataGridViewCellStyle2.ForeColor = Color.White;
|
|
|
|
|
+ dataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight;
|
|
|
|
|
+ dataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText;
|
|
|
|
|
+ dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True;
|
|
|
|
|
+ dgvResult.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
|
|
|
|
+ dgvResult.ColumnHeadersHeight = 50;
|
|
|
|
|
+ dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft;
|
|
|
|
|
+ dataGridViewCellStyle3.BackColor = Color.White;
|
|
|
|
|
+ dataGridViewCellStyle3.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
+ dataGridViewCellStyle3.ForeColor = Color.FromArgb(71, 69, 94);
|
|
|
|
|
+ dataGridViewCellStyle3.SelectionBackColor = Color.FromArgb(231, 229, 255);
|
|
|
|
|
+ dataGridViewCellStyle3.SelectionForeColor = Color.FromArgb(71, 69, 94);
|
|
|
|
|
+ dataGridViewCellStyle3.WrapMode = DataGridViewTriState.False;
|
|
|
|
|
+ dgvResult.DefaultCellStyle = dataGridViewCellStyle3;
|
|
|
|
|
+ dgvResult.GridColor = Color.FromArgb(60, 60, 60);
|
|
|
|
|
+ dgvResult.Location = new Point(26, 197);
|
|
|
|
|
+ dgvResult.Name = "dgvResult";
|
|
|
|
|
+ dgvResult.ReadOnly = true;
|
|
|
|
|
+ dgvResult.RowHeadersVisible = false;
|
|
|
|
|
+ dgvResult.RowTemplate.Height = 40;
|
|
|
|
|
+ dgvResult.Size = new Size(954, 562);
|
|
|
|
|
+ dgvResult.TabIndex = 10;
|
|
|
|
|
+ dgvResult.ThemeStyle.AlternatingRowsStyle.BackColor = Color.White;
|
|
|
|
|
+ dgvResult.ThemeStyle.AlternatingRowsStyle.Font = null;
|
|
|
|
|
+ dgvResult.ThemeStyle.AlternatingRowsStyle.ForeColor = Color.Empty;
|
|
|
|
|
+ dgvResult.ThemeStyle.AlternatingRowsStyle.SelectionBackColor = Color.Empty;
|
|
|
|
|
+ dgvResult.ThemeStyle.AlternatingRowsStyle.SelectionForeColor = Color.Empty;
|
|
|
|
|
+ dgvResult.ThemeStyle.BackColor = Color.FromArgb(40, 40, 40);
|
|
|
|
|
+ dgvResult.ThemeStyle.GridColor = Color.FromArgb(60, 60, 60);
|
|
|
|
|
+ dgvResult.ThemeStyle.HeaderStyle.BackColor = Color.FromArgb(100, 88, 255);
|
|
|
|
|
+ dgvResult.ThemeStyle.HeaderStyle.BorderStyle = DataGridViewHeaderBorderStyle.None;
|
|
|
|
|
+ dgvResult.ThemeStyle.HeaderStyle.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
+ dgvResult.ThemeStyle.HeaderStyle.ForeColor = Color.White;
|
|
|
|
|
+ dgvResult.ThemeStyle.HeaderStyle.HeaightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
|
|
|
+ dgvResult.ThemeStyle.HeaderStyle.Height = 50;
|
|
|
|
|
+ dgvResult.ThemeStyle.ReadOnly = true;
|
|
|
|
|
+ dgvResult.ThemeStyle.RowsStyle.BackColor = Color.White;
|
|
|
|
|
+ dgvResult.ThemeStyle.RowsStyle.BorderStyle = DataGridViewCellBorderStyle.SingleHorizontal;
|
|
|
|
|
+ dgvResult.ThemeStyle.RowsStyle.Font = new Font("Segoe UI", 9F);
|
|
|
|
|
+ dgvResult.ThemeStyle.RowsStyle.ForeColor = Color.FromArgb(71, 69, 94);
|
|
|
|
|
+ dgvResult.ThemeStyle.RowsStyle.Height = 40;
|
|
|
|
|
+ dgvResult.ThemeStyle.RowsStyle.SelectionBackColor = Color.FromArgb(231, 229, 255);
|
|
|
|
|
+ dgvResult.ThemeStyle.RowsStyle.SelectionForeColor = Color.FromArgb(71, 69, 94);
|
|
|
|
|
+ //
|
|
|
|
|
+ // ContractsForm
|
|
|
|
|
+ //
|
|
|
|
|
+ AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
+ AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
+ BackColor = Color.FromArgb(30, 30, 30);
|
|
|
|
|
+ Controls.Add(panel);
|
|
|
|
|
+ Name = "ContractsForm";
|
|
|
|
|
+ Size = new Size(1006, 797);
|
|
|
|
|
+ panel.ResumeLayout(false);
|
|
|
|
|
+ panel.PerformLayout();
|
|
|
|
|
+ ((System.ComponentModel.ISupportInitialize)dgvResult).EndInit();
|
|
|
|
|
+ ResumeLayout(false);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|