Пример #1
0
 private void dg_revenue_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
 {
     if (e.Value != null && (dg_revenue.Columns[e.ColumnIndex].Name == "Column14" || dg_revenue.Columns[e.ColumnIndex].Name == "Column5"))
     {
         ViewHelpers.SetMomentFormatForTimeSpanCell(e);
     }
 }
Пример #2
0
 private void dg_match_history_view_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
 {
     if (e.Value != null && dg_match_history_view.Columns[e.ColumnIndex].Name == "match_round_duration")
     {
         ViewHelpers.SetMomentFormatForTimeSpanCell(e);
     }
 }