void CDlgSolitaireAnalyse::OnBnClickedOk()
{
	char outfile[256];
	myD->keyUmrechnen();
	myD->entschluesseln(myD->plaintext);
	GetTmpName(outfile,"cry",".txt");	
	myD->writeplaintext(outfile);
	OpenNewDoc(outfile,myD->getKey(),this->oldTitle,IDS_SOLITAIRE,true,1);
	this->EndDialog(1);
}
示例#2
0
//----------------------------------------------------------------------------
// OnFileNewChar performs Menu-File-NewCharacters command
//----------------------------------------------------------------------------
void CippsDemoApp::OnFileNewChar()
{
//   if (!m_pNewChar->Dialog()) return;
   m_NewView = VIEW_CHAR;
   OpenNewDoc(m_NewView);
}
示例#3
0
//----------------------------------------------------------------------------
// OnFileNewSignal performs Menu-File-NewSignal command
//----------------------------------------------------------------------------
void CippsDemoApp::OnFileNewSignal() 
{
   if (!m_pNewSignal->Dialog()) return;
   m_NewView = VIEW_DEMO;
   OpenNewDoc();
}
示例#4
0
//----------------------------------------------------------------------------
// OnFileNewTaps performs Menu-File-NewDigits command
//----------------------------------------------------------------------------
void CippsDemoApp::OnFileNewTaps() 
{
   if (!m_pNewTaps->Dialog()) return;
   m_NewView = VIEW_TEXT;
   OpenNewDoc(m_NewView);
}
示例#5
0
//----------------------------------------------------------------------------
// OnFileNew performs Toolbar-new command
//----------------------------------------------------------------------------
void CippsDemoApp::OnFileNew() 
{
//   m_NewView = FALSE;
   OpenNewDoc(m_NewView);
}