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.
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.