Windows Phone Developers

Sunday, July 20, 2008

Programmatically Change the Caption of Windows Form using C#

Set Dialog / Form start-up position through C# code for Windows form

private void InitializeComponent()

{

this.components = new System.ComponentModel.Container();

this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

this.Text = "New Form";

this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;

}


Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

No comments:

Post a Comment