166 lines
6.5 KiB
C#
166 lines
6.5 KiB
C#
namespace ProjectHotel.Forms
|
|
{
|
|
partial class FormPlacingAthlete
|
|
{
|
|
/// <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()
|
|
{
|
|
DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
buttonCancel = new Button();
|
|
buttonSave = new Button();
|
|
comboBoxRoom = new ComboBox();
|
|
groupBox1 = new GroupBox();
|
|
dataGridView = new DataGridView();
|
|
ColumnLengthOfStay = new DataGridViewTextBoxColumn();
|
|
ColumnAthlete = new DataGridViewComboBoxColumn();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(58, 35);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(54, 15);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Комната";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(58, 90);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(156, 15);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "Длительность проживания";
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonCancel.Location = new Point(304, 479);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(75, 23);
|
|
buttonCancel.TabIndex = 5;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonSave.Location = new Point(111, 479);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(75, 23);
|
|
buttonSave.TabIndex = 4;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// comboBoxRoom
|
|
//
|
|
comboBoxRoom.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxRoom.FormattingEnabled = true;
|
|
comboBoxRoom.Location = new Point(118, 32);
|
|
comboBoxRoom.Name = "comboBoxRoom";
|
|
comboBoxRoom.Size = new Size(382, 23);
|
|
comboBoxRoom.TabIndex = 6;
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
groupBox1.Controls.Add(dataGridView);
|
|
groupBox1.Location = new Point(12, 130);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(491, 329);
|
|
groupBox1.TabIndex = 7;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "Спортсмены";
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToResizeColumns = false;
|
|
dataGridView.AllowUserToResizeRows = false;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnAthlete, ColumnLengthOfStay });
|
|
dataGridView.Dock = DockStyle.Fill;
|
|
dataGridView.Location = new Point(3, 19);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridViewCellStyle1.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridView.RowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
dataGridView.Size = new Size(485, 307);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// ColumnLengthOfStay
|
|
//
|
|
ColumnLengthOfStay.HeaderText = "Длительность проживания";
|
|
ColumnLengthOfStay.Name = "ColumnLengthOfStay";
|
|
//
|
|
// ColumnAthlete
|
|
//
|
|
ColumnAthlete.DisplayStyle = DataGridViewComboBoxDisplayStyle.ComboBox;
|
|
ColumnAthlete.HeaderText = "Спортсмен";
|
|
ColumnAthlete.Name = "ColumnAthlete";
|
|
//
|
|
// FormPlacingAthlete
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(515, 534);
|
|
Controls.Add(groupBox1);
|
|
Controls.Add(comboBoxRoom);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Name = "FormPlacingAthlete";
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
Text = "Размещение спортсмена";
|
|
groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private ComboBox comboBoxRoom;
|
|
private GroupBox groupBox1;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewComboBoxColumn ColumnAthlete;
|
|
private DataGridViewTextBoxColumn ColumnLengthOfStay;
|
|
}
|
|
} |