Changing the text of Main Form title at runtime
I would like to change the text appearing in the title (main bar at the top of the window) of the main form in a C# windows app at runtime.
However, to change any property of a form at runtime, it appears the form needs to be an instance of the form, rather than the form itself. For all forms other than the main, this will usually be the case, however it appears that the main form cannot be instantiated at startup.
Is there any way around this?
related question - title in form during runtime
interested in the same issue - used the "this.Text" command but doesn't do anything for me - in fact it, the program essentially stops processing anything after that command and just sits waiting on input from the form, which works.
did you have any other problems? or was it just that easy?
running VS 2008 and C#/C++