mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
26 lines
363 B
C++
26 lines
363 B
C++
#include "WindowBackupRestore.h"
|
|
|
|
|
|
|
|
MainWindow::MainWindow()
|
|
{
|
|
CtrlLayout(*this, "Backup/Restore test");
|
|
show_dialog <<= THISBACK(OnShowDialog);
|
|
|
|
CtrlLayoutOKCancel(dlg, t_("Test Dialog"));
|
|
}
|
|
|
|
void MainWindow::OnShowDialog()
|
|
{
|
|
dlg.Backup();
|
|
if(dlg.Execute()!=IDOK)
|
|
// dlg.Restore();
|
|
;
|
|
}
|
|
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
MainWindow().Run();
|
|
}
|
|
|