7 #include <wx/dynarray.h>
8 #include <wx/listbox.h>
10 #include <wx/spinctrl.h>
11 #include <wx/notebook.h>
13 class MyApp:public wxApp
16 virtual bool OnInit ();
19 class MyFrame:public wxFrame
35 wxTextCtrl *drivername;
37 wxToggleButton *inbt1;
38 wxToggleButton *inbt2;
39 wxToggleButton *inbt3;
40 wxToggleButton *inbt4;
41 wxToggleButton *inbt5;
42 wxToggleButton *inbt6;
43 wxToggleButton *inbt7;
44 wxToggleButton *inbt8;
53 wxToggleButton *outbt1;
54 wxToggleButton *outbt2;
55 wxToggleButton *outbt3;
56 wxToggleButton *outbt4;
57 wxToggleButton *outbt5;
58 wxToggleButton *outbt6;
59 wxToggleButton *outbt7;
60 wxToggleButton *outbt8;
76 MyFrame (const wxString & title);
78 void OnListBoxDoubleClick (wxCommandEvent & event);
79 void OnInbt1 (wxCommandEvent & event);
80 void OnInbt2 (wxCommandEvent & event);
81 void OnInbt3 (wxCommandEvent & event);
82 void OnInbt4 (wxCommandEvent & event);
83 void OnInbt5 (wxCommandEvent & event);
84 void OnInbt6 (wxCommandEvent & event);
85 void OnInbt7 (wxCommandEvent & event);
86 void OnInbt8 (wxCommandEvent & event);
87 void OnQuit (wxCommandEvent & event);
88 void OnAdd (wxCommandEvent & event);
89 void OnRemove (wxCommandEvent & event);
90 void OnAbout (wxCommandEvent & event);
91 void OnStart (wxCommandEvent & WXUNUSED (event));
93 void OnStop (wxCommandEvent & WXUNUSED (event));
94 void OnFreqBoxClick (wxCommandEvent & WXUNUSED (event));
95 void OnLoad (wxCommandEvent & WXUNUSED (event));
96 void OnPaint (wxPaintEvent & WXUNUSED (event));
97 void OnIns1 (wxScrollEvent & event);
98 void OnIns2 (wxScrollEvent & event);
99 void OnIns3 (wxScrollEvent & event);
100 void OnIns4 (wxScrollEvent & event);
101 void OnIns5 (wxScrollEvent & event);
102 void OnIns6 (wxScrollEvent & event);
103 void OnIns7 (wxScrollEvent & event);
104 void OnIns8 (wxScrollEvent & event);
105 void OnInst1 (wxSpinEvent & ev);
106 void OnInst2 (wxSpinEvent & ev);
107 void OnInst3 (wxSpinEvent & ev);
108 void OnInst4 (wxSpinEvent & ev);
109 void OnInst5 (wxSpinEvent & ev);
110 void OnInst6 (wxSpinEvent & ev);
111 void OnInst7 (wxSpinEvent & ev);
112 void OnInst8 (wxSpinEvent & ev);
114 void OnTimer (wxTimerEvent & event);
116 DECLARE_EVENT_TABLE ()};
119 void actu_output (void);