21 #include <Classes.hpp>
22 #include <Controls.hpp>
23 #include <StdCtrls.hpp>
25 #include <ComCtrls.hpp>
27 #include <ImgList.hpp>
28 #include <ExtCtrls.hpp>
29 #include <Graphics.hpp>
30 #include <Buttons.hpp>
39 TStringGrid *desc_table_grid;
40 TImageList *ImageList2;
41 TStatusBar *StatusBar1;
43 TBitBtn *ToggleButton;
48 void __fastcall Timer1Timer(TObject *Sender);
49 void __fastcall FormCreate(TObject *Sender);
50 void __fastcall ToggleButtonClick(TObject *Sender);
51 void __fastcall FormDestroy(TObject *Sender);
52 void __fastcall DBViewClick(TObject *Sender);
53 void __fastcall TableViewClick(TObject *Sender);
56 bool is_server_started;
57 AnsiString db_root_caption;
58 TTreeNode *db_root, *MySQLDbs, *tables_node, *tables_tree;
59 void __fastcall computer_ip(
void);
60 bool __fastcall get_dbs(
void);
61 bool __fastcall get_tables(
String db_name);
63 bool __fastcall connect_server();
64 void __fastcall clean_desc_grid(
void);
65 void __fastcall titles_grid(
void);
66 void __fastcall fill_tree(deque<string> rows,
72 __fastcall
TForm1(TComponent* Owner);
75 extern PACKAGE
TForm1 *Form1;