=====* UniMarc [0.0157] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) ** 1. DVD/CD/LP ㄴ> CD/LP 작업 완료. ㄴ> DVD 교보쪽 작업 완료. ㄴ> DVD 알라딘 작업 진행중. 2. 복본조사 ㄴ> 전라북도 교육청 추가 - > 검색쪽 이슈발생 해결완료. 3. Login ㄴ> ID별로 마지막 접속 IP, 마지막 접속일 저장 추가
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -10,6 +10,7 @@ using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using Microsoft.VisualBasic;
|
||||
|
||||
namespace WindowsFormsApp1
|
||||
{
|
||||
@@ -60,7 +61,11 @@ namespace WindowsFormsApp1
|
||||
MessageBox.Show("저장된 아이피가 다릅니다!");
|
||||
return;
|
||||
}
|
||||
|
||||
((Main)(this.Owner)).IPText.Text = string.Format("접속 아이피 : {0}", lbl_IP.Text);
|
||||
db.DB_Send_CMD_reVoid(
|
||||
string.Format("UPDATE `User_Data` SET `lastIP` = \"{0}\", `lastDate` = \"{2}\" WHERE `ID` = \"{1}\"",
|
||||
lbl_IP.Text, ID_text.Text, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"))
|
||||
);
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
4
unimarc/unimarc/Main.Designer.cs
generated
4
unimarc/unimarc/Main.Designer.cs
generated
@@ -129,10 +129,10 @@
|
||||
this.VersionText = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.botUserLabel = new System.Windows.Forms.ToolStripLabel();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.IPText = new System.Windows.Forms.ToolStripLabel();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
@@ -1194,6 +1194,6 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 편목;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
||||
private System.Windows.Forms.ToolStripLabel IPText;
|
||||
public System.Windows.Forms.ToolStripLabel IPText;
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Microsoft.VisualBasic;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
@@ -985,51 +986,48 @@ namespace WindowsFormsApp1.Mac
|
||||
bool isJBEClick = false;
|
||||
string 전북교육청입력(string text)
|
||||
{
|
||||
// webBrowser1.Document.GetElementById("search_text").SetAttribute("value", text);
|
||||
|
||||
foreach (HtmlElement input in webBrowser1.Document.GetElementsByTagName("input"))
|
||||
{
|
||||
if (input.Id != null && input.Id == "search_text")
|
||||
{
|
||||
input.SetAttribute("value", text);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!isJBEClick)
|
||||
{
|
||||
foreach (HtmlElement input in webBrowser1.Document.GetElementsByTagName("input"))
|
||||
if (!isJBEClick)
|
||||
{
|
||||
if (input.GetAttribute("value").IndexOf("ALL") > -1)
|
||||
{
|
||||
input.InvokeMember("click");
|
||||
isJBEClick = true;
|
||||
}
|
||||
if (input.GetAttribute("value").IndexOf(Code) > -1)
|
||||
{
|
||||
input.InvokeMember("click");
|
||||
isJBEClick = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach (HtmlElement Btn in webBrowser1.Document.GetElementsByTagName("button"))
|
||||
foreach (HtmlElement input in webBrowser1.Document.GetElementsByTagName("input"))
|
||||
{
|
||||
if (Btn.Id != null && Btn.Id == "do-search")
|
||||
Btn.InvokeMember("click");
|
||||
}
|
||||
|
||||
Delay(10000);
|
||||
|
||||
string result = "";
|
||||
|
||||
foreach (HtmlElement div in webBrowser1.Document.GetElementsByTagName("div"))
|
||||
{
|
||||
if (div.GetAttribute("className").IndexOf("search-info") > -1)
|
||||
if (input.Name == "search_text" && input.GetAttribute("className") == "text")
|
||||
{
|
||||
result = Regex.Replace(div.InnerText, @"\D", "");
|
||||
input.SetAttribute("value", text);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
webBrowser1.Document.GetElementById("do-search").InvokeMember("click");
|
||||
|
||||
Delay(3000);
|
||||
string result = "";
|
||||
int count = 0;
|
||||
foreach (HtmlElement B in webBrowser1.Document.GetElementsByTagName("b"))
|
||||
{
|
||||
if (count == 1)
|
||||
{
|
||||
result = B.InnerText;
|
||||
break;
|
||||
}
|
||||
count++;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user