I am writing a program in Visual Basic 2010. This is an HMI (Human-Machine Interface) and therefore has a whole set of buttons that simply send commands to other devices. As a result, there is a huge bunch of event handlers for clicking buttons that actually cannot be divided into modules (unless my understanding of modules is wrong).
Essentially, I would like to be able to move all event handlers, such as button clicks to another file. Could this be done or is it important that they remain in "MainWindow.xaml.vb"? (All my buttons are in one full-screen window, some are hidden by tabs).
Thank,
- Eric T
source
share