diff --git a/.vs/MacManagerForTemPatch/v16/.suo b/.vs/MacManagerForTemPatch/v16/.suo index 34a01f8..16e4d33 100644 Binary files a/.vs/MacManagerForTemPatch/v16/.suo and b/.vs/MacManagerForTemPatch/v16/.suo differ diff --git a/Form1.Designer.cs b/Form1.Designer.cs index 26508e5..2041583 100644 --- a/Form1.Designer.cs +++ b/Form1.Designer.cs @@ -168,6 +168,7 @@ namespace MacManagerForTemPatch this.button_add_test.TabIndex = 4; this.button_add_test.Text = "Test"; this.button_add_test.UseVisualStyleBackColor = true; + this.button_add_test.Visible = false; this.button_add_test.Click += new System.EventHandler(this.button_add_test_Click); // // label_lastmac diff --git a/Form1.cs b/Form1.cs index 1ef5739..b347703 100644 --- a/Form1.cs +++ b/Form1.cs @@ -45,7 +45,6 @@ namespace MacManagerForTemPatch { if(savedMacList.Count > 0 ) { - for(int i = 0; i < savedMacList.Count; i++) { String temp = savedMacList[i]; @@ -65,22 +64,7 @@ namespace MacManagerForTemPatch updateList(data); - /* - macList.Add(data); - - - if(i == savedMacList.Count-1) - { - lvi.BackColor = Color.SkyBlue; - label_lastmac.Text = (savedMacList.Count).ToString() + "번 " + array[0]; - } - - listView_maclist.Items.Add(lvi); - - string tempbuf = array[0] + ',' + array[1] + ',' + array[2]; - runTimeData.Add(tempbuf); - */ } } @@ -203,13 +187,10 @@ namespace MacManagerForTemPatch } listView_maclist.Items[macList.Count - 1].BackColor = Color.SkyBlue; label_lastmac.Text = macList.Count.ToString() + "번 " + data.MacAddr; - - } - private void SerialReceived(object s, EventArgs e) //여기에서 수신 데이타를 사용자의 용도에 따라 처리한다. { int i_recv_size = serialPort.BytesToRead; @@ -260,17 +241,13 @@ namespace MacManagerForTemPatch Data data = new Data(mac, date, time); - - mSerial_Buff_idx = 0; flag_end = false; flag_start = false; - updateList(data); - //listView_maclist.Items[macList.Count - 1].Selected = true; } @@ -295,7 +272,6 @@ namespace MacManagerForTemPatch if (MessageBox.Show("저장이 완료되었습니다. 목록을 삭제할까요? ", "데이터 삭제", MessageBoxButtons.YesNo) == DialogResult.Yes) { - // MessageBox.Show("예 클릭"); macList.Clear(); listView.Clear();