2024-04-05 02:48:52 +04:00
|
|
|
|
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();
|
2024-04-09 13:48:30 +04:00
|
|
|
|
тестыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
DriversTestsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
TransportTestsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
RoutesTestsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
StopsTestsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
SchedulesTestsToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-05 02:48:52 +04:00
|
|
|
|
buttonCreate = new Button();
|
|
|
|
|
buttonUpdate = new Button();
|
|
|
|
|
buttonDelete = new Button();
|
|
|
|
|
buttonRefresh = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
2024-04-09 13:48:30 +04:00
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, тестыToolStripMenuItem });
|
2024-04-05 02:48:52 +04:00
|
|
|
|
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";
|
2024-04-09 13:48:30 +04:00
|
|
|
|
DrviversToolStripMenuItem.Size = new Size(136, 22);
|
2024-04-05 02:48:52 +04:00
|
|
|
|
DrviversToolStripMenuItem.Text = "Водители";
|
|
|
|
|
DrviversToolStripMenuItem.Click += DrviversToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// TransportToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
TransportToolStripMenuItem.Name = "TransportToolStripMenuItem";
|
2024-04-09 13:48:30 +04:00
|
|
|
|
TransportToolStripMenuItem.Size = new Size(136, 22);
|
2024-04-05 02:48:52 +04:00
|
|
|
|
TransportToolStripMenuItem.Text = "Транспорт";
|
|
|
|
|
TransportToolStripMenuItem.Click += TransportToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// RoutesToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
RoutesToolStripMenuItem.Name = "RoutesToolStripMenuItem";
|
2024-04-09 13:48:30 +04:00
|
|
|
|
RoutesToolStripMenuItem.Size = new Size(136, 22);
|
2024-04-05 02:48:52 +04:00
|
|
|
|
RoutesToolStripMenuItem.Text = "Маршруты";
|
|
|
|
|
RoutesToolStripMenuItem.Click += RoutesToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// StopsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
StopsToolStripMenuItem.Name = "StopsToolStripMenuItem";
|
2024-04-09 13:48:30 +04:00
|
|
|
|
StopsToolStripMenuItem.Size = new Size(136, 22);
|
2024-04-05 02:48:52 +04:00
|
|
|
|
StopsToolStripMenuItem.Text = "Остановки";
|
|
|
|
|
StopsToolStripMenuItem.Click += StopsToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-09 13:48:30 +04:00
|
|
|
|
// тестыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
тестыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { DriversTestsToolStripMenuItem, TransportTestsToolStripMenuItem, RoutesTestsToolStripMenuItem, StopsTestsToolStripMenuItem, SchedulesTestsToolStripMenuItem });
|
|
|
|
|
тестыToolStripMenuItem.Name = "тестыToolStripMenuItem";
|
|
|
|
|
тестыToolStripMenuItem.Size = new Size(51, 20);
|
|
|
|
|
тестыToolStripMenuItem.Text = "Тесты";
|
|
|
|
|
//
|
|
|
|
|
// DriversTestsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
DriversTestsToolStripMenuItem.Name = "DriversTestsToolStripMenuItem";
|
|
|
|
|
DriversTestsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
DriversTestsToolStripMenuItem.Text = "Водители";
|
|
|
|
|
DriversTestsToolStripMenuItem.Click += DriversTestsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// TransportTestsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
TransportTestsToolStripMenuItem.Name = "TransportTestsToolStripMenuItem";
|
|
|
|
|
TransportTestsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
TransportTestsToolStripMenuItem.Text = "Транспорт";
|
|
|
|
|
TransportTestsToolStripMenuItem.Click += TransportTestsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// RoutesTestsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
RoutesTestsToolStripMenuItem.Name = "RoutesTestsToolStripMenuItem";
|
|
|
|
|
RoutesTestsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
RoutesTestsToolStripMenuItem.Text = "Маршруты";
|
|
|
|
|
RoutesTestsToolStripMenuItem.Click += RoutesTestsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// StopsTestsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
StopsTestsToolStripMenuItem.Name = "StopsTestsToolStripMenuItem";
|
|
|
|
|
StopsTestsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
StopsTestsToolStripMenuItem.Text = "Остановки";
|
|
|
|
|
StopsTestsToolStripMenuItem.Click += StopsTestsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// SchedulesTestsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
SchedulesTestsToolStripMenuItem.Name = "SchedulesTestsToolStripMenuItem";
|
|
|
|
|
SchedulesTestsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
SchedulesTestsToolStripMenuItem.Text = "Расписания";
|
|
|
|
|
SchedulesTestsToolStripMenuItem.Click += SchedulesTestsToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-05 02:48:52 +04:00
|
|
|
|
// 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;
|
2024-04-09 13:48:30 +04:00
|
|
|
|
private ToolStripMenuItem тестыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem DriversTestsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem TransportTestsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem RoutesTestsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem StopsTestsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem SchedulesTestsToolStripMenuItem;
|
2024-04-05 02:48:52 +04:00
|
|
|
|
}
|
|
|
|
|
}
|