コード例 #1
0
 public override string ToString()
 {
     return(String.Format("[{0}]  idParent:{1} d{2} [{3}-{4}",
                          Id.ToString().PadLeft(3, ' '), IdParent.ToString().PadLeft(3, ' '),
                          (EarlyStartDate.HasValue ? EarlyStartDate.Value.ToShortDateString() : ""), (EarlyFinishDate.HasValue ? EarlyFinishDate.Value.ToShortDateString() : "")
                          ));
 }
コード例 #2
0
        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, ' ')

                                 ));
        }
コード例 #3
0
        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, ' ')

                                 ));
        }
コード例 #4
0
 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() : "")
                          ));
 }