Exemple #1
0
        public Disassembler(StudioCore Core)
        {
            this.Core         = Core;
            DocumentInfo.Type = ProjectElement.ElementType.DISASSEMBLER;
            DocumentInfo.UndoManager.MainForm = Core.MainForm;

            string opCodes   = @"\b(lda|sta|ldy|sty|ldx|stx|rts|jmp|jsr|rti|sei|cli|asl|lsr|inc|dec|inx|dex|iny|dey|cpx|cpy|cmp|bit|bne|beq|bcc|bcs|bpl|bmi|adc|sec|clc|sbc|tax|tay|tya|txa|pha|pla|eor|and|ora|ror|rol|php|plp|clv|cld|bvc|bvs|brk|nop|txs|tsx|slo|rla|sre|rra|sax|lax|dcp|isc|anc|alr|arr|xaa|axs|ahx|shy|shx|tas|las|sed)\b";
            string pseudoOps = @"(!byte|!by|!basic|!8|!08|!word|!wo|!16|!text|!tx|!scr|!pet|!raw|!pseudopc|!realpc|!bank|!convtab|!ct|!binary|!bin|!bi|!source|!src|!to|!zone|!zn|!error|!serious|!warn|"
                               + @"!message|!ifdef|!ifndef|!if|!fill|!fi|!align|!endoffile|!nowarn|!for|!end|!macro|!trace|!media|!mediasrc|!sl|!cpu|!set)\b";

            m_TextRegExp[(int)Types.ColorableElement.LITERAL_NUMBER] = new System.Text.RegularExpressions.Regex(@"\b\d+[\.]?\d*([eE]\-?\d+)?[lLdDfF]?\b|\B\$[a-fA-F\d]+\b|\b0x[a-fA-F\d]+\b");
            m_TextRegExp[(int)Types.ColorableElement.LITERAL_STRING] = new System.Text.RegularExpressions.Regex(@"""""|''|"".*?[^\\]""|'.*?[^\\]'");

            m_TextRegExp[(int)Types.ColorableElement.CODE]      = new System.Text.RegularExpressions.Regex(opCodes, System.Text.RegularExpressions.RegexOptions.IgnoreCase | System.Text.RegularExpressions.RegexOptions.Compiled);
            m_TextRegExp[(int)Types.ColorableElement.PSEUDO_OP] = new System.Text.RegularExpressions.Regex(pseudoOps, System.Text.RegularExpressions.RegexOptions.IgnoreCase | System.Text.RegularExpressions.RegexOptions.Compiled);

            m_TextRegExp[(int)Types.ColorableElement.LABEL]   = new System.Text.RegularExpressions.Regex(@"[+\-a-zA-Z]+[a-zA-Z_\d]*[:]*");
            m_TextRegExp[(int)Types.ColorableElement.COMMENT] = new System.Text.RegularExpressions.Regex(@";.*");

            InitializeComponent();

            GR.Image.DPIHandler.ResizeControlsForDPI(this);

            editDisassembly.TextChanged += new EventHandler <FastColoredTextBoxNS.TextChangedEventArgs>(editDisassembly_TextChanged);

            RefreshDisplayOptions();
        }
Exemple #2
0
        public ValueTableEditor(StudioCore Core)
        {
            this.Core         = Core;
            DocumentInfo.Type = ProjectElement.ElementType.VALUE_TABLE;
            DocumentInfo.UndoManager.MainForm = Core.MainForm;

            m_IsSaveable = true;
            InitializeComponent();

            checkExportToDataIncludeRes.Checked = true;
            checkExportToDataWrap.Checked       = true;

            pictureGraphPreview.DisplayPage.Box(0, 0, pictureGraphPreview.DisplayPage.Width, pictureGraphPreview.DisplayPage.Height, (uint)System.Drawing.SystemColors.Window.ToArgb());
            pictureGraphPreview.Invalidate();

            // default values
            m_Project.ValueTable.StartValue = "0";
            m_Project.ValueTable.StepValue  = "1";
            m_Project.ValueTable.Formula    = "x*2";
            m_Project.ValueTable.EndValue   = "10";

            RefreshDisplayOptions();

            GenerateValues();
        }
        public CharsetEditor(StudioCore Core)
        {
            this.Core         = Core;
            DocumentInfo.Type = ProjectElement.ElementType.CHARACTER_SET;
            DocumentInfo.UndoManager.MainForm = Core.MainForm;
            m_IsSaveable = true;
            InitializeComponent();
            characterEditor.Core = Core;

            GR.Image.DPIHandler.ResizeControlsForDPI(this);

            characterEditor.UndoManager = DocumentInfo.UndoManager;
            characterEditor.Core        = Core;

            for (int i = 0; i < 256; ++i)
            {
                PaletteManager.ApplyPalette(m_Charset.Characters[i].Tile.Image);
            }

            comboExportRange.Items.Add("All");
            comboExportRange.Items.Add("Selection");
            comboExportRange.Items.Add("Range");
            comboExportRange.SelectedIndex = 0;

            checkExportToDataIncludeRes.Checked = true;
            checkExportToDataWrap.Checked       = true;

            CreateDefaultUppercaseCharset();

            Modified = false;
        }
        public FormRenameDisk(StudioCore Core, GR.Memory.ByteBuffer OrigDiskName, GR.Memory.ByteBuffer OrigDiskID)
        {
            this.Core = Core;

            DiskName = new GR.Memory.ByteBuffer(OrigDiskName);
            DiskID   = new GR.Memory.ByteBuffer(OrigDiskID);

            InitializeComponent();

            editDiskName.Text = Util.FilenameToUnicode(DiskName);
            editDiskName.Font = new System.Drawing.Font(Core.MainForm.m_FontC64.Families[0], 16, System.Drawing.GraphicsUnit.Pixel);
            editDiskID.Text   = Util.FilenameToUnicode(DiskID);
            editDiskID.Font   = new System.Drawing.Font(Core.MainForm.m_FontC64.Families[0], 16, System.Drawing.GraphicsUnit.Pixel);

            _DefaultFont = listPETSCII.Font;

            listPETSCII.ItemWidth  = 80;
            listPETSCII.ItemHeight = 40;
            listPETSCII.SetDisplaySize(listPETSCII.ClientSize.Width, listPETSCII.ClientSize.Height);
            listPETSCII.DisplayPage.Create(120, 120, System.Drawing.Imaging.PixelFormat.Format24bppRgb);
            listPETSCII.PixelFormat = System.Drawing.Imaging.PixelFormat.Format24bppRgb;
            listPETSCII.Font        = new System.Drawing.Font(Core.MainForm.m_FontC64.Families[0], Core.Settings.SourceFontSize, Core.Settings.SourceFontStyle);

            foreach (Types.C64Character character in ConstantData.PetSCIIToChar.Values)
            {
                if (character.HasChar)
                {
                    listPETSCII.Items.Add(CreateItem(character));
                }
            }

            Core.Theming.ApplyTheme(this);
        }
        public FormAppMode(StudioCore Core)
        {
            this.Core = Core;
            InitializeComponent();

            Core.Theming.ApplyTheme(this);
        }
Exemple #6
0
        public CharsetEditor(StudioCore Core)
        {
            this.Core         = Core;
            DocumentInfo.Type = ProjectElement.ElementType.CHARACTER_SET;
            DocumentInfo.UndoManager.MainForm = Core.MainForm;
            m_IsSaveable = true;
            InitializeComponent();

            characterEditor.UndoManager = DocumentInfo.UndoManager;
            characterEditor.Core        = Core;

            for (int i = 0; i < 256; ++i)
            {
                CustomRenderer.PaletteManager.ApplyPalette(m_Charset.Characters[i].Image);
            }

            comboExportRange.Items.Add("All");
            comboExportRange.Items.Add("Selection");
            comboExportRange.Items.Add("Range");
            comboExportRange.SelectedIndex = 0;

            checkExportToDataIncludeRes.Checked = true;
            checkExportToDataWrap.Checked       = true;

            ListViewItem itemUn = new ListViewItem("Uncategorized");

            itemUn.Tag = 0;
            itemUn.SubItems.Add("0");
            listCategories.Items.Add(itemUn);
            RefreshCategoryCounts();
            CreateDefaultUppercaseCharset();

            Modified = false;
        }
Exemple #7
0
        public PetSCIITable(StudioCore Core)
        {
            this.Core = Core;
            DocumentInfo.UndoManager.MainForm = Core.MainForm;
            InitializeComponent();

            GR.Image.DPIHandler.ResizeControlsForDPI(this);
            _DefaultFont = new System.Drawing.Font(listPETSCII.Font.FontFamily, listPETSCII.Font.Size * 96.0f / DPIHandler.DPIY, listPETSCII.Font.Style);

            listPETSCII.ItemWidth  = (int)(80 * GR.Image.DPIHandler.DPIX / 96.0f);
            listPETSCII.ItemHeight = (int)(40 * GR.Image.DPIHandler.DPIY / 96.0f);

            listPETSCII.SetDisplaySize(listPETSCII.ClientSize.Width, listPETSCII.ClientSize.Height);
            listPETSCII.DisplayPage.Create(120, 120, System.Drawing.Imaging.PixelFormat.Format24bppRgb);
            listPETSCII.PixelFormat = System.Drawing.Imaging.PixelFormat.Format24bppRgb;
            listPETSCII.Font        = new System.Drawing.Font(Core.MainForm.m_FontC64.Families[0], Core.Settings.SourceFontSize, Core.Settings.SourceFontStyle);

            foreach (Types.C64Character character in Types.ConstantData.PetSCIIToChar.Values)
            {
                if (character.HasChar)
                {
                    listPETSCII.Items.Add(CreateItem(character));
                }
            }
        }
Exemple #8
0
        public PetSCIITable(StudioCore Core)
        {
            this.Core = Core;
            DocumentInfo.UndoManager.MainForm = Core.MainForm;
            InitializeComponent();

            _DefaultFont = listChars.Font;


            listChars.Font = new System.Drawing.Font(Core.MainForm.m_FontC64.Families[0], Core.Settings.SourceFontSize);

            foreach (Types.C64Character character in Types.ConstantData.PetSCIIToChar.Values)
            {
                if (character.HasChar)
                {
                    ListViewItem item = new ListViewItem();
                    //item.Text = character.Desc;
                    item.Text = "" + character.CharValue;

                    /*
                     * if ( character.ShortDesc.Length > 0 )
                     * {
                     * item.Text = character.ShortDesc;
                     * }
                     * else
                     * {
                     * item.Text = character.Desc;
                     * }*/
                    item.Tag = character;

                    listChars.Items.Add(item);
                }
            }
        }
        public PropBuildEventBuildChain(ProjectElement Element, StudioCore Core, BuildChain BuildChain, string CurrentBuildConfig)
        {
            this.Element            = Element;
            this.Core               = Core;
            this.BuildChain         = BuildChain;
            this.CurrentBuildConfig = CurrentBuildConfig;
            TopLevel = false;

            InitializeComponent();

            // Build Chains
            if (Core.MainForm.m_Solution != null)
            {
                foreach (var project in Core.MainForm.m_Solution.Projects)
                {
                    comboBuildChainProject.Items.Add(project.Settings.Name);
                }
                if (comboBuildChainProject.Items.Count > 0)
                {
                    comboBuildChainProject.SelectedIndex = 0;
                }

                foreach (var entry in BuildChain.Entries)
                {
                    var item = new ArrangedItemEntry();

                    item.Text = entry.ProjectName + " - " + entry.Config;
                    item.Tag  = entry;

                    listBuildChainProjects.Items.Add(item);
                }
            }

            checkBuildChainActive.Checked = BuildChain.Active;
        }
        public FormFilesChanged(DocumentInfo Document, StudioCore Core)
        {
            ChangedDocuments.Add(Document);
            InitializeComponent();

            Core.Theming.ApplyTheme(this);
        }
Exemple #11
0
        public Help(StudioCore Core)
        {
            this.Core   = Core;
            HideOnClose = true;

            InitializeComponent();

            webBrowser.ScriptErrorsSuppressed = true;

            try
            {
#if DEBUG
                string helpDocPath = @"..\..\..\Doc\main.html";
#else
                string helpDocPath = @"Doc\main.html";
#endif
                string fullPath = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Application.ExecutablePath), helpDocPath);

                Core.AddToOutput("Help Path: " + fullPath);
                webBrowser.Navigate(fullPath);
            }
            catch (Exception ex)
            {
                Debug.Log("Got exception: " + ex.ToString());
                Core.AddToOutput("Help exception: " + ex.ToString());
            }
            webBrowser.CanGoBackChanged    += new EventHandler(webBrowser_CanGoBackChanged);
            webBrowser.CanGoForwardChanged += new EventHandler(webBrowser_CanGoForwardChanged);
            toolStripBtnForward.Enabled     = webBrowser.CanGoForward;
            toolStripBtnBack.Enabled        = webBrowser.CanGoBack;
        }
Exemple #12
0
        public BinaryDisplay(StudioCore Core, GR.Memory.ByteBuffer WorkData, bool AllowEditing, bool FixedWidth)
        {
            this.Core = Core;
            DocumentInfo.UndoManager.MainForm = Core.MainForm;
            InitializeComponent();
            if (WorkData == null)
            {
                SetHexData(new GR.Memory.ByteBuffer());
            }
            else
            {
                SetHexData(WorkData);
            }
            this.AllowEditing = AllowEditing;
            this.FixedWidth   = FixedWidth;

            hexView.ByteProvider.Changed += new EventHandler(ByteProvider_Changed);

            // modify context menu
            hexView.ContextMenuStrip.Items.Add("-");

            m_MenuItemChangeOffset        = new ToolStripMenuItem("Offset Displayed Address");
            m_MenuItemChangeOffset.Click += OnMenuItemChangeOffsetClick;
            hexView.ContextMenuStrip.Items.Add(m_MenuItemChangeOffset);
        }
Exemple #13
0
        public FormGoto(StudioCore Core)
        {
            InitializeComponent();
            btnOK.Enabled = false;

            Core.Theming.ApplyTheme(this);
        }
Exemple #14
0
        public FormMacros(StudioCore Core, DocumentInfo Doc, TextBox EditToInsert, bool ShowRunCommands)
        {
            InitializeComponent();

            m_Doc     = Doc;
            m_Edit    = EditToInsert;
            this.Core = Core;

            InsertMacro("$(Filename)");
            InsertMacro("$(FilenameWithoutExtension)");
            InsertMacro("$(FilePath)");
            InsertMacro("$(BuildTargetPath)");
            InsertMacro("$(BuildTargetFilename)");
            InsertMacro("$(BuildTargetFilenameWithoutExtension)");
            if (ShowRunCommands)
            {
                InsertMacro("$(RunPath)");
                InsertMacro("$(RunFilename)");
                InsertMacro("$(RunFilenameWithoutExtension)");
            }
            InsertMacro("$(DebugStartAddress)");
            InsertMacro("$(DebugStartAddressHex)");

            InsertMacro("$(ConfigName)");
            InsertMacro("$(ProjectPath)");
            InsertMacro("$(MediaManager)");
            InsertMacro("$(MediaTool)");
        }
Exemple #15
0
        public DebugMemory(StudioCore Core)
        {
            InitializeComponent();

            this.Core = Core;

            GR.Image.DPIHandler.ResizeControlsForDPI(this);

            Core.Debugging.MemoryViews.Add(this);
            SetHexData(Core.Debugging.ActiveMemory.RAM);

            hexView.SelectedByteProvider = new DynamicByteSelectionProvider(65536);
            hexView.ViewScrolled        += new EventHandler(hexView_ViewScrolled);
            hexView.ContextMenuStrip.Items.Add("-");

            m_MenuItemHexStringView         = new ToolStripMenuItem("Set to String View");
            m_MenuItemHexStringView.Click  += btnBinaryStringView_Click;
            m_MenuItemHexStringView.Checked = true;
            hexView.ContextMenuStrip.Items.Add(m_MenuItemHexStringView);

            m_MenuItemHexCharView        = new ToolStripMenuItem("Set to Character View");
            m_MenuItemHexCharView.Click += btnBinaryCharView_Click;
            hexView.ContextMenuStrip.Items.Add(m_MenuItemHexCharView);

            m_MenuItemHexSpriteView        = new ToolStripMenuItem("Set to Sprite View");
            m_MenuItemHexSpriteView.Click += btnBinarySpriteView_Click;
            hexView.ContextMenuStrip.Items.Add(m_MenuItemHexSpriteView);

            SetMemoryDisplayType();

            ViewScrolled += new DebugMemory.DebugMemoryEventCallback(Core.MainForm.m_DebugMemory_ViewScrolled);
        }
Exemple #16
0
        public DebugMemory(StudioCore Core)
        {
            InitializeComponent();

            this.Core = Core;

            m_ActiveMemory = m_MemoryCPU;

            SetHexData(m_ActiveMemory.RAM);

            hexView.SelectedByteProvider = new DynamicByteSelectionProvider(65536);
            hexView.ViewScrolled        += new EventHandler(hexView_ViewScrolled);

            hexView.ContextMenuStrip.Items.Add("-");

            m_MenuItemHexStringView         = new ToolStripMenuItem("Set to String View");
            m_MenuItemHexStringView.Click  += btnBinaryStringView_Click;
            m_MenuItemHexStringView.Checked = true;
            hexView.ContextMenuStrip.Items.Add(m_MenuItemHexStringView);

            m_MenuItemHexCharView        = new ToolStripMenuItem("Set to Character View");
            m_MenuItemHexCharView.Click += btnBinaryCharView_Click;
            hexView.ContextMenuStrip.Items.Add(m_MenuItemHexCharView);

            m_MenuItemHexSpriteView        = new ToolStripMenuItem("Set to Sprite View");
            m_MenuItemHexSpriteView.Click += btnBinarySpriteView_Click;
            hexView.ContextMenuStrip.Items.Add(m_MenuItemHexSpriteView);

            SetMemoryDisplayType();
        }
Exemple #17
0
        public FileManager(StudioCore Core, string Filename)
        {
            m_Filename   = Filename;
            m_IsSaveable = true;
            this.Core    = Core;
            DocumentInfo.UndoManager.MainForm = Core.MainForm;
            DocumentInfo.Type = ProjectElement.ElementType.MEDIA_MANAGER;

            InitializeComponent();

            oldFont = listFiles.Font;

            listFiles.ItemFonts.Add(new System.Drawing.Font(Core.MainForm.m_FontC64.Families[0], 16, System.Drawing.GraphicsUnit.Pixel));
            statusFileManager.Font = new System.Drawing.Font(Core.MainForm.m_FontC64.Families[0], 8, System.Drawing.GraphicsUnit.Pixel);
            labelMediaTitle.Font   = statusFileManager.Font;

            GR.Image.DPIHandler.ResizeControlsForDPI(this);

            if (Filename.Length > 0)
            {
                LoadMediaFile();
            }
            RefreshFileView();
            UpdateStatusInfo();
        }
        public FormDeltaValue(StudioCore Core)
        {
            InitializeComponent();
            btnOK.Enabled = false;

            Delta = 0;
            Core.Theming.ApplyTheme(this);
        }
        public ElementProperties(StudioCore Core, ProjectElement Element)
        {
            m_Element = Element;
            m_Core    = Core;
            InitializeComponent();

            AddElementTabs();
        }
Exemple #20
0
        public DlgInterleaveData(StudioCore Core, GR.Memory.ByteBuffer OrigData)
        {
            this.OrigData = new GR.Memory.ByteBuffer(OrigData);
            InitializeComponent();

            SetHexData(hexOrig, OrigData);
            InterleavedData     = new GR.Memory.ByteBuffer(OrigData);
            editInterleave.Text = "8";
        }
Exemple #21
0
        public FormRenameFile(StudioCore Core, GR.Memory.ByteBuffer OrigFilename)
        {
            Filename = new GR.Memory.ByteBuffer(OrigFilename);

            InitializeComponent();

            editFilename.Text = Util.FilenameToUnicode(OrigFilename);
            editFilename.Font = new System.Drawing.Font(Core.MainForm.m_FontC64.Families[0], 16, System.Drawing.GraphicsUnit.Pixel);
        }
Exemple #22
0
        public FormRenumberBASIC(StudioCore Core, SourceBasicEx Basic)
        {
            m_Basic = Basic;
            m_Core  = Core;

            InitializeComponent();

            editStartLine.Text = "10";
            editLineStep.Text  = "10";
        }
Exemple #23
0
        public ElementProperties(StudioCore Core, ProjectElement Element)
        {
            m_Element = Element;
            m_Core    = Core;
            InitializeComponent();

            AddElementTabs();

            GR.Image.DPIHandler.ResizeControlsForDPI(this);
        }
Exemple #24
0
        public FormAbout(StudioCore Core)
        {
            InitializeComponent();

            labelInfo.Text = labelInfo.Text.Replace("<v>", StudioCore.StudioVersion);

            pictureBox1.Image = pictureBox1.Image.GetImageStretchedDPI();
            pictureBox2.Image = pictureBox2.Image.GetImageStretchedDPI();

            Core.Theming.ApplyTheme(this);
        }
Exemple #25
0
        public PropGeneral(ProjectElement Element, StudioCore Core)
        {
            this.Element = Element;
            this.Core    = Core;
            TopLevel     = false;
            Text         = "General";
            InitializeComponent();

            labelFilename.Text = Element.Filename;
            labelFilePath.Text = Element.DocumentInfo.Project.FullPath(Element.Filename);
        }
Exemple #26
0
        public StudioCore()
        {
            Compiling   = new Compiling(this);
            Searching   = new Searching(this);
            Navigating  = new Navigating(this);
            TaskManager = new Tasks.TaskManager(this);
            Debugging   = new Debugging(this);
            Executing   = new Executing(this);
            Imaging     = new Imaging(this);

            StaticCore = this;
        }
Exemple #27
0
        public PropCompileTarget(ProjectElement Element, StudioCore Core)
        {
            this.Element = Element;
            this.Core    = Core;
            TopLevel     = false;
            Text         = "Compile Target";
            InitializeComponent();

            comboTargetType.Items.Add("None");
            comboTargetType.Items.Add("Plain");
            comboTargetType.Items.Add("PRG (cbm)");
            comboTargetType.Items.Add("T64");
            comboTargetType.Items.Add("8 KB Cartridge (bin)");
            comboTargetType.Items.Add("8 KB Cartridge (crt)");
            comboTargetType.Items.Add("16 KB Cartridge (bin)");
            comboTargetType.Items.Add("16 KB Cartridge (crt)");
            comboTargetType.Items.Add("D64");
            comboTargetType.Items.Add("Magic Desk 64 KB Cartridge (bin)");
            comboTargetType.Items.Add("Magic Desk 64 KB Cartridge (crt)");
            comboTargetType.Items.Add("TAP");
            comboTargetType.Items.Add("Easyflash Cartridge (bin)");
            comboTargetType.Items.Add("Easyflash Cartridge (crt)");
            comboTargetType.Items.Add("RGCD 64 KB Cartridge (bin)");
            comboTargetType.Items.Add("RGCD 64 KB Cartridge (crt)");
            comboTargetType.Items.Add("GMOD2 Cartridge (bin)");
            comboTargetType.Items.Add("GMOD2 Cartridge (crt)");
            comboTargetType.Items.Add("D81");

            comboTargetType.SelectedIndex = (int)Element.TargetType;

            editTargetFilename.Text = Element.TargetFilename;

            // own project first
            foreach (ProjectElement element in Element.DocumentInfo.Project.Elements)
            {
                VerifyElement(element);
            }
            foreach (var project in Core.MainForm.m_Solution.Projects)
            {
                if (project != Element.DocumentInfo.Project)
                {
                    foreach (ProjectElement element in project.Elements)
                    {
                        VerifyElement(element);
                    }
                }
            }

            foreach (var entry in Element.ExternalDependencies.DependentOnFile)
            {
                listExternalDependencies.Items.Add(entry.Filename);
            }
        }
        public FormProjectWizard(string ProjectName, StudioSettings Settings, StudioCore Core)
        {
            this.Settings = Settings;
            InitializeComponent();
            editProjectName.Text = ProjectName;
            editBasePath.Text    = Settings.DefaultProjectBasePath;

            btnOK.Enabled = false;
            UpdateSummary();

            Core.Theming.ApplyTheme(this);
        }
Exemple #29
0
        public FormRenumberBASIC(StudioCore Core, SourceBasicEx Basic, bool SymbolMode, int FirstLineNumber, int LastLineNumber)
        {
            m_Basic      = Basic;
            m_Core       = Core;
            m_SymbolMode = SymbolMode;

            InitializeComponent();

            editStartLine.Text       = "10";
            editLineStep.Text        = "10";
            editFirstLineNumber.Text = FirstLineNumber.ToString();
            editLastLineNumber.Text  = LastLineNumber.ToString();
        }
        public PropAssemblerType(ProjectElement Element, StudioCore Core)
        {
            this.Element = Element;
            this.Core    = Core;
            TopLevel     = false;
            Text         = "Assembler";
            InitializeComponent();

            comboAssemblerType.Items.Add(new GR.Generic.Tupel <string, Types.AssemblerType>("Auto", C64Studio.Types.AssemblerType.AUTO));
            comboAssemblerType.Items.Add(new GR.Generic.Tupel <string, Types.AssemblerType>("C64Studio/ACME", C64Studio.Types.AssemblerType.C64_STUDIO));
            comboAssemblerType.Items.Add(new GR.Generic.Tupel <string, Types.AssemblerType>("PDS", C64Studio.Types.AssemblerType.PDS));
            comboAssemblerType.Items.Add(new GR.Generic.Tupel <string, Types.AssemblerType>("DASM", C64Studio.Types.AssemblerType.DASM));
            comboAssemblerType.Items.Add(new GR.Generic.Tupel <string, Types.AssemblerType>("C64ASM", C64Studio.Types.AssemblerType.C64ASM));
            comboAssemblerType.Items.Add(new GR.Generic.Tupel <string, Types.AssemblerType>("CBMPRGSTUDIO", C64Studio.Types.AssemblerType.CBMPRGSTUDIO));

            SetType(Element.AssemblerType);
        }