Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi

 

I use textpad to code my c# programs. To get a xp lookandfeel I use a manifest file and a ((ButtonBase)Btn).FlatStyle = FlatStyle.System; line of code for the buttons. This all works fine when I compile and run it from textpad. When my program is complete I use the command line to do the final compilation to get rid of the console window and add an Icon. I use something like

 

csc /t:winexe /r:System.dll /r:System.Drawing.dll /r:System.Windows.Forms.dll /win32icon:Icon1.ico /res:Icon1.ico /out:"Name.exe" BankApp.cs

 

This compiles OK but when I run the program I get the old windows look and feel. Can anyone please tell me were I am going wrong.

 

Thanks

John Cleary.

Posted
I have never gotten that manifest file thing to work. I think it is easiest just to download ButtonXP from the net. I think it is found on the CodeProject site. But just look up ButtonXp and you should find it.
C#

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...