211 lines
8.0 KiB
C#
211 lines
8.0 KiB
C#
namespace RouteGuideView
|
|
{
|
|
partial class FormRoute
|
|
{
|
|
/// <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()
|
|
{
|
|
textBoxName = new TextBox();
|
|
labelName = new Label();
|
|
groupBox = new GroupBox();
|
|
buttonRefresh = new Button();
|
|
buttonDelete = new Button();
|
|
buttonUpdate = new Button();
|
|
buttonCreate = new Button();
|
|
dataGridView = new DataGridView();
|
|
ColumnId = new DataGridViewTextBoxColumn();
|
|
ColumnName = new DataGridViewTextBoxColumn();
|
|
ColumnNumber = new DataGridViewTextBoxColumn();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
groupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// textBoxName
|
|
//
|
|
textBoxName.Location = new Point(80, 12);
|
|
textBoxName.Name = "textBoxName";
|
|
textBoxName.Size = new Size(200, 23);
|
|
textBoxName.TabIndex = 0;
|
|
//
|
|
// labelName
|
|
//
|
|
labelName.AutoSize = true;
|
|
labelName.Location = new Point(12, 15);
|
|
labelName.Name = "labelName";
|
|
labelName.Size = new Size(62, 15);
|
|
labelName.TabIndex = 1;
|
|
labelName.Text = "Название:";
|
|
//
|
|
// groupBox
|
|
//
|
|
groupBox.Controls.Add(buttonRefresh);
|
|
groupBox.Controls.Add(buttonDelete);
|
|
groupBox.Controls.Add(buttonUpdate);
|
|
groupBox.Controls.Add(buttonCreate);
|
|
groupBox.Controls.Add(dataGridView);
|
|
groupBox.Location = new Point(12, 41);
|
|
groupBox.Name = "groupBox";
|
|
groupBox.Size = new Size(660, 279);
|
|
groupBox.TabIndex = 2;
|
|
groupBox.TabStop = false;
|
|
groupBox.Text = "Остановки";
|
|
//
|
|
// buttonRefresh
|
|
//
|
|
buttonRefresh.Location = new Point(558, 109);
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
buttonRefresh.Size = new Size(75, 23);
|
|
buttonRefresh.TabIndex = 18;
|
|
buttonRefresh.Text = "Обновить";
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
buttonRefresh.Click += buttonRefresh_Click;
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(558, 80);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(75, 23);
|
|
buttonDelete.TabIndex = 17;
|
|
buttonDelete.Text = "Удалить";
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
buttonDelete.Click += buttonDelete_Click;
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
buttonUpdate.Location = new Point(558, 51);
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
buttonUpdate.Size = new Size(75, 23);
|
|
buttonUpdate.TabIndex = 16;
|
|
buttonUpdate.Text = "Изменить";
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
buttonUpdate.Click += buttonUpdate_Click;
|
|
//
|
|
// buttonCreate
|
|
//
|
|
buttonCreate.Location = new Point(558, 22);
|
|
buttonCreate.Name = "buttonCreate";
|
|
buttonCreate.Size = new Size(75, 23);
|
|
buttonCreate.TabIndex = 15;
|
|
buttonCreate.Text = "Добавить";
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
buttonCreate.Click += buttonCreate_Click;
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.BackgroundColor = Color.White;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnId, ColumnName, ColumnNumber });
|
|
dataGridView.Dock = DockStyle.Left;
|
|
dataGridView.Location = new Point(3, 19);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.ReadOnly = true;
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.RowTemplate.Height = 25;
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView.Size = new Size(530, 257);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// ColumnId
|
|
//
|
|
ColumnId.HeaderText = "Id";
|
|
ColumnId.Name = "ColumnId";
|
|
ColumnId.ReadOnly = true;
|
|
ColumnId.Visible = false;
|
|
//
|
|
// ColumnName
|
|
//
|
|
ColumnName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
ColumnName.HeaderText = "Остановка";
|
|
ColumnName.Name = "ColumnName";
|
|
ColumnName.ReadOnly = true;
|
|
//
|
|
// ColumnNumber
|
|
//
|
|
ColumnNumber.HeaderText = "Номер остановки";
|
|
ColumnNumber.Name = "ColumnNumber";
|
|
ColumnNumber.ReadOnly = true;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(516, 326);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(75, 23);
|
|
buttonSave.TabIndex = 9;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(597, 326);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(75, 23);
|
|
buttonCancel.TabIndex = 8;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// FormRoute
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(684, 361);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(groupBox);
|
|
Controls.Add(labelName);
|
|
Controls.Add(textBoxName);
|
|
Name = "FormRoute";
|
|
Text = "Маршрут";
|
|
Load += FormRoute_Load;
|
|
groupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TextBox textBoxName;
|
|
private Label labelName;
|
|
private GroupBox groupBox;
|
|
private DataGridView dataGridView;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private Button buttonRefresh;
|
|
private Button buttonDelete;
|
|
private Button buttonUpdate;
|
|
private Button buttonCreate;
|
|
private DataGridViewTextBoxColumn ColumnId;
|
|
private DataGridViewTextBoxColumn ColumnName;
|
|
private DataGridViewTextBoxColumn ColumnNumber;
|
|
}
|
|
} |