CSPspEmu.Gui.Winforms.AboutForm.AddTitle C# (CSharp) Method

AddTitle() private method

private AddTitle ( FlowLayoutPanel Panel, string Title ) : void
Panel FlowLayoutPanel
Title string
return void
        private void AddTitle(FlowLayoutPanel Panel, string Title)
        {
            var Label = new Label();
            Label.Font = new System.Drawing.Font("Arial", 10, FontStyle.Bold | FontStyle.Underline);
            Label.Padding = new Padding(0);
            Label.Margin = new Padding(0, 6, 0, 6);
            Label.Width = Panel.Width;
            Label.Text = Title;
            Panel.Controls.Add(Label);
        }