Esempio n. 1
0
 public void ChangeTestSettings(TestSettings settings)
 {
     this.test.Settings = settings;
     this.OnTestChange(this, new TestChangedEventArgs(this.test));
     RaisePropertyChanged(() => this.Test);
 }
Esempio n. 2
0
        public object Clone()
        {
            var res = new TestSettings();
            res.Attemts = this.Attemts;
            res.MaxMark = this.MaxMark;
            res.MinMark = this.MinMark;
            res.MinuteTime = this.MinMark;
            res.Name = this.Name;
            res.TeacherName = this.TeacherName;
            res.Min5 = this.Min5;
            res.Min4 = this.Min4;
            res.Min3 = this.Min3;

            return res;
        }