commit
21695feb35
29 changed files with 1175 additions and 0 deletions
Binary file not shown.
@ -0,0 +1,8 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<configuration> |
|||
<configSections> |
|||
</configSections> |
|||
<startup> |
|||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> |
|||
</startup> |
|||
</configuration> |
|||
@ -0,0 +1,22 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace MacManagerForTemPatch |
|||
{ |
|||
class Data |
|||
{ |
|||
public string MacAddr; |
|||
public string Write_Date; |
|||
public string Write_Time; |
|||
|
|||
public Data(string macAddr, string write_Date, string write_Time) |
|||
{ |
|||
MacAddr = macAddr; |
|||
Write_Date = write_Date; |
|||
Write_Time = write_Time; |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,221 @@ |
|||
|
|||
namespace MacManagerForTemPatch |
|||
{ |
|||
partial class Form1 |
|||
{ |
|||
/// <summary>
|
|||
/// 필수 디자이너 변수입니다.
|
|||
/// </summary>
|
|||
private System.ComponentModel.IContainer components = null; |
|||
|
|||
/// <summary>
|
|||
/// 사용 중인 모든 리소스를 정리합니다.
|
|||
/// </summary>
|
|||
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
|
|||
protected override void Dispose(bool disposing) |
|||
{ |
|||
if (disposing && (components != null)) |
|||
{ |
|||
components.Dispose(); |
|||
} |
|||
base.Dispose(disposing); |
|||
} |
|||
|
|||
#region Windows Form 디자이너에서 생성한 코드
|
|||
|
|||
/// <summary>
|
|||
/// 디자이너 지원에 필요한 메서드입니다.
|
|||
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요.
|
|||
/// </summary>
|
|||
private void InitializeComponent() |
|||
{ |
|||
this.components = new System.ComponentModel.Container(); |
|||
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
|||
this.button_open = new System.Windows.Forms.Button(); |
|||
this.label1 = new System.Windows.Forms.Label(); |
|||
this.comboBox_comport = new System.Windows.Forms.ComboBox(); |
|||
this.listView_maclist = new System.Windows.Forms.ListView(); |
|||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |
|||
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |
|||
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |
|||
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); |
|||
this.groupBox2 = new System.Windows.Forms.GroupBox(); |
|||
this.button_removeAll = new System.Windows.Forms.Button(); |
|||
this.button_save_csv = new System.Windows.Forms.Button(); |
|||
this.serialPort = new System.IO.Ports.SerialPort(this.components); |
|||
this.button_add_test = new System.Windows.Forms.Button(); |
|||
this.label_lastmac = new System.Windows.Forms.Label(); |
|||
this.groupBox1.SuspendLayout(); |
|||
this.groupBox2.SuspendLayout(); |
|||
this.SuspendLayout(); |
|||
//
|
|||
// groupBox1
|
|||
//
|
|||
this.groupBox1.Controls.Add(this.button_open); |
|||
this.groupBox1.Controls.Add(this.label1); |
|||
this.groupBox1.Controls.Add(this.comboBox_comport); |
|||
this.groupBox1.Location = new System.Drawing.Point(38, 24); |
|||
this.groupBox1.Name = "groupBox1"; |
|||
this.groupBox1.Size = new System.Drawing.Size(232, 95); |
|||
this.groupBox1.TabIndex = 0; |
|||
this.groupBox1.TabStop = false; |
|||
this.groupBox1.Text = "Serial"; |
|||
//
|
|||
// button_open
|
|||
//
|
|||
this.button_open.Location = new System.Drawing.Point(141, 58); |
|||
this.button_open.Name = "button_open"; |
|||
this.button_open.Size = new System.Drawing.Size(75, 23); |
|||
this.button_open.TabIndex = 1; |
|||
this.button_open.Text = "OPEN"; |
|||
this.button_open.UseVisualStyleBackColor = true; |
|||
this.button_open.Click += new System.EventHandler(this.button_open_Click); |
|||
//
|
|||
// label1
|
|||
//
|
|||
this.label1.AutoSize = true; |
|||
this.label1.Location = new System.Drawing.Point(6, 24); |
|||
this.label1.Name = "label1"; |
|||
this.label1.Size = new System.Drawing.Size(83, 12); |
|||
this.label1.TabIndex = 1; |
|||
this.label1.Text = "COM PORT : "; |
|||
//
|
|||
// comboBox_comport
|
|||
//
|
|||
this.comboBox_comport.FormattingEnabled = true; |
|||
this.comboBox_comport.Location = new System.Drawing.Point(95, 20); |
|||
this.comboBox_comport.Name = "comboBox_comport"; |
|||
this.comboBox_comport.Size = new System.Drawing.Size(121, 20); |
|||
this.comboBox_comport.TabIndex = 0; |
|||
//
|
|||
// listView_maclist
|
|||
//
|
|||
this.listView_maclist.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { |
|||
this.columnHeader1, |
|||
this.columnHeader2, |
|||
this.columnHeader3, |
|||
this.columnHeader4}); |
|||
this.listView_maclist.HideSelection = false; |
|||
this.listView_maclist.Location = new System.Drawing.Point(18, 20); |
|||
this.listView_maclist.MultiSelect = false; |
|||
this.listView_maclist.Name = "listView_maclist"; |
|||
this.listView_maclist.Size = new System.Drawing.Size(503, 260); |
|||
this.listView_maclist.TabIndex = 1; |
|||
this.listView_maclist.UseCompatibleStateImageBehavior = false; |
|||
this.listView_maclist.View = System.Windows.Forms.View.Details; |
|||
//
|
|||
// columnHeader1
|
|||
//
|
|||
this.columnHeader1.Text = "idx"; |
|||
this.columnHeader1.Width = 40; |
|||
//
|
|||
// columnHeader2
|
|||
//
|
|||
this.columnHeader2.Text = "MacAddress"; |
|||
this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |
|||
this.columnHeader2.Width = 140; |
|||
//
|
|||
// columnHeader3
|
|||
//
|
|||
this.columnHeader3.Text = "Date"; |
|||
this.columnHeader3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |
|||
this.columnHeader3.Width = 140; |
|||
//
|
|||
// columnHeader4
|
|||
//
|
|||
this.columnHeader4.Text = "Time"; |
|||
this.columnHeader4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; |
|||
this.columnHeader4.Width = 140; |
|||
//
|
|||
// groupBox2
|
|||
//
|
|||
this.groupBox2.Controls.Add(this.button_add_test); |
|||
this.groupBox2.Controls.Add(this.button_removeAll); |
|||
this.groupBox2.Controls.Add(this.button_save_csv); |
|||
this.groupBox2.Controls.Add(this.listView_maclist); |
|||
this.groupBox2.Location = new System.Drawing.Point(38, 134); |
|||
this.groupBox2.Name = "groupBox2"; |
|||
this.groupBox2.Size = new System.Drawing.Size(713, 304); |
|||
this.groupBox2.TabIndex = 2; |
|||
this.groupBox2.TabStop = false; |
|||
this.groupBox2.Text = "관리"; |
|||
//
|
|||
// button_removeAll
|
|||
//
|
|||
this.button_removeAll.Location = new System.Drawing.Point(564, 20); |
|||
this.button_removeAll.Name = "button_removeAll"; |
|||
this.button_removeAll.Size = new System.Drawing.Size(79, 34); |
|||
this.button_removeAll.TabIndex = 3; |
|||
this.button_removeAll.Text = "목록 비우기"; |
|||
this.button_removeAll.UseVisualStyleBackColor = true; |
|||
this.button_removeAll.Click += new System.EventHandler(this.button_removeAll_Click); |
|||
//
|
|||
// button_save_csv
|
|||
//
|
|||
this.button_save_csv.Location = new System.Drawing.Point(564, 246); |
|||
this.button_save_csv.Name = "button_save_csv"; |
|||
this.button_save_csv.Size = new System.Drawing.Size(79, 34); |
|||
this.button_save_csv.TabIndex = 2; |
|||
this.button_save_csv.Text = "csv로 저장"; |
|||
this.button_save_csv.UseVisualStyleBackColor = true; |
|||
this.button_save_csv.Click += new System.EventHandler(this.button_save_csv_Click); |
|||
//
|
|||
// button_add_test
|
|||
//
|
|||
this.button_add_test.Location = new System.Drawing.Point(564, 173); |
|||
this.button_add_test.Name = "button_add_test"; |
|||
this.button_add_test.Size = new System.Drawing.Size(79, 40); |
|||
this.button_add_test.TabIndex = 4; |
|||
this.button_add_test.Text = "Test"; |
|||
this.button_add_test.UseVisualStyleBackColor = true; |
|||
this.button_add_test.Click += new System.EventHandler(this.button_add_test_Click); |
|||
//
|
|||
// label_lastmac
|
|||
//
|
|||
this.label_lastmac.AutoSize = true; |
|||
this.label_lastmac.Font = new System.Drawing.Font("굴림", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); |
|||
this.label_lastmac.ForeColor = System.Drawing.Color.Blue; |
|||
this.label_lastmac.Location = new System.Drawing.Point(344, 48); |
|||
this.label_lastmac.Name = "label_lastmac"; |
|||
this.label_lastmac.Size = new System.Drawing.Size(382, 35); |
|||
this.label_lastmac.TabIndex = 3; |
|||
this.label_lastmac.Text = "4번 11:22:33:44:55:66"; |
|||
//
|
|||
// Form1
|
|||
//
|
|||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |
|||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
|||
this.ClientSize = new System.Drawing.Size(800, 450); |
|||
this.Controls.Add(this.label_lastmac); |
|||
this.Controls.Add(this.groupBox1); |
|||
this.Controls.Add(this.groupBox2); |
|||
this.Name = "Form1"; |
|||
this.Text = "템패치 MacAddress 관리자"; |
|||
this.groupBox1.ResumeLayout(false); |
|||
this.groupBox1.PerformLayout(); |
|||
this.groupBox2.ResumeLayout(false); |
|||
this.ResumeLayout(false); |
|||
this.PerformLayout(); |
|||
|
|||
} |
|||
|
|||
#endregion
|
|||
|
|||
private System.Windows.Forms.GroupBox groupBox1; |
|||
private System.Windows.Forms.Button button_open; |
|||
private System.Windows.Forms.Label label1; |
|||
private System.Windows.Forms.ComboBox comboBox_comport; |
|||
private System.Windows.Forms.ListView listView_maclist; |
|||
private System.Windows.Forms.ColumnHeader columnHeader1; |
|||
private System.Windows.Forms.ColumnHeader columnHeader2; |
|||
private System.Windows.Forms.ColumnHeader columnHeader3; |
|||
private System.Windows.Forms.ColumnHeader columnHeader4; |
|||
private System.Windows.Forms.GroupBox groupBox2; |
|||
private System.Windows.Forms.Button button_save_csv; |
|||
private System.IO.Ports.SerialPort serialPort; |
|||
private System.Windows.Forms.Button button_removeAll; |
|||
private System.Windows.Forms.Button button_add_test; |
|||
private System.Windows.Forms.Label label_lastmac; |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,378 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Collections.Specialized; |
|||
using System.ComponentModel; |
|||
using System.Data; |
|||
using System.Drawing; |
|||
using System.IO; |
|||
using System.IO.Ports; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using System.Windows.Forms; |
|||
|
|||
namespace MacManagerForTemPatch |
|||
{ |
|||
|
|||
public partial class Form1 : Form |
|||
{ |
|||
|
|||
private bool flag_start; |
|||
private bool flag_end; |
|||
private byte[] mSerial_Buff; |
|||
private int mSerial_Buff_idx; |
|||
|
|||
static private List<Data> macList; |
|||
private StringCollection savedMacList; |
|||
private StringCollection runTimeData; |
|||
|
|||
public Form1() |
|||
{ |
|||
InitializeComponent(); |
|||
runTimeData = new StringCollection(); |
|||
comboBox_comport.DataSource = SerialPort.GetPortNames(); |
|||
|
|||
mSerial_Buff = new byte[4096]; |
|||
mSerial_Buff_idx = 0; |
|||
|
|||
macList = new List<Data>(); |
|||
|
|||
savedMacList = Properties.Settings.Default.savedmaclist; |
|||
|
|||
label_lastmac.Text = ""; |
|||
|
|||
if (savedMacList != null) |
|||
{ |
|||
if(savedMacList.Count > 0 ) |
|||
{ |
|||
|
|||
for(int i = 0; i < savedMacList.Count; i++) |
|||
{ |
|||
String temp = savedMacList[i]; |
|||
String[] array = temp.Split(','); |
|||
|
|||
Console.WriteLine("data : " + temp); |
|||
|
|||
|
|||
ListViewItem lvi = new ListViewItem((i+1).ToString()); |
|||
lvi.SubItems.Add(array[0]); |
|||
lvi.SubItems.Add(array[1]); |
|||
lvi.SubItems.Add(array[2]); |
|||
|
|||
|
|||
|
|||
Data data = new Data(array[0], array[1], array[2]); |
|||
|
|||
|
|||
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); |
|||
|
|||
*/ |
|||
} |
|||
|
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
} |
|||
|
|||
private void button_save_csv_Click(object sender, EventArgs e) |
|||
{ |
|||
string fileName; |
|||
SaveFileDialog saveFileDialog = new SaveFileDialog(); |
|||
saveFileDialog.Title = "저장 경로를 선택하세요"; |
|||
saveFileDialog.OverwritePrompt = true; |
|||
saveFileDialog.Filter = "CSV 파일 (*.csv)|*.csv|모든 파일 (*.*)|*.*"; |
|||
saveFileDialog.FileName = "[" + macList.Count.ToString() + "]TemPatchMacAddress_" + DateTime.Now.ToString("yyyyMMdd_HHmmss") + ".csv"; |
|||
|
|||
|
|||
|
|||
if (saveFileDialog.ShowDialog() == DialogResult.OK) |
|||
{ |
|||
fileName = saveFileDialog.FileName; |
|||
|
|||
ListViewToCSV(listView_maclist, fileName, false); |
|||
|
|||
//public static void ListViewToCSV(ListView listView, string filePath, bool includeHidden)
|
|||
} |
|||
} |
|||
|
|||
private void button_open_Click(object sender, EventArgs e) |
|||
{ |
|||
|
|||
if (!serialPort.IsOpen) //시리얼포트가 열려 있지 않으면
|
|||
{ |
|||
|
|||
serialPort.PortName = comboBox_comport.Text; |
|||
serialPort.BaudRate = 115200; |
|||
serialPort.DataBits = 8; |
|||
serialPort.StopBits = StopBits.One; |
|||
serialPort.Parity = Parity.None; |
|||
serialPort.RtsEnable = false; |
|||
serialPort.DataReceived += new SerialDataReceivedEventHandler(serialPort_DataReceived); |
|||
|
|||
try |
|||
{ |
|||
serialPort.Open(); |
|||
//label_comport_status.Text = "Port Opened";
|
|||
} |
|||
catch |
|||
{ |
|||
//MessageBox.Show("사용중인 시리얼 포트 입니다.");
|
|||
MessageBox.Show("Already used in serial port."); |
|||
} |
|||
|
|||
} |
|||
else //시리얼포트가 열려 있으면
|
|||
|
|||
{ |
|||
//label_comport_status.Text = "Port already Opened..";
|
|||
serialPort.Close(); |
|||
} |
|||
|
|||
|
|||
if (serialPort.IsOpen) |
|||
{ |
|||
comboBox_comport.Enabled = false; //COM포트설정 콤보박스 비활성화
|
|||
((Button)(sender)).Text = "CLOSE"; |
|||
|
|||
} |
|||
else |
|||
{ |
|||
comboBox_comport.Enabled = true; //COM포트설정 콤보박스 비활성화
|
|||
((Button)(sender)).Text = "OPEN"; |
|||
} |
|||
} |
|||
|
|||
|
|||
private void serialPort_DataReceived(object sender, SerialDataReceivedEventArgs e) |
|||
{ |
|||
try |
|||
{ |
|||
this.Invoke(new EventHandler(SerialReceived)); |
|||
} |
|||
catch |
|||
{ |
|||
Console.WriteLine("error : " + e); |
|||
} |
|||
} |
|||
|
|||
private void updateList(Data data) |
|||
{ |
|||
|
|||
macList.Add(data); |
|||
|
|||
|
|||
ListViewItem lvi = new ListViewItem((macList.Count).ToString()); |
|||
//lvi.SubItems.Add();
|
|||
lvi.SubItems.Add(data.MacAddr); |
|||
lvi.SubItems.Add(data.Write_Date); |
|||
lvi.SubItems.Add(data.Write_Time); |
|||
|
|||
listView_maclist.Items.Add(lvi); |
|||
|
|||
|
|||
String tempbuf = data.MacAddr + ',' + data.Write_Date + ',' + data.Write_Time; |
|||
|
|||
//savedMacList.Add(tempbuf);
|
|||
|
|||
runTimeData.Add(tempbuf); |
|||
Properties.Settings.Default.savedmaclist = runTimeData; |
|||
Properties.Settings.Default.Save(); |
|||
|
|||
|
|||
listView_maclist.EnsureVisible(macList.Count - 1); |
|||
|
|||
foreach (ListViewItem item in listView_maclist.Items) |
|||
{ |
|||
item.BackColor = Color.Transparent; |
|||
} |
|||
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; |
|||
int data_len = 0; |
|||
byte[] b_tmp_buf = new byte[i_recv_size]; |
|||
string recv_str = ""; |
|||
|
|||
if (i_recv_size == 0) |
|||
return; |
|||
serialPort.Read(b_tmp_buf, 0, i_recv_size); |
|||
recv_str = Encoding.Default.GetString(b_tmp_buf); |
|||
|
|||
|
|||
Console.WriteLine(recv_str); |
|||
|
|||
for (int i = 0; i < i_recv_size; i++) |
|||
{ |
|||
if (b_tmp_buf[i] == '#') |
|||
{ |
|||
flag_start = true; |
|||
continue; |
|||
} |
|||
|
|||
if (flag_start == true) |
|||
{ |
|||
mSerial_Buff[mSerial_Buff_idx++] = b_tmp_buf[i]; |
|||
|
|||
if (mSerial_Buff_idx > 1) |
|||
{ |
|||
|
|||
if (b_tmp_buf[i] == '$') |
|||
{ |
|||
flag_end = true; |
|||
} |
|||
|
|||
if (flag_end == true) |
|||
{ |
|||
byte[] temp = new byte[mSerial_Buff_idx-1]; |
|||
Array.Copy(mSerial_Buff, temp, mSerial_Buff_idx-1); |
|||
|
|||
// For Debugging Console
|
|||
string mac = Encoding.Default.GetString(temp); |
|||
|
|||
Console.WriteLine("mac : " + mac); |
|||
|
|||
String date = DateTime.Now.ToString("yyyy-MM-dd"); |
|||
String time = DateTime.Now.ToString("HH:mm:ss"); |
|||
|
|||
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;
|
|||
|
|||
} |
|||
|
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
|
|||
public void ListViewToCSV(ListView listView, string filePath, bool includeHidden) |
|||
{ |
|||
//make header string
|
|||
StringBuilder result = new StringBuilder(); |
|||
WriteCSVRow(result, listView.Columns.Count, i => includeHidden || listView.Columns[i].Width > 0, i => listView.Columns[i].Text); |
|||
|
|||
//export data rows
|
|||
foreach (ListViewItem listItem in listView.Items) |
|||
WriteCSVRow(result, listView.Columns.Count, i => includeHidden || listView.Columns[i].Width > 0, i => listItem.SubItems[i].Text); |
|||
|
|||
File.WriteAllText(filePath, result.ToString()); |
|||
|
|||
|
|||
if (MessageBox.Show("저장이 완료되었습니다. 목록을 삭제할까요? ", "데이터 삭제", MessageBoxButtons.YesNo) == DialogResult.Yes) |
|||
{ |
|||
// MessageBox.Show("예 클릭");
|
|||
macList.Clear(); |
|||
listView.Clear(); |
|||
|
|||
Properties.Settings.Default.savedmaclist.Clear(); |
|||
Properties.Settings.Default.Save(); |
|||
|
|||
label_lastmac.Text = ""; |
|||
} |
|||
else |
|||
{ |
|||
// MessageBox.Show("아니요 클릭");
|
|||
} |
|||
|
|||
} |
|||
|
|||
private static void WriteCSVRow(StringBuilder result, int itemsCount, Func<int, bool> isColumnNeeded, Func<int, string> columnValue) |
|||
{ |
|||
bool isFirstTime = true; |
|||
for (int i = 0; i < itemsCount; i++) |
|||
{ |
|||
if (!isColumnNeeded(i)) |
|||
continue; |
|||
|
|||
if (!isFirstTime) |
|||
result.Append(","); |
|||
isFirstTime = false; |
|||
|
|||
result.Append(String.Format("\"{0}\"", columnValue(i))); |
|||
|
|||
|
|||
} |
|||
result.AppendLine(); |
|||
} |
|||
|
|||
private void button_removeAll_Click(object sender, EventArgs e) |
|||
{ |
|||
if(macList.Count > 0) |
|||
{ |
|||
if (MessageBox.Show("목록을 삭제할까요? ", "데이터 삭제", MessageBoxButtons.YesNo) == DialogResult.Yes) |
|||
{ |
|||
macList.Clear(); |
|||
listView_maclist.Items.Clear(); |
|||
|
|||
Properties.Settings.Default.savedmaclist.Clear(); |
|||
Properties.Settings.Default.Save(); |
|||
label_lastmac.Text = ""; |
|||
} |
|||
} |
|||
else |
|||
{ |
|||
MessageBox.Show("삭제할 데이터가 없습니다."); |
|||
} |
|||
|
|||
} |
|||
|
|||
private void button_add_test_Click(object sender, EventArgs e) |
|||
{ |
|||
var chars = "ABCDE0123456789"; |
|||
var stringChars = new char[17]; |
|||
var random = new Random(); |
|||
|
|||
for (int i = 0; i < stringChars.Length; i++) |
|||
{ |
|||
if (i == 2 || i == 5 || i == 8 || i == 11 || i == 14) |
|||
stringChars[i] = ':'; |
|||
else |
|||
stringChars[i] = chars[random.Next(chars.Length)]; |
|||
} |
|||
var temp_mac = new String(stringChars); |
|||
|
|||
|
|||
String date = DateTime.Now.ToString("yyyy-MM-dd"); |
|||
String time = DateTime.Now.ToString("HH:mm:ss"); |
|||
|
|||
Data data = new Data(temp_mac, date, time); |
|||
updateList(data); |
|||
|
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,123 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<root> |
|||
<!-- |
|||
Microsoft ResX Schema |
|||
|
|||
Version 2.0 |
|||
|
|||
The primary goals of this format is to allow a simple XML format |
|||
that is mostly human readable. The generation and parsing of the |
|||
various data types are done through the TypeConverter classes |
|||
associated with the data types. |
|||
|
|||
Example: |
|||
|
|||
... ado.net/XML headers & schema ... |
|||
<resheader name="resmimetype">text/microsoft-resx</resheader> |
|||
<resheader name="version">2.0</resheader> |
|||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
|||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
|||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
|||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
|||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
|||
<value>[base64 mime encoded serialized .NET Framework object]</value> |
|||
</data> |
|||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
|||
<comment>This is a comment</comment> |
|||
</data> |
|||
|
|||
There are any number of "resheader" rows that contain simple |
|||
name/value pairs. |
|||
|
|||
Each data row contains a name, and value. The row also contains a |
|||
type or mimetype. Type corresponds to a .NET class that support |
|||
text/value conversion through the TypeConverter architecture. |
|||
Classes that don't support this are serialized and stored with the |
|||
mimetype set. |
|||
|
|||
The mimetype is used for serialized objects, and tells the |
|||
ResXResourceReader how to depersist the object. This is currently not |
|||
extensible. For a given mimetype the value must be set accordingly: |
|||
|
|||
Note - application/x-microsoft.net.object.binary.base64 is the format |
|||
that the ResXResourceWriter will generate, however the reader can |
|||
read any of the formats listed below. |
|||
|
|||
mimetype: application/x-microsoft.net.object.binary.base64 |
|||
value : The object must be serialized with |
|||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
|||
: and then encoded with base64 encoding. |
|||
|
|||
mimetype: application/x-microsoft.net.object.soap.base64 |
|||
value : The object must be serialized with |
|||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
|||
: and then encoded with base64 encoding. |
|||
|
|||
mimetype: application/x-microsoft.net.object.bytearray.base64 |
|||
value : The object must be serialized into a byte array |
|||
: using a System.ComponentModel.TypeConverter |
|||
: and then encoded with base64 encoding. |
|||
--> |
|||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
|||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
|||
<xsd:element name="root" msdata:IsDataSet="true"> |
|||
<xsd:complexType> |
|||
<xsd:choice maxOccurs="unbounded"> |
|||
<xsd:element name="metadata"> |
|||
<xsd:complexType> |
|||
<xsd:sequence> |
|||
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
|||
</xsd:sequence> |
|||
<xsd:attribute name="name" use="required" type="xsd:string" /> |
|||
<xsd:attribute name="type" type="xsd:string" /> |
|||
<xsd:attribute name="mimetype" type="xsd:string" /> |
|||
<xsd:attribute ref="xml:space" /> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
<xsd:element name="assembly"> |
|||
<xsd:complexType> |
|||
<xsd:attribute name="alias" type="xsd:string" /> |
|||
<xsd:attribute name="name" type="xsd:string" /> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
<xsd:element name="data"> |
|||
<xsd:complexType> |
|||
<xsd:sequence> |
|||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
|||
</xsd:sequence> |
|||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
|||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
|||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
|||
<xsd:attribute ref="xml:space" /> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
<xsd:element name="resheader"> |
|||
<xsd:complexType> |
|||
<xsd:sequence> |
|||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|||
</xsd:sequence> |
|||
<xsd:attribute name="name" type="xsd:string" use="required" /> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
</xsd:choice> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
</xsd:schema> |
|||
<resheader name="resmimetype"> |
|||
<value>text/microsoft-resx</value> |
|||
</resheader> |
|||
<resheader name="version"> |
|||
<value>2.0</value> |
|||
</resheader> |
|||
<resheader name="reader"> |
|||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|||
</resheader> |
|||
<resheader name="writer"> |
|||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|||
</resheader> |
|||
<metadata name="serialPort.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
|||
<value>17, 17</value> |
|||
</metadata> |
|||
</root> |
|||
@ -0,0 +1,84 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
|||
<PropertyGroup> |
|||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|||
<ProjectGuid>{33FBE60C-5361-4F57-A5DB-9D78CA702676}</ProjectGuid> |
|||
<OutputType>WinExe</OutputType> |
|||
<RootNamespace>MacManagerForTemPatch</RootNamespace> |
|||
<AssemblyName>MacManagerForTemPatch</AssemblyName> |
|||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion> |
|||
<FileAlignment>512</FileAlignment> |
|||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
|||
<Deterministic>true</Deterministic> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|||
<PlatformTarget>AnyCPU</PlatformTarget> |
|||
<DebugSymbols>true</DebugSymbols> |
|||
<DebugType>full</DebugType> |
|||
<Optimize>false</Optimize> |
|||
<OutputPath>bin\Debug\</OutputPath> |
|||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|||
<PlatformTarget>AnyCPU</PlatformTarget> |
|||
<DebugType>pdbonly</DebugType> |
|||
<Optimize>true</Optimize> |
|||
<OutputPath>bin\Release\</OutputPath> |
|||
<DefineConstants>TRACE</DefineConstants> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<Reference Include="System" /> |
|||
<Reference Include="System.Core" /> |
|||
<Reference Include="System.Xml.Linq" /> |
|||
<Reference Include="System.Data.DataSetExtensions" /> |
|||
<Reference Include="Microsoft.CSharp" /> |
|||
<Reference Include="System.Data" /> |
|||
<Reference Include="System.Deployment" /> |
|||
<Reference Include="System.Drawing" /> |
|||
<Reference Include="System.Net.Http" /> |
|||
<Reference Include="System.Windows.Forms" /> |
|||
<Reference Include="System.Xml" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Compile Include="Data.cs" /> |
|||
<Compile Include="Form1.cs"> |
|||
<SubType>Form</SubType> |
|||
</Compile> |
|||
<Compile Include="Form1.Designer.cs"> |
|||
<DependentUpon>Form1.cs</DependentUpon> |
|||
</Compile> |
|||
<Compile Include="Program.cs" /> |
|||
<Compile Include="Properties\AssemblyInfo.cs" /> |
|||
<EmbeddedResource Include="Form1.resx"> |
|||
<DependentUpon>Form1.cs</DependentUpon> |
|||
</EmbeddedResource> |
|||
<EmbeddedResource Include="Properties\Resources.resx"> |
|||
<Generator>ResXFileCodeGenerator</Generator> |
|||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> |
|||
<SubType>Designer</SubType> |
|||
</EmbeddedResource> |
|||
<Compile Include="Properties\Resources.Designer.cs"> |
|||
<AutoGen>True</AutoGen> |
|||
<DependentUpon>Resources.resx</DependentUpon> |
|||
</Compile> |
|||
<None Include="Properties\Settings.settings"> |
|||
<Generator>SettingsSingleFileGenerator</Generator> |
|||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> |
|||
</None> |
|||
<Compile Include="Properties\Settings.Designer.cs"> |
|||
<AutoGen>True</AutoGen> |
|||
<DependentUpon>Settings.settings</DependentUpon> |
|||
<DesignTimeSharedInput>True</DesignTimeSharedInput> |
|||
</Compile> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<None Include="App.config" /> |
|||
</ItemGroup> |
|||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
|||
</Project> |
|||
@ -0,0 +1,25 @@ |
|||
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00 |
|||
# Visual Studio Version 16 |
|||
VisualStudioVersion = 16.0.30717.126 |
|||
MinimumVisualStudioVersion = 10.0.40219.1 |
|||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MacManagerForTemPatch", "MacManagerForTemPatch.csproj", "{33FBE60C-5361-4F57-A5DB-9D78CA702676}" |
|||
EndProject |
|||
Global |
|||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
|||
Debug|Any CPU = Debug|Any CPU |
|||
Release|Any CPU = Release|Any CPU |
|||
EndGlobalSection |
|||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
|||
{33FBE60C-5361-4F57-A5DB-9D78CA702676}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|||
{33FBE60C-5361-4F57-A5DB-9D78CA702676}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|||
{33FBE60C-5361-4F57-A5DB-9D78CA702676}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|||
{33FBE60C-5361-4F57-A5DB-9D78CA702676}.Release|Any CPU.Build.0 = Release|Any CPU |
|||
EndGlobalSection |
|||
GlobalSection(SolutionProperties) = preSolution |
|||
HideSolutionNode = FALSE |
|||
EndGlobalSection |
|||
GlobalSection(ExtensibilityGlobals) = postSolution |
|||
SolutionGuid = {4876E562-C078-454B-8FB5-1B0CDE89879A} |
|||
EndGlobalSection |
|||
EndGlobal |
|||
@ -0,0 +1,22 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Threading.Tasks; |
|||
using System.Windows.Forms; |
|||
|
|||
namespace MacManagerForTemPatch |
|||
{ |
|||
static class Program |
|||
{ |
|||
/// <summary>
|
|||
/// 해당 애플리케이션의 주 진입점입니다.
|
|||
/// </summary>
|
|||
[STAThread] |
|||
static void Main() |
|||
{ |
|||
Application.EnableVisualStyles(); |
|||
Application.SetCompatibleTextRenderingDefault(false); |
|||
Application.Run(new Form1()); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,36 @@ |
|||
using System.Reflection; |
|||
using System.Runtime.CompilerServices; |
|||
using System.Runtime.InteropServices; |
|||
|
|||
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
|
|||
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
|
|||
// 이러한 특성 값을 변경하세요.
|
|||
[assembly: AssemblyTitle("MacManagerForTemPatch")] |
|||
[assembly: AssemblyDescription("")] |
|||
[assembly: AssemblyConfiguration("")] |
|||
[assembly: AssemblyCompany("")] |
|||
[assembly: AssemblyProduct("MacManagerForTemPatch")] |
|||
[assembly: AssemblyCopyright("Copyright © 2021")] |
|||
[assembly: AssemblyTrademark("")] |
|||
[assembly: AssemblyCulture("")] |
|||
|
|||
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
|
|||
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
|
|||
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
|
|||
[assembly: ComVisible(false)] |
|||
|
|||
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
|
|||
[assembly: Guid("33fbe60c-5361-4f57-a5db-9d78ca702676")] |
|||
|
|||
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
|
|||
//
|
|||
// 주 버전
|
|||
// 부 버전
|
|||
// 빌드 번호
|
|||
// 수정 버전
|
|||
//
|
|||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
|||
// 기본값으로 할 수 있습니다.
|
|||
// [assembly: AssemblyVersion("1.0.*")]
|
|||
[assembly: AssemblyVersion("1.0.0.0")] |
|||
[assembly: AssemblyFileVersion("1.0.0.0")] |
|||
@ -0,0 +1,70 @@ |
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// 이 코드는 도구를 사용하여 생성되었습니다.
|
|||
// 런타임 버전:4.0.30319.42000
|
|||
//
|
|||
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
|||
// 이러한 변경 내용이 손실됩니다.
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
|
|||
namespace MacManagerForTemPatch.Properties |
|||
{ |
|||
/// <summary>
|
|||
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
|
|||
/// </summary>
|
|||
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
|
|||
// 클래스에서 자동으로 생성되었습니다.
|
|||
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여
|
|||
// ResGen을 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
|
|||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] |
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
|||
internal class Resources |
|||
{ |
|||
|
|||
private static global::System.Resources.ResourceManager resourceMan; |
|||
|
|||
private static global::System.Globalization.CultureInfo resourceCulture; |
|||
|
|||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] |
|||
internal Resources() |
|||
{ |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
|
|||
/// </summary>
|
|||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
|||
internal static global::System.Resources.ResourceManager ResourceManager |
|||
{ |
|||
get |
|||
{ |
|||
if ((resourceMan == null)) |
|||
{ |
|||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MacManagerForTemPatch.Properties.Resources", typeof(Resources).Assembly); |
|||
resourceMan = temp; |
|||
} |
|||
return resourceMan; |
|||
} |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
|
|||
/// 재정의합니다.
|
|||
/// </summary>
|
|||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
|||
internal static global::System.Globalization.CultureInfo Culture |
|||
{ |
|||
get |
|||
{ |
|||
return resourceCulture; |
|||
} |
|||
set |
|||
{ |
|||
resourceCulture = value; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,117 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<root> |
|||
<!-- |
|||
Microsoft ResX Schema |
|||
|
|||
Version 2.0 |
|||
|
|||
The primary goals of this format is to allow a simple XML format |
|||
that is mostly human readable. The generation and parsing of the |
|||
various data types are done through the TypeConverter classes |
|||
associated with the data types. |
|||
|
|||
Example: |
|||
|
|||
... ado.net/XML headers & schema ... |
|||
<resheader name="resmimetype">text/microsoft-resx</resheader> |
|||
<resheader name="version">2.0</resheader> |
|||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
|||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
|||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
|||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
|||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
|||
<value>[base64 mime encoded serialized .NET Framework object]</value> |
|||
</data> |
|||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
|||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
|||
<comment>This is a comment</comment> |
|||
</data> |
|||
|
|||
There are any number of "resheader" rows that contain simple |
|||
name/value pairs. |
|||
|
|||
Each data row contains a name, and value. The row also contains a |
|||
type or mimetype. Type corresponds to a .NET class that support |
|||
text/value conversion through the TypeConverter architecture. |
|||
Classes that don't support this are serialized and stored with the |
|||
mimetype set. |
|||
|
|||
The mimetype is used for serialized objects, and tells the |
|||
ResXResourceReader how to depersist the object. This is currently not |
|||
extensible. For a given mimetype the value must be set accordingly: |
|||
|
|||
Note - application/x-microsoft.net.object.binary.base64 is the format |
|||
that the ResXResourceWriter will generate, however the reader can |
|||
read any of the formats listed below. |
|||
|
|||
mimetype: application/x-microsoft.net.object.binary.base64 |
|||
value : The object must be serialized with |
|||
: System.Serialization.Formatters.Binary.BinaryFormatter |
|||
: and then encoded with base64 encoding. |
|||
|
|||
mimetype: application/x-microsoft.net.object.soap.base64 |
|||
value : The object must be serialized with |
|||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
|||
: and then encoded with base64 encoding. |
|||
|
|||
mimetype: application/x-microsoft.net.object.bytearray.base64 |
|||
value : The object must be serialized into a byte array |
|||
: using a System.ComponentModel.TypeConverter |
|||
: and then encoded with base64 encoding. |
|||
--> |
|||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
|||
<xsd:element name="root" msdata:IsDataSet="true"> |
|||
<xsd:complexType> |
|||
<xsd:choice maxOccurs="unbounded"> |
|||
<xsd:element name="metadata"> |
|||
<xsd:complexType> |
|||
<xsd:sequence> |
|||
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
|||
</xsd:sequence> |
|||
<xsd:attribute name="name" type="xsd:string" /> |
|||
<xsd:attribute name="type" type="xsd:string" /> |
|||
<xsd:attribute name="mimetype" type="xsd:string" /> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
<xsd:element name="assembly"> |
|||
<xsd:complexType> |
|||
<xsd:attribute name="alias" type="xsd:string" /> |
|||
<xsd:attribute name="name" type="xsd:string" /> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
<xsd:element name="data"> |
|||
<xsd:complexType> |
|||
<xsd:sequence> |
|||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
|||
</xsd:sequence> |
|||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> |
|||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
|||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
<xsd:element name="resheader"> |
|||
<xsd:complexType> |
|||
<xsd:sequence> |
|||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
|||
</xsd:sequence> |
|||
<xsd:attribute name="name" type="xsd:string" use="required" /> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
</xsd:choice> |
|||
</xsd:complexType> |
|||
</xsd:element> |
|||
</xsd:schema> |
|||
<resheader name="resmimetype"> |
|||
<value>text/microsoft-resx</value> |
|||
</resheader> |
|||
<resheader name="version"> |
|||
<value>2.0</value> |
|||
</resheader> |
|||
<resheader name="reader"> |
|||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|||
</resheader> |
|||
<resheader name="writer"> |
|||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
|||
</resheader> |
|||
</root> |
|||
@ -0,0 +1,37 @@ |
|||
//------------------------------------------------------------------------------
|
|||
// <auto-generated>
|
|||
// 이 코드는 도구를 사용하여 생성되었습니다.
|
|||
// 런타임 버전:4.0.30319.42000
|
|||
//
|
|||
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
|||
// 이러한 변경 내용이 손실됩니다.
|
|||
// </auto-generated>
|
|||
//------------------------------------------------------------------------------
|
|||
|
|||
namespace MacManagerForTemPatch.Properties { |
|||
|
|||
|
|||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
|||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] |
|||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { |
|||
|
|||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); |
|||
|
|||
public static Settings Default { |
|||
get { |
|||
return defaultInstance; |
|||
} |
|||
} |
|||
|
|||
[global::System.Configuration.UserScopedSettingAttribute()] |
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|||
public global::System.Collections.Specialized.StringCollection savedmaclist { |
|||
get { |
|||
return ((global::System.Collections.Specialized.StringCollection)(this["savedmaclist"])); |
|||
} |
|||
set { |
|||
this["savedmaclist"] = value; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
<?xml version='1.0' encoding='utf-8'?> |
|||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="MacManagerForTemPatch.Properties" GeneratedClassName="Settings"> |
|||
<Profiles /> |
|||
<Settings> |
|||
<Setting Name="savedmaclist" Type="System.Collections.Specialized.StringCollection" Scope="User"> |
|||
<Value Profile="(Default)" /> |
|||
</Setting> |
|||
</Settings> |
|||
</SettingsFile> |
|||
Binary file not shown.
@ -0,0 +1,8 @@ |
|||
<?xml version="1.0" encoding="utf-8" ?> |
|||
<configuration> |
|||
<configSections> |
|||
</configSections> |
|||
<startup> |
|||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> |
|||
</startup> |
|||
</configuration> |
|||
Binary file not shown.
@ -0,0 +1,4 @@ |
|||
// <autogenerated />
|
|||
using System; |
|||
using System.Reflection; |
|||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName = ".NET Framework 4.6")] |
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@ |
|||
49398682182476f0f583aeb030b0540c61292e83 |
|||
@ -0,0 +1,10 @@ |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\bin\Debug\MacManagerForTemPatch.exe.config |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\bin\Debug\MacManagerForTemPatch.exe |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\bin\Debug\MacManagerForTemPatch.pdb |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\obj\Debug\MacManagerForTemPatch.csprojAssemblyReference.cache |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\obj\Debug\MacManagerForTemPatch.Form1.resources |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\obj\Debug\MacManagerForTemPatch.Properties.Resources.resources |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\obj\Debug\MacManagerForTemPatch.csproj.GenerateResource.cache |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\obj\Debug\MacManagerForTemPatch.csproj.CoreCompileInputs.cache |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\obj\Debug\MacManagerForTemPatch.exe |
|||
D:\MobidigmProject\TemPatch_MacManager\MacManagerForTemPatch\obj\Debug\MacManagerForTemPatch.pdb |
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue