how to change the title text of a form
-
hi, im using 4 forms in one application, and i want them to have another name than form1... i know i can do this by clicking on the property of the form, but the names will change. for example one of the forms shows a database of the day, so i want to name it : database + the day that we are. so does anybody know the code to do this? i know that u can do it in c++ so it most be possible in c# thxx
-
hi, im using 4 forms in one application, and i want them to have another name than form1... i know i can do this by clicking on the property of the form, but the names will change. for example one of the forms shows a database of the day, so i want to name it : database + the day that we are. so does anybody know the code to do this? i know that u can do it in c++ so it most be possible in c# thxx
A
System.Windows.Forms.Form
object got aText
property, which is the title of the window. If you're in the class derived fromForm
(for example in theLoad
event handler), you can set the title text bythis.Text = "New titlebar text";
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) (doesn't work on NT) -
A
System.Windows.Forms.Form
object got aText
property, which is the title of the window. If you're in the class derived fromForm
(for example in theLoad
event handler), you can set the title text bythis.Text = "New titlebar text";
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) (doesn't work on NT)