public BinaryDisplay(StudioCore Core, GR.Memory.ByteBuffer WorkData, bool AllowEditing, bool FixedWidth) { this.Core = Core; DocumentInfo.UndoManager.MainForm = Core.MainForm; InitializeComponent(); DPIHandler.ResizeControlsForDPI(this); 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); }
public FormSplashScreen() { InitializeComponent(); labelInfo.Text = labelInfo.Text.Replace("<v>", StudioCore.StudioVersion); DPIHandler.ResizeControlsForDPI(this); }
public DebugRegisters() { InitializeComponent(); DPIHandler.ResizeControlsForDPI(this); }