comparison src/ccnframe.cpp @ 17:17e78fc76e1f

Start editing Ccn-Frame.
author pyon@macmini
date Wed, 13 Jul 2011 21:09:10 +0900
parents
children 710be7b6a873
comparison
equal deleted inserted replaced
16:b67c74848dd0 17:17e78fc76e1f
1 ///////////////////////////////////////////////////////////////////////////
2 // C++ code generated with wxFormBuilder (version Sep 12 2010)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
6 ///////////////////////////////////////////////////////////////////////////
7
8 #include "noname.h"
9
10 ///////////////////////////////////////////////////////////////////////////
11
12 FrameCcn::FrameCcn( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
13 {
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
15
16 wxBoxSizer* bSizer;
17 bSizer = new wxBoxSizer( wxHORIZONTAL );
18
19 wxGridSizer* gSizer;
20 gSizer = new wxGridSizer( 2, 5, 0, 0 );
21
22 m_staticText1 = new wxStaticText( this, ID_M_STATICTEXT1, wxT("開催年月日"), wxDefaultPosition, wxDefaultSize, 0 );
23 m_staticText1->Wrap( -1 );
24 gSizer->Add( m_staticText1, 0, wxALL, 5 );
25
26
27 gSizer->Add( 0, 0, 1, wxEXPAND, 5 );
28
29 m_staticText2 = new wxStaticText( this, ID_M_STATICTEXT2, wxT("合議体"), wxDefaultPosition, wxDefaultSize, 0 );
30 m_staticText2->Wrap( -1 );
31 gSizer->Add( m_staticText2, 0, wxALL, 5 );
32
33
34 gSizer->Add( 0, 0, 1, wxEXPAND, 5 );
35
36 m_staticText3 = new wxStaticText( this, ID_M_STATICTEXT3, wxT("被保険者"), wxDefaultPosition, wxDefaultSize, 0 );
37 m_staticText3->Wrap( -1 );
38 gSizer->Add( m_staticText3, 0, wxALL, 5 );
39
40 m_listCtrlYmd = new wxListCtrl( this, ID_YMD, wxDefaultPosition, wxDefaultSize, wxLC_LIST );
41 gSizer->Add( m_listCtrlYmd, 0, wxALL|wxEXPAND, 5 );
42
43 m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("→"), wxDefaultPosition, wxDefaultSize, 0 );
44 m_staticText4->Wrap( -1 );
45 gSizer->Add( m_staticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
46
47 m_listCtrlCcn = new wxListCtrl( this, ID_CCN, wxDefaultPosition, wxDefaultSize, wxLC_LIST );
48 gSizer->Add( m_listCtrlCcn, 0, wxALL|wxEXPAND, 5 );
49
50 m_staticText5 = new wxStaticText( this, ID_M_STATICTEXT5, wxT("→"), wxDefaultPosition, wxDefaultSize, 0 );
51 m_staticText5->Wrap( -1 );
52 gSizer->Add( m_staticText5, 0, wxALL, 5 );
53
54 m_listCtrlHhs = new wxListCtrl( this, ID_HHS, wxDefaultPosition, wxDefaultSize, wxLC_LIST );
55 gSizer->Add( m_listCtrlHhs, 0, wxALL|wxEXPAND, 5 );
56
57 bSizer->Add( gSizer, 1, wxEXPAND, 5 );
58
59 wxGridBagSizer* gbSizer;
60 gbSizer = new wxGridBagSizer( 0, 0 );
61 gbSizer->SetFlexibleDirection( wxBOTH );
62 gbSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
63
64 m_btnPrevThu = new wxButton( this, ID_PRVTHU, wxT("前木"), wxDefaultPosition, wxDefaultSize, 0 );
65 gbSizer->Add( m_btnPrevThu, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALL, 5 );
66
67 m_btnNextThu = new wxButton( this, ID_NXTTHU, wxT("次木"), wxDefaultPosition, wxDefaultSize, 0 );
68 gbSizer->Add( m_btnNextThu, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxALL, 5 );
69
70 m_datePicker = new wxDatePickerCtrl( this, ID_DTPICKER, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_DEFAULT|wxDP_SHOWCENTURY );
71 gbSizer->Add( m_datePicker, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxALL, 5 );
72
73 m_btnMkIdX = new wxButton( this, ID_MKIDX, wxT("作成"), wxDefaultPosition, wxDefaultSize, 0 );
74 gbSizer->Add( m_btnMkIdX, wxGBPosition( 0, 3 ), wxGBSpan( 1, 1 ), wxALL, 5 );
75
76 m_btnClose = new wxButton( this, ID_CLOSE, wxT("閉じる"), wxDefaultPosition, wxDefaultSize, 0 );
77 gbSizer->Add( m_btnClose, wxGBPosition( 0, 4 ), wxGBSpan( 1, 1 ), wxALL, 5 );
78
79 bSizer->Add( gbSizer, 1, wxEXPAND, 5 );
80
81 this->SetSizer( bSizer );
82 this->Layout();
83
84 this->Centre( wxBOTH );
85 }
86
87 FrameCcn::~FrameCcn()
88 {
89 }