348 lines
14 KiB
C#
348 lines
14 KiB
C#
namespace ProjectCruiser
|
|
{
|
|
partial class ServiceForm2
|
|
{
|
|
/// <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()
|
|
{
|
|
comboBoxArrList = new ComboBox();
|
|
groupBox = new GroupBox();
|
|
companyPanel = new Panel();
|
|
btnDeleteCollection = new Button();
|
|
listBox = new ListBox();
|
|
btnAddCollection = new Button();
|
|
rBtnList = new RadioButton();
|
|
rBtnArray = new RadioButton();
|
|
maskedTxtBoxCName = new MaskedTextBox();
|
|
label = new Label();
|
|
toolPanel = new Panel();
|
|
btnUpdate = new Button();
|
|
btnTest = new Button();
|
|
maskedTextBoxPosition = new MaskedTextBox();
|
|
btnDelete = new Button();
|
|
btnAddCruiser = new Button();
|
|
btnCreateCompany = new Button();
|
|
pictureBox = new PictureBox();
|
|
menuStrip = new MenuStrip();
|
|
fileToolStripMenuItem = new ToolStripMenuItem();
|
|
saveToolStripMenuItem = new ToolStripMenuItem();
|
|
loadToolStripMenuItem = new ToolStripMenuItem();
|
|
saveFileDialog = new SaveFileDialog();
|
|
openFileDialog = new OpenFileDialog();
|
|
groupBox.SuspendLayout();
|
|
companyPanel.SuspendLayout();
|
|
toolPanel.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).BeginInit();
|
|
menuStrip.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// comboBoxArrList
|
|
//
|
|
comboBoxArrList.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
comboBoxArrList.FormattingEnabled = true;
|
|
comboBoxArrList.Items.AddRange(new object[] { "Storage" });
|
|
comboBoxArrList.Location = new Point(17, 51);
|
|
comboBoxArrList.Name = "comboBoxArrList";
|
|
comboBoxArrList.Size = new Size(241, 40);
|
|
comboBoxArrList.TabIndex = 0;
|
|
comboBoxArrList.SelectedIndexChanged += SelectorCompany_SelectedIndexChanged;
|
|
//
|
|
// groupBox
|
|
//
|
|
groupBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
groupBox.Controls.Add(companyPanel);
|
|
groupBox.Controls.Add(toolPanel);
|
|
groupBox.Controls.Add(btnCreateCompany);
|
|
groupBox.Controls.Add(comboBoxArrList);
|
|
groupBox.Location = new Point(1421, 47);
|
|
groupBox.Name = "groupBox";
|
|
groupBox.Size = new Size(273, 934);
|
|
groupBox.TabIndex = 2;
|
|
groupBox.TabStop = false;
|
|
groupBox.Text = "Tool panel";
|
|
//
|
|
// companyPanel
|
|
//
|
|
companyPanel.Controls.Add(btnDeleteCollection);
|
|
companyPanel.Controls.Add(listBox);
|
|
companyPanel.Controls.Add(btnAddCollection);
|
|
companyPanel.Controls.Add(rBtnList);
|
|
companyPanel.Controls.Add(rBtnArray);
|
|
companyPanel.Controls.Add(maskedTxtBoxCName);
|
|
companyPanel.Controls.Add(label);
|
|
companyPanel.Location = new Point(17, 98);
|
|
companyPanel.Name = "companyPanel";
|
|
companyPanel.Size = new Size(243, 391);
|
|
companyPanel.TabIndex = 7;
|
|
//
|
|
// btnDeleteCollection
|
|
//
|
|
btnDeleteCollection.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
btnDeleteCollection.Location = new Point(15, 312);
|
|
btnDeleteCollection.Name = "btnDeleteCollection";
|
|
btnDeleteCollection.Size = new Size(214, 73);
|
|
btnDeleteCollection.TabIndex = 11;
|
|
btnDeleteCollection.Text = "Remove Collection";
|
|
btnDeleteCollection.UseVisualStyleBackColor = true;
|
|
btnDeleteCollection.Click += btnCollectionDel_Click;
|
|
//
|
|
// listBox
|
|
//
|
|
listBox.FormattingEnabled = true;
|
|
listBox.Location = new Point(16, 174);
|
|
listBox.Name = "listBox";
|
|
listBox.Size = new Size(214, 132);
|
|
listBox.TabIndex = 10;
|
|
//
|
|
// btnAddCollection
|
|
//
|
|
btnAddCollection.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
btnAddCollection.Location = new Point(15, 119);
|
|
btnAddCollection.Name = "btnAddCollection";
|
|
btnAddCollection.Size = new Size(214, 50);
|
|
btnAddCollection.TabIndex = 7;
|
|
btnAddCollection.Text = "Add Collection";
|
|
btnAddCollection.UseVisualStyleBackColor = true;
|
|
btnAddCollection.Click += btnCollectionAdd_Click;
|
|
//
|
|
// rBtnList
|
|
//
|
|
rBtnList.AutoSize = true;
|
|
rBtnList.Location = new Point(150, 80);
|
|
rBtnList.Name = "rBtnList";
|
|
rBtnList.Size = new Size(80, 36);
|
|
rBtnList.TabIndex = 9;
|
|
rBtnList.TabStop = true;
|
|
rBtnList.Text = "List";
|
|
rBtnList.UseVisualStyleBackColor = true;
|
|
//
|
|
// rBtnArray
|
|
//
|
|
rBtnArray.AutoSize = true;
|
|
rBtnArray.Location = new Point(16, 80);
|
|
rBtnArray.Name = "rBtnArray";
|
|
rBtnArray.Size = new Size(100, 36);
|
|
rBtnArray.TabIndex = 8;
|
|
rBtnArray.TabStop = true;
|
|
rBtnArray.Text = "Array";
|
|
rBtnArray.UseVisualStyleBackColor = true;
|
|
//
|
|
// maskedTxtBoxCName
|
|
//
|
|
maskedTxtBoxCName.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
maskedTxtBoxCName.Location = new Point(16, 40);
|
|
maskedTxtBoxCName.Name = "maskedTxtBoxCName";
|
|
maskedTxtBoxCName.Size = new Size(214, 39);
|
|
maskedTxtBoxCName.TabIndex = 7;
|
|
//
|
|
// label
|
|
//
|
|
label.AutoSize = true;
|
|
label.Location = new Point(29, 5);
|
|
label.Name = "label";
|
|
label.Size = new Size(188, 32);
|
|
label.TabIndex = 0;
|
|
label.Text = "Collection name";
|
|
//
|
|
// toolPanel
|
|
//
|
|
toolPanel.Controls.Add(btnUpdate);
|
|
toolPanel.Controls.Add(btnTest);
|
|
toolPanel.Controls.Add(maskedTextBoxPosition);
|
|
toolPanel.Controls.Add(btnDelete);
|
|
toolPanel.Controls.Add(btnAddCruiser);
|
|
toolPanel.Enabled = false;
|
|
toolPanel.Location = new Point(26, 608);
|
|
toolPanel.Name = "toolPanel";
|
|
toolPanel.Size = new Size(226, 317);
|
|
toolPanel.TabIndex = 13;
|
|
//
|
|
// btnUpdate
|
|
//
|
|
btnUpdate.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
btnUpdate.Location = new Point(16, 257);
|
|
btnUpdate.Name = "btnUpdate";
|
|
btnUpdate.Size = new Size(192, 41);
|
|
btnUpdate.TabIndex = 6;
|
|
btnUpdate.Text = "Update";
|
|
btnUpdate.UseVisualStyleBackColor = true;
|
|
btnUpdate.Click += btnRefresh_Click;
|
|
//
|
|
// btnTest
|
|
//
|
|
btnTest.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
btnTest.Location = new Point(17, 162);
|
|
btnTest.Name = "btnTest";
|
|
btnTest.Size = new Size(192, 89);
|
|
btnTest.TabIndex = 5;
|
|
btnTest.Text = "Choose\r\nfor testing";
|
|
btnTest.UseVisualStyleBackColor = true;
|
|
btnTest.Click += btnChooseforTest_Click;
|
|
//
|
|
// maskedTextBoxPosition
|
|
//
|
|
maskedTextBoxPosition.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
maskedTextBoxPosition.Location = new Point(17, 68);
|
|
maskedTextBoxPosition.Mask = "00";
|
|
maskedTextBoxPosition.Name = "maskedTextBoxPosition";
|
|
maskedTextBoxPosition.Size = new Size(192, 39);
|
|
maskedTextBoxPosition.TabIndex = 3;
|
|
maskedTextBoxPosition.ValidatingType = typeof(int);
|
|
//
|
|
// btnDelete
|
|
//
|
|
btnDelete.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
btnDelete.Location = new Point(16, 113);
|
|
btnDelete.Name = "btnDelete";
|
|
btnDelete.Size = new Size(192, 43);
|
|
btnDelete.TabIndex = 4;
|
|
btnDelete.Text = "Delete";
|
|
btnDelete.UseVisualStyleBackColor = true;
|
|
btnDelete.Click += btnRemoveCar_Click;
|
|
//
|
|
// btnAddCruiser
|
|
//
|
|
btnAddCruiser.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
btnAddCruiser.Location = new Point(17, 13);
|
|
btnAddCruiser.Name = "btnAddCruiser";
|
|
btnAddCruiser.Size = new Size(192, 49);
|
|
btnAddCruiser.TabIndex = 2;
|
|
btnAddCruiser.Text = "Add cruiser";
|
|
btnAddCruiser.UseVisualStyleBackColor = true;
|
|
btnAddCruiser.Click += btnAddTransport_Click;
|
|
//
|
|
// btnCreateCompany
|
|
//
|
|
btnCreateCompany.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
btnCreateCompany.Location = new Point(16, 510);
|
|
btnCreateCompany.Name = "btnCreateCompany";
|
|
btnCreateCompany.Size = new Size(245, 79);
|
|
btnCreateCompany.TabIndex = 12;
|
|
btnCreateCompany.Text = "Create or switch to Company";
|
|
btnCreateCompany.UseVisualStyleBackColor = true;
|
|
btnCreateCompany.Click += btnCreateCompany_Click;
|
|
//
|
|
// pictureBox
|
|
//
|
|
pictureBox.Dock = DockStyle.Left;
|
|
pictureBox.Location = new Point(0, 40);
|
|
pictureBox.Name = "pictureBox";
|
|
pictureBox.Size = new Size(1415, 967);
|
|
pictureBox.TabIndex = 3;
|
|
pictureBox.TabStop = false;
|
|
//
|
|
// menuStrip
|
|
//
|
|
menuStrip.ImageScalingSize = new Size(32, 32);
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem });
|
|
menuStrip.Location = new Point(0, 0);
|
|
menuStrip.Name = "menuStrip";
|
|
menuStrip.Size = new Size(1700, 40);
|
|
menuStrip.TabIndex = 4;
|
|
menuStrip.Text = "menuStrip1";
|
|
//
|
|
// fileToolStripMenuItem
|
|
//
|
|
fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { saveToolStripMenuItem, loadToolStripMenuItem });
|
|
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
fileToolStripMenuItem.Size = new Size(71, 36);
|
|
fileToolStripMenuItem.Text = "File";
|
|
//
|
|
// saveToolStripMenuItem
|
|
//
|
|
saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
|
saveToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.S;
|
|
saveToolStripMenuItem.Size = new Size(277, 44);
|
|
saveToolStripMenuItem.Text = "Save";
|
|
saveToolStripMenuItem.Click += saveToolStripMenuItem_Click;
|
|
//
|
|
// loadToolStripMenuItem
|
|
//
|
|
loadToolStripMenuItem.Name = "loadToolStripMenuItem";
|
|
loadToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.L;
|
|
loadToolStripMenuItem.Size = new Size(277, 44);
|
|
loadToolStripMenuItem.Text = "Load";
|
|
loadToolStripMenuItem.Click += loadToolStripMenuItem_Click;
|
|
//
|
|
// saveFileDialog
|
|
//
|
|
saveFileDialog.Filter = "txt file|*.txt";
|
|
//
|
|
// openFileDialog
|
|
//
|
|
openFileDialog.Filter = "txt file|*.txt";
|
|
//
|
|
// ServiceForm2
|
|
//
|
|
AutoScaleDimensions = new SizeF(13F, 32F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1700, 1007);
|
|
Controls.Add(pictureBox);
|
|
Controls.Add(groupBox);
|
|
Controls.Add(menuStrip);
|
|
MainMenuStrip = menuStrip;
|
|
Name = "ServiceForm2";
|
|
Text = "ServiceForm2";
|
|
groupBox.ResumeLayout(false);
|
|
companyPanel.ResumeLayout(false);
|
|
companyPanel.PerformLayout();
|
|
toolPanel.ResumeLayout(false);
|
|
toolPanel.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).EndInit();
|
|
menuStrip.ResumeLayout(false);
|
|
menuStrip.PerformLayout();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private ComboBox comboBoxArrList;
|
|
private GroupBox groupBox;
|
|
private Button btnAddCruiser;
|
|
private Button btnUpdate;
|
|
private Button btnTest;
|
|
private Button btnDelete;
|
|
private MaskedTextBox maskedTextBoxPosition;
|
|
private PictureBox pictureBox;
|
|
private Panel companyPanel;
|
|
private RadioButton rBtnArray;
|
|
private MaskedTextBox maskedTxtBoxCName;
|
|
private Label label;
|
|
private RadioButton rBtnList;
|
|
private Button btnAddCollection;
|
|
private ListBox listBox;
|
|
private Button btnDeleteCollection;
|
|
private Button btnCreateCompany;
|
|
private Panel toolPanel;
|
|
private MenuStrip menuStrip;
|
|
private ToolStripMenuItem fileToolStripMenuItem;
|
|
private ToolStripMenuItem saveToolStripMenuItem;
|
|
private ToolStripMenuItem loadToolStripMenuItem;
|
|
private SaveFileDialog saveFileDialog;
|
|
private OpenFileDialog openFileDialog;
|
|
}
|
|
} |