|Re: Question to Mike T|
Message #3 Posted by Namir on 12 Feb 2008, 3:51 p.m.,
in response to message #2 by Mike T.
Using custom controls is interesting. My approach is to place transparent picture controls over the images of the buttons and switches, and then handle the click event on these controls. My implementations are not resizable.
Thank you for your generosity for letting me use the images.
I envisage creating possibly two versions for each model. The first would perform closely to the original implementation (assuming .Net does not limit me). The second version would be an extended version that packs more functions, memory registers, and program steps.
As for managing programs, I am very tempted to replace the key codes with the mnemonics, a la HP-41C. This variation will make it easier to view the program listing, store them to a file, and read them from a file. I know some purists will not like it, but I often ask myself, "Why make life difficult?"
My approach is also object-oriented, which will allow me to create classes for specific parts of the calculator (the display, the stack, the memory registers, program execution, and so on). I have the VB6 code for the HP-67 and I intent to adapt it to the VB .Net implementations.
Edited: 12 Feb 2008, 3:52 p.m.