MySQL realated stuff documented.
[mediadatabase.git] / gui-Win32 / SRC / MainDialog.cpp
blobb0dbf229a8295ae1106ab8ebbf556adf78e6a85e
1 //---------------------------------------------------------------------------
3 #include <vcl.h>
4 #pragma hdrstop
6 #include "MainDialog.h"
7 #include "AboutDialog.h"
8 #include "DbPreferencesDialog.h"
9 //---------------------------------------------------------------------------
10 #pragma package(smart_init)
11 #pragma resource "*.dfm"
12 TMainForm *MainForm;
13 //---------------------------------------------------------------------------
14 __fastcall TMainForm::TMainForm(TComponent* Owner)
15 : TForm(Owner)
18 //---------------------------------------------------------------------------
19 void __fastcall TMainForm::Exit1Click(TObject *Sender)
21 this->Close();
23 //---------------------------------------------------------------------------
24 void __fastcall TMainForm::About1Click(TObject *Sender)
26 AboutBox->ShowModal();
28 //---------------------------------------------------------------------------
29 void __fastcall TMainForm::DatabasePreferences1Click(TObject *Sender)
31 DatabasePreferences->ShowModal();
33 //---------------------------------------------------------------------------