strategy question

Hello,
My task was to write a simulator of simple microcomputer with processor, memory, and some few commands that user would choose to "program" the computer(MOV,ADD,INC etc). I decided to write several classes, each class stands for one command. Everything works allright, however i'm not satisfied with one issue. Writting new command class also means that I have to change the gui dialog part to make that command visible to user, add new controls, new conditional statemants etc. My question is if it is possible to make it more flexible and separate gui from knowledge about those classes. I wonder if someone had similar problem and same thoughts of improving the code.

Przemek
Topic archived. No new replies allowed.