// -*- C++ -*- generated by wxGlade 0.6.3 on Fri Feb 22 21:22:02 2008

#include <wx/wx.h>
#include <wx/image.h>
//#include <wx/listbox.h>


// begin wxGlade: ::dependencies
#include <wx/grid.h>
// end wxGlade


#ifndef QUERY2EXCEL_H
#define QUERY2EXCEL_H


// begin wxGlade: ::extracode
// end wxGlade


class MyFrame: public wxFrame {
public:
    // begin wxGlade: MyFrame::ids
    // end wxGlade

    MyFrame(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE);

private:
    // begin wxGlade: MyFrame::methods
    void set_properties();
    void do_layout();
    // end wxGlade

protected:
    // begin wxGlade: MyFrame::attributes
    wxStatusBar* frame_1_statusbar;
    wxStaticText* label_1;
    wxStaticText* label_2;
    wxTextCtrl* txtDNS;
    wxStaticText* label_3;
    wxTextCtrl* txtUser;
    wxStaticText* label_4;
    wxTextCtrl* txtPassword;
    wxButton* Connetti;
    wxStaticText* label_5;
    wxStaticText* label_6;
    wxListBox* ListaTabelle;
    wxTextCtrl* Query;
    wxButton* Esporta;
    wxButton* Vedi;
    wxButton* Chiudi;
    // end wxGlade

    DECLARE_EVENT_TABLE();

public:
    virtual void Connette(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void GenSelect(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void EsportaExcel(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void EsegueSelect(wxCommandEvent &event); // wxGlade: <event_handler>
    virtual void ChiudiApp(wxCommandEvent &event); // wxGlade: <event_handler>
}; // wxGlade: end class


class MyQuery: public wxFrame {
public:
    // begin wxGlade: MyQuery::ids
    // end wxGlade

    MyQuery(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE);
    void RiempieGrid(wxString Titolo);
    
private:
    // begin wxGlade: MyQuery::methods
    void set_properties();
    void do_layout();
    // end wxGlade

protected:
    // begin wxGlade: MyQuery::attributes
    wxStaticText* TitoloTabella;
    wxGrid* QueryGrid;
    // end wxGlade
}; // wxGlade: end class


#endif // QUERY2EXCEL_H
