Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Implementing WPF in a Visual C# project........ is it possible?

Implementing WPF in a Visual C# project........ is it possible?

Scheduled Pinned Locked Moved C#
csharphelpquestiondatabasevisual-studio
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • L Lost User

      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

      S Offline
      S Offline
      Sibugathulla
      wrote on last edited by
      #2

      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

      L 1 Reply Last reply
      0
      • S Sibugathulla

        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

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Thanks for your help Sibugathulla...... I will see try that, but for that I need to install VS.NET 2008. Thanx again, Rajdeep.NET

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups