view include/index.h @ 16:b651aa41b9d4 default tip

hhsinfo method (server)
author pyon@macmini
date Mon, 15 Jul 2019 07:03:05 +0900
parents
children
line wrap: on
line source

// Filename   : index.h
// Last Change: 2019-07-09 ‰Î 12:59:22.
//

#pragma once

#include <wx/xrc/xmlres.h>
#include <wx/scrolwin.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/string.h>
#include <wx/icon.h>
#include <wx/textctrl.h>
#include <wx/dataview.h>
#include <wx/sizer.h>
#include <wx/frame.h>
#include <wx/stattext.h>
#include <wx/datectrl.h>
#include <wx/listbox.h>
#include <wx/dateevt.h>

class IndexFrame : public wxFrame
{
    DECLARE_EVENT_TABLE()
	private:

	protected:
		wxStaticText* m_staticTextDrive;
		wxChoice*     m_choiceDrive;
		wxStaticText* m_staticTextYear;
		wxChoice*     m_choiceYear;
		wxStaticText* m_staticTextDate;
		wxListBox*    m_listBoxDate;
		wxStaticText* m_staticTextCcn;
		wxListBox*    m_listBoxCcn;
		
		wxDataViewListCtrl* m_dataViewListCtrl;
		wxDataViewColumn*   m_dataViewListColumnNo;
		wxDataViewColumn*   m_dataViewListColumnHno;
		wxDataViewColumn*   m_dataViewListColumnName;
		wxDataViewColumn*   m_dataViewListColumnKana;

	public:
		IndexFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxCAPTION|wxCLOSE_BOX|wxRESIZE_BORDER|wxTAB_TRAVERSAL );
		~IndexFrame();

		void OnDrive( wxCommandEvent& event );
		void OnYear( wxCommandEvent& event );
		void OnDate( wxCommandEvent& event );
		void OnCcn( wxCommandEvent& event );

		void CreateControls( void );
};