예제 #1
0
//##ModelId=474D306A0020
void CEditWnd::OnSaveAll() 
{
	BOOL bUpdateDesc = m_cbUpdateDescription.GetCheck();
	int nSize = m_Edits.size();
	for(int nTab = 0; nTab < nSize; nTab++)
	{
		DoSaveItem(nTab);
	}
}
예제 #2
0
void CEditWnd::OnSaveAll() 
{
	BOOL bUpdateDesc = m_cbUpdateDescription.GetCheck();
	INT_PTR size = m_Edits.size();
	for(int tab = 0; tab < size; tab++)
	{
		DoSaveItem(tab);
	}
}
예제 #3
0
//##ModelId=474D30690252
bool CEditWnd::DoSave()
{
	bool bRet = false;
	int nTab = m_Tabs.GetActiveTab();
	if(nTab >= 0 && nTab < (int)m_Edits.size())
	{
		bRet = DoSaveItem(nTab);
	}

	return bRet;
}
예제 #4
0
void OpenWindowsPanel::OnSaveSelectedFiles(wxCommandEvent& e)
{
    wxUnusedVar(e);
    wxDataViewItemArray items;
    m_dvListCtrl->GetSelections(items);

    if(items.IsEmpty()) return;

    for(size_t i = 0; i < items.GetCount(); ++i) {
        DoSaveItem(items.Item(i));
    }
}