using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using QCRPG.Framework;

namespace QCRPG.TSL.NFC;

public class NFCPeekPokeUserControl : UserControlBase, IConfigurable
{
	private NFCMainWorkerThreadInternal nfcMainWorkerThreadInternal;

	private Color defaultTextBoxBackColor;

	private IContainer components;

	private Button buttonPeek1;

	private Button buttonPoke1;

	private Label labelAddress1;

	private TextBox textBoxAddress1;

	private Label labelValue1;

	private TextBox textBoxValue1;

	private TextBox textBoxAddress2;

	private TextBox textBoxAddress3;

	private TextBox textBoxAddress4;

	private TextBox textBoxAddress5;

	private TextBox textBoxValue2;

	private TextBox textBoxValue3;

	private TextBox textBoxValue4;

	private TextBox textBoxValue5;

	private Button buttonPeek2;

	private Button buttonPeek3;

	private Button buttonPeek4;

	private Button buttonPeek5;

	private Button buttonPoke2;

	private Button buttonPoke3;

	private Button buttonPoke4;

	private Button buttonPoke5;

	private Label labelAddress2;

	private Label labelAddress3;

	private Label labelAddress4;

	private Label labelAddress5;

	private Label labelValue2;

	private Label labelValue3;

	private Label labelValue4;

	private Label labelValue5;

	public NFCPeekPokeUserControl(NFCMainWorkerThreadInternal nfcMainWorkerThreadInternal)
		: base("Peek/Poke")
	{
		InitializeComponent();
		this.nfcMainWorkerThreadInternal = nfcMainWorkerThreadInternal;
	}

	public Configuration GetConfiguration()
	{
		Configuration configuration = new Configuration();
		configuration.SetString("Address1", textBoxAddress1.Text);
		configuration.SetString("Value1", textBoxValue1.Text);
		configuration.SetString("Address2", textBoxAddress2.Text);
		configuration.SetString("Value2", textBoxValue2.Text);
		configuration.SetString("Address3", textBoxAddress3.Text);
		configuration.SetString("Value3", textBoxValue3.Text);
		configuration.SetString("Address4", textBoxAddress4.Text);
		configuration.SetString("Value4", textBoxValue4.Text);
		configuration.SetString("Address5", textBoxAddress5.Text);
		configuration.SetString("Value5", textBoxValue5.Text);
		return configuration;
	}

	public void SetConfiguration(Configuration configuration)
	{
		textBoxAddress1.Text = configuration.GetString("Address1", "00000000");
		textBoxValue1.Text = configuration.GetString("Value1", "00000000");
		textBoxAddress2.Text = configuration.GetString("Address2", "00000000");
		textBoxValue2.Text = configuration.GetString("Value2", "00000000");
		textBoxAddress3.Text = configuration.GetString("Address3", "00000000");
		textBoxValue3.Text = configuration.GetString("Value3", "00000000");
		textBoxAddress4.Text = configuration.GetString("Address4", "00000000");
		textBoxValue4.Text = configuration.GetString("Value4", "00000000");
		textBoxAddress5.Text = configuration.GetString("Address5", "00000000");
		textBoxValue5.Text = configuration.GetString("Value5", "00000000");
		UpdateAllBoxes();
	}

	private void NFCPeekPokeUserControl_Load(object sender, EventArgs e)
	{
		defaultTextBoxBackColor = textBoxAddress1.BackColor;
		UpdateAllBoxes();
	}

	private void textBoxAddress1_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxAddress1);
		UpdateButtons(textBoxAddress1, textBoxValue1, buttonPoke1, buttonPeek1);
	}

	private void textBoxAddress2_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxAddress2);
		UpdateButtons(textBoxAddress2, textBoxValue2, buttonPoke2, buttonPeek2);
	}

	private void textBoxAddress3_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxAddress3);
		UpdateButtons(textBoxAddress3, textBoxValue3, buttonPoke3, buttonPeek3);
	}

	private void textBoxAddress4_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxAddress4);
		UpdateButtons(textBoxAddress4, textBoxValue4, buttonPoke4, buttonPeek4);
	}

	private void textBoxAddress5_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxAddress5);
		UpdateButtons(textBoxAddress5, textBoxValue5, buttonPoke5, buttonPeek5);
	}

	private void textBoxValue1_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxValue1);
		UpdateButtons(textBoxAddress1, textBoxValue1, buttonPoke1, buttonPeek1);
	}

	private void textBoxValue2_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxValue2);
		UpdateButtons(textBoxAddress2, textBoxValue2, buttonPoke2, buttonPeek2);
	}

	private void textBoxValue3_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxValue3);
		UpdateButtons(textBoxAddress3, textBoxValue3, buttonPoke3, buttonPeek3);
	}

	private void textBoxValue4_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxValue4);
		UpdateButtons(textBoxAddress4, textBoxValue4, buttonPoke4, buttonPeek4);
	}

	private void textBoxValue5_TextChanged(object sender, EventArgs e)
	{
		UpdateTextBox(textBoxValue5);
		UpdateButtons(textBoxAddress5, textBoxValue5, buttonPoke5, buttonPeek5);
	}

	private void buttonPoke1_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress1.Text);
		uint value = Conversions.HexStringToUint(textBoxValue1.Text);
		nfcMainWorkerThreadInternal.PokeValue(address, value);
	}

	private void buttonPoke2_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress2.Text);
		uint value = Conversions.HexStringToUint(textBoxValue2.Text);
		nfcMainWorkerThreadInternal.PokeValue(address, value);
	}

	private void buttonPoke3_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress3.Text);
		uint value = Conversions.HexStringToUint(textBoxValue3.Text);
		nfcMainWorkerThreadInternal.PokeValue(address, value);
	}

	private void buttonPoke4_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress4.Text);
		uint value = Conversions.HexStringToUint(textBoxValue4.Text);
		nfcMainWorkerThreadInternal.PokeValue(address, value);
	}

	private void buttonPoke5_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress5.Text);
		uint value = Conversions.HexStringToUint(textBoxValue5.Text);
		nfcMainWorkerThreadInternal.PokeValue(address, value);
	}

	private void buttonPeek1_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress1.Text);
		nfcMainWorkerThreadInternal.PeekValue(address);
	}

	private void buttonPeek2_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress2.Text);
		nfcMainWorkerThreadInternal.PeekValue(address);
	}

	private void buttonPeek3_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress3.Text);
		nfcMainWorkerThreadInternal.PeekValue(address);
	}

	private void buttonPeek4_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress4.Text);
		nfcMainWorkerThreadInternal.PeekValue(address);
	}

	private void buttonPeek5_Click(object sender, EventArgs e)
	{
		uint address = Conversions.HexStringToUint(textBoxAddress5.Text);
		nfcMainWorkerThreadInternal.PeekValue(address);
	}

	private void UpdateTextBox(TextBox textBox)
	{
		try
		{
			Conversions.HexStringToUint(textBox.Text);
			textBox.BackColor = defaultTextBoxBackColor;
		}
		catch (Exception)
		{
			textBox.BackColor = Color.Yellow;
		}
	}

	private void UpdateButtons(TextBox textBoxAddress, TextBox textBoxValue, Button buttonPoke, Button buttonPeek)
	{
		bool flag = true;
		bool flag2 = true;
		try
		{
			Conversions.HexStringToUint(textBoxAddress.Text);
		}
		catch (Exception)
		{
			flag = false;
		}
		try
		{
			Conversions.HexStringToUint(textBoxValue.Text);
		}
		catch (Exception)
		{
			flag2 = false;
		}
		if (flag && flag2)
		{
			buttonPoke.Enabled = true;
			buttonPeek.Enabled = true;
		}
		else if (flag)
		{
			buttonPoke.Enabled = false;
			buttonPeek.Enabled = true;
		}
		else
		{
			buttonPoke.Enabled = false;
			buttonPeek.Enabled = false;
		}
	}

	private void UpdateAllBoxes()
	{
		UpdateTextBox(textBoxAddress1);
		UpdateTextBox(textBoxValue1);
		UpdateButtons(textBoxAddress1, textBoxValue1, buttonPoke1, buttonPeek1);
		UpdateTextBox(textBoxAddress2);
		UpdateTextBox(textBoxValue2);
		UpdateButtons(textBoxAddress2, textBoxValue2, buttonPoke2, buttonPeek2);
		UpdateTextBox(textBoxAddress3);
		UpdateTextBox(textBoxValue3);
		UpdateButtons(textBoxAddress3, textBoxValue3, buttonPoke3, buttonPeek3);
		UpdateTextBox(textBoxAddress4);
		UpdateTextBox(textBoxValue4);
		UpdateButtons(textBoxAddress4, textBoxValue4, buttonPoke4, buttonPeek4);
		UpdateTextBox(textBoxAddress5);
		UpdateTextBox(textBoxValue5);
		UpdateButtons(textBoxAddress5, textBoxValue5, buttonPoke5, buttonPeek5);
	}

	protected override void Dispose(bool disposing)
	{
		if (disposing && components != null)
		{
			components.Dispose();
		}
		base.Dispose(disposing);
	}

	private void InitializeComponent()
	{
		this.buttonPeek1 = new System.Windows.Forms.Button();
		this.buttonPoke1 = new System.Windows.Forms.Button();
		this.labelAddress1 = new System.Windows.Forms.Label();
		this.textBoxAddress1 = new System.Windows.Forms.TextBox();
		this.labelValue1 = new System.Windows.Forms.Label();
		this.textBoxValue1 = new System.Windows.Forms.TextBox();
		this.textBoxAddress2 = new System.Windows.Forms.TextBox();
		this.textBoxAddress3 = new System.Windows.Forms.TextBox();
		this.textBoxAddress4 = new System.Windows.Forms.TextBox();
		this.textBoxAddress5 = new System.Windows.Forms.TextBox();
		this.textBoxValue2 = new System.Windows.Forms.TextBox();
		this.textBoxValue3 = new System.Windows.Forms.TextBox();
		this.textBoxValue4 = new System.Windows.Forms.TextBox();
		this.textBoxValue5 = new System.Windows.Forms.TextBox();
		this.buttonPeek2 = new System.Windows.Forms.Button();
		this.buttonPeek3 = new System.Windows.Forms.Button();
		this.buttonPeek4 = new System.Windows.Forms.Button();
		this.buttonPeek5 = new System.Windows.Forms.Button();
		this.buttonPoke2 = new System.Windows.Forms.Button();
		this.buttonPoke3 = new System.Windows.Forms.Button();
		this.buttonPoke4 = new System.Windows.Forms.Button();
		this.buttonPoke5 = new System.Windows.Forms.Button();
		this.labelAddress2 = new System.Windows.Forms.Label();
		this.labelAddress3 = new System.Windows.Forms.Label();
		this.labelAddress4 = new System.Windows.Forms.Label();
		this.labelAddress5 = new System.Windows.Forms.Label();
		this.labelValue2 = new System.Windows.Forms.Label();
		this.labelValue3 = new System.Windows.Forms.Label();
		this.labelValue4 = new System.Windows.Forms.Label();
		this.labelValue5 = new System.Windows.Forms.Label();
		base.SuspendLayout();
		this.buttonPeek1.Location = new System.Drawing.Point(342, 11);
		this.buttonPeek1.Name = "buttonPeek1";
		this.buttonPeek1.Size = new System.Drawing.Size(44, 23);
		this.buttonPeek1.TabIndex = 5;
		this.buttonPeek1.Text = "Peek";
		this.buttonPeek1.UseVisualStyleBackColor = true;
		this.buttonPeek1.Click += new System.EventHandler(buttonPeek1_Click);
		this.buttonPoke1.Location = new System.Drawing.Point(292, 11);
		this.buttonPoke1.Name = "buttonPoke1";
		this.buttonPoke1.Size = new System.Drawing.Size(44, 23);
		this.buttonPoke1.TabIndex = 4;
		this.buttonPoke1.Text = "Poke";
		this.buttonPoke1.UseVisualStyleBackColor = true;
		this.buttonPoke1.Click += new System.EventHandler(buttonPoke1_Click);
		this.labelAddress1.AutoSize = true;
		this.labelAddress1.Location = new System.Drawing.Point(15, 16);
		this.labelAddress1.Name = "labelAddress1";
		this.labelAddress1.Size = new System.Drawing.Size(59, 13);
		this.labelAddress1.TabIndex = 0;
		this.labelAddress1.Text = "Address 0x";
		this.textBoxAddress1.Location = new System.Drawing.Point(80, 13);
		this.textBoxAddress1.Name = "textBoxAddress1";
		this.textBoxAddress1.Size = new System.Drawing.Size(73, 20);
		this.textBoxAddress1.TabIndex = 1;
		this.textBoxAddress1.TextChanged += new System.EventHandler(textBoxAddress1_TextChanged);
		this.labelValue1.AutoSize = true;
		this.labelValue1.Location = new System.Drawing.Point(159, 16);
		this.labelValue1.Name = "labelValue1";
		this.labelValue1.Size = new System.Drawing.Size(48, 13);
		this.labelValue1.TabIndex = 2;
		this.labelValue1.Text = "Value 0x";
		this.textBoxValue1.Location = new System.Drawing.Point(213, 13);
		this.textBoxValue1.Name = "textBoxValue1";
		this.textBoxValue1.Size = new System.Drawing.Size(73, 20);
		this.textBoxValue1.TabIndex = 3;
		this.textBoxValue1.TextChanged += new System.EventHandler(textBoxValue1_TextChanged);
		this.textBoxAddress2.Location = new System.Drawing.Point(80, 39);
		this.textBoxAddress2.Name = "textBoxAddress2";
		this.textBoxAddress2.Size = new System.Drawing.Size(73, 20);
		this.textBoxAddress2.TabIndex = 7;
		this.textBoxAddress2.TextChanged += new System.EventHandler(textBoxAddress2_TextChanged);
		this.textBoxAddress3.Location = new System.Drawing.Point(80, 65);
		this.textBoxAddress3.Name = "textBoxAddress3";
		this.textBoxAddress3.Size = new System.Drawing.Size(73, 20);
		this.textBoxAddress3.TabIndex = 13;
		this.textBoxAddress3.TextChanged += new System.EventHandler(textBoxAddress3_TextChanged);
		this.textBoxAddress4.Location = new System.Drawing.Point(80, 91);
		this.textBoxAddress4.Name = "textBoxAddress4";
		this.textBoxAddress4.Size = new System.Drawing.Size(73, 20);
		this.textBoxAddress4.TabIndex = 19;
		this.textBoxAddress4.TextChanged += new System.EventHandler(textBoxAddress4_TextChanged);
		this.textBoxAddress5.Location = new System.Drawing.Point(80, 117);
		this.textBoxAddress5.Name = "textBoxAddress5";
		this.textBoxAddress5.Size = new System.Drawing.Size(73, 20);
		this.textBoxAddress5.TabIndex = 25;
		this.textBoxAddress5.TextChanged += new System.EventHandler(textBoxAddress5_TextChanged);
		this.textBoxValue2.Location = new System.Drawing.Point(213, 39);
		this.textBoxValue2.Name = "textBoxValue2";
		this.textBoxValue2.Size = new System.Drawing.Size(73, 20);
		this.textBoxValue2.TabIndex = 9;
		this.textBoxValue2.TextChanged += new System.EventHandler(textBoxValue2_TextChanged);
		this.textBoxValue3.Location = new System.Drawing.Point(213, 65);
		this.textBoxValue3.Name = "textBoxValue3";
		this.textBoxValue3.Size = new System.Drawing.Size(73, 20);
		this.textBoxValue3.TabIndex = 15;
		this.textBoxValue3.TextChanged += new System.EventHandler(textBoxValue3_TextChanged);
		this.textBoxValue4.Location = new System.Drawing.Point(213, 91);
		this.textBoxValue4.Name = "textBoxValue4";
		this.textBoxValue4.Size = new System.Drawing.Size(73, 20);
		this.textBoxValue4.TabIndex = 21;
		this.textBoxValue4.TextChanged += new System.EventHandler(textBoxValue4_TextChanged);
		this.textBoxValue5.Location = new System.Drawing.Point(213, 117);
		this.textBoxValue5.Name = "textBoxValue5";
		this.textBoxValue5.Size = new System.Drawing.Size(73, 20);
		this.textBoxValue5.TabIndex = 27;
		this.textBoxValue5.TextChanged += new System.EventHandler(textBoxValue5_TextChanged);
		this.buttonPeek2.Location = new System.Drawing.Point(342, 37);
		this.buttonPeek2.Name = "buttonPeek2";
		this.buttonPeek2.Size = new System.Drawing.Size(44, 23);
		this.buttonPeek2.TabIndex = 11;
		this.buttonPeek2.Text = "Peek";
		this.buttonPeek2.UseVisualStyleBackColor = true;
		this.buttonPeek2.Click += new System.EventHandler(buttonPeek2_Click);
		this.buttonPeek3.Location = new System.Drawing.Point(342, 63);
		this.buttonPeek3.Name = "buttonPeek3";
		this.buttonPeek3.Size = new System.Drawing.Size(44, 23);
		this.buttonPeek3.TabIndex = 17;
		this.buttonPeek3.Text = "Peek";
		this.buttonPeek3.UseVisualStyleBackColor = true;
		this.buttonPeek3.Click += new System.EventHandler(buttonPeek3_Click);
		this.buttonPeek4.Location = new System.Drawing.Point(342, 89);
		this.buttonPeek4.Name = "buttonPeek4";
		this.buttonPeek4.Size = new System.Drawing.Size(44, 23);
		this.buttonPeek4.TabIndex = 23;
		this.buttonPeek4.Text = "Peek";
		this.buttonPeek4.UseVisualStyleBackColor = true;
		this.buttonPeek4.Click += new System.EventHandler(buttonPeek4_Click);
		this.buttonPeek5.Location = new System.Drawing.Point(342, 115);
		this.buttonPeek5.Name = "buttonPeek5";
		this.buttonPeek5.Size = new System.Drawing.Size(44, 23);
		this.buttonPeek5.TabIndex = 29;
		this.buttonPeek5.Text = "Peek";
		this.buttonPeek5.UseVisualStyleBackColor = true;
		this.buttonPeek5.Click += new System.EventHandler(buttonPeek5_Click);
		this.buttonPoke2.Location = new System.Drawing.Point(292, 37);
		this.buttonPoke2.Name = "buttonPoke2";
		this.buttonPoke2.Size = new System.Drawing.Size(44, 23);
		this.buttonPoke2.TabIndex = 10;
		this.buttonPoke2.Text = "Poke";
		this.buttonPoke2.UseVisualStyleBackColor = true;
		this.buttonPoke2.Click += new System.EventHandler(buttonPoke2_Click);
		this.buttonPoke3.Location = new System.Drawing.Point(292, 63);
		this.buttonPoke3.Name = "buttonPoke3";
		this.buttonPoke3.Size = new System.Drawing.Size(44, 23);
		this.buttonPoke3.TabIndex = 16;
		this.buttonPoke3.Text = "Poke";
		this.buttonPoke3.UseVisualStyleBackColor = true;
		this.buttonPoke3.Click += new System.EventHandler(buttonPoke3_Click);
		this.buttonPoke4.Location = new System.Drawing.Point(292, 89);
		this.buttonPoke4.Name = "buttonPoke4";
		this.buttonPoke4.Size = new System.Drawing.Size(44, 23);
		this.buttonPoke4.TabIndex = 22;
		this.buttonPoke4.Text = "Poke";
		this.buttonPoke4.UseVisualStyleBackColor = true;
		this.buttonPoke4.Click += new System.EventHandler(buttonPoke4_Click);
		this.buttonPoke5.Location = new System.Drawing.Point(292, 115);
		this.buttonPoke5.Name = "buttonPoke5";
		this.buttonPoke5.Size = new System.Drawing.Size(44, 23);
		this.buttonPoke5.TabIndex = 28;
		this.buttonPoke5.Text = "Poke";
		this.buttonPoke5.UseVisualStyleBackColor = true;
		this.buttonPoke5.Click += new System.EventHandler(buttonPoke5_Click);
		this.labelAddress2.AutoSize = true;
		this.labelAddress2.Location = new System.Drawing.Point(15, 42);
		this.labelAddress2.Name = "labelAddress2";
		this.labelAddress2.Size = new System.Drawing.Size(59, 13);
		this.labelAddress2.TabIndex = 6;
		this.labelAddress2.Text = "Address 0x";
		this.labelAddress3.AutoSize = true;
		this.labelAddress3.Location = new System.Drawing.Point(15, 68);
		this.labelAddress3.Name = "labelAddress3";
		this.labelAddress3.Size = new System.Drawing.Size(59, 13);
		this.labelAddress3.TabIndex = 12;
		this.labelAddress3.Text = "Address 0x";
		this.labelAddress4.AutoSize = true;
		this.labelAddress4.Location = new System.Drawing.Point(15, 94);
		this.labelAddress4.Name = "labelAddress4";
		this.labelAddress4.Size = new System.Drawing.Size(59, 13);
		this.labelAddress4.TabIndex = 18;
		this.labelAddress4.Text = "Address 0x";
		this.labelAddress5.AutoSize = true;
		this.labelAddress5.Location = new System.Drawing.Point(15, 120);
		this.labelAddress5.Name = "labelAddress5";
		this.labelAddress5.Size = new System.Drawing.Size(59, 13);
		this.labelAddress5.TabIndex = 24;
		this.labelAddress5.Text = "Address 0x";
		this.labelValue2.AutoSize = true;
		this.labelValue2.Location = new System.Drawing.Point(159, 42);
		this.labelValue2.Name = "labelValue2";
		this.labelValue2.Size = new System.Drawing.Size(48, 13);
		this.labelValue2.TabIndex = 8;
		this.labelValue2.Text = "Value 0x";
		this.labelValue3.AutoSize = true;
		this.labelValue3.Location = new System.Drawing.Point(159, 68);
		this.labelValue3.Name = "labelValue3";
		this.labelValue3.Size = new System.Drawing.Size(48, 13);
		this.labelValue3.TabIndex = 14;
		this.labelValue3.Text = "Value 0x";
		this.labelValue4.AutoSize = true;
		this.labelValue4.Location = new System.Drawing.Point(159, 94);
		this.labelValue4.Name = "labelValue4";
		this.labelValue4.Size = new System.Drawing.Size(48, 13);
		this.labelValue4.TabIndex = 20;
		this.labelValue4.Text = "Value 0x";
		this.labelValue5.AutoSize = true;
		this.labelValue5.Location = new System.Drawing.Point(159, 120);
		this.labelValue5.Name = "labelValue5";
		this.labelValue5.Size = new System.Drawing.Size(48, 13);
		this.labelValue5.TabIndex = 26;
		this.labelValue5.Text = "Value 0x";
		base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
		base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
		base.Controls.Add(this.textBoxValue5);
		base.Controls.Add(this.textBoxValue4);
		base.Controls.Add(this.textBoxValue3);
		base.Controls.Add(this.textBoxValue2);
		base.Controls.Add(this.textBoxValue1);
		base.Controls.Add(this.textBoxAddress5);
		base.Controls.Add(this.textBoxAddress4);
		base.Controls.Add(this.textBoxAddress3);
		base.Controls.Add(this.textBoxAddress2);
		base.Controls.Add(this.textBoxAddress1);
		base.Controls.Add(this.labelValue5);
		base.Controls.Add(this.labelValue4);
		base.Controls.Add(this.labelValue3);
		base.Controls.Add(this.labelValue2);
		base.Controls.Add(this.labelValue1);
		base.Controls.Add(this.labelAddress5);
		base.Controls.Add(this.labelAddress4);
		base.Controls.Add(this.labelAddress3);
		base.Controls.Add(this.labelAddress2);
		base.Controls.Add(this.labelAddress1);
		base.Controls.Add(this.buttonPoke5);
		base.Controls.Add(this.buttonPoke4);
		base.Controls.Add(this.buttonPoke3);
		base.Controls.Add(this.buttonPoke2);
		base.Controls.Add(this.buttonPoke1);
		base.Controls.Add(this.buttonPeek5);
		base.Controls.Add(this.buttonPeek4);
		base.Controls.Add(this.buttonPeek3);
		base.Controls.Add(this.buttonPeek2);
		base.Controls.Add(this.buttonPeek1);
		base.Name = "NFCPeekPokeUserControl";
		base.Size = new System.Drawing.Size(400, 300);
		base.Load += new System.EventHandler(NFCPeekPokeUserControl_Load);
		base.ResumeLayout(false);
		base.PerformLayout();
	}
}
