send mail 프로젝트 폐기
This commit is contained in:
@@ -23,12 +23,26 @@ namespace FEQ0000
|
||||
InitializeComponent();
|
||||
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.dsPurchase.Purchase.TableNewRow += Purchase_TableNewRow;
|
||||
this.FormClosing += FPurchase_FormClosing;
|
||||
this.FormClosed += __Closed;
|
||||
dtSD.KeyDown += dtSD_KeyDown;
|
||||
dtED.KeyDown += dtSD_KeyDown;
|
||||
//this.dv1.CellFormatting += dv1_CellFormatting;
|
||||
}
|
||||
|
||||
private void FPurchase_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (dsPurchase.HasChanges())
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다. 화면을 닫을까요? 닫으면 변경된 자료는 손실 됩니다");
|
||||
if (dlg != DialogResult.Yes)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void dtSD_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode != Keys.Enter) return;
|
||||
@@ -281,7 +295,7 @@ namespace FEQ0000
|
||||
|
||||
//프로젝트가 걸린데이터는 글자를 bold체로 변경한다.
|
||||
var prjdata = this.fpSpread1.ActiveSheet.GetValue(i, prjindex);
|
||||
if(prjdata != null)
|
||||
if (prjdata != null)
|
||||
{
|
||||
var pidx = (int)this.fpSpread1.ActiveSheet.GetValue(i, prjindex);
|
||||
if (pidx == -1) //프로젝트가 없다
|
||||
@@ -756,7 +770,7 @@ namespace FEQ0000
|
||||
|
||||
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
void func_copy()
|
||||
@@ -781,7 +795,7 @@ namespace FEQ0000
|
||||
newdr.idx = -1;
|
||||
newdr.EndEdit();
|
||||
|
||||
repeat:
|
||||
repeat:
|
||||
|
||||
bool repeat = false;
|
||||
DialogResult dlg;
|
||||
@@ -903,7 +917,7 @@ namespace FEQ0000
|
||||
|
||||
private void toolStripButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
@@ -920,7 +934,7 @@ namespace FEQ0000
|
||||
|
||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
string getmaxstr(string src, int len = 30)
|
||||
@@ -967,7 +981,7 @@ namespace FEQ0000
|
||||
//구매승인양식
|
||||
var f = new fPurchaseNRList(this.dsPurchase.Purchase);
|
||||
f.Show();
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton6_Click(object sender, EventArgs e)
|
||||
@@ -987,7 +1001,7 @@ namespace FEQ0000
|
||||
var text = tb.Text.Trim();
|
||||
var dt = DateTime.Parse(text);
|
||||
var f = new FCOMMON.fSelectDay(dt);
|
||||
if(f.ShowDialog() == DialogResult.OK)
|
||||
if (f.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
tb.Text = f.dtPick.SelectionStart.ToShortDateString();
|
||||
|
||||
@@ -1192,5 +1206,33 @@ namespace FEQ0000
|
||||
"아웃룩의 설정이 정상인지 확인하세요");
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "Manual.pdf");
|
||||
if (System.IO.File.Exists(fn))
|
||||
{
|
||||
FCOMMON.Util.RunExplorer(fn);
|
||||
}
|
||||
else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)");
|
||||
}
|
||||
|
||||
private void fpSpread1_EditModeOff(object sender, EventArgs e)
|
||||
{
|
||||
if (fpSpread1_Sheet1.Columns["pumqty"].Index == fpSpread1_Sheet1.ActiveColumnIndex)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||
dr.pumamt = dr.pumqty * dr.pumprice;
|
||||
dr.EndEdit();
|
||||
}
|
||||
else if (fpSpread1_Sheet1.Columns["pumprice"].Index == fpSpread1_Sheet1.ActiveColumnIndex)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
var dr = drv.Row as dsPurchase.PurchaseRow;
|
||||
dr.pumamt = dr.pumqty * dr.pumprice;
|
||||
dr.EndEdit();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user