//--------------------------------------------------------------------------- #ifndef Pareto1H #define Pareto1H //--------------------------------------------------------------------------- #include #include #include #include #include #include #include "OlectraChart2D_TLB.h" //--------------------------------------------------------------------------- class TfrmPareto : public TForm { __published: // IDE-managed Components TChart2D *Chart2D1; TMainMenu *MainMenu1; TMenuItem *mnuFile; TMenuItem *mnuExit; TMenuItem *mnuGenerate; TMenuItem *mnuHelp; TMenuItem *mnuAboutThisDemo; TMenuItem *N1; TMenuItem *mnuAboutOlectraChart; void __fastcall mnuExitClick(TObject *Sender); void __fastcall mnuGenerateClick(TObject *Sender); void __fastcall FormCreate(TObject *Sender); void __fastcall mnuAboutThisDemoClick(TObject *Sender); void __fastcall mnuAboutOlectraChartClick(TObject *Sender); private: // User declarations public: // User declarations void CreateData1(); void CreateData2(); void FinalizeTheChart(); void SortDataGroup1(); __fastcall TfrmPareto(TComponent* Owner); }; //--------------------------------------------------------------------------- extern TfrmPareto *frmPareto; //--------------------------------------------------------------------------- #endif