commit 21695feb357c67720f28607b3fb0b2ff0c34ef24 Author: HenryHoy Date: Fri Mar 26 17:24:34 2021 +0900 first commit diff --git a/.vs/MacManagerForTemPatch/v16/.suo b/.vs/MacManagerForTemPatch/v16/.suo new file mode 100644 index 0000000..34a01f8 Binary files /dev/null and b/.vs/MacManagerForTemPatch/v16/.suo differ diff --git a/App.config b/App.config new file mode 100644 index 0000000..b4bff9c --- /dev/null +++ b/App.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Data.cs b/Data.cs new file mode 100644 index 0000000..4a44489 --- /dev/null +++ b/Data.cs @@ -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; + } + } +} diff --git a/Form1.Designer.cs b/Form1.Designer.cs new file mode 100644 index 0000000..26508e5 --- /dev/null +++ b/Form1.Designer.cs @@ -0,0 +1,221 @@ + +namespace MacManagerForTemPatch +{ + partial class Form1 + { + /// + /// 필수 디자이너 변수입니다. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 사용 중인 모든 리소스를 정리합니다. + /// + /// 관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form 디자이너에서 생성한 코드 + + /// + /// 디자이너 지원에 필요한 메서드입니다. + /// 이 메서드의 내용을 코드 편집기로 수정하지 마세요. + /// + 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; + } +} + diff --git a/Form1.cs b/Form1.cs new file mode 100644 index 0000000..1ef5739 --- /dev/null +++ b/Form1.cs @@ -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 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(); + + 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 isColumnNeeded, Func 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); + + } + } +} diff --git a/Form1.resx b/Form1.resx new file mode 100644 index 0000000..b4058b2 --- /dev/null +++ b/Form1.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/MacManagerForTemPatch.csproj b/MacManagerForTemPatch.csproj new file mode 100644 index 0000000..bb9c35b --- /dev/null +++ b/MacManagerForTemPatch.csproj @@ -0,0 +1,84 @@ + + + + + Debug + AnyCPU + {33FBE60C-5361-4F57-A5DB-9D78CA702676} + WinExe + MacManagerForTemPatch + MacManagerForTemPatch + v4.6 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/MacManagerForTemPatch.sln b/MacManagerForTemPatch.sln new file mode 100644 index 0000000..4e499bc --- /dev/null +++ b/MacManagerForTemPatch.sln @@ -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 diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..9c39bb6 --- /dev/null +++ b/Program.cs @@ -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 + { + /// + /// 해당 애플리케이션의 주 진입점입니다. + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..58e7287 --- /dev/null +++ b/Properties/AssemblyInfo.cs @@ -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")] diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs new file mode 100644 index 0000000..df85aa8 --- /dev/null +++ b/Properties/Resources.Designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + + +namespace MacManagerForTemPatch.Properties +{ + /// + /// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. + /// + // 이 클래스는 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() + { + } + + /// + /// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. + /// + [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; + } + } + + /// + /// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을 + /// 재정의합니다. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/Properties/Resources.resx b/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs new file mode 100644 index 0000000..537523d --- /dev/null +++ b/Properties/Settings.Designer.cs @@ -0,0 +1,37 @@ +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +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; + } + } + } +} diff --git a/Properties/Settings.settings b/Properties/Settings.settings new file mode 100644 index 0000000..f9107b2 --- /dev/null +++ b/Properties/Settings.settings @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/bin/Debug/MacManagerForTemPatch.exe b/bin/Debug/MacManagerForTemPatch.exe new file mode 100644 index 0000000..aa05c6c Binary files /dev/null and b/bin/Debug/MacManagerForTemPatch.exe differ diff --git a/bin/Debug/MacManagerForTemPatch.exe.config b/bin/Debug/MacManagerForTemPatch.exe.config new file mode 100644 index 0000000..b4bff9c --- /dev/null +++ b/bin/Debug/MacManagerForTemPatch.exe.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/bin/Debug/MacManagerForTemPatch.pdb b/bin/Debug/MacManagerForTemPatch.pdb new file mode 100644 index 0000000..d0f8e77 Binary files /dev/null and b/bin/Debug/MacManagerForTemPatch.pdb differ diff --git a/obj/Debug/.NETFramework,Version=v4.6.AssemblyAttributes.cs b/obj/Debug/.NETFramework,Version=v4.6.AssemblyAttributes.cs new file mode 100644 index 0000000..a216cb0 --- /dev/null +++ b/obj/Debug/.NETFramework,Version=v4.6.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName = ".NET Framework 4.6")] diff --git a/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..8d52dfd Binary files /dev/null and b/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..726adfa Binary files /dev/null and b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/obj/Debug/MacManagerForTemPatch.Form1.resources b/obj/Debug/MacManagerForTemPatch.Form1.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/obj/Debug/MacManagerForTemPatch.Form1.resources differ diff --git a/obj/Debug/MacManagerForTemPatch.Properties.Resources.resources b/obj/Debug/MacManagerForTemPatch.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/obj/Debug/MacManagerForTemPatch.Properties.Resources.resources differ diff --git a/obj/Debug/MacManagerForTemPatch.csproj.CoreCompileInputs.cache b/obj/Debug/MacManagerForTemPatch.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..9d69a9a --- /dev/null +++ b/obj/Debug/MacManagerForTemPatch.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +49398682182476f0f583aeb030b0540c61292e83 diff --git a/obj/Debug/MacManagerForTemPatch.csproj.FileListAbsolute.txt b/obj/Debug/MacManagerForTemPatch.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..8af3936 --- /dev/null +++ b/obj/Debug/MacManagerForTemPatch.csproj.FileListAbsolute.txt @@ -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 diff --git a/obj/Debug/MacManagerForTemPatch.csproj.GenerateResource.cache b/obj/Debug/MacManagerForTemPatch.csproj.GenerateResource.cache new file mode 100644 index 0000000..574ce23 Binary files /dev/null and b/obj/Debug/MacManagerForTemPatch.csproj.GenerateResource.cache differ diff --git a/obj/Debug/MacManagerForTemPatch.csprojAssemblyReference.cache b/obj/Debug/MacManagerForTemPatch.csprojAssemblyReference.cache new file mode 100644 index 0000000..050502c Binary files /dev/null and b/obj/Debug/MacManagerForTemPatch.csprojAssemblyReference.cache differ diff --git a/obj/Debug/MacManagerForTemPatch.exe b/obj/Debug/MacManagerForTemPatch.exe new file mode 100644 index 0000000..aa05c6c Binary files /dev/null and b/obj/Debug/MacManagerForTemPatch.exe differ diff --git a/obj/Debug/MacManagerForTemPatch.pdb b/obj/Debug/MacManagerForTemPatch.pdb new file mode 100644 index 0000000..d0f8e77 Binary files /dev/null and b/obj/Debug/MacManagerForTemPatch.pdb differ