comeback inform form
This commit is contained in:
parent
41e3130302
commit
e89071a4e6
@ -89,12 +89,14 @@
|
|||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
AutoSize = true;
|
||||||
BackColor = SystemColors.ActiveCaptionText;
|
BackColor = SystemColors.ActiveCaptionText;
|
||||||
ClientSize = new Size(1350, 597);
|
ClientSize = new Size(1329, 553);
|
||||||
Controls.Add(textBox1);
|
Controls.Add(textBox1);
|
||||||
Controls.Add(labelCode);
|
Controls.Add(labelCode);
|
||||||
Controls.Add(label1);
|
Controls.Add(label1);
|
||||||
Controls.Add(textBoxInformation);
|
Controls.Add(textBoxInformation);
|
||||||
|
MaximizeBox = false;
|
||||||
Name = "InformationForm";
|
Name = "InformationForm";
|
||||||
ShowInTaskbar = false;
|
ShowInTaskbar = false;
|
||||||
StartPosition = FormStartPosition.WindowsDefaultBounds;
|
StartPosition = FormStartPosition.WindowsDefaultBounds;
|
||||||
|
@ -164,6 +164,7 @@
|
|||||||
ToolStripMenuItemInfo.Name = "ToolStripMenuItemInfo";
|
ToolStripMenuItemInfo.Name = "ToolStripMenuItemInfo";
|
||||||
ToolStripMenuItemInfo.Size = new Size(355, 32);
|
ToolStripMenuItemInfo.Size = new Size(355, 32);
|
||||||
ToolStripMenuItemInfo.Text = "Информация об Алгоритме";
|
ToolStripMenuItemInfo.Text = "Информация об Алгоритме";
|
||||||
|
ToolStripMenuItemInfo.Click += ToolStripMenuItemInfo_Click;
|
||||||
//
|
//
|
||||||
// menuStrip
|
// menuStrip
|
||||||
//
|
//
|
||||||
@ -178,6 +179,7 @@
|
|||||||
//
|
//
|
||||||
// tableLayoutPanelInfo
|
// tableLayoutPanelInfo
|
||||||
//
|
//
|
||||||
|
tableLayoutPanelInfo.BackColor = SystemColors.ActiveCaptionText;
|
||||||
tableLayoutPanelInfo.ColumnCount = 4;
|
tableLayoutPanelInfo.ColumnCount = 4;
|
||||||
tableLayoutPanelInfo.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F));
|
tableLayoutPanelInfo.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F));
|
||||||
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(label3, 2, 0);
|
||||||
tableLayoutPanelInfo.Controls.Add(label2, 1, 0);
|
tableLayoutPanelInfo.Controls.Add(label2, 1, 0);
|
||||||
tableLayoutPanelInfo.Controls.Add(label1, 0, 0);
|
tableLayoutPanelInfo.Controls.Add(label1, 0, 0);
|
||||||
|
tableLayoutPanelInfo.ForeColor = SystemColors.ButtonFace;
|
||||||
tableLayoutPanelInfo.Location = new Point(12, 49);
|
tableLayoutPanelInfo.Location = new Point(12, 49);
|
||||||
tableLayoutPanelInfo.Name = "tableLayoutPanelInfo";
|
tableLayoutPanelInfo.Name = "tableLayoutPanelInfo";
|
||||||
tableLayoutPanelInfo.RowCount = 9;
|
tableLayoutPanelInfo.RowCount = 9;
|
||||||
|
@ -128,4 +128,10 @@ public partial class MainForm : Form
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ToolStripMenuItemInfo_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
InformationForm form = new InformationForm();
|
||||||
|
form.ShowDialog();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user