예제 #1
0
 public void GrantSetInWord(Document oDoc, Grant grant, string[] bookMarks)
 {
     if (grant.AreIs > 0)
     {
         oDoc.Bookmarks[bookMarks[0]].Range.Text = grant.name;
         oDoc.Bookmarks[bookMarks[1]].Range.Text = grant.date;
         oDoc.Bookmarks[bookMarks[2]].Range.Text = grant.progress.ToString();
     }
 }
예제 #2
0
 public Sport(double[] levelBalls,
              double[] levelBallsA,
              double gtoBall)
 {
     levels = new List <BallEvent>()
     {
         new BallEvent(levelBalls[0]),
         new BallEvent(levelBalls[1]),
         new BallEvent(levelBalls[2]),
         new BallEvent(levelBalls[3]),
         new BallEvent(levelBalls[4])
     };
     participations = new List <BallEvent>()
     {
         new BallEvent(levelBallsA[0]),
         new BallEvent(levelBallsA[1]),
         new BallEvent(levelBallsA[2]),
         new BallEvent(levelBallsA[3]),
         new BallEvent(levelBallsA[4])
     };
     gto = new Grant(gtoBall);
 }