www.pudn.com > Genecircus20070919.rar > ResultDialog.h


#pragma once 
#include "wx_pch.h" 
#include "Staticdraw.h" 
#include "mainframe.h" 
#include "BlackBoard.h" 
typedef std::vectormaxlist; 
typedef std::vectorminlist; 
enum CtrlID2 
{ 
	wxID_SIM_RESULT_1, 
	wxID_SIM_RESULT_2, 
	wxID_SIM_RESULT_3, 
	wxID_SIM_RESULT_4, 
	wxID_SIM_RESULT_5, 
	wxID_SIM_RESULT_6, 
	wxID_SIM_RESULT_7, 
	wxID_SIM_RESULT_8, 
	wxID_SIM_RESULT_DATA_1, 
	wxID_SIM_RESULT_DATA_2, 
	wxID_SIM_RESULT_DATA_3, 
	wxID_SIM_RESULT_DATA_4, 
	wxID_SIM_RESULT_SLIDER_1, 
	wxID_SIM_RESULT_SLIDER_2, 
    wxID_SIM_RESULT_BUTTON, 
}; 
class ResultDialog:public wxDialog 
{ 
public: 
    CStaticdraw * stbox1; 
    CStaticdraw * stbox2; 
    CStaticdraw * stbox3; 
    CStaticdraw * stbox4; 
	wxComboBox * combox1; 
	wxComboBox * combox2; 
	wxComboBox * combox3; 
	wxComboBox * combox4; 
	wxComboBox * combox5; 
	wxComboBox * combox6; 
	wxComboBox * combox7; 
	wxComboBox * combox8; 
	ResultDialog(void); 
	ResultDialog(wxWindow* parent,wxWindowID id); 
	wxPoint base_points[4]; 
	wxRect base_rect[4]; 
	//MainFrame * mf; 
	BlackBoard * bl; 
	void findhistory(wxString name,CStaticdraw * st,int index); 
	void OnButtonClick(wxCommandEvent& event); 
	void dodraw(); 
	maxlist maxl; 
	minlist minl; 
 
public: 
	void OnPaint( wxPaintEvent &event); 
	~ResultDialog(void); 
	DECLARE_DYNAMIC_CLASS(ResultDialog) 
    DECLARE_EVENT_TABLE() 
};