Exemple #1
0
        public void Add(CStudent student, bool IsActive)
        {
            count++;
            COneRecord record = new COneRecord(student, count);

            record.IsActive = IsActive;
            list.Add(record);
            record.AddToPanel(this.panel, 0, 28 * count);
        }
Exemple #2
0
        public void Add(bool IsActive)
        {
            count++;
            CStudent Nst = new CStudent();

            Source.Add(Nst);
            COneRecord record = new COneRecord(Nst, count);

            record.IsActive = IsActive;
            list.Add(record);
            record.AddToPanel(this.panel, 0, 28 * count);
        }