这篇教程C++ EndModal函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中EndModal函数的典型用法代码示例。如果您正苦于以下问题:C++ EndModal函数的具体用法?C++ EndModal怎么用?C++ EndModal使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了EndModal函数的24个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: EndModalvoid EditCppCodeEvent::OncancelBtClick(wxCommandEvent& event){ EndModal(0);}
开发者ID:HaoDrang,项目名称:GD,代码行数:4,
示例2: WXUNUSEDvoid VampEffectDialog::OnCancel(wxCommandEvent & WXUNUSED(event)){ EndModal(FALSE);}
开发者ID:dot-Sean,项目名称:audio,代码行数:4,
示例3: WXUNUSEDvoid EditHouseDialog::OnClickCancel(wxCommandEvent& WXUNUSED(event)) { // Just close this window EndModal(0);}
开发者ID:CkyLua,项目名称:rme,代码行数:4,
示例4: EndModalvoid AutocloseMessageBox::OnUnlock(wxTimerEvent& /*evt*/){ EndModal(wxID_OK);}
开发者ID:OursDesCavernes,项目名称:springlobby,代码行数:4,
示例5: EndModalvoid ExportMixerDialog::OnCancel(wxCommandEvent &event){ EndModal( wxID_CANCEL );}
开发者ID:ruthmagnus,项目名称:audacity,代码行数:4,
示例6: TransferDataFromWindowvoid LevellerDialog::OnOk(wxCommandEvent &event){ TransferDataFromWindow(); EndModal(true);}
开发者ID:andreipaga,项目名称:audacity,代码行数:6,
示例7: EndModalvoid DIALOG_NON_COPPER_ZONES_EDITOR::OnCancelClick( wxCommandEvent& event ){ // do not save the edits. EndModal( ZONE_ABORT );}
开发者ID:antogg,项目名称:kicad-source-mirror,代码行数:6,
示例8: WXUNUSEDvoid ShareTransactionDialog::OnOk(wxCommandEvent& WXUNUSED(event)){ double num_shares = 0; if (!m_share_num_ctrl->checkValue(num_shares)) { return; } double share_price = 0; if (!m_share_price_ctrl->checkValue(share_price)) { return; } double commission = 0; m_commission_ctrl->GetDouble(commission); double current_price = share_price; if (m_stock && ((m_stock->PURCHASEPRICE != m_stock->CURRENTPRICE) && (m_stock->PURCHASEPRICE != 0))) { current_price = m_stock->CURRENTPRICE; } // allow for loyalty shares. These are "Free" bool loyalty_shares = (share_price == 0) && (num_shares > 0); if (m_stock && loyalty_shares) { current_price = m_stock->CURRENTPRICE; } // Only update the current price when adding new shares if (!m_checking_entry) { m_stock->CURRENTPRICE = current_price; Model_Stock::instance().save(m_stock); } if (m_transaction_panel->ValidCheckingAccountEntry()) { // addition or removal shares if ((num_shares > 0) && (m_transaction_panel->TransactionType() == Model_Checking::DEPOSIT)) { // we need to subtract the number of shares for a sale num_shares = num_shares * -1; } int checking_id = m_transaction_panel->SaveChecking(); /* // The PURCHASEDATE, field in STOCK table becomes obsolete. // NUMSHARES, PURCHASEPRICE and COMMISSION fields in the Stocks table are used as // a summary and allows Stock history to work in its current form. // The Shares table now maintains share_num, share_price, and commission on the // date of purchase, together with a record in the checking account table. */ if (!m_translink_entry) { Model_Translink::SetStockTranslink(m_stock->STOCKID , checking_id, m_transaction_panel->CheckingType()); } Model_Shareinfo::ShareEntry(checking_id, num_shares, share_price, commission, m_share_lot_ctrl->GetValue()); Model_Translink::UpdateStockValue(m_stock); if (!loyalty_shares) { Model_StockHistory::instance().addUpdate(m_stock->SYMBOL, m_transaction_panel->TransactionDate(), m_stock->CURRENTPRICE, Model_StockHistory::MANUAL); } } else { mmErrorDialogs::MessageWarning(this, _("Invalid Transaction"), m_dialog_heading); return; } EndModal(wxID_OK);}
开发者ID:dqf88,项目名称:moneymanagerex,代码行数:76,
示例9: EndModalvoid ChooseAutomatismDialog::OnChoisirBtClick(wxCommandEvent& event){ automatismChosen = automatismsList->GetStringSelection(); EndModal(1);}
开发者ID:cubemoon,项目名称:GD,代码行数:5,
示例10: EndModalvoid moNewEffectDialog::OnCancelButtonClick(wxCommandEvent& event){ EndModal( wxID_CANCEL );}
开发者ID:inaes-tic,项目名称:tv-moldeo,代码行数:4,
示例11: EndModalvoidscanning_for_playlists_dlg::on_scanner_finished(wxCommandEvent &) { EndModal(m_aborted ? wxID_CANCEL : wxID_OK);}
开发者ID:ProfOh,项目名称:mkvtoolnix,代码行数:4,
示例12: EndModalvoid DIALOG_PAGES_SETTINGS::OnCancelClick( wxCommandEvent& event ){ EndModal( false );}
开发者ID:johnbeard,项目名称:kicad-source-mirror,代码行数:4,
示例13: EndModalvoid PathBehaviorEditor::OncancelBtClick(wxCommandEvent& event){ EndModal(0);}
开发者ID:alcemirfernandes,项目名称:GD,代码行数:4,
示例14: EndModalvoid AddBotDialog::OnClose( wxCommandEvent& /*event*/ ){ EndModal( wxID_CANCEL );}
开发者ID:Mailaender,项目名称:springlobby,代码行数:4,
示例15: StoreDatavoid wxsFontEditorDlg::OnButton2Click(wxCommandEvent& event){ StoreData(Data); EndModal(wxID_OK);}
开发者ID:stahta01,项目名称:EmBlocks,代码行数:5,
示例16: settvoid AddBotDialog::OnAddBot( wxCommandEvent& /*event*/ ){ sett().SetLastAI( m_ai->GetStringSelection() ); EndModal( wxID_OK );}
开发者ID:Mailaender,项目名称:springlobby,代码行数:5,
示例17: EndModalvoid LevellerDialog::OnCancel(wxCommandEvent &event){ EndModal(false);}
开发者ID:andreipaga,项目名称:audacity,代码行数:4,
示例18: EndModal/* PaletteDialog::onLeftDoubleClick * Called when the palette canvas is double clicked *******************************************************************/void PaletteDialog::onLeftDoubleClick(wxMouseEvent& e){ EndModal(wxID_OK);}
开发者ID:IjonTichy,项目名称:SLADE,代码行数:7,
示例19: EndModalvoid WConfirmCalibration::OnButton3Click( wxCommandEvent& event ){ m_timer.Stop(); EndModal(BUTTON_REPEAT); event.Skip();}
开发者ID:BrainTech,项目名称:eviacam,代码行数:6,
示例20: EndModal/** * Close the editor without updating the object */void TiledSpriteObjectEditor::OncancelBtClick(wxCommandEvent& event){ EndModal(0);}
开发者ID:walney,项目名称:GD,代码行数:7,
示例21: EndModalvoid dlgSelectConnection::OnCancel(wxCommandEvent& ev){ EndModal(wxID_CANCEL);}
开发者ID:lhcezar,项目名称:pgadmin3,代码行数:4,
示例22: EndModalvoid EditForEachEvent::OncancelBtClick(wxCommandEvent& event){ EndModal(0);}
开发者ID:yecaokinux,项目名称:GD,代码行数:4,
示例23: EndModalvoid CIniEditor::OnbtnCancelClick(wxCommandEvent& event){ EndModal( 0 );}
开发者ID:nbn555,项目名称:igvcbyu,代码行数:4,
示例24: EndModalvoid CocoonJSUploadDialog::OnCloseBtClicked(wxCommandEvent& event){ EndModal(1);}
开发者ID:HaoDrang,项目名称:GD,代码行数:4,
注:本文中的EndModal函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ EndPage函数代码示例 C++ EndEdit函数代码示例 |