コード例 #1
0
 public override string ToString()
 {
     return(String.Format("[{0}] {1} {12} [{2}] {3}-{4} {5}-{6} [{7},{8},{9},{10} {11}] ",
                          Id.ToString().PadLeft(3, ' '), Name, Duration.ToString().PadLeft(3, ' '),
                          EarlyStartDate.ToShortDateString(),
                          EarlyFinishDate.ToShortDateString(),
                          LatestStartDate.ToShortDateString(),
                          LatestFinishDate.ToShortDateString(),
                          EarlyStart.ToString().PadLeft(3, ' '),
                          EarlyFinish.ToString().PadLeft(3, ' '),
                          LatestStart.ToString().PadLeft(3, ' '),
                          LatestFinish.ToString().PadLeft(3, ' '),
                          Slack.ToString().PadLeft(3, ' '),
                          DisplayOrder.ToString().PadLeft(4, ' ')
                          ));
 }