CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Feb 2001
    Location
    South Korea
    Posts
    31

    Buttons can't look in XP style?

    Buttons always look in the old style. Is it also true in your computers or just my computer went crazy?



    Code:
    public class x
    {
    	public static void Main()
    	{
    		System.Windows.Forms.Application.Run(new xx());
    	}
    }
    public class xx:System.Windows.Forms.Form
    {
    	System.Windows.Forms.Button xxx=new System.Windows.Forms.Button();
    	public xx()
    	{
    		xxx.Location=new System.Drawing.Point(100,100);
    		xxx.Text="XP?";
    		this.Controls.Add(xxx);
    	}
    }
    I've created a "FILENAME.manifest" file, but the button still looks in the old style.


    Please let me know if my computer went crazy. I'll reinstall .NET Framework or even Windows.
    Last edited by Sin Jeong-hun; September 9th, 2002 at 05:57 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured