コード例 #1
0
 public Course(string code, string name, int year, Season season)
 {
     Code     = code;
     Name     = name;
     Semester = new Semester(year, season);
 }
コード例 #2
0
 public Course(DataGridViewRow row)
 {
     Code     = (string)row.Cells["codeDataGridViewTextBoxColumn"].Value;
     Name     = (string)row.Cells["nameDataGridViewTextBoxColumn"].Value;
     Semester = (Semester)row.Cells["semesterDataGridViewTextBoxColumn"].Value;
 }
コード例 #3
0
 public Course(string code, string name, Semester semester)
 {
     Code     = code;
     Name     = name;
     Semester = semester;
 }