static void Main(string[] args) { Logica log = new Logica(); Question que = log.GetAllQuestion().First(); log.DeleteQuestion(que); }
public FormCategory() { InitializeComponent(); logic = new Logica(); deleteCategories = new HashSet<Object>(); changeCategories = new HashSet<Object>(); newCategories = new HashSet<Object>(); }
public formEditor() { InitializeComponent(); logic = new Logica(); editQuestions = new HashSet<Object>(); deleteQuestions = new HashSet<Object>(); newQuestions = new HashSet<Object>(); formCategory = new FormCategory(); formElements = new FormElements(); LoadQuestions(); LoadCategories(); }