Beispiel #1
0
 private void RefreshListe()
 {
     m_bIsRefreshing = true;
     m_wndListeColonnes.BeginUpdate();
     for (int nCol = 0; nCol < m_wndListeColonnes.Items.Count; nCol++)
     {
         C2iWndListeSpeedStandard.CColonneListeSpeedStd col = (C2iWndListeSpeedStandard.CColonneListeSpeedStd)m_wndListeColonnes.Items[nCol];
         m_wndListeColonnes.Items[nCol] = "...";
         m_wndListeColonnes.Items[nCol] = col;
     }
     m_wndListeColonnes.EndUpdate();
     m_bIsRefreshing = false;
 }
Beispiel #2
0
 //------------------------------------------------------
 private void AfficheColonne(C2iWndListeSpeedStandard.CColonneListeSpeedStd colonne)
 {
     ValideModifs();
     m_colonneAffichee = colonne;
     if (colonne == null)
     {
         m_panelInfo.Visible = false;
     }
     else
     {
         m_panelInfo.Visible  = true;
         m_txtTitre.Text      = colonne.Titre;
         m_numUpLargeur.Value = colonne.Width;
         m_labelChamp.Text    = colonne.InfoChampDynamique != null ? colonne.InfoChampDynamique.NomChamp : "";
     }
 }