using CMLeonOS; using CMLeonOS.Gui.UILib; using System; using System.Collections.Generic; using System.Drawing; using System.IO; namespace CMLeonOS.Gui.Apps { internal class CodeBlocks : Process { internal CodeBlocks() : base("CodeBlocks", ProcessType.Application) { } private const string ProjectMagic = "CBLK1"; private class Block { internal string Type; internal int A; internal int B; internal string Text; } private AppWindow window; private readonly WindowManager wm = ProcessManager.GetProcess(); private Table paletteTable; private Table programTable; private Table outputTable; private TextBox argTextBox; private NumericUpDown argA; private NumericUpDown argB; private TextBox statusBox; private FileBrowser fileBrowser; private readonly List