public CedController() { this.myDictionary = new TrieBase(); this.myWindow = null; this.myDebug = new DebugForm(); this.myDebug.Hide(); }
static void Main() { //must be called before initialization Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //Initialize components, give them references. CedController programController = new CedController(); MainWindow window = new MainWindow(programController); programController.Window = window; Application.Run(window); }