コード例 #1
0
        public Student(string name) //don't worry andrea Nick did this. If you want to see where i call it look in the Form1_KeyPress
        {
            scan = new Scanners();

            studentLastName = name;
            //set stringID to whatever string is passed in by scanner
            //studentName set to classes.[arrayNum].Student.toString(); (that a total guess!)
        }
コード例 #2
0
 public Student(string[] information) //don't worry andrea Nick did this. If you want to see where i call it look in the Form1_KeyPress
 {
     scan             = new Scanners();
     sw               = new Stopwatch();
     studentLastName  = information[0];
     studentFirstName = information[1];
     studentID        = information[2];
     guardianEmail    = information[3];
     listBoxItem      = studentLastName + ", " + studentFirstName;
     classCheck       = 0;
 }
コード例 #3
0
        public Student(string name, int[] information, string[] classData) //don't worry andrea Nick did this. If you want to see where i call it look in the Form1_KeyPress
        {
            scan = new Scanners();

            for (int i = 0; i < information.Length; i++)
            {
            }

            studentLastName = name;
            //set stringID to whatever string is passed in by scanner
            //studentName set to classes.[arrayNum].Student.toString(); (that a total guess!)
        }