public MainWindow() { InitializeComponent(); m_framework = new Framework(consoleTextbox, showCryTif); m_registryManager = new CRegistryManager(); this.AllowDrop = true; this.DragEnter += new DragEventHandler(MainWindow_DragEnter); this.DragDrop += new DragEventHandler(MainWindow_DragDrop); this.Text = APP_TITLE_NAME; #if DEBUG this.TopMost = false; this.Text = APP_TITLE_NAME + " - DEV"; #endif //Use registry settings if (m_registryManager.m_customPathInput == "") customPath.Text = Framework.GetCRYENGINELocation(); else customPath.Text = m_registryManager.m_customPathInput; showCryTif.Checked = m_registryManager.m_useCryTifDialog; m_customSlotData = CRegistryManager.GetCustomSlots(); SetCustomSlots(); Framework.Log(APP_TITLE_NAME + " ready!"); }