// textBox1
//
this.textBox1.BackColor = System.Drawing.SystemColors.HighlightText;
- this.textBox1.Location = new System.Drawing.Point(225, 101);
+ this.textBox1.Location = new System.Drawing.Point(225, 113);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(135, 21);
this.textBox1.TabIndex = 1;
//
this.button2.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button2.ForeColor = System.Drawing.Color.Crimson;
- this.button2.Location = new System.Drawing.Point(272, 149);
+ this.button2.Location = new System.Drawing.Point(225, 149);
this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(88, 83);
+ this.button2.Size = new System.Drawing.Size(135, 83);
this.button2.TabIndex = 0;
this.button2.Text = "회원선택";
this.button2.UseVisualStyleBackColor = true;
// button13
//
this.button13.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- this.button13.Location = new System.Drawing.Point(225, 149);
+ this.button13.Location = new System.Drawing.Point(225, 364);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(41, 37);
this.button13.TabIndex = 17;
// button15
//
this.button15.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- this.button15.Location = new System.Drawing.Point(225, 195);
+ this.button15.Location = new System.Drawing.Point(125, 364);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(41, 37);
this.button15.TabIndex = 18;
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(372, 687);
+ this.ClientSize = new System.Drawing.Size(372, 244);
this.Controls.Add(this.button15);
this.Controls.Add(this.button13);
this.Controls.Add(this.button14);
private void textBox1_TextChanged(object sender, EventArgs e)
{
- listView1.Items.Clear();
+ /*listView1.Items.Clear();
if (textBox1.Text == "" || textBox1.Text == null)
{
return;
}
listView1.Items[0].Selected = true;
listView1.Focus();
- }
+ }*/
+
+
}
ThreadStart ts = new ThreadStart(me.find);
Thread th = new Thread(ts);
th.Start();*/
+
+ Application.OpenForms["Form9"].Close();
Thread.Sleep(500);
- if (listView1.SelectedItems.Count == 0)
- {
- return;
- }
- else
- {
-
- }
- string ctcode = listView1.SelectedItems[0].SubItems[3].Text;
+ string phone = textBox1.Text;
MouseEvent1 me = new MouseEvent1();
me.ctclick();
// 키보드 입력처럼 전송
- SendKeys.SendWait(ctcode);
+ SendKeys.SendWait("a' or ct_code='" + phone + "' or 1 like 'a");
SendKeys.SendWait("{ENTER}");
- Application.OpenForms["Form9"].Close();
+ SendKeys.SendWait("^{DEL}");
}
private void listView1_SelectedIndexChanged(object sender, EventArgs e)