I have this piece of code in my routine but it doesnt seem to work:
public MainForm()
{
InitializeComponent();
this.Text = "Elvis " + AssemblyVersion;
}
In my designer I had set the form title to "Elvis". I see that the AssemblyVersion info gets added to the text properly but the title doesnt get updated at all. I've tried refresh, invalidate etc, but nothing works. Any idea how I can update the title at runtime?
I am using .NET 3.5 and VS 2008.
thanks