NR파트 데이터 입력 창 및 업로드 완료

추가 화면은 나중에 작업 예정
This commit is contained in:
chikyun.kim
2018-09-28 16:23:18 +09:00
parent 2e3cc8e270
commit fe8c05f63b
34 changed files with 1738 additions and 7382 deletions

View File

@@ -7,7 +7,7 @@ namespace FCOMMON
{
public static class DBM
{
private static System.Data.SqlClient.SqlConnection getCn()
public static System.Data.SqlClient.SqlConnection getCn()
{
string cs = FCOMMON.info.CS;
System.Data.SqlClient.SqlConnection cn = new System.Data.SqlClient.SqlConnection();

View File

@@ -35,5 +35,7 @@ namespace FCOMMON
public static sUserInfo Login;
public static string Path;
public static string CS;
public static string libxlCompany = "Amkor Technology korea, Inc";
public static string libxlKey = "windows-282b2b0800c5e0016bb06a6fafjfd6o8";
}
}

View File

@@ -11,9 +11,11 @@ namespace FCOMMON
{
public partial class fBase : Form
{
public Boolean UseFormSetting { get; set; }
public fBase()
{
InitializeComponent();
UseFormSetting = true;
this.FormClosed += fBase_FormClosed;
this.KeyDown += fBase_KeyDown;
}
@@ -25,16 +27,22 @@ namespace FCOMMON
void fBase_FormClosed(object sender, FormClosedEventArgs e)
{
var form = this as Form;
FCOMMON.Util.SetFormStatus(ref form, this.Name, false);
if(UseFormSetting)
{
var form = this as Form;
FCOMMON.Util.SetFormStatus(ref form, this.Name, false);
}
}
private void fBase_Load(object sender, EventArgs e)
{
var form = this as Form;
FCOMMON.Util.SetFormStatus(ref form, this.Name, true);
this.Show();
Application.DoEvents();
if(UseFormSetting)
{
var form = this as Form;
FCOMMON.Util.SetFormStatus(ref form, this.Name, true);
this.Show();
Application.DoEvents();
}
}
}
}