Esempio n. 1
0
 private void radioButtonOverFlowEllipsis_CheckedChanged(object sender, EventArgs e)
 {
     foreach (DataGridViewRow row in dataGridView1.Rows)
     {
         foreach (DataGridViewCell c in row.Cells)
         {
             if (c is DataGridViewHTMLCell)
             {
                 DataGridViewHTMLCell htmlCell = (DataGridViewHTMLCell)c;
                 htmlCell.m_htmlOverflowType = HTMLOverflow.ELIPSIS;
             }
         }
     }
 }
Esempio n. 2
0
 private void radioButtonOverFlowRedTriangle_CheckedChanged(object sender, EventArgs e)
 {
     foreach (DataGridViewRow row in dataGridView1.Rows)
     {
         foreach (DataGridViewCell c in row.Cells)
         {
             if (c is DataGridViewHTMLCell)
             {
                 DataGridViewHTMLCell htmlCell = (DataGridViewHTMLCell)c;
                 htmlCell.m_htmlOverflowType = HTMLOverflow.RED_TRIANGLE;
             }
         }
     }
 }
Esempio n. 3
0
 private void OverflowModeTriangle_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow row in dataGridView1.Rows)
     {
         foreach (DataGridViewCell c in row.Cells)
         {
             if (c is DataGridViewHTMLCell)
             {
                 DataGridViewHTMLCell htmlCell = (DataGridViewHTMLCell)c;
                 htmlCell.m_htmlOverflowType = HTMLOverflow.RED_TRIANGLE;
             }
         }
     }
 }