summaryrefslogtreecommitdiffstats
path: root/Project/GeneratorForm.h
blob: e0178523aa0b504819ca1265e29d71b4312458da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef GENERATORFORM_H
#define GENERATORFORM_H

#include "ElementForm.h"

class GeneratorStabForm;
class SyncGenerator;

class GeneratorForm : public GeneratorFormBase
{
   public:
    GeneratorForm(wxWindow* parent, SyncGenerator* syncGenerator);
    virtual ~GeneratorForm();
	
protected:
    virtual void OnStabilityButtonClick(wxCommandEvent& event);
    virtual void OnCancelButtonClick(wxCommandEvent& event);
    virtual void OnCheckMaxReactive(wxCommandEvent& event);
    virtual void OnCheckMinReactive(wxCommandEvent& event);
    virtual void OnOKButtonClick(wxCommandEvent& event);
	
	virtual bool ValidateData();
	virtual void ReplaceStaticTextLabelChar(wxStaticText* staticText, wchar_t newChar);

	SyncGenerator* m_syncGenerator;
	wxWindow* m_parent;
	
};
#endif  // GENERATORFORM_H