Join Anton Delsink for an in-depth discussion in this video Conclusion, part of Object Oriented Programming with C#.
- [Narrator] In Windows we have now seen…both Windows forms and WPF as a way…to create objects, so using object…oriented techniques to manage all the classes…and properties and events and such that we need…to represent something on screen.…In Windows Forms we had the form itself…we inherited from that to help us with…encapsulation. With WPF we had the Window class…which we inherited from as well, to help…encapsulation, but unlike Windows Forms…with the inherited class we wrote a lot of code…and the Window Designer wrote a lot of code for us.…
Whereas with WPF there some more abstraction…happening with XAML in that we wrote XML…to declare which objects we want…and what their properties should be.…Whereas with Windows Forms we wrote…the code so even though fairly well…encapulated was a very different model…for instantiating all the objects with…the relevant properties populated.…In both cases inheritance is used…quite widely, so a button inheriting…from a button base an ultimately from a control…and similarly means that we can use polymorphism…
- Abstract classes
- Processing text with StreamReader
- IEnumerable and yield return
- Windows Forms controls
- Windows Forms with and without the designer
- Adding, organizing, and testing forms
- Creating classes
Skill Level Intermediate
What you should know1m 10s
1. Theory vs. Practice
2. Examples from .NET
3. Examples from Windows UI
4. Examples from Board Games
5. Examples from the Web
Next steps1m 13s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.