The next step in this chapter is to build the stock monitoring application. In the Visual Studio .NET environment, create a new Windows Application and give it a useful name, such as StockMonitor. By default, Visual Studio .NET will add a form to the application, and you'll use this form to build your first window. The first window in this application is shown in Figure 13.1.
After selecting a stock from the list, the user can edit or delete the stock from the Functions menu. The user can also create a new stock by choosing Add from the Functions menu. The secondary window that appears is shown in Figure 13.2.
The list window is fully responsible for all database activity, as well as interaction with the Web Service that the application uses. The editing window is called by the list window and is signaled by the edit window with the new/modified data via an event.