169 lines
6.8 KiB
C#
169 lines
6.8 KiB
C#
namespace IT_Company.Forms
|
|
{
|
|
partial class FormContract
|
|
{
|
|
/// <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()
|
|
{
|
|
labelOrganization = new Label();
|
|
labelExecutor = new Label();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
comboBoxOrganizations = new ComboBox();
|
|
comboBoxExecutors = new ComboBox();
|
|
groupBoxServices = new GroupBox();
|
|
dataGridViewServices = new DataGridView();
|
|
Service = new DataGridViewComboBoxColumn();
|
|
groupBoxServices.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewServices).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelOrganization
|
|
//
|
|
labelOrganization.AutoSize = true;
|
|
labelOrganization.Location = new Point(12, 15);
|
|
labelOrganization.Name = "labelOrganization";
|
|
labelOrganization.Size = new Size(105, 20);
|
|
labelOrganization.TabIndex = 5;
|
|
labelOrganization.Text = "Организация:";
|
|
//
|
|
// labelExecutor
|
|
//
|
|
labelExecutor.AutoSize = true;
|
|
labelExecutor.Location = new Point(12, 48);
|
|
labelExecutor.Name = "labelExecutor";
|
|
labelExecutor.Size = new Size(104, 20);
|
|
labelExecutor.TabIndex = 6;
|
|
labelExecutor.Text = "Исполнитель:";
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonSave.Location = new Point(12, 323);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(94, 29);
|
|
buttonSave.TabIndex = 10;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonCancel.Location = new Point(283, 323);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(94, 29);
|
|
buttonCancel.TabIndex = 11;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// comboBoxOrganizations
|
|
//
|
|
comboBoxOrganizations.FormattingEnabled = true;
|
|
comboBoxOrganizations.Location = new Point(226, 12);
|
|
comboBoxOrganizations.Name = "comboBoxOrganizations";
|
|
comboBoxOrganizations.Size = new Size(151, 28);
|
|
comboBoxOrganizations.TabIndex = 12;
|
|
//
|
|
// comboBoxExecutors
|
|
//
|
|
comboBoxExecutors.FormattingEnabled = true;
|
|
comboBoxExecutors.Location = new Point(226, 45);
|
|
comboBoxExecutors.Name = "comboBoxExecutors";
|
|
comboBoxExecutors.Size = new Size(151, 28);
|
|
comboBoxExecutors.TabIndex = 15;
|
|
//
|
|
// groupBoxServices
|
|
//
|
|
groupBoxServices.Controls.Add(dataGridViewServices);
|
|
groupBoxServices.Location = new Point(12, 79);
|
|
groupBoxServices.Name = "groupBoxServices";
|
|
groupBoxServices.Size = new Size(365, 238);
|
|
groupBoxServices.TabIndex = 16;
|
|
groupBoxServices.TabStop = false;
|
|
groupBoxServices.Text = "Услуги";
|
|
//
|
|
// dataGridViewServices
|
|
//
|
|
dataGridViewServices.AllowUserToResizeColumns = false;
|
|
dataGridViewServices.AllowUserToResizeRows = false;
|
|
dataGridViewServices.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridViewServices.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewServices.ColumnHeadersVisible = false;
|
|
dataGridViewServices.Columns.AddRange(new DataGridViewColumn[] { Service });
|
|
dataGridViewServices.Dock = DockStyle.Fill;
|
|
dataGridViewServices.Location = new Point(3, 23);
|
|
dataGridViewServices.Name = "dataGridViewServices";
|
|
dataGridViewServices.RowHeadersVisible = false;
|
|
dataGridViewServices.RowHeadersWidth = 51;
|
|
dataGridViewServices.Size = new Size(359, 212);
|
|
dataGridViewServices.TabIndex = 0;
|
|
//
|
|
// Service
|
|
//
|
|
Service.HeaderText = "";
|
|
Service.MinimumWidth = 6;
|
|
Service.Name = "Service";
|
|
//
|
|
// FormContract
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(389, 362);
|
|
Controls.Add(groupBoxServices);
|
|
Controls.Add(comboBoxExecutors);
|
|
Controls.Add(comboBoxOrganizations);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(labelExecutor);
|
|
Controls.Add(labelOrganization);
|
|
Name = "FormContract";
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
Text = "Исполнитель";
|
|
groupBoxServices.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewServices).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TextBox description;
|
|
private TextBox price;
|
|
private TextBox bankAccount;
|
|
private Label labelOrganization;
|
|
private Label labelExecutor;
|
|
private Label labelBankAccount;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private ComboBox comboBoxOrganizations;
|
|
private ComboBox comboBoxExecutors;
|
|
private GroupBox groupBoxServices;
|
|
private DataGridView dataGridViewServices;
|
|
private DataGridViewComboBoxColumn Service;
|
|
}
|
|
} |