NR파트 데이터 입력 창 및 업로드 완료
추가 화면은 나중에 작업 예정
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user