コード例 #1
0
 /// <summary>
 ///     Constructs the word match form
 /// </summary>
 public WordMatch(ListManager listManager)
 {
     InitializeComponent();
     list = listManager.getSpellingWords();
     nextWord();
     selectWord();
 }
コード例 #2
0
 /// <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();
 }
コード例 #3
0
        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));
        }
コード例 #4
0
 public ViewList(ListManager listManager)
 {
     InitializeComponent();
     this.listManager = listManager;
     setUpListView();
 }
コード例 #5
0
 /// <summary>
 ///     Constructs the addword form
 /// </summary>
 public AddWord(ListManager listManager)
 {
     InitializeComponent();
     this.listManager = listManager;
 }
コード例 #6
0
 /// <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;
 }