コード例 #1
0
ファイル: ReplayDialog.cpp プロジェクト: StefanL74/XCSoar
static void
OnStartClicked()
{
  const TCHAR *path = GetFormValueFile(*wf, _T("prpFile"));
  if (!replay->Start(path))
    ShowMessageBox(_("Could not open IGC file!"),
                   _("Replay"), MB_OK | MB_ICONINFORMATION);
}
コード例 #2
0
ファイル: ReplayDialog.cpp プロジェクト: FlorianR/XCSoar
static void
OnStartClicked(gcc_unused WndButton &Sender)
{
  const TCHAR *path = GetFormValueFile(*wf, _T("prpFile"));
  if (!replay->Start(path))
    ShowMessageBox(_("Could not open IGC file!"),
                   _("Flight replay"), MB_OK | MB_ICONINFORMATION);
}