Hi, I'm Ray

I'm a software developer, full-time nerd and occasional human (while heavily caffeinated).

Articles + Posts (Month: May 2019)

  • 27 May, 2019
  • C#: Building a TNoteBook component for Windows Forms as an user control (PanelBook)
  • Last week I was developing a Windows Forms (WinForms) application that required a particular kind of user interface. The application was a step-by-step wizard that had navigation buttons: "back" and "next". Think multiple steps of a setup installer. Each page occupied the same position and contains other controls. I wanted a more elegant solution other than hiding/showing and moving panels around the form.
  • 25 May, 2019
  • C#: A practical example of polymorphism for everyday projects
  • Every programming textbook and wiki is going to have a definition for polymorphism, so you don't need me to explain the concept. In my mind, polymorphism is the OOP technique of defining one interface that allows different entities to do the work. In this post I'm going to provide a practical example of subtype polymorphism or subtyping.

Copyright © 2014-2019 Ray Lam. All Rights Reserved.