diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-10-25 17:09:19 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-10-25 17:09:19 -0200 |
commit | 0e3a45462bf8ce31be988679fd380baeecfb1b95 (patch) | |
tree | 9added371f70dd014c4f39a935bf4cd72566c12d /Project/SwitchingForm.cpp | |
parent | 58cc8933337d4681025f890af78bfddc45c212d0 (diff) | |
download | PSP.git-0e3a45462bf8ce31be988679fd380baeecfb1b95.tar.gz PSP.git-0e3a45462bf8ce31be988679fd380baeecfb1b95.tar.xz PSP.git-0e3a45462bf8ce31be988679fd380baeecfb1b95.zip |
Capacitor and Inductor forms implemented
Diffstat (limited to 'Project/SwitchingForm.cpp')
-rw-r--r-- | Project/SwitchingForm.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Project/SwitchingForm.cpp b/Project/SwitchingForm.cpp index cf5fa16..2a48783 100644 --- a/Project/SwitchingForm.cpp +++ b/Project/SwitchingForm.cpp @@ -1,6 +1,15 @@ #include "SwitchingForm.h" #include "Element.h" +SwitchingForm::SwitchingForm(wxWindow* parent) : SwitchingFormBase(parent) +{ + m_listCtrlSwitchings->AppendColumn(_("Type")); + m_listCtrlSwitchings->AppendColumn(_("Time (s)")); + + SetSize(GetBestSize()); + Layout(); +} + SwitchingForm::SwitchingForm(wxWindow* parent, Element* element) : SwitchingFormBase(parent) { m_listCtrlSwitchings->AppendColumn(_("Type")); |