//----------------------------------- private void m_lnkAddColumn_LinkClicked(object sender, EventArgs e) { CColumnEQSimple col = new CColumnEQSimple(); col.DataType = typeof(string); CItemColumnSimple item = new CItemColumnSimple(col); m_wndListeColumns.AddItem(item, true); }
//----------------------------------------------------------- public override IEnumerable <IColumnDeEasyQuery> GetColonnesFinales() { List <IColumnDeEasyQuery> lstRetour = new List <IColumnDeEasyQuery>(); foreach (DataColumn col in m_table.Columns) { CColumnEQSimple cs = new CColumnEQSimple(Id + "~" + col.ColumnName, col.ColumnName, col.DataType); lstRetour.Add(cs); } return(lstRetour); }
//-------------------------------------------------------- public CItemColumnSimple(CColumnEQSimple col) { m_colonne = col; }