diff --git a/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/InformationForm.Designer.cs b/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/InformationForm.Designer.cs index 36dc65b..12979f5 100644 --- a/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/InformationForm.Designer.cs +++ b/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/InformationForm.Designer.cs @@ -89,12 +89,14 @@ // AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; + AutoSize = true; BackColor = SystemColors.ActiveCaptionText; - ClientSize = new Size(1350, 597); + ClientSize = new Size(1329, 553); Controls.Add(textBox1); Controls.Add(labelCode); Controls.Add(label1); Controls.Add(textBoxInformation); + MaximizeBox = false; Name = "InformationForm"; ShowInTaskbar = false; StartPosition = FormStartPosition.WindowsDefaultBounds; diff --git a/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/MainForm.Designer.cs b/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/MainForm.Designer.cs index 4975d08..eae6dfa 100644 --- a/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/MainForm.Designer.cs +++ b/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/MainForm.Designer.cs @@ -164,6 +164,7 @@ ToolStripMenuItemInfo.Name = "ToolStripMenuItemInfo"; ToolStripMenuItemInfo.Size = new Size(355, 32); ToolStripMenuItemInfo.Text = "Информация об Алгоритме"; + ToolStripMenuItemInfo.Click += ToolStripMenuItemInfo_Click; // // menuStrip // @@ -178,6 +179,7 @@ // // tableLayoutPanelInfo // + tableLayoutPanelInfo.BackColor = SystemColors.ActiveCaptionText; tableLayoutPanelInfo.ColumnCount = 4; tableLayoutPanelInfo.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); tableLayoutPanelInfo.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); @@ -187,6 +189,7 @@ tableLayoutPanelInfo.Controls.Add(label3, 2, 0); tableLayoutPanelInfo.Controls.Add(label2, 1, 0); tableLayoutPanelInfo.Controls.Add(label1, 0, 0); + tableLayoutPanelInfo.ForeColor = SystemColors.ButtonFace; tableLayoutPanelInfo.Location = new Point(12, 49); tableLayoutPanelInfo.Name = "tableLayoutPanelInfo"; tableLayoutPanelInfo.RowCount = 9; diff --git a/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/MainForm.cs b/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/MainForm.cs index e0c1cae..fe99949 100644 --- a/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/MainForm.cs +++ b/ISEbd-11_CoursePaper_Dmitriev_Andrey/ISEbd-11_CoursePaper_Dmitriev_Andrey/MainForm.cs @@ -128,4 +128,10 @@ public partial class MainForm : Form } } } + + private void ToolStripMenuItemInfo_Click(object sender, EventArgs e) + { + InformationForm form = new InformationForm(); + form.ShowDialog(); + } }