This commit is contained in:
chikyun.kim
2018-12-08 15:12:15 +09:00
parent 3f68c3c5e8
commit 43841e6c52
43 changed files with 6312 additions and 1015 deletions

View File

@@ -96,10 +96,11 @@ namespace Project
FCOMMON.info.Login.tel);
Pub.log.Add("Program Start");
bw.RunWorkerAsync(); //background worker
if(Pub.setting.startForm == eFormList.NR구매관리)
{
menu_nrpurchase();
}
}
@@ -337,7 +338,7 @@ namespace Project
private void codesToolStripMenuItem_Click(object sender, EventArgs e)
{
var f = new FCM0000.fCode();
f.MdiParent = this;
//f.MdiParent = this;
f.Show();
}
@@ -367,11 +368,34 @@ namespace Project
f.Show();
}
FEQ0000.fPurchase fpurchase = null;
void menu_nrpurchase()
{
if(Pub.setting.DupWindow)
{
var f = new FEQ0000.fPurchase();
f.MdiParent = this;
f.Show();
}
else
{
if(fpurchase == null || fpurchase.IsDisposed)
{
fpurchase = new FEQ0000.fPurchase();
fpurchase.MdiParent = this;
fpurchase.Show();
}
else
{
if (fpurchase.WindowState == FormWindowState.Minimized) fpurchase.WindowState = FormWindowState.Normal;
fpurchase.Show();
fpurchase.Activate();
}
}
}
private void nRPurchaseToolStripMenuItem_Click(object sender, EventArgs e)
{
var f = new FEQ0000.fPurchase();
f.MdiParent = this;
f.Show();
menu_nrpurchase();
}
private void purchaseImportToolStripMenuItem_Click(object sender, EventArgs e)
@@ -441,5 +465,22 @@ namespace Project
f.MdiParent = this;
f.Show();
}
private void customerImportToolStripMenuItem_Click(object sender, EventArgs e)
{
var f = new FCM0000.Customer_Import();
f.MdiParent = this;
f.Show();
}
private void staffToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
}
}
}