I am giving font style ="123" but it is taking "Microsoft sans serif". How can I change that to some other

May 19 2009 8:43 AM

Hi,

      Please help me if u know the solution of the below thing...........

      I am writing the below statement in designer.cs file

     this.button1.Font = new System.Drawing.Font("123", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

"123" is unknown font format. But when I open desinger it is showing  "Microsoft Sans Serif" in button1 property window.

       How can I change "Microsoft Sans Serif" to some other when I am giving some unknown font format........ and where can I change.

Please help me as early as possible