using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
using SL200_RTLogViewer.lib;

namespace SL200_RTLogViewer.subForm
{
	// Token: 0x02000011 RID: 17
	public class itemSelectForm : Form
	{
		// Token: 0x14000007 RID: 7
		// (add) Token: 0x06000078 RID: 120 RVA: 0x00007828 File Offset: 0x00005A28
		// (remove) Token: 0x06000079 RID: 121 RVA: 0x00007860 File Offset: 0x00005A60
		[DebuggerBrowsable(DebuggerBrowsableState.Never)]
		public event itemSelectForm.DataSender SenderEvent;

		// Token: 0x0600007A RID: 122 RVA: 0x00007895 File Offset: 0x00005A95
		public itemSelectForm()
		{
			this.InitializeComponent();
		}

		// Token: 0x0600007B RID: 123 RVA: 0x000078BF File Offset: 0x00005ABF
		private void itemSelectForm_Load(object sender, EventArgs e)
		{
			this.comboBox1.SelectedIndex = 0;
			this.listViewADDED.DoubleBuffered(true);
			this.listViewEx.DoubleBuffered(true);
			this.listViewEx.ListViewItemSorter = this.lvwColumnSorter;
		}

		// Token: 0x0600007C RID: 124 RVA: 0x000078FC File Offset: 0x00005AFC
		private void listViewEx_DoubleClick(object sender, EventArgs e)
		{
			string[] items = new string[]
			{
				this.listViewEx.FocusedItem.SubItems[0].Text,
				this.listViewEx.FocusedItem.SubItems[1].Text,
				this.listViewEx.FocusedItem.SubItems[2].Text
			};
			ListViewItem value = new ListViewItem(items);
			this.listViewADDED.Items.Add(value);
			this.listViewEx.Items.RemoveAt(this.listViewEx.FocusedItem.Index);
			this.labelitemCount();
		}

		// Token: 0x0600007D RID: 125 RVA: 0x000079AC File Offset: 0x00005BAC
		private void listViewADDED_DoubleClick(object sender, EventArgs e)
		{
			bool flag = this.listViewADDED.Items.Count < 40;
			if (flag)
			{
				this.listViewADDED.Items.RemoveAt(this.listViewADDED.FocusedItem.Index);
				this.comboRefresh();
				this.labelitemCount();
			}
		}

		// Token: 0x0600007E RID: 126 RVA: 0x00007A04 File Offset: 0x00005C04
		private void buttonOK_Click(object sender, EventArgs e)
		{
			ListView lv = new ListView();
			lv = this.listViewADDED;
			this.SenderEvent(lv);
			base.Close();
		}

		// Token: 0x0600007F RID: 127 RVA: 0x00007A33 File Offset: 0x00005C33
		private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
		{
			this.comboRefresh();
		}

		// Token: 0x06000080 RID: 128 RVA: 0x00007A40 File Offset: 0x00005C40
		public void comboRefresh()
		{
			string text = this.comboBox1.SelectedItem.ToString();
			string text2 = text;
			string text3 = text2;
			uint num = <PrivateImplementationDetails>.ComputeStringHash(text3);
			if (num <= 1054371910U)
			{
				if (num != 323942130U)
				{
					if (num != 670519660U)
					{
						if (num == 1054371910U)
						{
							if (text3 == "ACPU")
							{
								this.listViewEx.Items.Clear();
								FieldInfo[] fields = typeof(ACPU200Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
								for (int i = 0; i < fields.Length; i++)
								{
									string[] items = new string[]
									{
										"ACPU",
										"200",
										fields[i].Name
									};
									ListViewItem value = new ListViewItem(items);
									bool flag = this.FindItem(this.listViewADDED, fields[i].Name, "ACPU") == null;
									if (flag)
									{
										this.listViewEx.Items.Add(value);
									}
								}
								fields = typeof(ACPU201Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
								for (int j = 0; j < fields.Length; j++)
								{
									string[] items2 = new string[]
									{
										"ACPU",
										"201",
										fields[j].Name
									};
									ListViewItem value2 = new ListViewItem(items2);
									bool flag2 = this.FindItem(this.listViewADDED, fields[j].Name, "ACPU") == null;
									if (flag2)
									{
										this.listViewEx.Items.Add(value2);
									}
								}
								fields = typeof(ACPU202Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
								for (int k = 0; k < fields.Length; k++)
								{
									string[] items3 = new string[]
									{
										"ACPU",
										"202",
										fields[k].Name
									};
									ListViewItem value3 = new ListViewItem(items3);
									bool flag3 = this.FindItem(this.listViewADDED, fields[k].Name, "ACPU") == null;
									if (flag3)
									{
										this.listViewEx.Items.Add(value3);
									}
								}
							}
						}
					}
					else if (text3 == "TCMS")
					{
						this.listViewEx.Items.Clear();
						FieldInfo[] fields = typeof(DOSItoTCMSClass).GetFields(BindingFlags.Instance | BindingFlags.Public);
						for (int l = 0; l < fields.Length; l++)
						{
							string[] items4 = new string[]
							{
								"TCMS",
								"UART",
								fields[l].Name
							};
							ListViewItem value4 = new ListViewItem(items4);
							bool flag4 = this.FindItem(this.listViewADDED, fields[l].Name, "TCMS") == null;
							if (flag4)
							{
								this.listViewEx.Items.Add(value4);
							}
						}
						fields = typeof(TCMStoDOSIClass).GetFields(BindingFlags.Instance | BindingFlags.Public);
						for (int m = 0; m < fields.Length; m++)
						{
							string[] items5 = new string[]
							{
								"FTCMS",
								"UART",
								fields[m].Name
							};
							ListViewItem value5 = new ListViewItem(items5);
							bool flag5 = this.FindItem(this.listViewADDED, fields[m].Name, "TCMS") == null;
							if (flag5)
							{
								this.listViewEx.Items.Add(value5);
							}
						}
					}
				}
				else if (text3 == "MMI")
				{
					this.listViewEx.Items.Clear();
					FieldInfo[] fields = typeof(DOSItoMMIClass).GetFields(BindingFlags.Instance | BindingFlags.Public);
					for (int n = 0; n < fields.Length; n++)
					{
						string[] items6 = new string[]
						{
							"MMI",
							"UART",
							fields[n].Name.ToUpper()
						};
						ListViewItem value6 = new ListViewItem(items6);
						bool flag6 = this.FindItem(this.listViewADDED, fields[n].Name, "MMI") == null;
						if (flag6)
						{
							this.listViewEx.Items.Add(value6);
						}
					}
					bool @checked = this.checkBox2.Checked;
					if (@checked)
					{
						fields = typeof(MMItoDOSIClass).GetFields(BindingFlags.Instance | BindingFlags.Public);
						for (int num2 = 0; num2 < fields.Length; num2++)
						{
							string[] items7 = new string[]
							{
								"FMMI",
								"UART",
								fields[num2].Name
							};
							ListViewItem value7 = new ListViewItem(items7);
							bool flag7 = this.FindItem(this.listViewADDED, fields[num2].Name, "MMI") == null;
							if (flag7)
							{
								this.listViewEx.Items.Add(value7);
							}
						}
					}
				}
			}
			else if (num <= 3014100859U)
			{
				if (num != 1716134816U)
				{
					if (num == 3014100859U)
					{
						if (text3 == "TWCT")
						{
							this.listViewEx.Items.Clear();
							FieldInfo[] fields = typeof(TWCT320Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
							for (int num3 = 0; num3 < fields.Length; num3++)
							{
								string[] items8 = new string[]
								{
									"TWCT",
									"320",
									fields[num3].Name
								};
								ListViewItem value8 = new ListViewItem(items8);
								bool flag8 = this.FindItem(this.listViewADDED, fields[num3].Name, "TWCT") == null;
								if (flag8)
								{
									this.listViewEx.Items.Add(value8);
								}
							}
						}
					}
				}
				else if (text3 == "CCC")
				{
					this.listViewEx.Items.Clear();
					FieldInfo[] fields = typeof(CCC150Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
					for (int num4 = 0; num4 < fields.Length; num4++)
					{
						string[] items9 = new string[]
						{
							"CCC",
							"150",
							fields[num4].Name
						};
						ListViewItem value9 = new ListViewItem(items9);
						bool flag9 = this.FindItem(this.listViewADDED, fields[num4].Name, "CCC") == null;
						if (flag9)
						{
							this.listViewEx.Items.Add(value9);
						}
					}
					fields = typeof(CCC151Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
					for (int num5 = 0; num5 < fields.Length; num5++)
					{
						string[] items10 = new string[]
						{
							"CCC",
							"151",
							fields[num5].Name
						};
						ListViewItem value10 = new ListViewItem(items10);
						bool flag10 = this.FindItem(this.listViewADDED, fields[num5].Name, "CCC") == null;
						if (flag10)
						{
							this.listViewEx.Items.Add(value10);
						}
					}
					fields = typeof(CCC152Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
					for (int num6 = 0; num6 < fields.Length; num6++)
					{
						string[] items11 = new string[]
						{
							"CCC",
							"152",
							fields[num6].Name
						};
						ListViewItem value11 = new ListViewItem(items11);
						bool flag11 = this.FindItem(this.listViewADDED, fields[num6].Name, "CCC") == null;
						if (flag11)
						{
							this.listViewEx.Items.Add(value11);
						}
					}
				}
			}
			else if (num != 3437617337U)
			{
				if (num == 3571249909U)
				{
					if (text3 == "ATOR")
					{
						this.listViewEx.Items.Clear();
						FieldInfo[] fields = typeof(ATOR160Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
						for (int num7 = 0; num7 < fields.Length; num7++)
						{
							string[] items12 = new string[]
							{
								"ATOR",
								"160",
								fields[num7].Name
							};
							ListViewItem value12 = new ListViewItem(items12);
							bool flag12 = this.FindItem(this.listViewADDED, fields[num7].Name, "ATOR") == null;
							if (flag12)
							{
								this.listViewEx.Items.Add(value12);
							}
						}
					}
				}
			}
			else if (text3 == "ATCR")
			{
				this.listViewEx.Items.Clear();
				FieldInfo[] fields = typeof(ATCR250Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
				for (int num8 = 0; num8 < fields.Length; num8++)
				{
					string[] items13 = new string[]
					{
						"ATCR",
						"250",
						fields[num8].Name
					};
					ListViewItem value13 = new ListViewItem(items13);
					bool flag13 = this.FindItem(this.listViewADDED, fields[num8].Name, "ATCR") == null;
					if (flag13)
					{
						this.listViewEx.Items.Add(value13);
					}
				}
				fields = typeof(ATCR501Class).GetFields(BindingFlags.Instance | BindingFlags.Public);
				for (int num9 = 0; num9 < fields.Length; num9++)
				{
					string[] items14 = new string[]
					{
						"ATCR",
						"501",
						fields[num9].Name
					};
					ListViewItem value14 = new ListViewItem(items14);
					bool flag14 = this.FindItem(this.listViewADDED, fields[num9].Name, "ATCR") == null;
					if (flag14)
					{
						this.listViewEx.Items.Add(value14);
					}
				}
			}
		}

		// Token: 0x06000081 RID: 129 RVA: 0x000083F8 File Offset: 0x000065F8
		public void listViewAdded_Clone(ListView lv)
		{
			this.listViewADDED.Items.Clear();
			for (int i = 0; i < lv.Items.Count; i++)
			{
				string[] items = new string[]
				{
					lv.Items[i].SubItems[0].Text,
					lv.Items[i].SubItems[1].Text,
					lv.Items[i].SubItems[2].Text
				};
				ListViewItem value = new ListViewItem(items);
				this.listViewADDED.Items.Add(value);
			}
		}

		// Token: 0x06000082 RID: 130 RVA: 0x000084B8 File Offset: 0x000066B8
		private ListViewItem FindItem(ListView listview, string keyword, string type)
		{
			for (int i = 0; i < listview.Items.Count; i++)
			{
				ListViewItem listViewItem = listview.Items[i];
				bool flag = listViewItem.SubItems[0].Text == type;
				if (flag)
				{
					bool flag2 = listViewItem.SubItems[2].Text.Contains(keyword);
					bool flag3 = flag2;
					if (flag3)
					{
						return listViewItem;
					}
				}
			}
			return null;
		}

		// Token: 0x06000083 RID: 131 RVA: 0x0000853A File Offset: 0x0000673A
		private void button3_Click(object sender, EventArgs e)
		{
			base.Close();
		}

		// Token: 0x06000084 RID: 132 RVA: 0x00008544 File Offset: 0x00006744
		private void button4_Click(object sender, EventArgs e)
		{
			this.listViewADDED.Items.Clear();
			this.comboRefresh();
			this.labelitemCount();
		}

		// Token: 0x06000085 RID: 133 RVA: 0x00008568 File Offset: 0x00006768
		public void labelitemCount()
		{
			this.lb_itemCount.Text = "선택 항목:" + this.listViewADDED.Items.Count.ToString() + "/40";
		}

		// Token: 0x06000086 RID: 134 RVA: 0x000085AC File Offset: 0x000067AC
		private void button1_Click(object sender, EventArgs e)
		{
			bool flag = this.listViewEx.FocusedItem != null && this.listViewADDED.Items.Count < 40;
			if (flag)
			{
				string[] items = new string[]
				{
					this.listViewEx.FocusedItem.SubItems[0].Text,
					this.listViewEx.FocusedItem.SubItems[1].Text,
					this.listViewEx.FocusedItem.SubItems[2].Text
				};
				ListViewItem value = new ListViewItem(items);
				this.listViewADDED.Items.Add(value);
				this.listViewEx.Items.RemoveAt(this.listViewEx.FocusedItem.Index);
				this.labelitemCount();
				this.listViewEx.Items[this.listViewEx.FocusedItem.Index].EnsureVisible();
			}
		}

		// Token: 0x06000087 RID: 135 RVA: 0x000086B0 File Offset: 0x000068B0
		private void button2_Click(object sender, EventArgs e)
		{
			bool flag = this.listViewADDED.FocusedItem != null;
			if (flag)
			{
				this.listViewADDED.Items.RemoveAt(this.listViewADDED.FocusedItem.Index);
				this.comboRefresh();
				this.labelitemCount();
			}
		}

		// Token: 0x06000088 RID: 136 RVA: 0x00008701 File Offset: 0x00006901
		private void listViewEx_ColumnWidthChanging(object sender, ColumnWidthChangingEventArgs e)
		{
			e.NewWidth = this.listViewEx.Columns[e.ColumnIndex].Width;
			e.Cancel = true;
		}

		// Token: 0x06000089 RID: 137 RVA: 0x0000872E File Offset: 0x0000692E
		private void listViewADDED_ColumnWidthChanging(object sender, ColumnWidthChangingEventArgs e)
		{
			e.NewWidth = this.listViewADDED.Columns[e.ColumnIndex].Width;
			e.Cancel = true;
		}

		// Token: 0x0600008A RID: 138 RVA: 0x0000875C File Offset: 0x0000695C
		private void checkBox2_CheckedChanged(object sender, EventArgs e)
		{
			bool @checked = this.checkBox2.Checked;
			if (@checked)
			{
				this.comboBox1.Items.Add("ACPU");
				this.comboBox1.Items.Add("ATCR");
				this.comboBox1.Items.Add("ATOR");
				this.comboBox1.Items.Add("CCC");
				this.comboBox1.Items.Add("TCMS");
				this.comboBox1.Items.Add("TWCT");
				this.comboBox1.SelectedIndex = 0;
				this.comboRefresh();
			}
			else
			{
				this.comboBox1.Items.Clear();
				this.comboBox1.Items.Add("MMI");
				this.comboBox1.SelectedIndex = 0;
				this.comboRefresh();
			}
		}

		// Token: 0x0600008B RID: 139 RVA: 0x00008858 File Offset: 0x00006A58
		private void listViewEx_ColumnClick(object sender, ColumnClickEventArgs e)
		{
			bool flag = e.Column == this.lvwColumnSorter.SortColumn;
			if (flag)
			{
				bool flag2 = this.lvwColumnSorter.Order == SortOrder.Ascending;
				if (flag2)
				{
					this.lvwColumnSorter.Order = SortOrder.Descending;
				}
				else
				{
					this.lvwColumnSorter.Order = SortOrder.Ascending;
				}
			}
			else
			{
				this.lvwColumnSorter.SortColumn = e.Column;
				this.lvwColumnSorter.Order = SortOrder.Ascending;
			}
			this.listViewEx.Sort();
		}

		// Token: 0x0600008C RID: 140 RVA: 0x000088E0 File Offset: 0x00006AE0
		private void listViewADDED_DragDrop(object sender, DragEventArgs e)
		{
			bool dataPresent = e.Data.GetDataPresent(typeof(ListViewItem));
			if (dataPresent)
			{
				Point point = this.listViewADDED.PointToClient(new Point(e.X, e.Y));
				ListViewItem itemAt = this.listViewADDED.GetItemAt(point.X, point.Y);
				bool flag = itemAt != null;
				if (flag)
				{
					int index = itemAt.Index;
					ListViewItem item = this.listViewADDED.Items[this.draggedItemIndex];
					this.listViewADDED.Items.RemoveAt(this.draggedItemIndex);
					this.listViewADDED.Items.Insert(index, item);
				}
			}
		}

		// Token: 0x0600008D RID: 141 RVA: 0x00008999 File Offset: 0x00006B99
		private void listViewADDED_DragOver(object sender, DragEventArgs e)
		{
			e.Effect = DragDropEffects.Move;
		}

		// Token: 0x0600008E RID: 142 RVA: 0x000089A4 File Offset: 0x00006BA4
		private void listViewADDED_DragEnter(object sender, DragEventArgs e)
		{
			bool dataPresent = e.Data.GetDataPresent(typeof(ListViewItem));
			if (dataPresent)
			{
				e.Effect = DragDropEffects.Move;
			}
			else
			{
				e.Effect = DragDropEffects.None;
			}
		}

		// Token: 0x0600008F RID: 143 RVA: 0x000089E1 File Offset: 0x00006BE1
		private void listViewADDED_ItemDrag(object sender, ItemDragEventArgs e)
		{
			this.draggedItemIndex = ((ListViewItem)e.Item).Index;
			base.DoDragDrop(e.Item, DragDropEffects.Move);
		}

		// Token: 0x06000090 RID: 144 RVA: 0x00008A08 File Offset: 0x00006C08
		protected override void Dispose(bool disposing)
		{
			bool flag = disposing && this.components != null;
			if (flag)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}

		// Token: 0x06000091 RID: 145 RVA: 0x00008A40 File Offset: 0x00006C40
		private void InitializeComponent()
		{
			ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(itemSelectForm));
			this.listViewADDED = new ListView();
			this.columnHeader1 = new ColumnHeader();
			this.columnHeader5 = new ColumnHeader();
			this.columnHeader2 = new ColumnHeader();
			this.listViewEx = new ListView();
			this.columnHeader3 = new ColumnHeader();
			this.columnHeader6 = new ColumnHeader();
			this.columnHeader4 = new ColumnHeader();
			this.button1 = new Button();
			this.button2 = new Button();
			this.button3 = new Button();
			this.buttonOK = new Button();
			this.comboBox1 = new ComboBox();
			this.button4 = new Button();
			this.lb_itemCount = new Label();
			this.checkBox2 = new CheckBox();
			base.SuspendLayout();
			this.listViewADDED.AllowColumnReorder = true;
			this.listViewADDED.AllowDrop = true;
			this.listViewADDED.BackColor = SystemColors.GradientInactiveCaption;
			this.listViewADDED.BorderStyle = BorderStyle.None;
			this.listViewADDED.Columns.AddRange(new ColumnHeader[]
			{
				this.columnHeader1,
				this.columnHeader5,
				this.columnHeader2
			});
			this.listViewADDED.Font = new Font("맑은 고딕", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 129);
			this.listViewADDED.FullRowSelect = true;
			this.listViewADDED.GridLines = true;
			this.listViewADDED.HideSelection = false;
			this.listViewADDED.Location = new Point(12, 45);
			this.listViewADDED.MultiSelect = false;
			this.listViewADDED.Name = "listViewADDED";
			this.listViewADDED.Size = new Size(265, 366);
			this.listViewADDED.TabIndex = 278;
			this.listViewADDED.UseCompatibleStateImageBehavior = false;
			this.listViewADDED.View = View.Details;
			this.listViewADDED.ColumnWidthChanging += this.listViewADDED_ColumnWidthChanging;
			this.listViewADDED.ItemDrag += this.listViewADDED_ItemDrag;
			this.listViewADDED.DragDrop += this.listViewADDED_DragDrop;
			this.listViewADDED.DragEnter += this.listViewADDED_DragEnter;
			this.listViewADDED.DragOver += this.listViewADDED_DragOver;
			this.listViewADDED.DoubleClick += this.listViewADDED_DoubleClick;
			this.columnHeader1.Text = "Group";
			this.columnHeader1.Width = 94;
			this.columnHeader5.Text = "CANID";
			this.columnHeader5.Width = 0;
			this.columnHeader2.Text = "Item";
			this.columnHeader2.Width = 168;
			this.listViewEx.BackColor = SystemColors.GradientInactiveCaption;
			this.listViewEx.BorderStyle = BorderStyle.None;
			this.listViewEx.Columns.AddRange(new ColumnHeader[]
			{
				this.columnHeader3,
				this.columnHeader6,
				this.columnHeader4
			});
			this.listViewEx.Font = new Font("맑은 고딕", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 129);
			this.listViewEx.FullRowSelect = true;
			this.listViewEx.GridLines = true;
			this.listViewEx.HideSelection = false;
			this.listViewEx.Location = new Point(376, 45);
			this.listViewEx.MultiSelect = false;
			this.listViewEx.Name = "listViewEx";
			this.listViewEx.Size = new Size(286, 366);
			this.listViewEx.Sorting = SortOrder.Ascending;
			this.listViewEx.TabIndex = 279;
			this.listViewEx.UseCompatibleStateImageBehavior = false;
			this.listViewEx.View = View.Details;
			this.listViewEx.ColumnClick += this.listViewEx_ColumnClick;
			this.listViewEx.ColumnWidthChanging += this.listViewEx_ColumnWidthChanging;
			this.listViewEx.DoubleClick += this.listViewEx_DoubleClick;
			this.columnHeader3.Text = "Group";
			this.columnHeader3.Width = 87;
			this.columnHeader6.Text = "CANID";
			this.columnHeader6.Width = 0;
			this.columnHeader4.Text = "Item";
			this.columnHeader4.Width = 198;
			this.button1.Font = new Font("나눔고딕 ExtraBold", 12f, FontStyle.Bold, GraphicsUnit.Point, 129);
			this.button1.Location = new Point(289, 125);
			this.button1.Name = "button1";
			this.button1.Size = new Size(75, 107);
			this.button1.TabIndex = 280;
			this.button1.Text = "ADD";
			this.button1.UseVisualStyleBackColor = true;
			this.button1.Click += this.button1_Click;
			this.button2.Font = new Font("나눔고딕 ExtraBold", 12f, FontStyle.Bold, GraphicsUnit.Point, 129);
			this.button2.Location = new Point(289, 234);
			this.button2.Name = "button2";
			this.button2.Size = new Size(75, 107);
			this.button2.TabIndex = 281;
			this.button2.Text = "DELETE";
			this.button2.UseVisualStyleBackColor = true;
			this.button2.Click += this.button2_Click;
			this.button3.BackColor = Color.OrangeRed;
			this.button3.Font = new Font("나눔고딕 ExtraBold", 12f, FontStyle.Bold, GraphicsUnit.Point, 129);
			this.button3.ForeColor = Color.Transparent;
			this.button3.Location = new Point(587, 10);
			this.button3.Name = "button3";
			this.button3.Size = new Size(75, 29);
			this.button3.TabIndex = 282;
			this.button3.Text = "CLOSE";
			this.button3.UseVisualStyleBackColor = false;
			this.button3.Click += this.button3_Click;
			this.buttonOK.BackColor = Color.LimeGreen;
			this.buttonOK.Font = new Font("나눔고딕 ExtraBold", 12f, FontStyle.Bold, GraphicsUnit.Point, 129);
			this.buttonOK.ForeColor = Color.White;
			this.buttonOK.Location = new Point(506, 10);
			this.buttonOK.Name = "buttonOK";
			this.buttonOK.Size = new Size(75, 29);
			this.buttonOK.TabIndex = 283;
			this.buttonOK.Text = "OK";
			this.buttonOK.UseVisualStyleBackColor = false;
			this.buttonOK.Click += this.buttonOK_Click;
			this.comboBox1.FormattingEnabled = true;
			this.comboBox1.Items.AddRange(new object[]
			{
				"MMI"
			});
			this.comboBox1.Location = new Point(376, 13);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new Size(124, 20);
			this.comboBox1.TabIndex = 284;
			this.comboBox1.SelectedIndexChanged += this.comboBox1_SelectedIndexChanged;
			this.button4.Location = new Point(202, 10);
			this.button4.Name = "button4";
			this.button4.Size = new Size(75, 29);
			this.button4.TabIndex = 285;
			this.button4.Text = "CLEAR";
			this.button4.UseVisualStyleBackColor = true;
			this.button4.Click += this.button4_Click;
			this.lb_itemCount.Font = new Font("Verdana", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
			this.lb_itemCount.Location = new Point(14, 13);
			this.lb_itemCount.Name = "lb_itemCount";
			this.lb_itemCount.Size = new Size(162, 23);
			this.lb_itemCount.TabIndex = 286;
			this.lb_itemCount.Text = "선택 항목: 0/40";
			this.checkBox2.FlatStyle = FlatStyle.Popup;
			this.checkBox2.Font = new Font("나눔고딕", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 129);
			this.checkBox2.Location = new Point(299, 11);
			this.checkBox2.Name = "checkBox2";
			this.checkBox2.Size = new Size(75, 25);
			this.checkBox2.TabIndex = 287;
			this.checkBox2.Text = "실시간";
			this.checkBox2.TextAlign = ContentAlignment.MiddleCenter;
			this.checkBox2.UseVisualStyleBackColor = true;
			this.checkBox2.CheckedChanged += this.checkBox2_CheckedChanged;
			base.AutoScaleMode = AutoScaleMode.None;
			base.ClientSize = new Size(674, 423);
			base.Controls.Add(this.checkBox2);
			base.Controls.Add(this.lb_itemCount);
			base.Controls.Add(this.button4);
			base.Controls.Add(this.comboBox1);
			base.Controls.Add(this.buttonOK);
			base.Controls.Add(this.button3);
			base.Controls.Add(this.button2);
			base.Controls.Add(this.button1);
			base.Controls.Add(this.listViewEx);
			base.Controls.Add(this.listViewADDED);
			base.FormBorderStyle = FormBorderStyle.FixedSingle;
			base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
			base.Name = "itemSelectForm";
			this.Text = "추가 데이터 선택";
			base.Load += this.itemSelectForm_Load;
			base.ResumeLayout(false);
		}

		// Token: 0x04000055 RID: 85
		private itemSelectForm.ListViewColumnSorter lvwColumnSorter = new itemSelectForm.ListViewColumnSorter();

		// Token: 0x04000056 RID: 86
		private int draggedItemIndex = -1;

		// Token: 0x04000057 RID: 87
		private IContainer components = null;

		// Token: 0x04000058 RID: 88
		private ColumnHeader columnHeader1;

		// Token: 0x04000059 RID: 89
		private ColumnHeader columnHeader2;

		// Token: 0x0400005A RID: 90
		private ColumnHeader columnHeader3;

		// Token: 0x0400005B RID: 91
		private ColumnHeader columnHeader4;

		// Token: 0x0400005C RID: 92
		private Button button1;

		// Token: 0x0400005D RID: 93
		private Button button2;

		// Token: 0x0400005E RID: 94
		private Button button3;

		// Token: 0x0400005F RID: 95
		private Button buttonOK;

		// Token: 0x04000060 RID: 96
		private ColumnHeader columnHeader5;

		// Token: 0x04000061 RID: 97
		private ColumnHeader columnHeader6;

		// Token: 0x04000062 RID: 98
		private ListView listViewADDED;

		// Token: 0x04000063 RID: 99
		public ListView listViewEx;

		// Token: 0x04000064 RID: 100
		public ComboBox comboBox1;

		// Token: 0x04000065 RID: 101
		private Button button4;

		// Token: 0x04000066 RID: 102
		private Label lb_itemCount;

		// Token: 0x04000067 RID: 103
		public CheckBox checkBox2;

		// Token: 0x0200005E RID: 94
		// (Invoke) Token: 0x060001AC RID: 428
		public delegate void DataSender(ListView lv);

		// Token: 0x0200005F RID: 95
		public class ListViewColumnSorter : IComparer
		{
			// Token: 0x060001AF RID: 431 RVA: 0x000288C6 File Offset: 0x00026AC6
			public ListViewColumnSorter()
			{
				this.ColumnToSort = 0;
				this.OrderOfSort = SortOrder.Ascending;
				this.ObjectCompare = new CaseInsensitiveComparer();
			}

			// Token: 0x060001B0 RID: 432 RVA: 0x000288EC File Offset: 0x00026AEC
			public int Compare(object x, object y)
			{
				ListViewItem listViewItem = (ListViewItem)x;
				ListViewItem listViewItem2 = (ListViewItem)y;
				int num = this.ObjectCompare.Compare(listViewItem.SubItems[this.ColumnToSort].Text, listViewItem2.SubItems[this.ColumnToSort].Text);
				bool flag = this.OrderOfSort == SortOrder.Ascending;
				int result;
				if (flag)
				{
					result = num;
				}
				else
				{
					bool flag2 = this.OrderOfSort == SortOrder.Descending;
					if (flag2)
					{
						result = -num;
					}
					else
					{
						result = 0;
					}
				}
				return result;
			}

			// Token: 0x17000023 RID: 35
			// (get) Token: 0x060001B2 RID: 434 RVA: 0x0002897C File Offset: 0x00026B7C
			// (set) Token: 0x060001B1 RID: 433 RVA: 0x00028971 File Offset: 0x00026B71
			public int SortColumn
			{
				get
				{
					return this.ColumnToSort;
				}
				set
				{
					this.ColumnToSort = value;
				}
			}

			// Token: 0x17000024 RID: 36
			// (get) Token: 0x060001B4 RID: 436 RVA: 0x000289A0 File Offset: 0x00026BA0
			// (set) Token: 0x060001B3 RID: 435 RVA: 0x00028994 File Offset: 0x00026B94
			public SortOrder Order
			{
				get
				{
					return this.OrderOfSort;
				}
				set
				{
					this.OrderOfSort = value;
				}
			}

			// Token: 0x04000438 RID: 1080
			private int ColumnToSort;

			// Token: 0x04000439 RID: 1081
			private SortOrder OrderOfSort;

			// Token: 0x0400043A RID: 1082
			private CaseInsensitiveComparer ObjectCompare;
		}
	}
}
