none
Object Orientated Programming with Windows Form Application RRS feed

  • Question

  • Hi was wondering if anyone could help me out, I am hoping to create an A and E simulator program that is object orientated with patients as objects etc. and was wondering if it would be possible for me to implement this using a windows form application. As i am aware that windows form apps are already use OOP and wanted to know if I could create my own classes within this and allow button clicks to call properties from my instantiated objects. Thanks

    Tuesday, October 23, 2018 2:54 PM

All replies

  • Hi

    The answer is YES to all. You can work with objects/classes  - in fact, that is the whole point of an object orientated language.

    All controls have a variety of 'events' that call particular Subs where you would interact with the user action.

    In the free Visual Studio Community, you can choose which programming language to,work with and use these forums for any help you may need with coding.


    Regards Les, Livingston, Scotland


    • Edited by leshay Tuesday, October 23, 2018 3:04 PM
    Tuesday, October 23, 2018 3:01 PM
  • You can implement SoC

    https://en.wikipedia.org/wiki/Separation_of_concerns

    You can implement the UI design pattern MVP

    https://www.codeproject.com/Articles/228214/Understanding-Basics-of-UI-Design-Pattern-MVC-MVP

    Tuesday, October 23, 2018 6:29 PM