2024-05-29 14:28:53 +04:00
|
|
|
|
namespace HotelView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
labelTest = new Label();
|
|
|
|
|
menuStrip3 = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
toolStripMenuItem1 = new ToolStripMenuItem();
|
|
|
|
|
guestToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
serviceToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
roomToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
reservationToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
serviceCheckToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
замерыВремениToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
get1000ToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
create1000ToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
update1000ToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
delete1000ToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-30 13:12:02 +04:00
|
|
|
|
обновитьMongoDBToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
checkBoxMongo = new CheckBox();
|
2024-05-29 14:28:53 +04:00
|
|
|
|
menuStrip3.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// labelTest
|
|
|
|
|
//
|
|
|
|
|
labelTest.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelTest.Font = new Font("Segoe UI", 30F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
labelTest.Location = new Point(12, 40);
|
|
|
|
|
labelTest.Name = "labelTest";
|
|
|
|
|
labelTest.Size = new Size(776, 401);
|
|
|
|
|
labelTest.TabIndex = 4;
|
|
|
|
|
labelTest.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// menuStrip3
|
|
|
|
|
//
|
|
|
|
|
menuStrip3.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip3.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, замерыВремениToolStripMenuItem });
|
|
|
|
|
menuStrip3.Location = new Point(0, 0);
|
|
|
|
|
menuStrip3.Name = "menuStrip3";
|
|
|
|
|
menuStrip3.Size = new Size(800, 28);
|
|
|
|
|
menuStrip3.TabIndex = 7;
|
|
|
|
|
menuStrip3.Text = "menuStrip3";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItem1, guestToolStripMenuItem, serviceToolStripMenuItem, roomToolStripMenuItem, reservationToolStripMenuItem, serviceCheckToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItem1
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
|
|
|
toolStripMenuItem1.Size = new Size(178, 26);
|
|
|
|
|
toolStripMenuItem1.Text = "Hotel";
|
|
|
|
|
toolStripMenuItem1.Click += HotelToolStrip_Click;
|
|
|
|
|
//
|
|
|
|
|
// guestToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
guestToolStripMenuItem.Name = "guestToolStripMenuItem";
|
|
|
|
|
guestToolStripMenuItem.Size = new Size(178, 26);
|
|
|
|
|
guestToolStripMenuItem.Text = "Guest";
|
|
|
|
|
guestToolStripMenuItem.Click += GuestToolStrip_Click;
|
|
|
|
|
//
|
|
|
|
|
// serviceToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
serviceToolStripMenuItem.Name = "serviceToolStripMenuItem";
|
|
|
|
|
serviceToolStripMenuItem.Size = new Size(178, 26);
|
|
|
|
|
serviceToolStripMenuItem.Text = "Service";
|
|
|
|
|
serviceToolStripMenuItem.Click += ServiceToolStrip_Click;
|
|
|
|
|
//
|
|
|
|
|
// roomToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
roomToolStripMenuItem.Name = "roomToolStripMenuItem";
|
|
|
|
|
roomToolStripMenuItem.Size = new Size(178, 26);
|
|
|
|
|
roomToolStripMenuItem.Text = "Room";
|
|
|
|
|
roomToolStripMenuItem.Click += RoomToolStrip_Click;
|
|
|
|
|
//
|
|
|
|
|
// reservationToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
reservationToolStripMenuItem.Name = "reservationToolStripMenuItem";
|
|
|
|
|
reservationToolStripMenuItem.Size = new Size(178, 26);
|
|
|
|
|
reservationToolStripMenuItem.Text = "Reservation";
|
|
|
|
|
reservationToolStripMenuItem.Click += ReservationToolStrip_Click;
|
|
|
|
|
//
|
|
|
|
|
// serviceCheckToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
serviceCheckToolStripMenuItem.Name = "serviceCheckToolStripMenuItem";
|
|
|
|
|
serviceCheckToolStripMenuItem.Size = new Size(178, 26);
|
|
|
|
|
serviceCheckToolStripMenuItem.Text = "ServiceCheck";
|
|
|
|
|
serviceCheckToolStripMenuItem.Click += ServiceCheckToolStrip_Click;
|
|
|
|
|
//
|
|
|
|
|
// замерыВремениToolStripMenuItem
|
|
|
|
|
//
|
2024-05-30 13:12:02 +04:00
|
|
|
|
замерыВремениToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { get1000ToolStripMenuItem, create1000ToolStripMenuItem, update1000ToolStripMenuItem, delete1000ToolStripMenuItem, обновитьMongoDBToolStripMenuItem });
|
2024-05-29 14:28:53 +04:00
|
|
|
|
замерыВремениToolStripMenuItem.Name = "замерыВремениToolStripMenuItem";
|
|
|
|
|
замерыВремениToolStripMenuItem.Size = new Size(144, 24);
|
|
|
|
|
замерыВремениToolStripMenuItem.Text = "Замеры времени";
|
|
|
|
|
//
|
|
|
|
|
// get1000ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
get1000ToolStripMenuItem.Name = "get1000ToolStripMenuItem";
|
2024-05-30 13:12:02 +04:00
|
|
|
|
get1000ToolStripMenuItem.Size = new Size(233, 26);
|
2024-05-29 14:28:53 +04:00
|
|
|
|
get1000ToolStripMenuItem.Text = "Get 1000";
|
|
|
|
|
get1000ToolStripMenuItem.Click += get1000ToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// create1000ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
create1000ToolStripMenuItem.Name = "create1000ToolStripMenuItem";
|
2024-05-30 13:12:02 +04:00
|
|
|
|
create1000ToolStripMenuItem.Size = new Size(233, 26);
|
2024-05-29 14:28:53 +04:00
|
|
|
|
create1000ToolStripMenuItem.Text = "Create 1000";
|
|
|
|
|
create1000ToolStripMenuItem.Click += add1000ToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// update1000ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
update1000ToolStripMenuItem.Name = "update1000ToolStripMenuItem";
|
2024-05-30 13:12:02 +04:00
|
|
|
|
update1000ToolStripMenuItem.Size = new Size(233, 26);
|
2024-05-29 14:28:53 +04:00
|
|
|
|
update1000ToolStripMenuItem.Text = "Update 1000";
|
|
|
|
|
update1000ToolStripMenuItem.Click += update1000ToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// delete1000ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
delete1000ToolStripMenuItem.Name = "delete1000ToolStripMenuItem";
|
2024-05-30 13:12:02 +04:00
|
|
|
|
delete1000ToolStripMenuItem.Size = new Size(233, 26);
|
2024-05-29 14:28:53 +04:00
|
|
|
|
delete1000ToolStripMenuItem.Text = "Delete 1000";
|
|
|
|
|
delete1000ToolStripMenuItem.Click += delete1000ToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-05-30 13:12:02 +04:00
|
|
|
|
// обновитьMongoDBToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
обновитьMongoDBToolStripMenuItem.Name = "обновитьMongoDBToolStripMenuItem";
|
|
|
|
|
обновитьMongoDBToolStripMenuItem.Size = new Size(233, 26);
|
|
|
|
|
обновитьMongoDBToolStripMenuItem.Text = "Обновить MongoDB";
|
|
|
|
|
обновитьMongoDBToolStripMenuItem.Click += updateMongoDBToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxMongo
|
|
|
|
|
//
|
|
|
|
|
checkBoxMongo.AutoSize = true;
|
|
|
|
|
checkBoxMongo.Location = new Point(579, 55);
|
|
|
|
|
checkBoxMongo.Name = "checkBoxMongo";
|
|
|
|
|
checkBoxMongo.Size = new Size(198, 24);
|
|
|
|
|
checkBoxMongo.TabIndex = 8;
|
|
|
|
|
checkBoxMongo.Text = "Ипользовать MongoDB ";
|
|
|
|
|
checkBoxMongo.UseVisualStyleBackColor = true;
|
|
|
|
|
checkBoxMongo.CheckedChanged += MongoDB_CheckedChanged;
|
|
|
|
|
//
|
2024-05-29 14:28:53 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(800, 450);
|
2024-05-30 13:12:02 +04:00
|
|
|
|
Controls.Add(checkBoxMongo);
|
2024-05-29 14:28:53 +04:00
|
|
|
|
Controls.Add(labelTest);
|
|
|
|
|
Controls.Add(menuStrip3);
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Form1";
|
|
|
|
|
menuStrip3.ResumeLayout(false);
|
|
|
|
|
menuStrip3.PerformLayout();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private Label labelTest;
|
|
|
|
|
private MenuStrip menuStrip3;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItem1;
|
|
|
|
|
private ToolStripMenuItem замерыВремениToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem get1000ToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem create1000ToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem update1000ToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem delete1000ToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem guestToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem serviceToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem roomToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem reservationToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem serviceCheckToolStripMenuItem;
|
2024-05-30 13:12:02 +04:00
|
|
|
|
private ToolStripMenuItem обновитьMongoDBToolStripMenuItem;
|
|
|
|
|
private CheckBox checkBoxMongo;
|
2024-05-29 14:28:53 +04:00
|
|
|
|
}
|
|
|
|
|
}
|