184 lines
7.7 KiB
C#
184 lines
7.7 KiB
C#
|
namespace RouteGuideView
|
|||
|
{
|
|||
|
partial class FormMain
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
menuStrip1 = new MenuStrip();
|
|||
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
DrviversToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
TransportToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
RoutesToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
StopsToolStripMenuItem = new ToolStripMenuItem();
|
|||
|
buttonCreate = new Button();
|
|||
|
buttonUpdate = new Button();
|
|||
|
buttonDelete = new Button();
|
|||
|
buttonRefresh = new Button();
|
|||
|
dataGridView = new DataGridView();
|
|||
|
menuStrip1.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// menuStrip1
|
|||
|
//
|
|||
|
menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem });
|
|||
|
menuStrip1.Location = new Point(0, 0);
|
|||
|
menuStrip1.Name = "menuStrip1";
|
|||
|
menuStrip1.Size = new Size(984, 24);
|
|||
|
menuStrip1.TabIndex = 0;
|
|||
|
menuStrip1.Text = "menuStrip1";
|
|||
|
//
|
|||
|
// справочникиToolStripMenuItem
|
|||
|
//
|
|||
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { DrviversToolStripMenuItem, TransportToolStripMenuItem, RoutesToolStripMenuItem, StopsToolStripMenuItem });
|
|||
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|||
|
справочникиToolStripMenuItem.Size = new Size(97, 20);
|
|||
|
справочникиToolStripMenuItem.Text = " Справочники";
|
|||
|
//
|
|||
|
// DrviversToolStripMenuItem
|
|||
|
//
|
|||
|
DrviversToolStripMenuItem.Name = "DrviversToolStripMenuItem";
|
|||
|
DrviversToolStripMenuItem.Size = new Size(180, 22);
|
|||
|
DrviversToolStripMenuItem.Text = "Водители";
|
|||
|
DrviversToolStripMenuItem.Click += DrviversToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// TransportToolStripMenuItem
|
|||
|
//
|
|||
|
TransportToolStripMenuItem.Name = "TransportToolStripMenuItem";
|
|||
|
TransportToolStripMenuItem.Size = new Size(180, 22);
|
|||
|
TransportToolStripMenuItem.Text = "Транспорт";
|
|||
|
TransportToolStripMenuItem.Click += TransportToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// RoutesToolStripMenuItem
|
|||
|
//
|
|||
|
RoutesToolStripMenuItem.Name = "RoutesToolStripMenuItem";
|
|||
|
RoutesToolStripMenuItem.Size = new Size(180, 22);
|
|||
|
RoutesToolStripMenuItem.Text = "Маршруты";
|
|||
|
RoutesToolStripMenuItem.Click += RoutesToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// StopsToolStripMenuItem
|
|||
|
//
|
|||
|
StopsToolStripMenuItem.Name = "StopsToolStripMenuItem";
|
|||
|
StopsToolStripMenuItem.Size = new Size(180, 22);
|
|||
|
StopsToolStripMenuItem.Text = "Остановки";
|
|||
|
StopsToolStripMenuItem.Click += StopsToolStripMenuItem_Click;
|
|||
|
//
|
|||
|
// buttonCreate
|
|||
|
//
|
|||
|
buttonCreate.Location = new Point(885, 37);
|
|||
|
buttonCreate.Name = "buttonCreate";
|
|||
|
buttonCreate.Size = new Size(75, 23);
|
|||
|
buttonCreate.TabIndex = 1;
|
|||
|
buttonCreate.Text = "Создать";
|
|||
|
buttonCreate.UseVisualStyleBackColor = true;
|
|||
|
buttonCreate.Click += buttonCreate_Click;
|
|||
|
//
|
|||
|
// buttonUpdate
|
|||
|
//
|
|||
|
buttonUpdate.Location = new Point(885, 66);
|
|||
|
buttonUpdate.Name = "buttonUpdate";
|
|||
|
buttonUpdate.Size = new Size(75, 23);
|
|||
|
buttonUpdate.TabIndex = 2;
|
|||
|
buttonUpdate.Text = "Изменить";
|
|||
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|||
|
buttonUpdate.Click += buttonUpdate_Click;
|
|||
|
//
|
|||
|
// buttonDelete
|
|||
|
//
|
|||
|
buttonDelete.Location = new Point(885, 95);
|
|||
|
buttonDelete.Name = "buttonDelete";
|
|||
|
buttonDelete.Size = new Size(75, 23);
|
|||
|
buttonDelete.TabIndex = 3;
|
|||
|
buttonDelete.Text = "Удалить";
|
|||
|
buttonDelete.UseVisualStyleBackColor = true;
|
|||
|
buttonDelete.Click += buttonDelete_Click;
|
|||
|
//
|
|||
|
// buttonRefresh
|
|||
|
//
|
|||
|
buttonRefresh.Location = new Point(885, 124);
|
|||
|
buttonRefresh.Name = "buttonRefresh";
|
|||
|
buttonRefresh.Size = new Size(75, 23);
|
|||
|
buttonRefresh.TabIndex = 4;
|
|||
|
buttonRefresh.Text = "Обновить";
|
|||
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|||
|
buttonRefresh.Click += buttonRefresh_Click;
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.AllowUserToAddRows = false;
|
|||
|
dataGridView.AllowUserToDeleteRows = false;
|
|||
|
dataGridView.BackgroundColor = Color.White;
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Dock = DockStyle.Left;
|
|||
|
dataGridView.Location = new Point(0, 24);
|
|||
|
dataGridView.MultiSelect = false;
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.ReadOnly = true;
|
|||
|
dataGridView.RowHeadersVisible = false;
|
|||
|
dataGridView.RowTemplate.Height = 25;
|
|||
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|||
|
dataGridView.Size = new Size(850, 337);
|
|||
|
dataGridView.TabIndex = 5;
|
|||
|
//
|
|||
|
// FormMain
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(984, 361);
|
|||
|
Controls.Add(dataGridView);
|
|||
|
Controls.Add(buttonRefresh);
|
|||
|
Controls.Add(buttonDelete);
|
|||
|
Controls.Add(buttonUpdate);
|
|||
|
Controls.Add(buttonCreate);
|
|||
|
Controls.Add(menuStrip1);
|
|||
|
MainMenuStrip = menuStrip1;
|
|||
|
Name = "FormMain";
|
|||
|
Text = "Расписание";
|
|||
|
Load += FormMain_Load;
|
|||
|
menuStrip1.ResumeLayout(false);
|
|||
|
menuStrip1.PerformLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private MenuStrip menuStrip1;
|
|||
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|||
|
private ToolStripMenuItem DrviversToolStripMenuItem;
|
|||
|
private ToolStripMenuItem TransportToolStripMenuItem;
|
|||
|
private ToolStripMenuItem RoutesToolStripMenuItem;
|
|||
|
private ToolStripMenuItem StopsToolStripMenuItem;
|
|||
|
private Button buttonCreate;
|
|||
|
private Button buttonUpdate;
|
|||
|
private Button buttonDelete;
|
|||
|
private Button buttonRefresh;
|
|||
|
private DataGridView dataGridView;
|
|||
|
}
|
|||
|
}
|