2024-05-14 22:32:28 +04:00
|
|
|
|
namespace View
|
|
|
|
|
{
|
|
|
|
|
partial class MainForm
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2024-05-21 22:20:17 +04:00
|
|
|
|
menuStrip1 = new MenuStrip();
|
|
|
|
|
сущностиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
albumToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
locationToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
authorToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
photoToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
commentToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
trackBarDB = new TrackBar();
|
|
|
|
|
labelMongoDB = new Label();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
buttonTransferDataFromPostgresToMongo = new Button();
|
|
|
|
|
buttonTest = new Button();
|
|
|
|
|
textBoxTest = new TextBox();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)trackBarDB).BeginInit();
|
2024-05-14 22:32:28 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// menuStrip1
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { сущностиToolStripMenuItem });
|
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Size = new Size(1135, 28);
|
|
|
|
|
menuStrip1.TabIndex = 20;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// сущностиToolStripMenuItem
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
сущностиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { albumToolStripMenuItem, locationToolStripMenuItem, authorToolStripMenuItem, photoToolStripMenuItem, commentToolStripMenuItem });
|
|
|
|
|
сущностиToolStripMenuItem.Name = "сущностиToolStripMenuItem";
|
|
|
|
|
сущностиToolStripMenuItem.Size = new Size(91, 24);
|
|
|
|
|
сущностиToolStripMenuItem.Text = "Сущности";
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// albumToolStripMenuItem
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
albumToolStripMenuItem.Name = "albumToolStripMenuItem";
|
|
|
|
|
albumToolStripMenuItem.Size = new Size(190, 26);
|
|
|
|
|
albumToolStripMenuItem.Text = "Альбом";
|
|
|
|
|
albumToolStripMenuItem.Click += albumToolStripMenuItem_Click;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// locationToolStripMenuItem
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
locationToolStripMenuItem.Name = "locationToolStripMenuItem";
|
|
|
|
|
locationToolStripMenuItem.Size = new Size(190, 26);
|
|
|
|
|
locationToolStripMenuItem.Text = "Локация";
|
|
|
|
|
locationToolStripMenuItem.Click += locationToolStripMenuItem_Click;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// authorToolStripMenuItem
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
authorToolStripMenuItem.Name = "authorToolStripMenuItem";
|
|
|
|
|
authorToolStripMenuItem.Size = new Size(190, 26);
|
|
|
|
|
authorToolStripMenuItem.Text = "Автор";
|
|
|
|
|
authorToolStripMenuItem.Click += authorToolStripMenuItem_Click;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// photoToolStripMenuItem
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
photoToolStripMenuItem.Name = "photoToolStripMenuItem";
|
|
|
|
|
photoToolStripMenuItem.Size = new Size(190, 26);
|
|
|
|
|
photoToolStripMenuItem.Text = "Фотография";
|
|
|
|
|
photoToolStripMenuItem.Click += photoToolStripMenuItem_Click;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// commentToolStripMenuItem
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
commentToolStripMenuItem.Name = "commentToolStripMenuItem";
|
|
|
|
|
commentToolStripMenuItem.Size = new Size(190, 26);
|
|
|
|
|
commentToolStripMenuItem.Text = "Комментарий";
|
|
|
|
|
commentToolStripMenuItem.Click += commentToolStripMenuItem_Click;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// trackBarDB
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
trackBarDB.LargeChange = 1;
|
|
|
|
|
trackBarDB.Location = new Point(31, 89);
|
|
|
|
|
trackBarDB.Maximum = 100;
|
|
|
|
|
trackBarDB.Name = "trackBarDB";
|
|
|
|
|
trackBarDB.Orientation = Orientation.Vertical;
|
|
|
|
|
trackBarDB.Size = new Size(56, 119);
|
|
|
|
|
trackBarDB.TabIndex = 3;
|
|
|
|
|
trackBarDB.MouseUp += trackBarDB_MouseUp;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// labelMongoDB
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
labelMongoDB.AutoSize = true;
|
|
|
|
|
labelMongoDB.Location = new Point(93, 89);
|
|
|
|
|
labelMongoDB.Name = "labelMongoDB";
|
|
|
|
|
labelMongoDB.Size = new Size(77, 20);
|
|
|
|
|
labelMongoDB.TabIndex = 22;
|
|
|
|
|
labelMongoDB.Text = "MongoDB";
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// label1
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(93, 188);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(64, 20);
|
|
|
|
|
label1.TabIndex = 23;
|
|
|
|
|
label1.Text = "Postgres";
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// buttonTransferDataFromPostgresToMongo
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
buttonTransferDataFromPostgresToMongo.Location = new Point(834, 80);
|
|
|
|
|
buttonTransferDataFromPostgresToMongo.Name = "buttonTransferDataFromPostgresToMongo";
|
|
|
|
|
buttonTransferDataFromPostgresToMongo.Size = new Size(245, 128);
|
|
|
|
|
buttonTransferDataFromPostgresToMongo.TabIndex = 24;
|
|
|
|
|
buttonTransferDataFromPostgresToMongo.Text = "Transfer data from PostgresSQL to MongoDB";
|
|
|
|
|
buttonTransferDataFromPostgresToMongo.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTransferDataFromPostgresToMongo.Click += buttonTransferDataFromPostgresToMongo_Click;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
// buttonTest
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
2024-05-21 22:20:17 +04:00
|
|
|
|
buttonTest.Location = new Point(439, 318);
|
|
|
|
|
buttonTest.Name = "buttonTest";
|
|
|
|
|
buttonTest.Size = new Size(94, 29);
|
|
|
|
|
buttonTest.TabIndex = 25;
|
|
|
|
|
buttonTest.Text = "test";
|
|
|
|
|
buttonTest.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTest.Click += buttonTest_Click;
|
|
|
|
|
//
|
|
|
|
|
// textBoxTest
|
|
|
|
|
//
|
|
|
|
|
textBoxTest.Location = new Point(310, 80);
|
|
|
|
|
textBoxTest.Multiline = true;
|
|
|
|
|
textBoxTest.Name = "textBoxTest";
|
|
|
|
|
textBoxTest.Size = new Size(377, 128);
|
|
|
|
|
textBoxTest.TabIndex = 26;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
//
|
|
|
|
|
// MainForm
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-05-21 22:20:17 +04:00
|
|
|
|
ClientSize = new Size(1135, 436);
|
|
|
|
|
Controls.Add(textBoxTest);
|
|
|
|
|
Controls.Add(buttonTest);
|
|
|
|
|
Controls.Add(buttonTransferDataFromPostgresToMongo);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(labelMongoDB);
|
|
|
|
|
Controls.Add(trackBarDB);
|
|
|
|
|
Controls.Add(menuStrip1);
|
|
|
|
|
MainMenuStrip = menuStrip1;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
Name = "MainForm";
|
|
|
|
|
Text = "MainForm";
|
2024-05-21 22:20:17 +04:00
|
|
|
|
menuStrip1.ResumeLayout(false);
|
|
|
|
|
menuStrip1.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)trackBarDB).EndInit();
|
2024-05-14 22:32:28 +04:00
|
|
|
|
ResumeLayout(false);
|
2024-05-21 22:20:17 +04:00
|
|
|
|
PerformLayout();
|
2024-05-14 22:32:28 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2024-05-21 22:20:17 +04:00
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem сущностиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem albumToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem locationToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem authorToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem photoToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem commentToolStripMenuItem;
|
|
|
|
|
private TrackBar trackBarDB;
|
|
|
|
|
private Label labelMongoDB;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private Button buttonTransferDataFromPostgresToMongo;
|
|
|
|
|
private Button buttonTest;
|
|
|
|
|
private TextBox textBoxTest;
|
2024-05-14 22:32:28 +04:00
|
|
|
|
}
|
|
|
|
|
}
|