//----------------------------------- public void Init(CODEQSort tableSort) { m_tableSort = tableSort; m_controleEditeSort.SortTable = m_tableSort; m_txtNomTable.Text = m_tableSort.NomFinal; m_chkUseCache.Checked = m_tableSort.UseCache; m_ctrlFormulesNommees.TypeFormuleNomme = typeof(CColonneEQCalculee); m_ctrlFormulesNommees.Init(m_tableSort.ColonnesCalculees.ToArray(), typeof(CDataRowForChampCalculeODEQ), m_tableSort); FillListeColonnes(m_wndListeColonnesFromSource); FillSort(); m_panelPostFilter.Init(m_tableSort); }
public bool EditeProprietes(IObjetDeEasyQuery objet) { CODEQSort sort = objet as CODEQSort; if (sort == null) { return(false); } CFormEditeProprietesSort form = new CFormEditeProprietesSort(); form.Init(sort); bool bResult = form.ShowDialog() == DialogResult.OK; form.Dispose(); return(bResult); }