C# WPF Tutorial #3 - Getting Started with WPF

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 มิ.ย. 2024
  • Firing up Visual Studio 2022, creating a WPF project, taking a tour of the IDE features for WPF projects, and of course creating Hello World!
    Installing Visual Studio 2022: • C# Tutorial for Beginn...
    (Stop at 2 minutes!)
    NOTE: .NET 7 just released! If you installed VS 2022 after its release (or want to update), I encourage you to create a .NET 7 project. Everything we do in this series should be compatible.
    Happy Coding!
    Chapters:
    0:00 Intro
    0:18 Create WPF Project
    1:20 Visual Studio WPF Tour
    5:04 Hello World!
    8:49 Next Up
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 50

  • @Leo-pq9tq
    @Leo-pq9tq 13 วันที่ผ่านมา

    Most tutorials always neglect this part, thanks for the quick explanation

  • @Arise_133
    @Arise_133 25 วันที่ผ่านมา +2

    this dude is a legend you need an option to donate or something i appreciate the hard work man!

  • @ethanbuttazzi2602
    @ethanbuttazzi2602 2 วันที่ผ่านมา

    i just wanna add that, you can edit the preset properties in the "Properties Menu" as well as removing and such, so feel free to use the drag and drop, just remember to configure it propertly.

  • @devdarshan2110
    @devdarshan2110 ปีที่แล้ว +4

    Just when I was searching for updated WPF tutorials! There you go!!

    • @KampaPlays
      @KampaPlays  ปีที่แล้ว

      Awesome. Let me know if you have any questions!

  • @wookyumkim4669
    @wookyumkim4669 ปีที่แล้ว +5

    Ah..... responsive UI!! 🥰🥰🥰 I love your style so much! Your channel should hit the jackpot.

    • @KampaPlays
      @KampaPlays  ปีที่แล้ว +1

      Thank you!!! Very glad to hear!

  • @lordkelvin1
    @lordkelvin1 4 หลายเดือนก่อน +2

    Thank you for making this series! Really easy to follow for someone like me who's just starting out :)

    • @KampaPlays
      @KampaPlays  4 หลายเดือนก่อน

      Great to hear, thank you!

  • @franksvga-cs3343
    @franksvga-cs3343 7 หลายเดือนก่อน +2

    the best wpf tutorial I've seen, excellent work 👍👍

    • @KampaPlays
      @KampaPlays  7 หลายเดือนก่อน

      Thanks so much!

  • @hassannisar3304
    @hassannisar3304 7 หลายเดือนก่อน +2

    Man! Loved your teaching style. Looking forward for more detailed tutorials on .NET framework.

    • @KampaPlays
      @KampaPlays  7 หลายเดือนก่อน

      Thanks so much!!

  • @genjishimada3767
    @genjishimada3767 6 หลายเดือนก่อน +3

    Much better than my uni lecturers. Very clear.

    • @KampaPlays
      @KampaPlays  6 หลายเดือนก่อน

      Really appreciate that!

  • @user-sk4fx2tk1x
    @user-sk4fx2tk1x 6 หลายเดือนก่อน +1

    Thank you for this wonderful tutorial

    • @KampaPlays
      @KampaPlays  6 หลายเดือนก่อน

      Glad to help!

  • @jonlbs7
    @jonlbs7 ปีที่แล้ว +1

    Really Awesome .. Thank you !!

  • @MethodOverRide
    @MethodOverRide ปีที่แล้ว +7

    I had no idea the drag and drop did that! Looking at this I could see how you could have some template projects if you needed to slap something together for a quick UI or use as a starting point.

    • @KampaPlays
      @KampaPlays  ปีที่แล้ว +3

      Definitely! Soon we'll go over custom controls and reusable style resources. Those two things together let you create a wealth of reusable GUI code just by organizing things well. You can even create a class library of your controls/resources and simply reference them in your XAML when needed. (And there are already lots of open source existing GUI packages that give all sorts of great controls) Very powerful stuff.

  • @Chikov2
    @Chikov2 3 หลายเดือนก่อน +1

    Very useful, Thank you.

    • @KampaPlays
      @KampaPlays  3 หลายเดือนก่อน

      Glad it was helpful!

  • @owenschaff292
    @owenschaff292 ปีที่แล้ว +2

    This was really helpful thanks! I tried using the drag and drop method originally but I have come to like just writing my own code and building it from there, especially since I am very used to using html

    • @KampaPlays
      @KampaPlays  ปีที่แล้ว

      Glad to help, and yes, once you get used to writing it out yourself, it's a lot faster!

    • @dariostromajer1625
      @dariostromajer1625 ปีที่แล้ว +1

      @@KampaPlays Wow you're a legend.. Still replying to comments immediately. Can't wait to learn WPF. I've been using WinForms in school but it is very limited as you said which made it boring so now I'm trying to switch to WPF.

    • @KampaPlays
      @KampaPlays  ปีที่แล้ว

      Awesome, thank you!! If you have any questions along the way, let me know!

  • @pakkerto
    @pakkerto 4 หลายเดือนก่อน +1

    Great Video, i like it😀

    • @KampaPlays
      @KampaPlays  4 หลายเดือนก่อน

      Thank you!

  • @orniton
    @orniton 11 หลายเดือนก่อน +1

    I like your style

    • @KampaPlays
      @KampaPlays  11 หลายเดือนก่อน

      Thank you!

  • @user-gu1dn8kk4n
    @user-gu1dn8kk4n 11 หลายเดือนก่อน +1

    jolly good. Tnx.

    • @KampaPlays
      @KampaPlays  11 หลายเดือนก่อน +1

      Happy to help!

  • @wookyumkim4669
    @wookyumkim4669 ปีที่แล้ว +2

    #VisualStudio2022 !!!! 😌😌 편안~~~

  • @JessicaSunlight
    @JessicaSunlight หลายเดือนก่อน

    Can you Star F# project for WPF, I only see C#? Thank you ♥

  • @mojitharanasingha9808
    @mojitharanasingha9808 3 หลายเดือนก่อน +2

    Done : 2024/03/18

  • @barbuceanu2005
    @barbuceanu2005 ปีที่แล้ว

    Hello, and thanks for the tutorial. I tried this but I have no WPF template, even after VS 2022 update. Do you have some idea why ?

    • @KampaPlays
      @KampaPlays  ปีที่แล้ว

      Hmm, I'm not sure, but it sounds like maybe something went wrong with the installer. You may want to try to uninstall the current product you have and install with the new installer. Make sure .NET desktop development is selected for install (although i think it always is). Hope it works for you, let me know what happens.

  • @ahmed17476
    @ahmed17476 ปีที่แล้ว +1

    is there any gd websites out there or resources that help better understand the syntax of the data binding i really dont understand how people just figure out what to do with the elements right of the bat

    • @KampaPlays
      @KampaPlays  ปีที่แล้ว +2

      I usually use Microsoft's resources to check things like that, they have good documentation. I agree with you, it's not something you can just look at the first time and figure out without at least an example to follow.
      I also have a video on the basics of data binding (#8 in this series) that might help get you going if you are interested. If you have any questions let me know.

    • @KampaPlays
      @KampaPlays  ปีที่แล้ว +1

      This also looks to be a decent example that might help:
      www.c-sharpcorner.com/blogs/databinding-in-wpf-part-i

    • @ahmed17476
      @ahmed17476 ปีที่แล้ว +1

      @@KampaPlays thank you very much

    • @KampaPlays
      @KampaPlays  ปีที่แล้ว +1

      Welcome!

  • @goncalo_sousa5
    @goncalo_sousa5 หลายเดือนก่อน

    My Visual Studio crashes everytime i try to edit the code on the WPF app... Any idea why this happens?
    I have a good pc and run other programs without any problems, but when I try to do something as simple as editing code on a WPF project the computer just wont let me...

    • @KampaPlays
      @KampaPlays  หลายเดือนก่อน

      Hm. Sounds like VS itself is having issues, have you tried doing a repair/reinstall from the VS installer? If that doesn't work, I would uninstall and install it fresh.

  • @JamesOfToya
    @JamesOfToya 2 หลายเดือนก่อน

    0:20 seconds in and I'm already stuck. Where is this Create new project screen?

    • @KampaPlays
      @KampaPlays  หลายเดือนก่อน

      Sorry for the delay. Are you using VS 2022? Open it with the launcher?

  • @anandbhalerao6581
    @anandbhalerao6581 11 หลายเดือนก่อน

    wpf application is not showing. i googled a lot but couldn't find a solution. it shows wpf app(.net framework) and not wpf application. plz help

    • @KampaPlays
      @KampaPlays  11 หลายเดือนก่อน

      Are you using Visual Studio 2022? If not, your Visual Studio may not include the newer .NET packages, and you will need to get the .NET 6/7 SDK installed.
      If you are using Visual Studio 2022, you might try going to your VS installer (you can search windows start for "visual studio installer" and it should find it, choose "modify" on your installation, and ensure that ".NET desktop development" is selected. You can also choose to "repair" your installation, and if all else fails, reinstall VS. I hope you get it working!