2024-06-13 00:05:05 +04:00
|
|
|
|
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();
|
|
|
|
|
btnAddBase = new Button();
|
|
|
|
|
groupBox = new GroupBox();
|
2024-06-15 09:05:36 +04:00
|
|
|
|
toolPanel = new Panel();
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnUpdate = new Button();
|
|
|
|
|
btnTest = new Button();
|
|
|
|
|
maskedTextBoxPosition = new MaskedTextBox();
|
2024-06-15 09:05:36 +04:00
|
|
|
|
btnDelete = new Button();
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnAddCruiser = new Button();
|
2024-06-15 09:05:36 +04:00
|
|
|
|
btnCreateCompany = new Button();
|
2024-06-13 00:05:05 +04:00
|
|
|
|
pictureBox = new PictureBox();
|
2024-06-13 13:58:43 +04:00
|
|
|
|
companyPanel = new Panel();
|
|
|
|
|
btnDeleteCollection = new Button();
|
2024-06-15 09:05:36 +04:00
|
|
|
|
listBox = new ListBox();
|
|
|
|
|
btnAddCollection = new Button();
|
|
|
|
|
rBtnList = new RadioButton();
|
|
|
|
|
rBtnArray = new RadioButton();
|
|
|
|
|
maskedTxtBoxCName = new MaskedTextBox();
|
|
|
|
|
label = new Label();
|
2024-06-13 00:05:05 +04:00
|
|
|
|
groupBox.SuspendLayout();
|
2024-06-15 09:05:36 +04:00
|
|
|
|
toolPanel.SuspendLayout();
|
2024-06-13 00:05:05 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).BeginInit();
|
2024-06-13 13:58:43 +04:00
|
|
|
|
companyPanel.SuspendLayout();
|
2024-06-13 00:05:05 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// comboBoxArrList
|
|
|
|
|
//
|
|
|
|
|
comboBoxArrList.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
comboBoxArrList.FormattingEnabled = true;
|
2024-06-13 10:57:01 +04:00
|
|
|
|
comboBoxArrList.Items.AddRange(new object[] { "Storage" });
|
2024-06-13 13:58:43 +04:00
|
|
|
|
comboBoxArrList.Location = new Point(17, 41);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
comboBoxArrList.Name = "comboBoxArrList";
|
2024-06-15 09:05:36 +04:00
|
|
|
|
comboBoxArrList.Size = new Size(241, 40);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
comboBoxArrList.TabIndex = 0;
|
|
|
|
|
comboBoxArrList.SelectedIndexChanged += SelectorCompany_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// btnAddBase
|
|
|
|
|
//
|
|
|
|
|
btnAddBase.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnAddBase.Location = new Point(17, 13);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnAddBase.Name = "btnAddBase";
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnAddBase.Size = new Size(192, 43);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnAddBase.TabIndex = 1;
|
|
|
|
|
btnAddBase.Text = "Add ship";
|
|
|
|
|
btnAddBase.UseVisualStyleBackColor = true;
|
|
|
|
|
btnAddBase.Click += btnAddBase_Click;
|
|
|
|
|
//
|
|
|
|
|
// groupBox
|
|
|
|
|
//
|
|
|
|
|
groupBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
2024-06-15 09:05:36 +04:00
|
|
|
|
groupBox.Controls.Add(companyPanel);
|
2024-06-13 13:58:43 +04:00
|
|
|
|
groupBox.Controls.Add(toolPanel);
|
|
|
|
|
groupBox.Controls.Add(btnCreateCompany);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
groupBox.Controls.Add(comboBoxArrList);
|
2024-06-15 09:05:36 +04:00
|
|
|
|
groupBox.Location = new Point(1421, 10);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
groupBox.Name = "groupBox";
|
2024-06-15 09:05:36 +04:00
|
|
|
|
groupBox.Size = new Size(273, 986);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
groupBox.TabIndex = 2;
|
|
|
|
|
groupBox.TabStop = false;
|
|
|
|
|
groupBox.Text = "Tool panel";
|
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
// toolPanel
|
|
|
|
|
//
|
|
|
|
|
toolPanel.Controls.Add(btnUpdate);
|
|
|
|
|
toolPanel.Controls.Add(btnTest);
|
|
|
|
|
toolPanel.Controls.Add(maskedTextBoxPosition);
|
|
|
|
|
toolPanel.Controls.Add(btnDelete);
|
|
|
|
|
toolPanel.Controls.Add(btnAddCruiser);
|
|
|
|
|
toolPanel.Controls.Add(btnAddBase);
|
|
|
|
|
toolPanel.Enabled = false;
|
|
|
|
|
toolPanel.Location = new Point(26, 593);
|
|
|
|
|
toolPanel.Name = "toolPanel";
|
|
|
|
|
toolPanel.Size = new Size(226, 377);
|
|
|
|
|
toolPanel.TabIndex = 13;
|
|
|
|
|
//
|
2024-06-13 00:05:05 +04:00
|
|
|
|
// btnUpdate
|
|
|
|
|
//
|
|
|
|
|
btnUpdate.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnUpdate.Location = new Point(17, 315);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnUpdate.Name = "btnUpdate";
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnUpdate.Size = new Size(192, 49);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnUpdate.TabIndex = 6;
|
|
|
|
|
btnUpdate.Text = "Update";
|
|
|
|
|
btnUpdate.UseVisualStyleBackColor = true;
|
|
|
|
|
btnUpdate.Click += btnRefresh_Click;
|
|
|
|
|
//
|
|
|
|
|
// btnTest
|
|
|
|
|
//
|
|
|
|
|
btnTest.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnTest.Location = new Point(17, 224);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnTest.Name = "btnTest";
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnTest.Size = new Size(192, 85);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnTest.TabIndex = 5;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnTest.Text = "Choose\r\nfor testing";
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnTest.UseVisualStyleBackColor = true;
|
|
|
|
|
btnTest.Click += btnChooseforTest_Click;
|
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
// maskedTextBoxPosition
|
|
|
|
|
//
|
|
|
|
|
maskedTextBoxPosition.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
maskedTextBoxPosition.Location = new Point(17, 119);
|
|
|
|
|
maskedTextBoxPosition.Mask = "00";
|
|
|
|
|
maskedTextBoxPosition.Name = "maskedTextBoxPosition";
|
|
|
|
|
maskedTextBoxPosition.Size = new Size(192, 39);
|
|
|
|
|
maskedTextBoxPosition.TabIndex = 3;
|
|
|
|
|
maskedTextBoxPosition.ValidatingType = typeof(int);
|
|
|
|
|
//
|
2024-06-13 00:05:05 +04:00
|
|
|
|
// btnDelete
|
|
|
|
|
//
|
|
|
|
|
btnDelete.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnDelete.Location = new Point(17, 170);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnDelete.Name = "btnDelete";
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnDelete.Size = new Size(192, 48);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnDelete.TabIndex = 4;
|
|
|
|
|
btnDelete.Text = "Delete";
|
|
|
|
|
btnDelete.UseVisualStyleBackColor = true;
|
|
|
|
|
btnDelete.Click += btnRemoveCar_Click;
|
|
|
|
|
//
|
|
|
|
|
// btnAddCruiser
|
|
|
|
|
//
|
|
|
|
|
btnAddCruiser.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnAddCruiser.Location = new Point(17, 62);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnAddCruiser.Name = "btnAddCruiser";
|
2024-06-13 13:58:43 +04:00
|
|
|
|
btnAddCruiser.Size = new Size(192, 51);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
btnAddCruiser.TabIndex = 2;
|
|
|
|
|
btnAddCruiser.Text = "Add cruiser";
|
|
|
|
|
btnAddCruiser.UseVisualStyleBackColor = true;
|
|
|
|
|
btnAddCruiser.Click += btnAddAdvanced_Click;
|
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
// btnCreateCompany
|
|
|
|
|
//
|
|
|
|
|
btnCreateCompany.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
btnCreateCompany.Location = new Point(17, 526);
|
|
|
|
|
btnCreateCompany.Name = "btnCreateCompany";
|
|
|
|
|
btnCreateCompany.Size = new Size(243, 61);
|
|
|
|
|
btnCreateCompany.TabIndex = 12;
|
|
|
|
|
btnCreateCompany.Text = "Create Company";
|
|
|
|
|
btnCreateCompany.UseVisualStyleBackColor = true;
|
|
|
|
|
btnCreateCompany.Click += btnCreateCompany_Click;
|
|
|
|
|
//
|
2024-06-13 00:05:05 +04:00
|
|
|
|
// pictureBox
|
|
|
|
|
//
|
|
|
|
|
pictureBox.Dock = DockStyle.Left;
|
|
|
|
|
pictureBox.Location = new Point(0, 0);
|
|
|
|
|
pictureBox.Name = "pictureBox";
|
2024-06-15 09:05:36 +04:00
|
|
|
|
pictureBox.Size = new Size(1415, 1007);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
pictureBox.TabIndex = 3;
|
|
|
|
|
pictureBox.TabStop = false;
|
|
|
|
|
//
|
2024-06-13 13:58:43 +04:00
|
|
|
|
// 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);
|
2024-06-15 09:05:36 +04:00
|
|
|
|
companyPanel.Location = new Point(17, 91);
|
|
|
|
|
companyPanel.Name = "companyPanel";
|
2024-06-13 13:58:43 +04:00
|
|
|
|
companyPanel.Size = new Size(243, 429);
|
|
|
|
|
companyPanel.TabIndex = 7;
|
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
// btnDeleteCollection
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
btnDeleteCollection.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
btnDeleteCollection.Location = new Point(15, 371);
|
|
|
|
|
btnDeleteCollection.Name = "btnDeleteCollection";
|
|
|
|
|
btnDeleteCollection.Size = new Size(214, 43);
|
|
|
|
|
btnDeleteCollection.TabIndex = 11;
|
|
|
|
|
btnDeleteCollection.Text = "Remove Collection";
|
|
|
|
|
btnDeleteCollection.UseVisualStyleBackColor = true;
|
|
|
|
|
btnDeleteCollection.Click += btnCollectionDel_Click;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
// listBox
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
listBox.FormattingEnabled = true;
|
|
|
|
|
listBox.Location = new Point(16, 199);
|
|
|
|
|
listBox.Name = "listBox";
|
|
|
|
|
listBox.Size = new Size(214, 164);
|
|
|
|
|
listBox.TabIndex = 10;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
// btnAddCollection
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
btnAddCollection.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
btnAddCollection.Location = new Point(15, 130);
|
|
|
|
|
btnAddCollection.Name = "btnAddCollection";
|
|
|
|
|
btnAddCollection.Size = new Size(214, 61);
|
|
|
|
|
btnAddCollection.TabIndex = 7;
|
|
|
|
|
btnAddCollection.Text = "Add Collection";
|
|
|
|
|
btnAddCollection.UseVisualStyleBackColor = true;
|
|
|
|
|
btnAddCollection.Click += btnCollectionAdd_Click;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
|
|
|
|
// rBtnList
|
|
|
|
|
//
|
|
|
|
|
rBtnList.AutoSize = true;
|
|
|
|
|
rBtnList.Location = new Point(150, 88);
|
|
|
|
|
rBtnList.Name = "rBtnList";
|
|
|
|
|
rBtnList.Size = new Size(80, 36);
|
|
|
|
|
rBtnList.TabIndex = 9;
|
|
|
|
|
rBtnList.TabStop = true;
|
|
|
|
|
rBtnList.Text = "List";
|
|
|
|
|
rBtnList.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
// rBtnArray
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
rBtnArray.AutoSize = true;
|
|
|
|
|
rBtnArray.Location = new Point(16, 88);
|
|
|
|
|
rBtnArray.Name = "rBtnArray";
|
|
|
|
|
rBtnArray.Size = new Size(100, 36);
|
|
|
|
|
rBtnArray.TabIndex = 8;
|
|
|
|
|
rBtnArray.TabStop = true;
|
|
|
|
|
rBtnArray.Text = "Array";
|
|
|
|
|
rBtnArray.UseVisualStyleBackColor = true;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
// maskedTxtBoxCName
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
maskedTxtBoxCName.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
maskedTxtBoxCName.Location = new Point(16, 43);
|
|
|
|
|
maskedTxtBoxCName.Name = "maskedTxtBoxCName";
|
|
|
|
|
maskedTxtBoxCName.Size = new Size(214, 39);
|
|
|
|
|
maskedTxtBoxCName.TabIndex = 7;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
// label
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-15 09:05:36 +04:00
|
|
|
|
label.AutoSize = true;
|
|
|
|
|
label.Location = new Point(29, 6);
|
|
|
|
|
label.Name = "label";
|
|
|
|
|
label.Size = new Size(188, 32);
|
|
|
|
|
label.TabIndex = 0;
|
|
|
|
|
label.Text = "Collection name";
|
2024-06-13 13:58:43 +04:00
|
|
|
|
//
|
2024-06-13 00:05:05 +04:00
|
|
|
|
// ServiceForm2
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(13F, 32F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-06-15 09:05:36 +04:00
|
|
|
|
ClientSize = new Size(1700, 1007);
|
2024-06-13 00:05:05 +04:00
|
|
|
|
Controls.Add(pictureBox);
|
|
|
|
|
Controls.Add(groupBox);
|
|
|
|
|
Name = "ServiceForm2";
|
|
|
|
|
Text = "ServiceForm2";
|
|
|
|
|
groupBox.ResumeLayout(false);
|
2024-06-15 09:05:36 +04:00
|
|
|
|
toolPanel.ResumeLayout(false);
|
|
|
|
|
toolPanel.PerformLayout();
|
2024-06-13 00:05:05 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).EndInit();
|
2024-06-13 13:58:43 +04:00
|
|
|
|
companyPanel.ResumeLayout(false);
|
|
|
|
|
companyPanel.PerformLayout();
|
2024-06-13 00:05:05 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private ComboBox comboBoxArrList;
|
|
|
|
|
private Button btnAddBase;
|
|
|
|
|
private GroupBox groupBox;
|
|
|
|
|
private Button btnAddCruiser;
|
|
|
|
|
private Button btnUpdate;
|
|
|
|
|
private Button btnTest;
|
|
|
|
|
private Button btnDelete;
|
|
|
|
|
private MaskedTextBox maskedTextBoxPosition;
|
|
|
|
|
private PictureBox pictureBox;
|
2024-06-13 13:58:43 +04:00
|
|
|
|
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;
|
2024-06-13 00:05:05 +04:00
|
|
|
|
}
|
|
|
|
|
}
|