Implementing WPF in a Visual C# project........ is it possible?
-
Hi guys, Thanks for taking interest in my question. Actually, I need to work on a ADO.NET project which will connect my application to a Database. However, I want that the UI of my application be different in terms of style and for that purpose, I thought of implementing a little WPF code to the buttons of my application which will make them glamorous and interactive. But the problem is that, I have to complete the entire project in Visual C# and not WPF. Is it possible to implement WPF in a complete Visual C# application? If yes, how? And will Visual Studio 2005 help or I have to use Visual Studio 2008? What more softwares will I have to use for this? Please help, I only want to use little WPF code to the buttons of my C# application to make it look interactive. Your help will be truly appreciated, Rajdeep.NET
-
Hi guys, Thanks for taking interest in my question. Actually, I need to work on a ADO.NET project which will connect my application to a Database. However, I want that the UI of my application be different in terms of style and for that purpose, I thought of implementing a little WPF code to the buttons of my application which will make them glamorous and interactive. But the problem is that, I have to complete the entire project in Visual C# and not WPF. Is it possible to implement WPF in a complete Visual C# application? If yes, how? And will Visual Studio 2005 help or I have to use Visual Studio 2008? What more softwares will I have to use for this? Please help, I only want to use little WPF code to the buttons of my C# application to make it look interactive. Your help will be truly appreciated, Rajdeep.NET
Ofcourse You can do it :) . But If you are started your project as .net WinForm, you can only add WPF ascustome controls :| . To do this using VS2008, First of all you have to create a WPF Custom control by adding new items and select WPF control. A WPF Disigner will appear. Draw on designer as you want:cool:. Then Build the solution. Now we have to add this control to our form. So Drag a WPF contaner from toolbox and Drop on the Form. A control with unpredictable color will show. then using smart tag or properties box, we can add our former WPF control to it:thumbsup:. Please not that the above specified thing only work on Visual Studio 2008. For VS2005 you have todownload seperate pack for it :sigh: .
©Something Different
-
Ofcourse You can do it :) . But If you are started your project as .net WinForm, you can only add WPF ascustome controls :| . To do this using VS2008, First of all you have to create a WPF Custom control by adding new items and select WPF control. A WPF Disigner will appear. Draw on designer as you want:cool:. Then Build the solution. Now we have to add this control to our form. So Drag a WPF contaner from toolbox and Drop on the Form. A control with unpredictable color will show. then using smart tag or properties box, we can add our former WPF control to it:thumbsup:. Please not that the above specified thing only work on Visual Studio 2008. For VS2005 you have todownload seperate pack for it :sigh: .
©Something Different