NR파트 데이터 입력 창 및 업로드 완료
추가 화면은 나중에 작업 예정
This commit is contained in:
@@ -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