public frmTopicChooseByPeriod(TopicChooseFormType FormType, Class Class, SchoolSubject Subject) { InitializeComponent(); currentClass = Class; currentSubject = Subject; formType = FormType; TopicChosen = new Topic(); TopicChosen.Id = 0; }
public frmTopicChooseByPeriod(TopicChooseFormType FormType, Class Class, SchoolSubject Subject) { InitializeComponent(); db = new DbAndBusiness(Commons.PathAndFileDatabase); currentClass = Class; currentSubject = Subject; formType = FormType; TopicChosen = new Topic(); TopicChosen.Id = 0; }