Правки №2.
This commit is contained in:
parent
7d265f9eb0
commit
94a7a2f2bc
@ -29,13 +29,11 @@
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormLocomotiveCollection));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormLocomotiveCollection));
|
||||||
panelLocomotiveCollection = new Panel();
|
|
||||||
groupBoxSets = new GroupBox();
|
groupBoxSets = new GroupBox();
|
||||||
textBoxSetName = new TextBox();
|
textBoxSetName = new TextBox();
|
||||||
buttonDeleteSet = new Button();
|
buttonDeleteSet = new Button();
|
||||||
listBoxStorages = new ListBox();
|
listBoxStorages = new ListBox();
|
||||||
buttonAddSet = new Button();
|
buttonAddSet = new Button();
|
||||||
LabelOnPanel = new Label();
|
|
||||||
maskedTextBoxNumber = new MaskedTextBox();
|
maskedTextBoxNumber = new MaskedTextBox();
|
||||||
ButtonRefreshCollection = new Button();
|
ButtonRefreshCollection = new Button();
|
||||||
ButtonRemoveLocomotive = new Button();
|
ButtonRemoveLocomotive = new Button();
|
||||||
@ -47,36 +45,21 @@
|
|||||||
SaveToolStripMenuItem = new ToolStripMenuItem();
|
SaveToolStripMenuItem = new ToolStripMenuItem();
|
||||||
saveFileDialog = new SaveFileDialog();
|
saveFileDialog = new SaveFileDialog();
|
||||||
openFileDialog = new OpenFileDialog();
|
openFileDialog = new OpenFileDialog();
|
||||||
panelLocomotiveCollection.SuspendLayout();
|
groupBoxMenu = new GroupBox();
|
||||||
groupBoxSets.SuspendLayout();
|
groupBoxSets.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).BeginInit();
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).BeginInit();
|
||||||
menuStrip.SuspendLayout();
|
menuStrip.SuspendLayout();
|
||||||
|
groupBoxMenu.SuspendLayout();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// panelLocomotiveCollection
|
|
||||||
//
|
|
||||||
panelLocomotiveCollection.AccessibleDescription = "";
|
|
||||||
panelLocomotiveCollection.AccessibleName = "";
|
|
||||||
panelLocomotiveCollection.Controls.Add(groupBoxSets);
|
|
||||||
panelLocomotiveCollection.Controls.Add(LabelOnPanel);
|
|
||||||
panelLocomotiveCollection.Controls.Add(maskedTextBoxNumber);
|
|
||||||
panelLocomotiveCollection.Controls.Add(ButtonRefreshCollection);
|
|
||||||
panelLocomotiveCollection.Controls.Add(ButtonRemoveLocomotive);
|
|
||||||
panelLocomotiveCollection.Controls.Add(ButtonAddLocomotive);
|
|
||||||
panelLocomotiveCollection.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
|
||||||
panelLocomotiveCollection.Location = new Point(660, 27);
|
|
||||||
panelLocomotiveCollection.Name = "panelLocomotiveCollection";
|
|
||||||
panelLocomotiveCollection.Size = new Size(248, 559);
|
|
||||||
panelLocomotiveCollection.TabIndex = 0;
|
|
||||||
panelLocomotiveCollection.Tag = "Инструменты";
|
|
||||||
//
|
|
||||||
// groupBoxSets
|
// groupBoxSets
|
||||||
//
|
//
|
||||||
groupBoxSets.Controls.Add(textBoxSetName);
|
groupBoxSets.Controls.Add(textBoxSetName);
|
||||||
groupBoxSets.Controls.Add(buttonDeleteSet);
|
groupBoxSets.Controls.Add(buttonDeleteSet);
|
||||||
groupBoxSets.Controls.Add(listBoxStorages);
|
groupBoxSets.Controls.Add(listBoxStorages);
|
||||||
|
groupBoxSets.Controls.Add(ButtonAddLocomotive);
|
||||||
groupBoxSets.Controls.Add(buttonAddSet);
|
groupBoxSets.Controls.Add(buttonAddSet);
|
||||||
groupBoxSets.Location = new Point(3, 25);
|
groupBoxSets.Location = new Point(0, 22);
|
||||||
groupBoxSets.Name = "groupBoxSets";
|
groupBoxSets.Name = "groupBoxSets";
|
||||||
groupBoxSets.Size = new Size(242, 314);
|
groupBoxSets.Size = new Size(242, 314);
|
||||||
groupBoxSets.TabIndex = 5;
|
groupBoxSets.TabIndex = 5;
|
||||||
@ -120,27 +103,18 @@
|
|||||||
buttonAddSet.UseVisualStyleBackColor = true;
|
buttonAddSet.UseVisualStyleBackColor = true;
|
||||||
buttonAddSet.Click += buttonAddSet_Click;
|
buttonAddSet.Click += buttonAddSet_Click;
|
||||||
//
|
//
|
||||||
// LabelOnPanel
|
|
||||||
//
|
|
||||||
LabelOnPanel.AutoSize = true;
|
|
||||||
LabelOnPanel.Location = new Point(3, -3);
|
|
||||||
LabelOnPanel.Name = "LabelOnPanel";
|
|
||||||
LabelOnPanel.Size = new Size(83, 15);
|
|
||||||
LabelOnPanel.TabIndex = 4;
|
|
||||||
LabelOnPanel.Text = "Инструменты";
|
|
||||||
//
|
|
||||||
// maskedTextBoxNumber
|
// maskedTextBoxNumber
|
||||||
//
|
//
|
||||||
maskedTextBoxNumber.Location = new Point(35, 408);
|
maskedTextBoxNumber.Location = new Point(6, 342);
|
||||||
maskedTextBoxNumber.Name = "maskedTextBoxNumber";
|
maskedTextBoxNumber.Name = "maskedTextBoxNumber";
|
||||||
maskedTextBoxNumber.Size = new Size(176, 23);
|
maskedTextBoxNumber.Size = new Size(226, 23);
|
||||||
maskedTextBoxNumber.TabIndex = 3;
|
maskedTextBoxNumber.TabIndex = 3;
|
||||||
//
|
//
|
||||||
// ButtonRefreshCollection
|
// ButtonRefreshCollection
|
||||||
//
|
//
|
||||||
ButtonRefreshCollection.Location = new Point(3, 505);
|
ButtonRefreshCollection.Location = new Point(6, 440);
|
||||||
ButtonRefreshCollection.Name = "ButtonRefreshCollection";
|
ButtonRefreshCollection.Name = "ButtonRefreshCollection";
|
||||||
ButtonRefreshCollection.Size = new Size(242, 43);
|
ButtonRefreshCollection.Size = new Size(230, 43);
|
||||||
ButtonRefreshCollection.TabIndex = 2;
|
ButtonRefreshCollection.TabIndex = 2;
|
||||||
ButtonRefreshCollection.Text = " Обновить коллекцию";
|
ButtonRefreshCollection.Text = " Обновить коллекцию";
|
||||||
ButtonRefreshCollection.UseVisualStyleBackColor = true;
|
ButtonRefreshCollection.UseVisualStyleBackColor = true;
|
||||||
@ -148,9 +122,9 @@
|
|||||||
//
|
//
|
||||||
// ButtonRemoveLocomotive
|
// ButtonRemoveLocomotive
|
||||||
//
|
//
|
||||||
ButtonRemoveLocomotive.Location = new Point(3, 460);
|
ButtonRemoveLocomotive.Location = new Point(6, 388);
|
||||||
ButtonRemoveLocomotive.Name = "ButtonRemoveLocomotive";
|
ButtonRemoveLocomotive.Name = "ButtonRemoveLocomotive";
|
||||||
ButtonRemoveLocomotive.Size = new Size(242, 39);
|
ButtonRemoveLocomotive.Size = new Size(230, 39);
|
||||||
ButtonRemoveLocomotive.TabIndex = 1;
|
ButtonRemoveLocomotive.TabIndex = 1;
|
||||||
ButtonRemoveLocomotive.Text = "Удалить локомотив";
|
ButtonRemoveLocomotive.Text = "Удалить локомотив";
|
||||||
ButtonRemoveLocomotive.UseVisualStyleBackColor = true;
|
ButtonRemoveLocomotive.UseVisualStyleBackColor = true;
|
||||||
@ -158,9 +132,9 @@
|
|||||||
//
|
//
|
||||||
// ButtonAddLocomotive
|
// ButtonAddLocomotive
|
||||||
//
|
//
|
||||||
ButtonAddLocomotive.Location = new Point(3, 345);
|
ButtonAddLocomotive.Location = new Point(6, 269);
|
||||||
ButtonAddLocomotive.Name = "ButtonAddLocomotive";
|
ButtonAddLocomotive.Name = "ButtonAddLocomotive";
|
||||||
ButtonAddLocomotive.Size = new Size(242, 39);
|
ButtonAddLocomotive.Size = new Size(226, 39);
|
||||||
ButtonAddLocomotive.TabIndex = 0;
|
ButtonAddLocomotive.TabIndex = 0;
|
||||||
ButtonAddLocomotive.Text = "Добавить локомотив";
|
ButtonAddLocomotive.Text = "Добавить локомотив";
|
||||||
ButtonAddLocomotive.UseVisualStyleBackColor = true;
|
ButtonAddLocomotive.UseVisualStyleBackColor = true;
|
||||||
@ -168,7 +142,7 @@
|
|||||||
//
|
//
|
||||||
// pictureBoxCollection
|
// pictureBoxCollection
|
||||||
//
|
//
|
||||||
pictureBoxCollection.Location = new Point(2, 27);
|
pictureBoxCollection.Location = new Point(6, 24);
|
||||||
pictureBoxCollection.Name = "pictureBoxCollection";
|
pictureBoxCollection.Name = "pictureBoxCollection";
|
||||||
pictureBoxCollection.Size = new Size(655, 560);
|
pictureBoxCollection.Size = new Size(655, 560);
|
||||||
pictureBoxCollection.SizeMode = PictureBoxSizeMode.AutoSize;
|
pictureBoxCollection.SizeMode = PictureBoxSizeMode.AutoSize;
|
||||||
@ -197,7 +171,7 @@
|
|||||||
LoadToolStripMenuItem.Image = (Image)resources.GetObject("LoadToolStripMenuItem.Image");
|
LoadToolStripMenuItem.Image = (Image)resources.GetObject("LoadToolStripMenuItem.Image");
|
||||||
LoadToolStripMenuItem.ImageTransparentColor = Color.Magenta;
|
LoadToolStripMenuItem.ImageTransparentColor = Color.Magenta;
|
||||||
LoadToolStripMenuItem.Name = "LoadToolStripMenuItem";
|
LoadToolStripMenuItem.Name = "LoadToolStripMenuItem";
|
||||||
LoadToolStripMenuItem.Size = new Size(180, 22);
|
LoadToolStripMenuItem.Size = new Size(141, 22);
|
||||||
LoadToolStripMenuItem.Text = "Загрузка";
|
LoadToolStripMenuItem.Text = "Загрузка";
|
||||||
LoadToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
|
LoadToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
@ -206,7 +180,7 @@
|
|||||||
SaveToolStripMenuItem.Image = (Image)resources.GetObject("SaveToolStripMenuItem.Image");
|
SaveToolStripMenuItem.Image = (Image)resources.GetObject("SaveToolStripMenuItem.Image");
|
||||||
SaveToolStripMenuItem.ImageTransparentColor = Color.Magenta;
|
SaveToolStripMenuItem.ImageTransparentColor = Color.Magenta;
|
||||||
SaveToolStripMenuItem.Name = "SaveToolStripMenuItem";
|
SaveToolStripMenuItem.Name = "SaveToolStripMenuItem";
|
||||||
SaveToolStripMenuItem.Size = new Size(180, 22);
|
SaveToolStripMenuItem.Size = new Size(141, 22);
|
||||||
SaveToolStripMenuItem.Text = "Сохранение";
|
SaveToolStripMenuItem.Text = "Сохранение";
|
||||||
SaveToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
SaveToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
@ -218,36 +192,49 @@
|
|||||||
//
|
//
|
||||||
openFileDialog.FileName = "openFileDialog1";
|
openFileDialog.FileName = "openFileDialog1";
|
||||||
//
|
//
|
||||||
|
// groupBoxMenu
|
||||||
|
//
|
||||||
|
groupBoxMenu.AutoSize = true;
|
||||||
|
groupBoxMenu.Controls.Add(maskedTextBoxNumber);
|
||||||
|
groupBoxMenu.Controls.Add(groupBoxSets);
|
||||||
|
groupBoxMenu.Controls.Add(ButtonRemoveLocomotive);
|
||||||
|
groupBoxMenu.Controls.Add(ButtonRefreshCollection);
|
||||||
|
groupBoxMenu.Dock = DockStyle.Right;
|
||||||
|
groupBoxMenu.Location = new Point(661, 24);
|
||||||
|
groupBoxMenu.Name = "groupBoxMenu";
|
||||||
|
groupBoxMenu.Size = new Size(248, 563);
|
||||||
|
groupBoxMenu.TabIndex = 6;
|
||||||
|
groupBoxMenu.TabStop = false;
|
||||||
|
groupBoxMenu.Text = "Инструменты";
|
||||||
|
//
|
||||||
// FormLocomotiveCollection
|
// FormLocomotiveCollection
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(909, 587);
|
ClientSize = new Size(909, 587);
|
||||||
|
Controls.Add(groupBoxMenu);
|
||||||
Controls.Add(menuStrip);
|
Controls.Add(menuStrip);
|
||||||
Controls.Add(panelLocomotiveCollection);
|
|
||||||
Controls.Add(pictureBoxCollection);
|
Controls.Add(pictureBoxCollection);
|
||||||
MainMenuStrip = menuStrip;
|
MainMenuStrip = menuStrip;
|
||||||
Name = "FormLocomotiveCollection";
|
Name = "FormLocomotiveCollection";
|
||||||
Text = "Набор локомотивов";
|
Text = "Набор локомотивов";
|
||||||
panelLocomotiveCollection.ResumeLayout(false);
|
|
||||||
panelLocomotiveCollection.PerformLayout();
|
|
||||||
groupBoxSets.ResumeLayout(false);
|
groupBoxSets.ResumeLayout(false);
|
||||||
groupBoxSets.PerformLayout();
|
groupBoxSets.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).EndInit();
|
((System.ComponentModel.ISupportInitialize)pictureBoxCollection).EndInit();
|
||||||
menuStrip.ResumeLayout(false);
|
menuStrip.ResumeLayout(false);
|
||||||
menuStrip.PerformLayout();
|
menuStrip.PerformLayout();
|
||||||
|
groupBoxMenu.ResumeLayout(false);
|
||||||
|
groupBoxMenu.PerformLayout();
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
PerformLayout();
|
PerformLayout();
|
||||||
}
|
}
|
||||||
#endregion
|
|
||||||
|
|
||||||
private Panel panelLocomotiveCollection;
|
#endregion
|
||||||
private Button ButtonAddLocomotive;
|
private Button ButtonAddLocomotive;
|
||||||
private Button ButtonRemoveLocomotive;
|
private Button ButtonRemoveLocomotive;
|
||||||
private Button ButtonRefreshCollection;
|
private Button ButtonRefreshCollection;
|
||||||
private PictureBox pictureBoxCollection;
|
private PictureBox pictureBoxCollection;
|
||||||
private MaskedTextBox maskedTextBoxNumber;
|
private MaskedTextBox maskedTextBoxNumber;
|
||||||
private Label LabelOnPanel;
|
|
||||||
private GroupBox groupBoxSets;
|
private GroupBox groupBoxSets;
|
||||||
private Button buttonDeleteSet;
|
private Button buttonDeleteSet;
|
||||||
private ListBox listBoxStorages;
|
private ListBox listBoxStorages;
|
||||||
@ -259,5 +246,6 @@
|
|||||||
private ToolStripMenuItem файлToolStripMenuItem;
|
private ToolStripMenuItem файлToolStripMenuItem;
|
||||||
private ToolStripMenuItem LoadToolStripMenuItem;
|
private ToolStripMenuItem LoadToolStripMenuItem;
|
||||||
private ToolStripMenuItem SaveToolStripMenuItem;
|
private ToolStripMenuItem SaveToolStripMenuItem;
|
||||||
|
private GroupBox groupBoxMenu;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -148,6 +148,6 @@
|
|||||||
<value>269, 13</value>
|
<value>269, 13</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>62</value>
|
<value>25</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
</root>
|
</root>
|
Loading…
Reference in New Issue
Block a user