Added double buffering

This commit is contained in:
2026-04-24 17:24:53 +01:00
parent dce4240842
commit d7fd5b6ad8
14 changed files with 163 additions and 63 deletions

View File

@@ -38,13 +38,10 @@
lblFlags = new Label();
lblTStates = new Label();
txtMemoryStart = new TextBox();
btnStep = new Button();
btnRefreshMemory = new Button();
txtMemoryView = new RichTextBox();
lstDisassembly = new ListBox();
lstStack = new ListBox();
btnExit = new Button();
saveFileDialog1 = new SaveFileDialog();
label1 = new Label();
txtBreakpoint = new TextBox();
label2 = new Label();
@@ -151,17 +148,6 @@
txtMemoryStart.TextAlign = HorizontalAlignment.Center;
txtMemoryStart.TextChanged += btnRefreshMemory_Click;
//
// btnStep
//
btnStep.Location = new Point(6, 418);
btnStep.Margin = new Padding(2);
btnStep.Name = "btnStep";
btnStep.Size = new Size(90, 27);
btnStep.TabIndex = 12;
btnStep.Text = "Step";
btnStep.UseVisualStyleBackColor = true;
btnStep.Click += btnStep_Click;
//
// btnRefreshMemory
//
btnRefreshMemory.Location = new Point(425, 21);
@@ -200,16 +186,6 @@
lstStack.Size = new Size(130, 264);
lstStack.TabIndex = 17;
//
// btnExit
//
btnExit.Location = new Point(815, 416);
btnExit.Margin = new Padding(2);
btnExit.Name = "btnExit";
btnExit.Size = new Size(90, 27);
btnExit.TabIndex = 18;
btnExit.Text = "Exit";
btnExit.UseVisualStyleBackColor = true;
//
// label1
//
label1.AutoSize = true;
@@ -276,7 +252,7 @@
// lblIE
//
lblIE.AutoSize = true;
lblIE.Location = new Point(200, 345);
lblIE.Location = new Point(88, 397);
lblIE.Name = "lblIE";
lblIE.Size = new Size(109, 20);
lblIE.TabIndex = 26;
@@ -346,12 +322,10 @@
Controls.Add(label2);
Controls.Add(txtBreakpoint);
Controls.Add(label1);
Controls.Add(btnExit);
Controls.Add(lstStack);
Controls.Add(lstDisassembly);
Controls.Add(txtMemoryView);
Controls.Add(btnRefreshMemory);
Controls.Add(btnStep);
Controls.Add(txtMemoryStart);
Controls.Add(lblTStates);
Controls.Add(lblFlags);
@@ -379,13 +353,10 @@
private Label lblFlags;
private Label lblTStates;
private TextBox txtMemoryStart;
private Button btnStep;
private Button btnRefreshMemory;
private RichTextBox txtMemoryView;
private ListBox lstStack;
private Button btnExit;
public ListBox lstDisassembly;
private SaveFileDialog saveFileDialog1;
private Label label1;
private TextBox txtBreakpoint;
private Label label2;