Beispiel #1
0
        public ProjectDebugForm(Handling.Project project)
        {
            InitializeComponent();

            Text = Lang.Get["TitleDebug"];
            btnReprocess.Text    = Lang.Get["DebugProjectReprocess"];
            btnLoadOriginal.Text = Lang.Get["DebugProjectLoadOriginal"];
            btnDebug.Text        = Lang.Get["DebugProjectDebug"];

            foreach (File file in project.SearchData.Files.Where(file => HandlerList.GetFileHandler(file) is AbstractLanguageFileHandler))
            {
                entries.Add(new RelativeFile(project.SearchData.Root, file));
            }

            textBoxFilterFiles_TextChanged(textBoxFilterFiles, new EventArgs());
            listBoxFiles_SelectedValueChange(listBoxFiles, new EventArgs());

            #if WINDOWS
            SendMessage(textBoxCode.Handle, 0x00CB, new IntPtr(1), new [] { 16 });
            #endif
        }
Beispiel #2
0
 private static AbstractLanguageFileHandler GetLanguageHandler(File file)
 {
     return((AbstractLanguageFileHandler)HandlerList.GetFileHandler(file));
 }