/// <summary> /// Constructs the word match form /// </summary> public WordMatch(ListManager listManager) { InitializeComponent(); list = listManager.getSpellingWords(); nextWord(); selectWord(); }
/// <summary> /// Constructs the main menu form /// </summary> public MainMenu(TestManager testManager, ListManager listManager, FileManager fileManager) { InitializeComponent(); this.testManager = testManager; this.listManager = listManager; this.fileManager = fileManager; wordList = this.listManager.getSpellingWords(); }
private static void Main() { var fileManager = new FileManager(); var listManager = new ListManager(fileManager); var testManager = new TestManager(listManager, fileManager); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainMenu(testManager, listManager, fileManager)); }
public ViewList(ListManager listManager) { InitializeComponent(); this.listManager = listManager; setUpListView(); }
/// <summary> /// Constructs the addword form /// </summary> public AddWord(ListManager listManager) { InitializeComponent(); this.listManager = listManager; }
/// <summary> /// Constructs a TestManager /// </summary> /// <param name="fileManager">A filemanager</param> /// <param name="listManager">A list manager</param> public TestManager(ListManager listManager, FileManager fileManager) { this.listManager = listManager; this.fileManager = fileManager; }