--- /dev/null
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.31019.35
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "newton-cn", "newton-cn\newton-cn.csproj", "{2C132434-6883-42E4-A80F-EA6C262A4014}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2C132434-6883-42E4-A80F-EA6C262A4014}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2C132434-6883-42E4-A80F-EA6C262A4014}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2C132434-6883-42E4-A80F-EA6C262A4014}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2C132434-6883-42E4-A80F-EA6C262A4014}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {AEE22B90-821B-4076-924E-CBE8BFBB8443}
+ EndGlobalSection
+EndGlobal
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <startup>
+
+ <supportedRuntime version="v2.0.50727"/></startup>
+</configuration>
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+//using System.Threading.Tasks;
+using System.Data;
+using System.Data.SqlClient;
+
+namespace newton_cn
+{
+ class DBConnector
+ {
+ public List<Dictionary<string, string>> getList(string item)
+ {
+ List<Dictionary<string, string>> result = new List<Dictionary<string, string>>();
+
+#if DEBUG
+ SqlConnection conn = new SqlConnection("Data Source=newton-cn.iptime.org, 1818; Initial Catalog=food; User ID=newton; Password=newton123!;");
+#else
+ SqlConnection conn = new SqlConnection("Data Source=localhost; Initial Catalog=food; User ID=newton; Password=newton123!;");
+#endif
+
+ conn.Open();
+
+ string sql = "";
+ sql += @"
+ select
+ a1.pr_name, a2.kind_name, a1.pr_order, a2.kind_order, a1.pr_price1
+ from
+ pr a1
+ join kind a2
+ on a1.kind_code = a2.kind_code
+ where
+ pr_name like '%" + item + @"%' and
+ kind_visible = 0 and pr_visible= 0";
+
+ SqlCommand cmd_select = new SqlCommand(sql, conn);
+
+ SqlDataReader rd = cmd_select.ExecuteReader();
+
+ while (rd.Read())
+ {
+ Dictionary<string, string> dict = new Dictionary<string, string>();
+ dict["pr_name"] = rd["pr_name"].ToString();
+ dict["pr_price1"] = rd["pr_price1"].ToString().Split('.')[0];
+ dict["kind_name"] = rd["kind_name"].ToString();
+ dict["pr_order"] = rd["pr_order"].ToString();
+ dict["kind_order"] = rd["kind_order"].ToString();
+ result.Add(dict);
+ }
+
+ return result;
+ }
+
+ public int getKind()
+ {
+ int result = 0;
+
+#if DEBUG
+ SqlConnection conn = new SqlConnection("Data Source=125.133.161.13, 1818; Initial Catalog=food; User ID=newton; Password=newton123!;");
+#else
+ SqlConnection conn = new SqlConnection("Data Source=localhost; Initial Catalog=food; User ID=newton; Password=newton123!;");
+#endif
+
+ conn.Open();
+
+ string sql = "";
+ sql += "select count(kind_code) as count from kind where kind_visible= 0";
+
+ SqlCommand cmd_select = new SqlCommand(sql, conn);
+
+ SqlDataReader rd = cmd_select.ExecuteReader();
+
+ while (rd.Read())
+ {
+ result = int.Parse(rd["count"].ToString());
+ }
+
+ return result;
+ }
+ }
+}
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Linq;
+using System.Runtime.InteropServices;
+using System.Text;
+using System.Windows.Forms;
+
+namespace newton_cn
+{
+ class EclipseControl : Component
+ {
+ [DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")]
+ private static extern IntPtr CreateRoundRectRgn
+ (
+ int nLeftRect,
+ int nTopRect,
+ int nRightRect,
+ int nBottomRect,
+ int nWidthEllipse,
+ int nHeightEllipse
+ );
+ private Control _cntrl;
+ private int _CornerRadius = 30;
+
+ public Control TargetControl
+ {
+ get { return _cntrl; }
+ set
+ {
+ _cntrl = value;
+ _cntrl.SizeChanged += (sender, eventArgs) =>
+ _cntrl.Region = Region.FromHrgn(CreateRoundRectRgn(0, 0, _cntrl.Width, _cntrl.Height, _CornerRadius, _CornerRadius));
+ }
+ }
+
+ public int CornerRadius
+ {
+ get { return _CornerRadius; }
+ set
+ {
+ _CornerRadius = value;
+ if (_cntrl != null)
+ _cntrl.Region = Region.FromHrgn(CreateRoundRectRgn(0, 0, _cntrl.Width, _cntrl.Height, _CornerRadius, _CornerRadius));
+ }
+ }
+ }
+}
--- /dev/null
+
+namespace newton_cn
+{
+ 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.button1 = new System.Windows.Forms.Button();
+ this.button2 = new System.Windows.Forms.Button();
+ this.eclipseControl1 = new newton_cn.EclipseControl();
+ this.button3 = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // button1
+ //
+ this.button1.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.button1.Location = new System.Drawing.Point(83, 5);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(58, 30);
+ this.button1.TabIndex = 0;
+ this.button1.Text = "상품";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click_1);
+ //
+ // button2
+ //
+ this.button2.Font = new System.Drawing.Font("굴림", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.button2.Location = new System.Drawing.Point(147, 5);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(28, 30);
+ this.button2.TabIndex = 1;
+ this.button2.Text = "φ";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // eclipseControl1
+ //
+ this.eclipseControl1.CornerRadius = 20;
+ this.eclipseControl1.TargetControl = this;
+ //
+ // button3
+ //
+ this.button3.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.button3.Location = new System.Drawing.Point(12, 5);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(65, 30);
+ this.button3.TabIndex = 2;
+ this.button3.Text = "적립금";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.SystemColors.ActiveCaption;
+ this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.ClientSize = new System.Drawing.Size(187, 40);
+ this.Controls.Add(this.button3);
+ this.Controls.Add(this.button2);
+ this.Controls.Add(this.button1);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
+ this.Location = new System.Drawing.Point(200, 0);
+ this.Name = "Form1";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
+ this.TopMost = true;
+ this.Load += new System.EventHandler(this.Form1_Load);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button button1;
+ private EclipseControl eclipseControl1;
+ private System.Windows.Forms.Button button2;
+ private System.Windows.Forms.Button button3;
+ }
+}
+
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Diagnostics;
+using System.Threading;
+using System.Windows.Forms;
+
+namespace newton_cn
+{
+ public partial class Form1 : Form
+ {
+ protected override CreateParams CreateParams
+ {
+ get
+ {
+ // Turn on WS_EX_TOOLWINDOW style bit
+ CreateParams cp = base.CreateParams;
+ cp.ExStyle |= 0x80;
+ return cp;
+ }
+ }
+
+ public Form1()
+ {
+ this.ShowInTaskbar = false;
+ InitializeComponent();
+ }
+ private void Form1_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ private void button1_Click_1(object sender, EventArgs e)
+ {
+ Console.WriteLine("폼띄우기");
+ Form2 dlg = new Form2();
+
+ dlg.ShowDialog();
+
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ if (MessageBox.Show("메뉴정렬을 시작합니다.", "메뉴정렬", MessageBoxButtons.YesNo) == DialogResult.Yes)
+ {
+ if (MessageBox.Show("작동중 조작하지마세요.", "메뉴정렬", MessageBoxButtons.YesNo) == DialogResult.Yes)
+ {
+ DBConnector dbc = new DBConnector();
+ int kind = dbc.getKind();
+
+ MouseEvent2 me = new MouseEvent2(kind);
+
+ me.start();
+ }
+ }
+ }
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ Console.WriteLine("폼띄우기");
+ Form3 dlg = new Form3();
+
+ dlg.ShowDialog();
+ }
+ }
+
+
+}
--- /dev/null
+<?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=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>
+ <metadata name="eclipseControl1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+ <value>17, 17</value>
+ </metadata>
+</root>
\ No newline at end of file
--- /dev/null
+
+namespace newton_cn
+{
+ partial class Form2
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.button3 = new System.Windows.Forms.Button();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.listView1 = new System.Windows.Forms.ListView();
+ this.button2 = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // button3
+ //
+ this.button3.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.button3.Location = new System.Drawing.Point(753, 22);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(35, 31);
+ this.button3.TabIndex = 0;
+ this.button3.Text = "X";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("굴림", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.label1.Location = new System.Drawing.Point(12, 22);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(356, 21);
+ this.label1.TabIndex = 3;
+ this.label1.Text = "찾으시려는 제품명을 입력해주세요";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.label2.Location = new System.Drawing.Point(13, 59);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(246, 13);
+ this.label2.TabIndex = 4;
+ this.label2.Text = "예) 캡틴포도 검색시 >> 캡틴, 포도 등";
+ //
+ // textBox1
+ //
+ this.textBox1.BackColor = System.Drawing.SystemColors.HighlightText;
+ this.textBox1.Location = new System.Drawing.Point(12, 75);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(776, 21);
+ this.textBox1.TabIndex = 1;
+ this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
+ //
+ // listView1
+ //
+ this.listView1.BackColor = System.Drawing.SystemColors.HighlightText;
+ this.listView1.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.listView1.HideSelection = false;
+ this.listView1.Location = new System.Drawing.Point(12, 118);
+ this.listView1.Name = "listView1";
+ this.listView1.Size = new System.Drawing.Size(776, 261);
+ this.listView1.TabIndex = 4;
+ this.listView1.UseCompatibleStateImageBehavior = false;
+ this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
+ //
+ // button2
+ //
+ this.button2.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.button2.Location = new System.Drawing.Point(668, 396);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(120, 30);
+ this.button2.TabIndex = 0;
+ this.button2.Text = "찾기";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // Form2
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.SystemColors.HighlightText;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.Controls.Add(this.listView1);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.button3);
+ this.Controls.Add(this.button2);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
+ this.Name = "Form2";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "Form2";
+ this.TopMost = true;
+ this.Load += new System.EventHandler(this.Form2_Load);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private EclipseControl eclipseControl1;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.ListView listView1;
+ private System.Windows.Forms.Button button2;
+ }
+}
\ No newline at end of file
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Windows.Forms;
+using System.Runtime.InteropServices;
+
+namespace newton_cn
+{
+ public partial class Form2 : Form
+ {
+
+
+ [DllImport("user32.dll")]
+ public static extern int SendMessage(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam);
+ public int MakeLong(short lowPart, short highPart)
+ {
+ return (int)(((ushort)lowPart) | (uint)(highPart << 16));
+ }
+
+ public void ListViewItem_SetSpacing(ListView listview, short leftPadding, short topPadding)
+ {
+ const int LVM_FIRST = 0x1000;
+ const int LVM_SETICONSPACING = LVM_FIRST + 53;
+ SendMessage(listview.Handle, LVM_SETICONSPACING, IntPtr.Zero, (IntPtr)MakeLong(leftPadding, topPadding));
+ }
+
+ protected override CreateParams CreateParams
+ {
+ get
+ {
+ // Turn on WS_EX_TOOLWINDOW style bit
+ CreateParams cp = base.CreateParams;
+ cp.ExStyle |= 0x80;
+ return cp;
+ }
+ }
+
+ public Form2()
+ {
+ this.ShowInTaskbar = false;
+ InitializeComponent();
+ }
+
+ private void Form2_Load(object sender, EventArgs e)
+ {
+ ListViewItem_SetSpacing(this.listView1, 500 + 100, 500 + 200);
+ listView1.View = View.Details;
+ listView1.GridLines = true;
+ listView1.FullRowSelect = true;
+
+ listView1.Columns.Add("소속메뉴", 200);
+ listView1.Columns.Add("액상이름", 400);
+ listView1.Columns.Add("가격", 200);
+ listView1.Columns.Add("액상위치", 50);
+ listView1.Columns.Add("메뉴위치", 50);
+
+ this.ActiveControl = textBox1;
+ }
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ Application.OpenForms["Form2"].Close();
+ }
+
+ private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
+ {
+
+ }
+
+ private void textBox1_TextChanged(object sender, EventArgs e)
+ {
+ listView1.Items.Clear();
+ string item_name = textBox1.Text;
+ DBConnector dbc = new DBConnector();
+ List<Dictionary<string, string>> list = dbc.getList(item_name);
+
+ for (int i = 0; i < list.Count; i++)
+ {
+ String[] item =
+ {
+ list[i]["kind_name"],
+ list[i]["pr_name"],
+ list[i]["pr_price1"],
+ list[i]["pr_order"],
+ list[i]["kind_order"]
+ };
+ ListViewItem lvi = new ListViewItem(item);
+ listView1.Items.Add(lvi);
+ }
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ int pr= 0;
+ int kind= 0;
+ ListView.SelectedListViewItemCollection selected = listView1.SelectedItems;
+ foreach(ListViewItem item in selected)
+ {
+
+ for (int i=0; i<listView1.Columns.Count; i++)
+ {
+ if (i == 3)
+ {
+ pr = Int32.Parse(item.SubItems[i].Text);
+ }
+ else if (i == 4)
+ {
+ kind = Int32.Parse(item.SubItems[i].Text);
+ }
+
+ }
+ }
+
+ if (pr == 0 && kind == 0)
+ {
+ MessageBox.Show("찾을 제품이 선택되지 않았습니다.");
+ textBox1.Focus();
+ return;
+ }
+ Application.OpenForms["Form2"].Close();
+ MouseEvent1 me = new MouseEvent1(pr, kind, 1);
+ ThreadStart ts = new ThreadStart(me.find);
+ Thread th = new Thread(ts);
+ th.Start();
+ }
+
+ private void listView1_SelectedIndexChanged(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
--- /dev/null
+<?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=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>
\ No newline at end of file
--- /dev/null
+
+namespace newton_cn
+{
+ partial class Form3
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.button1 = new System.Windows.Forms.Button();
+ this.button2 = new System.Windows.Forms.Button();
+ this.button3 = new System.Windows.Forms.Button();
+ this.button4 = new System.Windows.Forms.Button();
+ this.button5 = new System.Windows.Forms.Button();
+ this.button6 = new System.Windows.Forms.Button();
+ this.button7 = new System.Windows.Forms.Button();
+ this.button8 = new System.Windows.Forms.Button();
+ this.button9 = new System.Windows.Forms.Button();
+ this.button10 = new System.Windows.Forms.Button();
+ this.button11 = new System.Windows.Forms.Button();
+ this.label1 = new System.Windows.Forms.Label();
+ this.button12 = new System.Windows.Forms.Button();
+ this.button13 = new System.Windows.Forms.Button();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.SuspendLayout();
+ //
+ // button1
+ //
+ this.button1.Location = new System.Drawing.Point(39, 86);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(44, 41);
+ this.button1.TabIndex = 0;
+ this.button1.Text = "7";
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // button2
+ //
+ this.button2.Location = new System.Drawing.Point(89, 86);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(44, 41);
+ this.button2.TabIndex = 1;
+ this.button2.Text = "8";
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Click += new System.EventHandler(this.button2_Click);
+ //
+ // button3
+ //
+ this.button3.Location = new System.Drawing.Point(139, 86);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(44, 41);
+ this.button3.TabIndex = 2;
+ this.button3.Text = "9";
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Click += new System.EventHandler(this.button3_Click);
+ //
+ // button4
+ //
+ this.button4.Location = new System.Drawing.Point(39, 133);
+ this.button4.Name = "button4";
+ this.button4.Size = new System.Drawing.Size(44, 41);
+ this.button4.TabIndex = 3;
+ this.button4.Text = "4";
+ this.button4.UseVisualStyleBackColor = true;
+ this.button4.Click += new System.EventHandler(this.button4_Click);
+ //
+ // button5
+ //
+ this.button5.Location = new System.Drawing.Point(89, 133);
+ this.button5.Name = "button5";
+ this.button5.Size = new System.Drawing.Size(44, 41);
+ this.button5.TabIndex = 4;
+ this.button5.Text = "5";
+ this.button5.UseVisualStyleBackColor = true;
+ this.button5.Click += new System.EventHandler(this.button5_Click);
+ //
+ // button6
+ //
+ this.button6.Location = new System.Drawing.Point(139, 133);
+ this.button6.Name = "button6";
+ this.button6.Size = new System.Drawing.Size(44, 41);
+ this.button6.TabIndex = 5;
+ this.button6.Text = "6";
+ this.button6.UseVisualStyleBackColor = true;
+ this.button6.Click += new System.EventHandler(this.button6_Click);
+ //
+ // button7
+ //
+ this.button7.Location = new System.Drawing.Point(39, 180);
+ this.button7.Name = "button7";
+ this.button7.Size = new System.Drawing.Size(44, 41);
+ this.button7.TabIndex = 6;
+ this.button7.Text = "1";
+ this.button7.UseVisualStyleBackColor = true;
+ this.button7.Click += new System.EventHandler(this.button7_Click);
+ //
+ // button8
+ //
+ this.button8.Location = new System.Drawing.Point(139, 180);
+ this.button8.Name = "button8";
+ this.button8.Size = new System.Drawing.Size(44, 41);
+ this.button8.TabIndex = 7;
+ this.button8.Text = "3";
+ this.button8.UseVisualStyleBackColor = true;
+ this.button8.Click += new System.EventHandler(this.button8_Click);
+ //
+ // button9
+ //
+ this.button9.Location = new System.Drawing.Point(89, 180);
+ this.button9.Name = "button9";
+ this.button9.Size = new System.Drawing.Size(44, 41);
+ this.button9.TabIndex = 8;
+ this.button9.Text = "2";
+ this.button9.UseVisualStyleBackColor = true;
+ this.button9.Click += new System.EventHandler(this.button9_Click);
+ //
+ // button10
+ //
+ this.button10.Location = new System.Drawing.Point(39, 227);
+ this.button10.Name = "button10";
+ this.button10.Size = new System.Drawing.Size(44, 41);
+ this.button10.TabIndex = 9;
+ this.button10.Text = "0";
+ this.button10.UseVisualStyleBackColor = true;
+ this.button10.Click += new System.EventHandler(this.button10_Click);
+ //
+ // button11
+ //
+ this.button11.Location = new System.Drawing.Point(89, 227);
+ this.button11.Name = "button11";
+ this.button11.Size = new System.Drawing.Size(94, 41);
+ this.button11.TabIndex = 10;
+ this.button11.Text = "지우기";
+ this.button11.UseVisualStyleBackColor = true;
+ this.button11.Click += new System.EventHandler(this.button11_Click);
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("굴림", 11F);
+ this.label1.Location = new System.Drawing.Point(12, 9);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(87, 15);
+ this.label1.TabIndex = 11;
+ this.label1.Text = "사용 포인트";
+ //
+ // button12
+ //
+ this.button12.Location = new System.Drawing.Point(39, 291);
+ this.button12.Name = "button12";
+ this.button12.Size = new System.Drawing.Size(144, 41);
+ this.button12.TabIndex = 12;
+ this.button12.Text = "확인";
+ this.button12.UseVisualStyleBackColor = true;
+ this.button12.Click += new System.EventHandler(this.button12_Click);
+ //
+ // button13
+ //
+ this.button13.Location = new System.Drawing.Point(192, 1);
+ this.button13.Name = "button13";
+ this.button13.Size = new System.Drawing.Size(29, 29);
+ this.button13.TabIndex = 13;
+ this.button13.Text = "X";
+ this.button13.UseVisualStyleBackColor = true;
+ this.button13.Click += new System.EventHandler(this.button13_Click);
+ //
+ // textBox1
+ //
+ this.textBox1.Font = new System.Drawing.Font("굴림", 15F);
+ this.textBox1.Location = new System.Drawing.Point(39, 38);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.ReadOnly = true;
+ this.textBox1.Size = new System.Drawing.Size(144, 30);
+ this.textBox1.TabIndex = 14;
+ //
+ // Form3
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.CausesValidation = false;
+ this.ClientSize = new System.Drawing.Size(222, 344);
+ this.ControlBox = false;
+ this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.button13);
+ this.Controls.Add(this.button12);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.button11);
+ this.Controls.Add(this.button10);
+ this.Controls.Add(this.button9);
+ this.Controls.Add(this.button8);
+ this.Controls.Add(this.button7);
+ this.Controls.Add(this.button6);
+ this.Controls.Add(this.button5);
+ this.Controls.Add(this.button4);
+ this.Controls.Add(this.button3);
+ this.Controls.Add(this.button2);
+ this.Controls.Add(this.button1);
+ this.Location = new System.Drawing.Point(0, 50);
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "Form3";
+ this.ShowIcon = false;
+ this.ShowInTaskbar = false;
+ this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
+ this.Text = "Form3";
+ this.TopMost = true;
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Button button2;
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.Button button4;
+ private System.Windows.Forms.Button button5;
+ private System.Windows.Forms.Button button6;
+ private System.Windows.Forms.Button button7;
+ private System.Windows.Forms.Button button8;
+ private System.Windows.Forms.Button button9;
+ private System.Windows.Forms.Button button10;
+ private System.Windows.Forms.Button button11;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Button button12;
+ private System.Windows.Forms.Button button13;
+ private System.Windows.Forms.TextBox textBox1;
+ }
+}
\ No newline at end of file
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Windows.Forms;
+
+namespace newton_cn
+{
+ public partial class Form3 : Form
+ {
+
+ public Form3()
+ {
+ InitializeComponent();
+ }
+
+ private void button8_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("3");
+ checkGubun();
+ }
+
+ private void button13_Click(object sender, EventArgs e)
+ {
+ Application.OpenForms["Form3"].Close();
+ }
+
+ private void button11_Click(object sender, EventArgs e)
+ {
+ textBox1.Clear();
+ }
+
+ private void button10_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("0");
+ checkGubun();
+ }
+
+ private void button7_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("1");
+ checkGubun();
+ }
+
+ private void button9_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("2");
+ checkGubun();
+ }
+
+ private void button4_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("4");
+ checkGubun();
+ }
+
+ private void button5_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("5");
+ checkGubun();
+ }
+
+ private void button6_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("6");
+ checkGubun();
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("7");
+ checkGubun();
+ }
+
+ private void button2_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("8");
+ checkGubun();
+ }
+
+ private void button3_Click(object sender, EventArgs e)
+ {
+ textBox1.AppendText("9");
+ checkGubun();
+ }
+
+ private void checkGubun()
+ {
+ textBox1.Text= Convert.ToInt32(textBox1.Text.Replace(",", "")).ToString("N0");
+ }
+
+ private void button12_Click(object sender, EventArgs e)
+ {
+ string kind= "";
+ string hundred_1 = "";
+ string hundred_5 = "";
+ string thousand_1 = "";
+ string thousand_5 = "";
+ string million_1 = "";
+ string million_5 = "";
+ string item_name = "적립금";
+ DBConnector dbc = new DBConnector();
+ List<Dictionary<string, string>> list = dbc.getList(item_name);
+ for (int i = 0; i < list.Count; i++)
+ {
+ kind = list[i]["kind_order"];
+ if (Convert.ToInt32(list[i]["pr_price1"].Replace("-", "")) == 100)
+ {
+ hundred_1 = list[i]["pr_order"];
+ }
+ else if (Convert.ToInt32(list[i]["pr_price1"].Replace("-", "")) == 500)
+ {
+ hundred_5 = list[i]["pr_order"];
+ }
+ else if (Convert.ToInt32(list[i]["pr_price1"].Replace("-", "")) == 1000)
+ {
+ thousand_1 = list[i]["pr_order"];
+ }
+ else if (Convert.ToInt32(list[i]["pr_price1"].Replace("-", "")) == 5000)
+ {
+ thousand_5 = list[i]["pr_order"];
+ }
+ else if (Convert.ToInt32(list[i]["pr_price1"].Replace("-", "")) == 10000)
+ {
+ million_1 = list[i]["pr_order"];
+ }
+ else if (Convert.ToInt32(list[i]["pr_price1"].Replace("-", "")) == 50000)
+ {
+ million_5 = list[i]["pr_order"];
+ }
+ }
+
+ Console.WriteLine("m5: "+million_5);
+ Console.WriteLine("m1: " + million_1);
+ Console.WriteLine("t5: " + thousand_5);
+ Console.WriteLine("t1: " + thousand_1);
+ Console.WriteLine("h5: " + hundred_5);
+ Console.WriteLine("h1: " + hundred_1);
+
+ decimal point = Convert.ToInt32(textBox1.Text.Replace(",", ""));
+ decimal tmillion5= 0;
+ decimal tmillion1 = 0;
+ decimal tthousand5 = 0;
+ decimal tthousand1 = 0;
+ decimal thundred5 = 0;
+ decimal thundred1 = 0;
+
+ textBox1.Clear();
+ closeForm();
+
+ if (Math.Truncate(point / 50000) > 0)
+ {
+ tmillion5 = Math.Truncate(point / 50000);
+ point = point - (50000 * tmillion5);
+ }
+ if (Math.Truncate(point / 10000) > 0)
+ {
+ tmillion1 = Math.Truncate(point / 10000);
+ point = point - (10000 * tmillion1);
+ }
+ if (Math.Truncate(point / 5000) > 0)
+ {
+ tthousand5 = Math.Truncate(point / 5000);
+ point = point - (5000 * tthousand5);
+ }
+ if (Math.Truncate(point / 1000) > 0)
+ {
+ tthousand1 = Math.Truncate(point / 1000);
+ point = point - (1000 * tthousand1);
+ }
+ if (Math.Truncate(point / 500) > 0)
+ {
+ thundred5 = Math.Truncate(point / 500);
+ point = point - (500 * thundred5);
+ }
+ if (Math.Truncate(point / 100) > 0)
+ {
+ thundred1 = Math.Truncate(point / 100);
+ point = point - (100 * thundred1);
+ }
+
+ Console.WriteLine("tm5: " + tmillion5);
+ Console.WriteLine("tm1: " + tmillion1);
+ Console.WriteLine("tt5: " + tthousand5);
+ Console.WriteLine("tt1: " + tthousand1);
+ Console.WriteLine("th5: " + thundred5);
+ Console.WriteLine("th1: " + thundred1);
+
+ if (tmillion5 > 0)
+ {
+ MouseEvent1 me = new MouseEvent1(Convert.ToInt32(million_5), Convert.ToInt32(kind), Convert.ToInt32(tmillion5));
+ ThreadStart ts = new ThreadStart(me.find);
+ Thread th = new Thread(ts);
+ th.Start();
+ th.Join();
+ }
+ if (tmillion1 > 0)
+ {
+ MouseEvent1 me = new MouseEvent1(Convert.ToInt32(million_1), Convert.ToInt32(kind), Convert.ToInt32(tmillion1));
+ ThreadStart ts = new ThreadStart(me.find);
+ Thread th = new Thread(ts);
+ th.Start();
+ th.Join();
+ }
+ if (tthousand5 > 0)
+ {
+ MouseEvent1 me = new MouseEvent1(Convert.ToInt32(thousand_5), Convert.ToInt32(kind), Convert.ToInt32(tthousand5));
+ ThreadStart ts = new ThreadStart(me.find);
+ Thread th = new Thread(ts);
+ th.Start();
+ th.Join();
+ }
+ if (tthousand1 > 0)
+ {
+ MouseEvent1 me = new MouseEvent1(Convert.ToInt32(thousand_1), Convert.ToInt32(kind), Convert.ToInt32(tthousand1));
+ ThreadStart ts = new ThreadStart(me.find);
+ Thread th = new Thread(ts);
+ th.Start();
+ th.Join();
+ }
+ if (thundred5 > 0)
+ {
+ MouseEvent1 me = new MouseEvent1(Convert.ToInt32(hundred_5), Convert.ToInt32(kind), Convert.ToInt32(thundred5));
+ ThreadStart ts = new ThreadStart(me.find);
+ Thread th = new Thread(ts);
+ th.Start();
+ th.Join();
+ }
+ if (thundred1 > 0)
+ {
+ MouseEvent1 me = new MouseEvent1(Convert.ToInt32(hundred_1), Convert.ToInt32(kind), Convert.ToInt32(thundred1));
+ ThreadStart ts = new ThreadStart(me.find);
+ Thread th = new Thread(ts);
+ th.Start();
+ th.Join();
+ }
+
+ }
+ private void closeForm()
+ {
+ Application.OpenForms["Form3"].Close();
+ }
+ }
+}
--- /dev/null
+<?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=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>
\ No newline at end of file
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+//using System.Threading.Tasks;
+using System.Threading;
+using System.Windows.Forms;
+using System.Runtime.InteropServices;
+//using System.Threading;
+using System.Drawing;
+
+namespace newton_cn
+{
+ class MouseEvent1
+ {
+
+ private int m_ThreadNo = 0;
+
+ private int pr;
+ private int kind;
+ private int aCount;
+
+ public MouseEvent1(int pr, int kind, int aCount= 1)
+
+ {
+ this.pr = pr;
+ this.kind = kind;
+ this.aCount = aCount;
+ }
+
+ [DllImport("user32.dll")]
+ static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo);
+ const uint MOUSEMOVE = 0x0001; // 마우스 이동
+ const uint ABSOLUTEMOVE = 0x8000; // 전역 위치
+ const uint LBUTTONDOWN = 0x0002; // 왼쪽 마우스 버튼 눌림
+ const uint LBUTTONUP = 0x0004; // 왼쪽 마우스 버튼 떼어짐
+ const uint RBUTTONDOWN = 0x0008; // 오른쪽 마우스 버튼 눌림
+ const uint RBUTTONUP = 0x00010; // 오른쪽 마우스 버튼 떼어짐
+
+ List<Point> menus= new List<Point>();
+ List<Point> items= new List<Point>();
+ Dictionary<string, Point> arrowmenu = new Dictionary<string, Point>();
+ Dictionary<string, Point> arrowitem = new Dictionary<string, Point>();
+
+ public void find()
+ {
+
+ this.Delay(200);
+
+ arrowmenu["left"] = new Point(935, 170);
+ arrowmenu["right"] = new Point(985, 170);
+
+ arrowitem["left"] = new Point(935, 535);
+ arrowitem["right"] = new Point(985, 535);
+
+ menus.Add(new Point(0, 0));
+ menus.Add(new Point(440, 98));
+ menus.Add(new Point(545, 98));
+ menus.Add(new Point(650, 98));
+ menus.Add(new Point(755, 98));
+ menus.Add(new Point(860, 98));
+ menus.Add(new Point(965, 98));
+ menus.Add(new Point(440, 170));
+ menus.Add(new Point(545, 170));
+ menus.Add(new Point(650, 170));
+ menus.Add(new Point(755, 170));
+ menus.Add(new Point(860, 170));
+
+ items.Add(new Point(0, 0));
+ items.Add(new Point(440, 240));
+ items.Add(new Point(545, 240));
+ items.Add(new Point(650, 240));
+ items.Add(new Point(755, 240));
+ items.Add(new Point(860, 240));
+ items.Add(new Point(965, 240));
+ items.Add(new Point(440, 320));
+ items.Add(new Point(545, 320));
+ items.Add(new Point(650, 320));
+ items.Add(new Point(755, 320));
+ items.Add(new Point(860, 320));
+ items.Add(new Point(965, 320));
+ items.Add(new Point(440, 390));
+ items.Add(new Point(545, 390));
+ items.Add(new Point(650, 390));
+ items.Add(new Point(755, 390));
+ items.Add(new Point(860, 390));
+ items.Add(new Point(965, 390));
+ items.Add(new Point(440, 460));
+ items.Add(new Point(545, 460));
+ items.Add(new Point(650, 460));
+ items.Add(new Point(755, 460));
+ items.Add(new Point(860, 460));
+ items.Add(new Point(965, 460));
+ items.Add(new Point(440, 535));
+ items.Add(new Point(545, 535));
+ items.Add(new Point(650, 535));
+ items.Add(new Point(755, 535));
+ items.Add(new Point(860, 535));
+
+ this.menuinit(kind);
+
+ int tkind = kind;
+ while(tkind - 11 > 0)
+ {
+ move(arrowmenu["right"]);
+ click();
+ tkind = tkind - 11;
+ }
+ move(menus[tkind]);
+ click();
+
+ int tpr = pr;
+ //43
+ while(tpr - 29 > 0)
+ {
+ move(arrowitem["right"]);
+ click();
+ tpr = tpr - 29;
+ }
+ move(items[tpr]);
+
+ for (int i=0; i< aCount; i++)
+ {
+ click();
+ }
+
+ }
+
+ private void move(Point point)
+ {
+ Cursor.Position = point;
+ //await Task.Delay(1000);
+ this.Delay(100);
+ }
+
+ private void click(int time= 100)
+ {
+ mouse_event(LBUTTONDOWN, 0, 0, 0, 0);
+ mouse_event(LBUTTONUP, 0, 0, 0, 0);
+ //await Task.Delay(1000);
+ this.Delay(time);
+ }
+
+ private void menuinit(int kind)
+ {
+
+ this.move(arrowmenu["left"]);
+ for (int i=0; i<15; i++)
+ {
+ this.click(50);
+ }
+ }
+
+ private DateTime Delay(int MS)
+ {
+ DateTime ThisMoment = DateTime.Now;
+ TimeSpan duration = new TimeSpan(0, 0, 0, 0, MS);
+ DateTime AfterWards = ThisMoment.Add(duration);
+ while (AfterWards >= ThisMoment)
+ {
+ System.Windows.Forms.Application.DoEvents();
+ ThisMoment = DateTime.Now;
+ }
+ return DateTime.Now;
+ }
+ }
+}
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+//using System.Threading.Tasks;
+using System.Threading;
+using System.Windows.Forms;
+using System.Runtime.InteropServices;
+//using System.Threading;
+using System.Drawing;
+
+namespace newton_cn
+{
+ class MouseEvent2
+ {
+
+ private int m_ThreadNo = 0;
+
+ private int pr;
+ private int kind;
+
+ public MouseEvent2(int kind)
+
+ {
+ this.kind = kind;
+ }
+
+ [DllImport("user32.dll")]
+ static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo);
+ const uint MOUSEMOVE = 0x0001; // 마우스 이동
+ const uint ABSOLUTEMOVE = 0x8000; // 전역 위치
+ const uint LBUTTONDOWN = 0x0002; // 왼쪽 마우스 버튼 눌림
+ const uint LBUTTONUP = 0x0004; // 왼쪽 마우스 버튼 떼어짐
+ const uint RBUTTONDOWN = 0x0008; // 오른쪽 마우스 버튼 눌림
+ const uint RBUTTONUP = 0x00010; // 오른쪽 마우스 버튼 떼어짐
+
+
+ Point X = new Point(982, 27);
+ Point Exit = new Point(67, 742);
+ Point Cancel = new Point(605, 510);
+ Point Save = new Point(868, 701);
+ Point All = new Point(522, 154);
+ Point Menus = new Point(193, 98);
+
+ public void start()
+ {
+ int _DELAY_init = 100;
+ int _DELAY_sort = 15;
+ this.Delay(_DELAY_init);
+ this.move(X);
+ this.click(_DELAY_init);
+
+ this.Delay(_DELAY_init);
+ this.move(X);
+ this.click(_DELAY_init);
+
+ this.Delay(_DELAY_init);
+ this.move(X);
+ this.click(_DELAY_init);
+
+ this.Delay(_DELAY_init);
+ this.move(Exit);
+ this.click(_DELAY_init);
+
+ this.Delay(_DELAY_init);
+ this.move(Exit);
+ this.click(_DELAY_init);
+
+ this.Delay(_DELAY_init);
+ this.move(X);
+ this.click(_DELAY_init);
+
+ this.Delay(_DELAY_init);
+ this.move(X);
+ this.click(_DELAY_init);
+
+ this.Delay(_DELAY_init);
+ this.move(X);
+ this.click(_DELAY_init);
+
+ this.Delay(_DELAY_init);
+ this.move(Cancel);
+ this.click(_DELAY_init);
+
+ this.Delay(1000);
+ this.move(new Point(356, 492));
+ this.click(200);
+
+ this.Delay(1000);
+ this.move(new Point(304, 357));
+ this.click(200);
+
+ this.Delay(1000);
+ this.move(new Point(354, 96));
+ this.click(200);
+ this.click(200);
+
+ this.Delay(1000);
+ this.move(All);
+ this.click(_DELAY_sort);
+ this.click(_DELAY_sort);
+ this.click(_DELAY_sort);
+
+ this.Delay(_DELAY_sort);
+ this.move(Save);
+ this.click(_DELAY_sort);
+ this.click(_DELAY_sort);
+
+ this.Delay(700);
+ this.move(new Point(428, 98));
+ this.click(_DELAY_sort);
+ this.click(_DELAY_sort);
+
+ this.Delay(_DELAY_init);
+ this.move(All);
+ this.click(_DELAY_sort);
+ this.click(_DELAY_sort);
+ this.click(_DELAY_sort);
+
+ this.Delay(_DELAY_init);
+ this.move(Save);
+ this.click(_DELAY_sort);
+ this.click(_DELAY_sort);
+
+ this.Delay(_DELAY_init);
+ menu_sort(this.kind);
+
+ this.Delay(_DELAY_init);
+ this.move(new Point(929, 702));
+ this.click(_DELAY_sort);
+ this.click(_DELAY_sort);
+
+
+ }
+
+ private void menu_sort(int kind)
+ {
+ for (int i=0; i<kind; i++)
+ {
+ this.move(Menus);
+ this.click(25);
+ this.click(25);
+
+ SendKeys.Send("{DOWN}");
+ this.Delay(50);
+
+ this.move(All);
+ this.click(5);
+ this.click(5);
+
+ this.move(Save);
+ this.click(5);
+ this.click(5);
+ }
+ }
+
+ private void move(Point point)
+ {
+ Cursor.Position = point;
+ //await Task.Delay(1000);
+ this.Delay(300);
+ }
+
+ private void click(int time= 100)
+ {
+ mouse_event(LBUTTONDOWN, 0, 0, 0, 0);
+ mouse_event(LBUTTONUP, 0, 0, 0, 0);
+ //await Task.Delay(1000);
+ this.Delay(time);
+ }
+
+ private DateTime Delay(int MS)
+ {
+ DateTime ThisMoment = DateTime.Now;
+ TimeSpan duration = new TimeSpan(0, 0, 0, 0, MS);
+ DateTime AfterWards = ThisMoment.Add(duration);
+ while (AfterWards >= ThisMoment)
+ {
+ System.Windows.Forms.Application.DoEvents();
+ ThisMoment = DateTime.Now;
+ }
+ return DateTime.Now;
+ }
+
+ }
+}
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.Linq;
+//using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace newton_cn
+{
+ static class Program
+ {
+ /// <summary>
+ /// 해당 애플리케이션의 주 진입점입니다.
+ /// </summary>
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
--- /dev/null
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
+// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
+// 이러한 특성 값을 변경하세요.
+[assembly: AssemblyTitle("newton-cn")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("newton-cn")]
+[assembly: AssemblyCopyright("Copyright © 2021")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
+// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
+// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
+[assembly: ComVisible(false)]
+
+// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
+[assembly: Guid("2c132434-6883-42e4-a80f-ea6c262a4014")]
+
+// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
+//
+// 주 버전
+// 부 버전
+// 빌드 번호
+// 수정 버전
+//
+// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
+// 기본값으로 할 수 있습니다.
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
--- /dev/null
+//------------------------------------------------------------------------------
+// <auto-generated>
+// 이 코드는 도구를 사용하여 생성되었습니다.
+// 런타임 버전:4.0.30319.42000
+//
+// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
+// 이러한 변경 내용이 손실됩니다.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace newton_cn.Properties {
+ using System;
+
+
+ /// <summary>
+ /// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
+ /// </summary>
+ // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
+ // 클래스에서 자동으로 생성되었습니다.
+ // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을
+ // 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.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 (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("newton_cn.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;
+ }
+ }
+ }
+}
--- /dev/null
+<?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>
\ No newline at end of file
--- /dev/null
+//------------------------------------------------------------------------------
+// <auto-generated>
+// 이 코드는 도구를 사용하여 생성되었습니다.
+// 런타임 버전:4.0.30319.42000
+//
+// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
+// 이러한 변경 내용이 손실됩니다.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace newton_cn.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;
+ }
+ }
+ }
+}
--- /dev/null
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
+ <Profiles>
+ <Profile Name="(Default)" />
+ </Profiles>
+ <Settings />
+</SettingsFile>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <startup>
+
+ <supportedRuntime version="v2.0.50727"/></startup>
+</configuration>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <startup>
+
+ <supportedRuntime version="v2.0.50727"/></startup>
+</configuration>
--- /dev/null
+<?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>{2C132434-6883-42E4-A80F-EA6C262A4014}</ProjectGuid>
+ <OutputType>WinExe</OutputType>
+ <RootNamespace>newton_cn</RootNamespace>
+ <AssemblyName>newton-cn</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+ <Deterministic>true</Deterministic>
+ <TargetFrameworkProfile />
+ <IsWebBootstrapper>false</IsWebBootstrapper>
+ <PublishUrl>게시\</PublishUrl>
+ <Install>true</Install>
+ <InstallFrom>Disk</InstallFrom>
+ <UpdateEnabled>false</UpdateEnabled>
+ <UpdateMode>Foreground</UpdateMode>
+ <UpdateInterval>7</UpdateInterval>
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+ <UpdatePeriodically>false</UpdatePeriodically>
+ <UpdateRequired>false</UpdateRequired>
+ <MapFileExtensions>true</MapFileExtensions>
+ <ApplicationRevision>0</ApplicationRevision>
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
+ <UseApplicationTrust>false</UseApplicationTrust>
+ <BootstrapperEnabled>true</BootstrapperEnabled>
+ </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="EclipseControl.cs">
+ <SubType>Component</SubType>
+ </Compile>
+ <Compile Include="Form3.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="Form3.Designer.cs">
+ <DependentUpon>Form3.cs</DependentUpon>
+ </Compile>
+ <Compile Include="MouseEvent2.cs" />
+ <Compile Include="MouseEvent1.cs" />
+ <Compile Include="DBConnector.cs" />
+ <Compile Include="Form1.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="Form1.Designer.cs">
+ <DependentUpon>Form1.cs</DependentUpon>
+ </Compile>
+ <Compile Include="Form2.cs">
+ <SubType>Form</SubType>
+ </Compile>
+ <Compile Include="Form2.Designer.cs">
+ <DependentUpon>Form2.cs</DependentUpon>
+ </Compile>
+ <Compile Include="Program.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <EmbeddedResource Include="Form1.resx">
+ <DependentUpon>Form1.cs</DependentUpon>
+ </EmbeddedResource>
+ <EmbeddedResource Include="Form2.resx">
+ <DependentUpon>Form2.cs</DependentUpon>
+ </EmbeddedResource>
+ <EmbeddedResource Include="Form3.resx">
+ <DependentUpon>Form3.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>
+ <DesignTime>True</DesignTime>
+ </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>
+ <ItemGroup>
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
+ <Visible>False</Visible>
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
+ <Install>true</Install>
+ </BootstrapperPackage>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <PublishUrlHistory />
+ <InstallUrlHistory />
+ <SupportUrlHistory />
+ <UpdateUrlHistory />
+ <BootstrapperUrlHistory />
+ <ErrorReportUrlHistory />
+ <FallbackCulture>ko-KR</FallbackCulture>
+ <VerifyUploadedFiles>false</VerifyUploadedFiles>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
--- /dev/null
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
--- /dev/null
+56ead392093dad3d616723a23a90b2613ebdf9c3
--- /dev/null
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\bin\Debug\newton-cn.exe.config
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\bin\Debug\newton-cn.exe
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\bin\Debug\newton-cn.pdb
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.csprojAssemblyReference.cache
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton_cn.Form1.resources
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton_cn.Form2.resources
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton_cn.Properties.Resources.resources
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.csproj.GenerateResource.cache
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.csproj.CoreCompileInputs.cache
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.exe
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.pdb
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\bin\Debug\newton-cn.exe.config
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\bin\Debug\newton-cn.exe
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\bin\Debug\newton-cn.pdb
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.csproj.AssemblyReference.cache
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton_cn.Form1.resources
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton_cn.Form2.resources
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton_cn.Properties.Resources.resources
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.csproj.GenerateResource.cache
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.csproj.CoreCompileInputs.cache
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.exe
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Debug\newton-cn.pdb
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\bin\Debug\newton-cn.exe.config
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\bin\Debug\newton-cn.exe
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\bin\Debug\newton-cn.pdb
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton_cn.Form1.resources
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton_cn.Form2.resources
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton_cn.Form3.resources
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton_cn.Properties.Resources.resources
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.csproj.GenerateResource.cache
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.csproj.CoreCompileInputs.cache
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.exe
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.pdb
--- /dev/null
+a8f2a865f4323c7953761747d6204465cd75e02c
--- /dev/null
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\bin\Release\newton-cn.exe.config
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\bin\Release\newton-cn.exe
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\bin\Release\newton-cn.pdb
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton_cn.Form1.resources
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton_cn.Form2.resources
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton_cn.Properties.Resources.resources
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.csproj.GenerateResource.cache
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.csproj.CoreCompileInputs.cache
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.exe
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.pdb
+C:\Users\dhkq9\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.csprojAssemblyReference.cache
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\bin\Release\newton-cn.exe.config
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\bin\Release\newton-cn.exe
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\bin\Release\newton-cn.pdb
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton_cn.Form1.resources
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton_cn.Form2.resources
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton_cn.Properties.Resources.resources
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.csproj.GenerateResource.cache
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.csproj.CoreCompileInputs.cache
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.exe
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.pdb
+C:\Users\NEWTON-Choengna\Desktop\insang\workspace\newton-cn\newton-cn\obj\Release\newton-cn.csproj.AssemblyReference.cache
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\bin\Release\newton-cn.exe.config
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\bin\Release\newton-cn.exe
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\bin\Release\newton-cn.pdb
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton-cn.csproj.AssemblyReference.cache
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form1.resources
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form2.resources
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Properties.Resources.resources
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton-cn.csproj.GenerateResource.cache
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton-cn.csproj.CoreCompileInputs.cache
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton-cn.exe
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton-cn.pdb
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form3.resources