public override string ToString() { return(String.Format("[{0}] edit:{4} idParent:{1} d{2} r{3}", IdActivity.ToString().PadLeft(3, ' '), IdParent.ToString().PadLeft(3, ' '), RowNumber.ToString().PadLeft(3, ' '), InEditMode.ToString().PadLeft(4, ' ') )); }
public override string ToString() { return(String.Format("[{0}] p:{1} d{2} r{3} d.{4}", IdActivity.ToString().PadLeft(3, ' '), IdParent.ToString().PadLeft(3, ' '), RowNumber.ToString().PadLeft(3, ' '), DisplayOrder.ToString().PadLeft(4, ' ') )); }
public override string ToString() { return(String.Format("[{0}] edit:{5} idParent:{1} d{2} r{3} d.{4} [{6}-{7}", IdActivity.ToString().PadLeft(3, ' '), IdParent.ToString().PadLeft(3, ' '), RowNumber.ToString().PadLeft(3, ' '), DisplayOrder.ToString().PadLeft(4, ' '), InEditMode.ToString().PadLeft(4, ' '), (EarlyStartDate.GetValue().HasValue ? EarlyStartDate.GetValue().Value.ToShortDateString() : ""), (EarlyFinishDate.GetValue().HasValue ? EarlyFinishDate.GetValue().Value.ToShortDateString() : "") )); }