For changing the Title of a form at runtime we can code as below
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
this.Text = "This Is My Title";
}
}
More Related Contents:
- Drawing a rectangle with a certain angle of degree
- How do I pass command-line arguments to a WinForms application?
- Detecting design mode from a Control’s constructor
- How do I pass a value from a child back to the parent form?
- How do I get the title of the current active window using c#?
- How to compare two rich text box contents and highlight the characters that are changed?
- Find a control in Windows Forms by name
- How to get the “friendly” OS Version Name?
- Detect WebBrowser complete page loading
- Docking Window inside another Window
- Single-assembly multi-language Windows Forms deployment (ILMerge and satellite assemblies / localization) – possible?
- Execute specified function every X seconds
- addFontFile from Resources
- Windows Forms ProgressBar: Easiest way to start/stop marquee?
- How can I draw a rounded rectangle as the border for a rounded Form?
- Pass click event of child control to the parent control
- Debug Target Is Missing?
- How to put a UserControl into Visual Studio toolBox
- Auto-resize multiple Forms rendered on Panel
- How to bind Dictionary to ListBox in WinForms
- Get current scroll position from rich text box control?
- Viewing PDF in Windows forms using C# [closed]
- C# WinForms: How to set Main function STAThreadAttribute
- Make portion of a Label’s Text to be styled bold
- Unhook Window into its original State
- How can I detect when Windows 10 enters tablet mode in a Windows Forms application?
- RichTextBox Newline Conversion?
- How to move focus on next cell in a datagridview on Enter key press event
- How to get DPI in C# .NET?
- How do I disable the horizontal scrollbar in a Panel