프로젝트편집에 일 업무현황 등록과 todo 항목 추가

This commit is contained in:
chi
2021-01-12 21:42:36 +09:00
parent dbe1a6cb87
commit 445bbe3514
42 changed files with 11628 additions and 1244 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,808 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using util = FCOMMON.Util;
namespace FPJ0000
{
public partial class fPartBuyStatus : FCOMMON.fBase
{
string fn_fpcolsize = "";
int colidx_itemname = -1;
int colidx_item = -1;
int colidx_qty = -1;
int colidx_amt = -1;
int colidx_price = -1;
int colidx_model = -1;
int colidx_supply = -1;
int colidx_supplyidx = -1;
int colidx_sid = -1;
int colidx_manu = -1;
int colidx_unit = -1;
public fPartBuyStatus()
{
InitializeComponent();
fn_fpcolsize = System.IO.Path.Combine(
AppDomain.CurrentDomain.BaseDirectory,
"formSetting",
"fp_" + this.Name + ".ini");
this.FormClosed += fPartList_FormClosed;
this.FormClosing += FPartList_FormClosing;
this.KeyDown += fPartList_KeyDown;
}
private void FPartList_FormClosing(object sender, FormClosingEventArgs e)
{
var dt = this.dsPRJ.ProjectsPart.GetChanges();
if (dt != null && dt.Rows.Count > 0)
{
var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다.\n화면을 닫으면 손실됩니다.\n화면을 닫을까요?");
if (dlg != DialogResult.Yes)
{
e.Cancel = true;
return;
}
}
}
void fPartList_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape) this.Close();
else if (e.KeyCode == Keys.F5) searchpmp();
}
void fPartList_FormClosed(object sender, FormClosedEventArgs e)
{
this.FormClosed -= fPartList_FormClosed;
this.KeyDown -= fPartList_KeyDown;
}
private void fPartList_Load(object sender, EventArgs e)
{
//열번호찾기
foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
{
string colname = col.DataField.ToLower();
if (colname == "itemmodel") colidx_model = col.Index;
else if (colname == "itemname") colidx_itemname = col.Index;
else if (colname == "item") colidx_item = col.Index;
else if (colname == "qty") colidx_qty = col.Index;
else if (colname == "price") colidx_price = col.Index;
else if (colname == "amt") colidx_amt = col.Index;
else if (colname == "itemsupplyidx") colidx_supplyidx = col.Index;
else if (colname == "itemsupply") colidx_supply = col.Index;
else if (colname == "itemsid") colidx_sid = col.Index;
else if (colname == "itemmanu") colidx_manu = col.Index;
else if (colname == "itemunit") colidx_unit = col.Index;
}
this.Show();
this.bsPart.Sort = "bbuy,ItemSupply,qtyin";
Application.DoEvents();
RefreshData();
}
string sortkey = string.Empty;
void RefreshData()
{
if (dsPRJ.HasChanges())
{
var dlg = FCOMMON.Util.MsgQ("변경 사항이 있습니다. 갱신하면 변경 내용이 손실 됩니다.\n지금 갱신 하겠습니까?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
}
//if (button3.BackColor != Color.Gold) bsPart.Filter = "status not like '완료%'";
//else bsPart.Filter = "";
try
{
this.taPart.Fill(this.dsPRJ.ProjectPartStatus, FCOMMON.info.Login.gcode);
}
catch (Exception ex)
{
FCOMMON.Util.MsgE(ex.Message);
}
//로딩후에 sid 와 suuply 를 조회해준다.
//foreach (dsPRJ.ProjectsPartRow dr in this.dsPRJ.ProjectsPart.Rows)
//{
// if (dr.IsItemNull() || dr.Item < 0) continue;
// var iteminfo = FCOMMON.DBM.getItemInfo(dr.Item);
// if (iteminfo.idx != -1)
// {
// dr.SID = iteminfo.sid;
// //dr.Supply = iteminfo.supply;
// }
//}
//this.dsPRJ.AcceptChanges();
RefreshSum();
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
FormattingData();
}
void FormattingData()
{
//삭제컬럼인덱스
this.fpSpread1.SuspendLayout();
var col_sid = this.fpSpread1.ActiveSheet.Columns["sid"].Index;
//var col_pmp = this.fpSpread1.ActiveSheet.Columns["pmp"].Index;
var col_buy = this.fpSpread1.ActiveSheet.Columns["buy"].Index; //구매수량
var col_amt = this.fpSpread1.ActiveSheet.Columns["amt"].Index;
var col_amtn = this.fpSpread1.ActiveSheet.Columns["amtn"].Index;
var col_qtyin = this.fpSpread1.ActiveSheet.Columns["qtyin"].Index;
var col_qtyn = this.fpSpread1.ActiveSheet.Columns["qtyn"].Index; //N대수량(전체수량)
var col_bbuy = this.fpSpread1.ActiveSheet.Columns["bbuy"].Index;
var col_supply = this.fpSpread1.ActiveSheet.Columns["supply"].Index;
// var col_bconf = this.fpSpread1.ActiveSheet.Columns["bconfirm"].Index;
var PO발행 = 0;
var PO발행전체 = 0;
var = 0;
var = 0;
var = 0;
var = 0;
var = 0;
//var 검토완료건수 = 0;
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
{
var row = this.fpSpread1.ActiveSheet.Rows[i];
var value = this.fpSpread1.ActiveSheet.GetValue(i, col_sid); //sid값을 확인한다
var value_buy = this.fpSpread1.ActiveSheet.GetValue(i, col_buy);
var value_in = this.fpSpread1.ActiveSheet.GetValue(i, col_qtyin);
var value_bbuy = this.fpSpread1.ActiveSheet.GetValue(i, col_bbuy);
var db_supply = this.fpSpread1.ActiveSheet.GetValue(i, col_supply);
var value_supply = string.Empty;
if (db_supply != null) value_supply = db_supply.ToString().Trim();
//var value_bconf = this.fpSpread1.ActiveSheet.GetValue(i, col_bconf);
Boolean bbuy = false;
// Boolean bconf = false;
if (value_bbuy != null) bbuy = (Boolean)value_bbuy;
// if (value_bconf != null) bconf = (Boolean)value_bconf;
if (bbuy) PO발행전체 += 1;
// if (bbuy && string.IsNullOrEmpty(value_supply))
+= 1;
int qty_in = 0;
int qty_buy = -1;
if (value_in != null) qty_in = (int)value_in;
if (value_buy != null) qty_buy = (int)value_buy;
if (bbuy)
{
if (qty_in == 0 && string.IsNullOrEmpty(value_supply))
{
//입고량이 0인데 공급사가 없다면 PO발행대기건
row.ForeColor = Color.White;
row.BackColor = Color.OrangeRed;
PO발행 += 1;
}
//구매진행중인데 수량이 다르면 색상 변경
else if (qty_in < qty_buy)
{
//공급사가 없다면 ㅔo발행건으로 한다.
if (qty_buy < 1)
{
row.ForeColor = Color.Red;
row.BackColor = Color.DarkMagenta;
}
else
{
row.ForeColor = Color.White;
row.BackColor = Color.DarkMagenta;
}
+= 1;
}
else
{
+= 1;
row.ForeColor = Color.Black;
row.BackColor = Color.LimeGreen;
}
+= 1;
}
else
{
if (qty_buy < 1)
{
+= 1;
row.ForeColor = Color.Black;
row.BackColor = Color.White;
}
else
{
row.ForeColor = Color.Black;
row.BackColor = Color.SkyBlue;
}
}
}
//프로그레시브입력
//prb6.Text = string.Format("전체 진행 ({0}/{1})", 비구매건수 + 구매완료건수, 전체건수);
//prb6.ProgressMax = 전체건수;
//prb6.ProgressValue = 비구매건수 + 구매완료건수;
prbPO.Text = string.Format("PO 대기 ({0}/{1})", PO발행, PO발행전체);
prbPO.ProgressMax = PO발행전체;
prbPO.ProgressValue = PO발행;
prb2.Text = string.Format("구매 등록 신청 ({0}/{1})", , - );
prb2.ProgressMax = - ;
prb2.ProgressValue = ;
prb3.Text = string.Format("구매 진행 중 ({0}/{1})", , );
prb3.ProgressMax = ;
prb3.ProgressValue = ;
//prb1.Text = string.Format("수량 검토 완료 ({0}/{1})", 검토완료건수, 전체건수);
//prb1.ProgressMax = 전체건수;
//prb1.ProgressValue = 검토완료건수;
//var 전체건수 = 0;
//var 비구매건수 = 0;
//var 구매진행건수 = 0;
//var 구매완료건수 = 0;
//var 구매등록건수 = 0;
//var 검토완료건수 = 0;
this.fpSpread1.ResumeLayout();
}
void RefreshSum()
{
decimal sum = this.dsPRJ.ProjectsPart.Where(t => t.RowState != DataRowState.Deleted && t.RowState != DataRowState.Detached).Sum(t => t.amt);
decimal sumN = this.dsPRJ.ProjectsPart.Where(t => t.RowState != DataRowState.Deleted && t.RowState != DataRowState.Detached).Sum(t => t.amtn);
//lbSum.Text = string.Format("1:{0:N0} / N:{1:N0}", sum, sumN);
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
Save();
}
void Save()
{
this.Validate();
this.bsPart.EndEdit();
//모든데이터의 공백을 제거(sid)
foreach (var item in this.dsPRJ.ProjectsPart)
{
//sid에 공백제거
if (item.RowState == DataRowState.Deleted || item.RowState == DataRowState.Detached) continue;
if (item.ItemSid != item.ItemSid.Replace(" ", "").Trim())
{
item.ItemSid = item.ItemSid.Replace(" ", "").Trim();
item.EndEdit();
}
}
try
{
var cnt = this.taPart.Update(this.dsPRJ.ProjectPartStatus);
FCOMMON.Util.MsgI(cnt.ToString() + "건의 자료가 업데이트 되었습니다.");
this.dsPRJ.AcceptChanges();
}
catch (Exception ex)
{
FCOMMON.Util.MsgE(ex.Message);
}
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
FormattingData();
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
var drv = this.bsPart.Current as DataRowView;
var dr = drv.Row as dsPRJ.ProjectPartStatusRow;
var f = new rPartList(dr.Project);
f.Show();
}
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
{
SaveFileDialog sd = new SaveFileDialog();
sd.Filter = "excel|*.xls";
var fn = "partliststatus.xls";
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
fpSpread1.SaveExcel(sd.FileName,
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
}
//dv1.ExportData("partlist.csv");
}
private void autoToolStripMenuItem_Click(object sender, EventArgs e)
{
this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true;
for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
this.fpSpread1.ActiveSheet.SetRowHeight(i, 25);
//dv1.AutoResizeColumns();
}
private void resetToolStripMenuItem_Click(object sender, EventArgs e)
{
foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns)
{
col.Width = 100;
}
}
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{
FPUtil.ColsizeSave(this.fpSpread1, fn_fpcolsize);
}
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
{
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
}
private void fpSpread1_EditModeOff(object sender, EventArgs e)
{
int Colidx = this.fpSpread1.ActiveSheet.ActiveColumnIndex;
int Rowidx = this.fpSpread1.ActiveSheet.ActiveRowIndex;
var taItem = new FCM0000.dsMSSQLTableAdapters.ItemsTableAdapter();
switch (this.fpSpread1.ActiveSheet.Columns[Colidx].DataField.ToLower())
{
case "supplyname":
var valuen1 = fpSpread1.ActiveSheet.Cells[Rowidx, Colidx].Value;//.Rows[Rowidx].Cells[e.ColumnIndex].Value;
if (valuen1 != null)
{
string inputtext1 = valuen1.ToString().Trim();
if (inputtext1 != "")
{
FCM0000.fLovSupply f = new FCM0000.fLovSupply(inputtext1);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supply].Value = f.Title;
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = f.Index;
}
else
{
//fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supply].Value = string.Empty;
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = -1;
}
}
}
break;
case "itemname":
var valuen = fpSpread1.ActiveSheet.Cells[Rowidx, Colidx].Value;//.Rows[Rowidx].Cells[e.ColumnIndex].Value;
if (valuen != null)
{
string inputtext = valuen.ToString().Trim();
if (inputtext != "")
{
//검색을 실행해서 보여준다.
var SearchDT = taItem.GetSearch("%" + inputtext + "%", FCOMMON.info.Login.gcode);
if (SearchDT == null || SearchDT.Rows.Count < 1)
{
//FCOMMON.Util.MsgE("검색 결과가 없습니다.");
fpSpread1.ActiveSheet.ActiveColumnIndex += 2;
return;
}
else
{
//검색된 결과를 표시해서 보여준다.
var f = new FCM0000.fLovItem("%" + inputtext + "%");
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
//var c = fpSpread1.ActiveSheet.Columns["sdf"];
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_item].Value = f.item;
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_itemname].Value = f.itemName;
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_sid].Value = f.SID.Replace(" ", "").Trim();
//공급사는 기록하지 않는다 200623
//fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supplyidx].Value = f.itemSupplyidx;
//fpSpread1.ActiveSheet.Cells[Rowidx, colidx_supply].Value = f.itemSupply;
//제조사추가 201022 - 박성민
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_manu].Value = f.itemManu.Replace(" ", "").Trim();
//단위추가 201028 - 박성민
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_unit].Value = f.itemUnit.Replace(" ", "").Trim();
if (f.itemmodel != "")
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_model].Value = f.itemmodel;
if (f.itemprice != 0)
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_price].Value = f.itemprice;
var valueq1 = fpSpread1.ActiveSheet.Cells[Rowidx, colidx_qty].Value;
var valuep1 = fpSpread1.ActiveSheet.Cells[Rowidx, colidx_price].Value;
Int32 iQty = 0;
decimal iPrice = 0;
if (valueq1 != null && valueq1.ToString() != "") iQty = (Int32)valueq1;
if (valuep1 != null && valuep1.ToString() != "") iPrice = (decimal)valuep1;
decimal iAmt = iQty * iPrice;
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_amt].Value = iAmt;
}
}
}
}
break;
case "price":
case "qty":
var valueq = fpSpread1.ActiveSheet.Cells[Rowidx, colidx_qty].Value;
var valuep = fpSpread1.ActiveSheet.Cells[Rowidx, colidx_price].Value;
Int32 iQty1 = 0;
decimal iPrice1 = 0;
if (valueq != null && valueq.ToString() != "") iQty1 = (Int32)valueq;
if (valuep != null && valuep.ToString() != "") iPrice1 = (decimal)valuep;
var amt = iQty1 * iPrice1;
fpSpread1.ActiveSheet.Cells[Rowidx, colidx_amt].Value = amt;
//dv1.Rows[e.RowIndex].Cells["dvc_amt"].Value = amt;
RefreshSum();
break;
}
}
private void btRefresh_Click(object sender, EventArgs e)
{
RefreshData();
}
private void toolStripButton3_Click(object sender, EventArgs e)
{
var drv = this.bsPart.Current as DataRowView;
var dr = drv.Row as dsPRJ.ProjectPartStatusRow;
var f = new fProjectPartImport(dr.Project);
f.ShowDialog();
this.RefreshData();
}
private void toolStripButton4_Click(object sender, EventArgs e)
{
var chg = this.dsPRJ.ProjectsPart.GetChanges();
if (chg != null)
{
FCOMMON.Util.MsgE("변경된 자료가 있습니다. \n 해당 자료를 먼저 저장하세요");
return;
}
var drv = this.bsPart.Current as DataRowView;
var dr = drv.Row as dsPRJ.ProjectPartStatusRow;
var f = new fProjectPartToPurchase(dr.Project, sortkey);
f.ShowDialog();
}
private void tbFind_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
var search = tbFind.Text.Trim();
var ColumnList = new string[] { "ItemName", "ItemModel", "ItemSupply", "ItemManu", "ItemSid" };
var Filter = "";
if (search != "")
{
foreach (var item in ColumnList)
{
if (Filter != "") Filter += " or ";
Filter += item + " like '%{0}%'";
}
}
try
{
if (Filter != "")
{
this.bsPart.Filter = string.Format(Filter, search.Replace("'", "''"));
tbFind.BackColor = Color.Lime;
}
else
{
this.bsPart.Filter = "";
tbFind.BackColor = SystemColors.Window;
}
}
catch
{
this.bsPart.Filter = "";
tbFind.BackColor = Color.HotPink;
}
FormattingData();
this.tbFind.SelectAll();
this.tbFind.Focus();
}
}
private void toolStripButton5_Click(object sender, EventArgs e)
{
var range = this.fpSpread1_Sheet1.GetSelection(0);
util.MsgE("준비중");
}
private void button1_Click(object sender, EventArgs e)
{
RefreshData();
}
private void toolStripButton5_Click_1(object sender, EventArgs e)
{
var dlg = FCOMMON.Util.MsgQ("재고 확인을 실행하시겠습니까?\n재고 확인 완료 후에는 구매수량값이 업데이트 됩니다");
if (dlg != DialogResult.Yes) return;
//pmp데이터에서 모두 업데이트 한다
//컬럼명 qty, qty_pmp, qty_buy
List<DatabaseManager.sPMPdata> retval = new List<DatabaseManager.sPMPdata>();
var cn = DatabaseManager.getCn();
try
{
cn.Open();
}
catch (Exception ex)
{
util.MsgE("데이터베이스 연결 실패\n" + ex.Message);
return;
}
System.Data.SqlClient.SqlDataReader rdr = null;
System.Data.SqlClient.SqlCommand cmd = null;
var basesql1 = "select isnull(SIDNo,'') ,isnull(PartName,'') ,isnull(PartNo,'') , isnull(CurrentQty,0) from SPMaster where SIDNo = '{0}' and isnull(Storage,'') <> 'B-CENTER'";
var basesql2 = "select isnull(SIDNo,'') ,isnull(PartName,'') ,isnull(PartNo,'') , isnull(CurrentQty,0) from SPMaster where PartNo = '{0}' and isnull(Storage,'') <> 'B-CENTER'";
cmd = new System.Data.SqlClient.SqlCommand("", cn);
var cnt_ok = 0;
var cnt_no = 0;
var cnt_ng = 0;
// var cnt_reduce = 0;
foreach (dsPRJ.ProjectsPartRow dr in this.dsPRJ.ProjectsPart.Rows)
{
if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted) continue;
var qty = dr.qtyn; //파트리스트수량(N대수량으로 처리)
var model = string.IsNullOrEmpty(dr.ItemModel) ? dr.ItemName : dr.ItemModel;
//검색 sql 생성
string sql = "";
if (string.IsNullOrEmpty(dr.ItemSid) == true) sql = string.Format(basesql2, model);
else sql = string.Format(basesql1, dr.ItemSid);
cmd.CommandText = sql;
rdr = cmd.ExecuteReader();
List<DatabaseManager.sPMPdata> db = new List<DatabaseManager.sPMPdata>();
while (rdr.Read())
{
//데이터를 가져온다
var v_sidno = rdr[0];
var v_name = rdr[1];
var v_no = rdr[2];
var v_qty = rdr[3];
var newdr = new DatabaseManager.sPMPdata();
if (v_sidno != DBNull.Value) newdr.sid = v_sidno.ToString();
if (v_name != DBNull.Value) newdr.partname = v_name.ToString();
if (v_no != DBNull.Value) newdr.partno = v_no.ToString();
if (v_qty != DBNull.Value) newdr.qty = int.Parse(v_qty.ToString());
db.Add(newdr);
}
rdr.Close();
//데이터가 여러개있다면 해당 데이터를 표시한다
if (db.Count > 1)
{
cnt_ng += 1;
dr.qtyjago = "{" + db.Count.ToString() + "}";
//dr.qtybuy = qty;
}
else if (db.Count == 1 && db[0].qty != 0)
{
cnt_ok += 1;
dr.qtyjago = db[0].qty.ToString(); //재고수량
//dr.qtybuy = Math.Max(qty - db[0].qty, 0);
//cnt_reduce += (qty - dr.qtybuy);
}
else
{
//pmp에 자료 없다
cnt_no += 1;
dr.qtyjago = "--";
//dr.qtybuy = qty;
}
dr.EndEdit();
}
if (cmd != null) cmd.Dispose();
if (rdr != null) rdr.Close();
cn.Close();
cn.Dispose();
var msg = string.Format("PMP 검색결과 현황\n" +
"검색완료 : {0}\n" +
"복수확인 : {1}\n" +
"확인불가 : {2}", cnt_ok, cnt_ng, cnt_no);
FCOMMON.Util.MsgI(msg);
}
void searchpmp()
{
//PMP조회
var drv = this.bsPart.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.ProjectsPartRow;
//검색어
var title = string.IsNullOrEmpty(dr.ItemModel) ? dr.ItemName : dr.ItemModel;
if (string.IsNullOrEmpty(dr.ItemSid) == false) title = dr.ItemSid;
var f = new fSPMaster(title);
if (f.ShowDialog() == DialogResult.OK)
{
var pmp = f.qty; //pmp재고
var req = f.qty;
var buy = Math.Max(req - pmp, 0);
dr.qtyjago = pmp.ToString();
dr.qtybuy = buy;
dr.EndEdit();
}
}
private void pMP조회ToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void toolStripButton7_Click(object sender, EventArgs e)
{
searchpmp();
}
private void button2_Click(object sender, EventArgs e)
{
Save();
}
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
{
}
private void btConf_Click(object sender, EventArgs e)
{
var f = new fPartConfirm(this.dsPRJ.ProjectsPart, sortkey);
f.ShowDialog();
FormattingData();
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
////검토는 되어있지만 구매등록이 안된 목록 가져온다
//var list = this.dsPRJ.ProjectsPart.Where(t => t.bconfirm == true && t.bbuy == false);
//var cnt = list.Count();
//if (cnt < 1)
//{
// FCOMMON.Util.MsgE("검토목록 전체가 구매등록된 상태 입니다");
// return;
//}
//var dlg = FCOMMON.Util.MsgQ(string.Format("{0}건의 자료가 구매등록 대기 상태입니다\n\n구맹 등록상태로 전환 하시겠습니까?", cnt));
//if (dlg == DialogResult.Yes)
//{
// foreach (var dr in list)
// {
// dr.bbuy = true;
// dr.EndEdit();
// }
// this.FormattingData();
//}
}
private void toolStripButton1_Click_1(object sender, EventArgs e)
{
//쇼핑카드 데이터를 가져와서 검색을 실행한다
this.Validate();
this.bsPart.EndEdit();
var f = new fSCCheck(this.dsPRJ.ProjectsPart);
f.ShowDialog();
}
private void button3_Click(object sender, EventArgs e)
{
var drv = this.bsPart.Current as DataRowView;
var dr = drv.Row as dsPRJ.ProjectPartStatusRow;
var f = new rPartList(dr.Project);
f.Show();
}
private void button4_Click(object sender, EventArgs e)
{
var drv = this.bsPart.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.ProjectPartStatusRow;
var tbPath = dr.path;
if (tbPath.Equals(""))
{
util.MsgE("공유폴더가 존재하지 않는 프로젝트 입니다. 프로젝트 정보에서 공유폴더를 클릭해 먼저 생성한 후 다시 시도하세요");
return;
}
if (tbPath.StartsWith("\\") == false)
{
if (tbPath.StartsWith("/")) tbPath = tbPath.Replace("/", "\\");
else tbPath = "\\" + tbPath;
}
var serverpath = @"\\" + FCOMMON.info.serverip + @"\Data\Project";
if (System.IO.Directory.Exists(serverpath) == false)
{
FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" +
serverpath);
return;
}
var path = serverpath + tbPath;
if (System.IO.Directory.Exists(path) == false)
{
FCOMMON.Util.MsgE("프로젝트 저장소 없음");
}
FCOMMON.Util.RunExplorer(path);
}
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
{
var drv = this.bsPart.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.ProjectPartStatusRow;
var f = new fProjectPartListEdit(dr.idx);
if(f.ShowDialog() == DialogResult.OK)
{
this.RefreshData();
}
}
private void button3_Click_1(object sender, EventArgs e)
{
//if (button3.BackColor == Color.Gold) button3.BackColor = SystemColors.Control;
//else button3.BackColor = Color.Gold;
//RefreshData();
}
}
}

View File

@@ -0,0 +1,395 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="pdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label3.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label4.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>327, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="button1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAG
7AAABuwBHnU4NQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAVsSURBVFhH3VhZ
TxtXFJ6qfWr7Q1pVrSK1PyAvSaUWAqZsITg4tC8EUvWhUpUAqVMgYLOTsENMqzSYNSyChLAFSAqhNuAQ
A0ElQMJOKPsYg8fTe8Z3wtg+GIOBh37SJ4/mnuXzzF3OGeZ/i7zob766l3QuvToj4NHD3NCnjzUKQ0dJ
+CiwrVhhgHvV6QFNxCY1J/bsl9TteJGtPP2xNlmmbswN0Rvrflr+t0fJb/YluCTYvKj9cRl8ylL8VMk/
n/2Ihjs6KJWnPyhT+8WRp/Ry4UksKsQdznfFWNuLFSPaFNkNiEnDewZNwplTtVlB+tnOaAuW9DCc6bi2
U5cVqPtdee4LmuZw+FPl+33XHz+82dDHo4k8IcTsLAl/rVXJLtF0B4NW7XulvypqDgt+lOyruDxbmuQT
SdO6h1K1r6KvMnIBC3gcJCLnyduS0/SuofnN5/NOTfgEFug42VGieFUY9+2nVAYOWFl1mcE6d+cc+zyD
N0828JaVlzxnWuCtO5uEG8K1ZXmY3xqv4TcHklFfR66TnLWZgb3lAQHvUznOqEr1U812RHNYADv2J/Hb
0+281WLm9wOINk81Cz5oLAmnHl+1VKT4xVE59oANtP2OYhRzlJIdzOS5zWmafhfW7XWeY+cEwrUjuI0p
4puBxpSytVg+kq/0/pDK2oVWLUucfxJjxZxEsoNZJPkaTUnA7fDbc908a8x1sjUZ8/jt+W6i3EKNeduT
dLBz5FxXtFWb7BNPZdnAM8x7jTkhfZjDOw6ohacjgjMtosIcaRrKI7Zv+e2ZDnQcY0NOiI5Ks6FAeebU
YM2VVcxYJCQQAYuANaSgdigHVPj9PWi4H7VcEPv1Z1Qew5SpZWnLPTdQYyD7PG13QZDXyhqzUTt3CNPE
sjom/GLjwKVuJa9V+6moPIYhy/sBZigSthIRMK8wG3cIf8xqXhXiwK+rP1qTGdhA5THMg9wLvZiRSMvK
qBAUYBrKR232o1ScCFciG/NCe6g8hmkpujiEGYm0bi3ZApLtAxvfj5g4EXuJbC6QG6k8hmkrCvvH0UBK
nrPNP25zBh13RVfiRGAiW4kmKo9hWovDxqSDrDHHfr9DAONgJ/Vzh9zmrM2fLDpsXKSdQOwVsy9ukVe7
LARzBNyHcUcfdwhHH4DbeouOi7R7xTAhMSNMpCfiTMOFNApPiokR1EZkY86FbirP9TYjFemJOODO/DMh
DsA8WY/aiLTbZkpVsqSlv35FDYEgyrL2yiNxcCyK57LVskVOojTUDrj49DpPusfd89ido86JBzi+WEOq
cHaLgFINsxPpdNQByAHtcrOWcnumU0gIFQs2LqVYLIgQtqp9/lzD7fPPqKxduFNuAaFkegfyynYW9WTy
FznZwT0Y460cNSaXsN+RetLRVkrSO3OkJ3IuWqFgbSsOG8acpBQKVlJ8OsK9gtW1OGBLkdyIFqyAezd9
rk+1XTNjjnYk5bt5qoXsaSxNvzcOUvK/abu6pU30iaZynAFN0/2MgP51XRwawJEsaYjMpDGCBkk4r0kp
BoRrsWkCG8zXkeu6eJ7k1rtsmgDQdj7WXDrxtpP0Q+P7tp0iSuK9z+vLIyaxQMdBXVnE5J14ryCa3j2Q
Tj9KXxExgwU8SpIHMa1V+0bQtAfD3USvoNZixQTMDyy4J1z7O46s2IsTd1Ve/jTd4QDzoird3/C69Zcj
+/xGYu1UpX9n0Nz0/oSm8QywurVqn8TmQvnYXFcMmtQdzpOetyk/dIw0aQlH9gFTCvgEXJ4iU9ffCh7o
q4xchUMdEyIl2PRXXl6pvx3Uf2yfgDGIH9HJq2puyA7ubcqXD7cUyMeBD8k13KtO9390oh/RTx4M8x+u
txiKQUsjZwAAAABJRU5ErkJggg==
</value>
</data>
<data name="button2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAG
7AAABuwBHnU4NQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFNSURBVFhH7ZLN
S8MwGIf7Z3sXvHSIIlU2u01oL0rXzTm/ceuGzM+rB0FchTEQbx1MwUrllbTLIV3bZUknyQPPpdD+HtIo
kkVRXGsMm8YN0Xbj2QvdLDV9s977mUfDdnxwXbO/KoVWAU2nw65eD16evIBk/2IUuWd1grcPj0qj3g3u
Ou5nRW1to/lkeAfCdzNFsghcUfVI/HkYCEJkWT3WUEY8eQWC9447SYzMMxC8bb/O/t15B4IzI5chEIyN
XJZA0NrtuShrCovAOJMCoQVlTfnXgQ/OexS4pZ8E+v7lXFatqz+L5hlxJzRzIG9lIK0ykNZUgZp5FJw6
j1yELXw7VSC8yAvYwrdlYFbECHTHixVHjBNkiRiBpHtEI44YJ8gSMQJJ94hGHDFOkCUykJZUgTurteFB
qTsI3SjX/MPz/jcPYQvfhhaUJaFEUX4B8Gv8C+/jmnoAAAAASUVORK5CYII=
</value>
</data>
<data name="button4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAi
mgAAIpoBvt37KgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGHSURBVFhH7ZUx
SgNhFIT3aLaKB7CyVywEK7t4ASshjSA21jYWNmJhK3gEb6Ct1epn3vB+wiDBhZdd2IFpJjP/+wpNullD
dXu8txizAezH7OkAvi3P+v7lehSGZQYc4hlwqC3gWD0JwNW39tHus8LHxeFWrPvBsvolkSL4Lbi/iwrr
PiyBlSJUwY0rrPuwBFaKUAU3rrDuwxJYKUIV3LjCug9LYKUIVXDjdb/fXfSvV6cbma57Y926D0tgpQhV
cOPWHw+X7WMb+fNn495q3fSHAX49Lfv784P2wT9Nl417q3Wzmf9J/mXdhyWwUoQquHGFdR+WwEoRquDG
FdZ9WAIrRaiCG1dY92EJrBShCm5cYd2HJbBShCq4cYV1H5bAShGq4MYV1n1YAitFqIIbV1j3YQmsFKEK
blxh3YclsFKEKrhxhXUflsBKEargxhXWfVgCK0WoghtXWPdhCawUoQpuXGHdhyWwUoQquHGFdR+WwEoR
NoVte4KANyf7O3wwBsMSWLMGquu+ASE8PB8NwG11AAAAAElFTkSuQmCC
</value>
</data>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>252, 17</value>
</metadata>
<data name="autoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ
4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg
wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO
GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE
pRQTK6YYEAA7
</value>
</data>
<data name="resetToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R
PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg
oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX
dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7
</value>
</data>
<data name="saveToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh
e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF
Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw
QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK
HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC
un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs=
</value>
</data>
<data name="loadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7
69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ
IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj
SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG
vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw==
</value>
</data>
<metadata name="bsPart.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>100, 17</value>
</metadata>
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>186, 17</value>
</metadata>
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
</value>
</data>
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
</value>
</data>
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
</value>
</data>
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
</value>
</data>
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANISURBVDhPtZBdTFN3GIdJvFu4ULMSFIiZW0JCci5EF4hU
OsZHZoEYslIgFMs6LUioQIsBZHCoKwo1ZVBqaR1DsFIrjiBoZwWDURNGsWvnGSNQoSsg/bBWqodtkhB/
I7XLZvTW5/Z9n+ef/xv2f1TTZPgZa10j+bN4ouZe2UbF7a83SoyFE0WDuQ25AwNbhCMrH4RW30ZBNbCa
LTWOm/M3MOq8DePiLTx4YoXeeglf6tjqiv7FY6U9846vtHZWSPkPue1kjuH3Xow5R9Frv4xKawMkv5AY
nLuG7D62P69X83FpzyN/zz0fJBcXwJHbckLq5svT5PZT5mp6fHEcrdMqCKaOo9h8HF0zPVDf7USGOuXY
kW6Huu2GG8bfaGjGvGA3memMqontwQA5KZEZ7ddxfvYi+FMi5E8IccLSBJ1VhwzlAVuxZib+MDm9MfLw
BRS3fBgwB1DZPYsD5WOyYODE3RKb6Y9RiCwnUbApCyfF0NkNEBlKkdSSwCxUztxvM7rwoyWAKv0KZMNe
tAwtI14wbAsGykzF68POn1BhqUcrpcSVuUGcNbVi/7ef/lDYMcvNIB/+dWVyFRK9CyXfL0GoWcJ3192I
410NBANFQ9zApGcKV+eGoLqjBOv0fn+idF/jiJj8UFV9ITKTNFOdN92o0btR1O4Er82BlkEXdrEv0MEA
tz/b1nmnHZ93sp4kyxPEJnFezEs+v/7vbK6fPniISKm+T5299hii7mVwmhdQol6CqMuO3Vldr7+QqUmT
pHYwhbaqw1HrR48q1ng8mm78Bmv5BaCTU4mkchMlNSziiNKJrLo5yAxusCvHEZXe/vqIqK3d9rK8TOsV
CNbXmmVYNejg7+/F86xDoOMTiX2CEaquz4HCVgfIzTvwzvyK6HQ5HclsZgQDr0QixhqfT7/QnsOzgX64
pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L
fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+
brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKgSURBVDhPvZLfT1JhHMbPuq6/oYtmmRdt2cZFXXThbbc1
N/Oiu+ZVm6aWBrOGRaghyjARNkBjwgkMSY/CWXL4YbhKR2wYKMigX/5KA48Q1tN5D2dLt9Zlz/bdu333
ft7nfb7vS/13Wa1WmEwmDA8PQ6fTXadCoRBIBQIBzM3NgWVZzM7OYnp6GpOTk3C5XHA4HLDZbLBYLOLe
crmMXC4HjUYTo4LBIA4ODlAqlf5Z+XweRqPx4+7uLpaXl6FWq9MqlaqJ4jhObGSzWczPzyOTyYD00uk0
vF4vkskkPB6PuIemacRiMfFGAlwnpaIon8+HcDhMrizz+/1wOp0yAo+NjclIDIPBICOwVquVCT0xv1Kp
rJZwimIYBtFoVJxBKpUSZ0CcCRyPx8G6tVjhWjH+zISlpSXiDoVCcVzCK5qYmEChUMDMzIzo7Ha7RWcn
bUOCaUhvJR1462ocHRkZgVwuh4T9kd1u71xYWEAikQCBibPQQzykw0Z8FOXCCt47r+Fd2I329vZfEnZU
ZrOZTBpDQ0MYGBiAQadElL6K4oYHxU992F59icj4TbTebv77AYclhDwWs1+xbn6gUczeB/foAn5s0Vg0
1eGJvP67tK0iIdeZp4L0ej2ZNHp7e2HUtCLNdqC0bgG/cgPcw/PYz7RhJzUFb9/ln0HVxRMSTlHCs3SS
tb+//1ZPT8+aWqVsXjTWvfkmDG5/rQV7ifpKJRuFKBpk/FoEVbVyESYaHBzsFL6l+FEikQimzB3IcH0o
fdGL7nvJBiFCrbjyqSbwn1/g1YPqr5yipkY6oqLu7m50dXUhoLm0w2+uorTNorguzGDdcaieo5yPIfd6
FOzdKoeEHhX3+Nwmo6jhj9ZZnrlXzTMdp3nmThXPtJ3ifS0nA78B2I8wkgDv+LoAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALvSURBVDhPhZLrS1NhHMf3qv6EsF70UpBSyqioF6WpTQ3s
ZjrMvM0pmprowiBbTCNTF5qoUCFK0YsKtdKpzds2pxtukrlMzeu8gJel7nKO29n89pyzpQZCP/jwvHjO
98P5fc/hsRP6UJl4pUyriCrX/g6TaCly0hwy9tTRUWUDdMQzjfG8WF3pF/3+ABfaO+FP+tQrFnrNaDS6
zLYtmK27rFlYaPxcsqDwswmC8jE7P0t+0Bv1TGSJZoUND8w6oZtjoDMx0M4y0Mw4oPy1hfZRG7YYoGWM
QmHzHFJeGKl/JGGSdmrT7oBh3oWheYacDAY5iQOqyS18HbUTgRuGJRd0i04Uy00IftD9jgvHyoKmb0mi
t0U1N5BSfRPVHQ0oapQhWOKPIAK/+BxCpadR0VLBrWKlGSyv2xGaoGI4QUxZ8MfukVa0TrxGtTafkyRU
RSD/bTyyGwQQ1l5Fcm0yWoaX0Wq04sv3TWyQnsKkfTQn4FfyD/pJclza8V68GZGiVJnFSRJrIkn4GtJf
pkE9aeNW6ZqgoCA9rNucCCvq9wjYCS9R0bl1SdBPalCru4+nnXmIlV1CYlU09LN26EmxbMHqKU8nZiII
le4RXHgkcZ4pOIr4Sj4MUwMo7s2AVJ4LwfMQNCg/4dsCAz0pdmDGiX7CisWJ4MdewUmxjyhQfATZ9XG4
XROOuIrLnCRXHg9xYxp5kxCw9waTC4PsJyZYSJEBORqPIFB8aCFQfJg85IPAfB9cLw1B5qskqEcVKFYU
IONDEoQ1MdATgY78G1oioJ1uIlDurnAxp49e2qAxvODiUI0v4l5dOlJJUFQrQF793Z07FrvDRQRNuwLW
Nm/eFfwPG7tC2h7B2dwee3Nn//Z+D++HTj/kPp7QYvXGSZHpndNzm3ZLT4/WPb1KYXqFwqSXVauTg23e
Srug0RncFEVt+N5p++GN83in0jsyA4TtnSdECnOAqIneIdWD/1+ETbSvsG39WHJbl3+SPIXH4/H+AGZa
nrYFb5VbAAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJiSURBVDhPvVLfa1JhGD5/QNBt3nTbbkbs5nTR5aBugogu
ghGxohpo1G5GSv5I0un80XE60Zwb6H6BjulUch4d6OY2HLsQlTYczMa27s1BiNLTeb+dLXZTXfXAx8f3
nu/5nud93sP9d8zMzGB6ehqBQABer/cxt7GxAVrr6+vI5/NYXV2FKIpIp9NIJpOIxWKIRqNYWFhAOBxm
dzudDo6Pj+FyuWpcsVhEt9tFu93+42q1WpiamjppNpvY29uD3W5vjI2NKbm1tTVWODo6wtbWFg4PD0G1
RqOBbDaL/f19pFIpdmdxcRG1Wo05ksj9clccl8vlsLm5SZb5QqGApaUlnshzc3M8tTE5OckT2e1281KN
9W82m3tkOsetrKygUqmwDA4ODlgGpEzk3d3dC+XZ2VmUy2VSh8FguCLTzxCPx3F6eopMJsOUE4kEUya7
TqeTJ7LVauWDwSD0ej1k2m9EIhHt9vY26vU6iEzKUg3VahU0OlKWHsTOzg7UavVPmXYZoVCIkobf74fH
44EgCLDZbNQv1LbXeOMZwMuP9zHwoR933/ZqZdrfMSQ8eG+MPkWq5kX5mwghq8QjoRe8SuFgF6S+bnyS
4PP5KGnqmfqFyWSisPDEcgfLVReWv7hBcOReQMgN4abq6g/2gDQWZmd8fHzY4XB8lcjD7IOMe+/68LkW
ZORzJCpe3FIpzsKcmJjQSr8lG1epVML8/DxLWqPRYGRkBLdfXYddfAaLOMjIlszgZQfnGB0dhdFohE6n
u+SAVypMDx09cIrPmTLtdL7I4F/AK69Z+1SK72SbdjpzHMf9Asu3+BhNj8g8AAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKgSURBVDhPvZLfT1JhHMbPuq6/oYtmmRdt2cZFXXThbbc1
N/Oiu+ZVm6aWBrOGRaghyjARNkBjwgkMSY/CWXL4YbhKR2wYKMigX/5KA48Q1tN5D2dLt9Zlz/bdu333
ft7nfb7vS/13Wa1WmEwmDA8PQ6fTXadCoRBIBQIBzM3NgWVZzM7OYnp6GpOTk3C5XHA4HLDZbLBYLOLe
crmMXC4HjUYTo4LBIA4ODlAqlf5Z+XweRqPx4+7uLpaXl6FWq9MqlaqJ4jhObGSzWczPzyOTyYD00uk0
vF4vkskkPB6PuIemacRiMfFGAlwnpaIon8+HcDhMrizz+/1wOp0yAo+NjclIDIPBICOwVquVCT0xv1Kp
rJZwimIYBtFoVJxBKpUSZ0CcCRyPx8G6tVjhWjH+zISlpSXiDoVCcVzCK5qYmEChUMDMzIzo7Ha7RWcn
bUOCaUhvJR1462ocHRkZgVwuh4T9kd1u71xYWEAikQCBibPQQzykw0Z8FOXCCt47r+Fd2I329vZfEnZU
ZrOZTBpDQ0MYGBiAQadElL6K4oYHxU992F59icj4TbTebv77AYclhDwWs1+xbn6gUczeB/foAn5s0Vg0
1eGJvP67tK0iIdeZp4L0ej2ZNHp7e2HUtCLNdqC0bgG/cgPcw/PYz7RhJzUFb9/ln0HVxRMSTlHCs3SS
tb+//1ZPT8+aWqVsXjTWvfkmDG5/rQV7ifpKJRuFKBpk/FoEVbVyESYaHBzsFL6l+FEikQimzB3IcH0o
fdGL7nvJBiFCrbjyqSbwn1/g1YPqr5yipkY6oqLu7m50dXUhoLm0w2+uorTNorguzGDdcaieo5yPIfd6
FOzdKoeEHhX3+Nwmo6jhj9ZZnrlXzTMdp3nmThXPtJ3ifS0nA78B2I8wkgDv+LoAAAAASUVORK5CYII=
</value>
</data>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>508, 17</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>327, 17</value>
</metadata>
<metadata name="taPart.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>424, 17</value>
</metadata>
<metadata name="label5.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>

View File

@@ -241,7 +241,7 @@ namespace FPJ0000
PO발행 += 1;
}
//구매진행중인데 수량이 다르면 색상 변경
else if (qty_in != qty_buy)
else if (qty_in < qty_buy)
{
//공급사가 없다면 ㅔo발행건으로 한다.
if (qty_buy < 1)

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FPJ0000
@@ -38,7 +35,7 @@ namespace FPJ0000
this.cmbProcess.DataSource = dt_eetproc;
//분류 - 190903
var dt_cate = FCOMMON.DBM.getCodeTable("20");
var dt_cate = FCOMMON.DBM.getCodeTable("20", "code");
this.cmbCate.DisplayMember = "Value";
this.cmbCate.ValueMember = "Value";
this.cmbCate.DataSource = dt_cate;
@@ -64,6 +61,10 @@ namespace FPJ0000
//주간일지내역을 업데이트
refresh_History();
//일업무현황 업데이트
this.taHistD.Fill(this.dsPRJ.EETGW_ProjecthistoryD, this.dr.idx);
//todo 업데이트
refreshTodo();
try
{
if (dr.idx >= 0)
@@ -121,9 +122,12 @@ namespace FPJ0000
this.Validate();
this.bs.EndEdit();
this.bsWeek.EndEdit();
this.bsHistWeek.EndEdit();
this.bsHistDay.EndEdit();
this.bsTodo.EndEdit();
this.taToDo.Update(this.dsPRJ.EETGW_ProjectToDo);
this.taHist.Update(this.dsPRJ.ProjectsHistory);
this.taHistD.Update(this.dsPRJ.EETGW_ProjecthistoryD);
this.DialogResult = System.Windows.Forms.DialogResult.OK;
//this.tableAdapterManager.UpdateAll(this.dsPRJ);
}
@@ -169,12 +173,12 @@ namespace FPJ0000
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
{
var drv = this.bsWeek.Current as DataRowView;
var drv = this.bsHistWeek.Current as DataRowView;
if (drv == null) return;
var dlg = FCOMMON.Util.MsgQ("선택된 업무현황을 삭제하시겠습니까?" +
"\n\n메일이 발송 완료된 경우 발송된 메일은 삭제되지 않습니다.");
if (dlg == System.Windows.Forms.DialogResult.Yes)
this.bsWeek.RemoveCurrent();
this.bsHistWeek.RemoveCurrent();
}
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
@@ -183,7 +187,7 @@ namespace FPJ0000
var f = new fHistAdd(newdr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
bsWeek.EndEdit();
bsHistWeek.EndEdit();
this.dsPRJ.ProjectsHistory.AddProjectsHistoryRow(newdr);
}
else newdr.Delete();
@@ -213,7 +217,7 @@ namespace FPJ0000
private void btwEdit_Click(object sender, EventArgs e)
{
var drv = this.bsWeek.Current as DataRowView;
var drv = this.bsHistWeek.Current as DataRowView;
if (drv == null) return;
var newdr = drv.Row as dsPRJ.ProjectsHistoryRow;
@@ -317,7 +321,7 @@ namespace FPJ0000
private void rtBack_Click(object sender, EventArgs e)
{
}
private void rtBack_DoubleClick(object sender, EventArgs e)
@@ -327,5 +331,141 @@ namespace FPJ0000
if (f.ShowDialog() == DialogResult.OK)
rt.Rtf = f.richTextBoxEx1.Rtf;
}
private void toolStripButton5_Click(object sender, EventArgs e)
{
//일업무현황 추가
var newdr = this.dsPRJ.EETGW_ProjecthistoryD.NewEETGW_ProjecthistoryDRow();
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.pidx = this.dr.idx;
newdr.pdate = DateTime.Now.ToShortDateString();
var f = new fHistAddDay(newdr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
this.bsHistDay.EndEdit();
this.dsPRJ.EETGW_ProjecthistoryD.AddEETGW_ProjecthistoryDRow(newdr);
}
else newdr.Delete();
}
private void toolStripButton6_Click(object sender, EventArgs e)
{
var drv = this.bsHistDay.Current as DataRowView;
if (drv == null) return;
var newdr = drv.Row as dsPRJ.EETGW_ProjecthistoryDRow;
var f = new fHistAddDay(newdr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
newdr.EndEdit();
}
}
private void toolStripButton7_Click(object sender, EventArgs e)
{
var drv = this.bsHistDay.Current as DataRowView;
if (drv == null) return;
var dlg = FCOMMON.Util.MsgQ("선택된 일 업무 현황을 삭제하시겠습니까?");
if (dlg == System.Windows.Forms.DialogResult.Yes)
this.bsHistDay.RemoveCurrent();
}
private void toolStripButton15_Click(object sender, EventArgs e)
{
refreshTodo();
}
void refreshTodo()
{
taToDo.Fill(this.dsPRJ.EETGW_ProjectToDo, this.dr.idx);
this.dataGridView3.AutoResizeColumns();
updatetimetable();
formmatingdata();
}
private void toolStripButton12_Click(object sender, EventArgs e)
{
//add
var newdr = this.dsPRJ.EETGW_ProjectToDo.NewEETGW_ProjectToDoRow();
newdr.pidx = this.dr.idx;
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
this.dsPRJ.EETGW_ProjectToDo.AddEETGW_ProjectToDoRow(newdr);
}
private void toolStripButton13_Click(object sender, EventArgs e)
{
//edit
}
private void toolStripButton14_Click(object sender, EventArgs e)
{
//delete
this.bsTodo.RemoveCurrent();
}
private void toolStripButton16_Click(object sender, EventArgs e)
{
}
void updatetimetable()
{
this.panel9.Invalidate();
}
void formmatingdata()
{
//색상을 변경해준다. (그룹은 자료가 있으나, 항목에 자료가 없다면 타이틀이다)
foreach (DataGridViewRow dr in this.dataGridView3.Rows)
{
var o_grp = dr.Cells[1].Value;
var o_item = dr.Cells[4].Value;
var v_grp = string.Empty;
var v_item = string.Empty;
if (o_grp != null) v_grp = o_grp.ToString();
if (o_item != null) v_item = o_item.ToString();
if (v_grp.Equals("") == false && v_item.Equals(""))
dr.DefaultCellStyle.BackColor = System.Drawing.Color.White;
else
dr.DefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(220, 220, 220);
}
}
private void toolStripButton13_Click_1(object sender, EventArgs e)
{
//save
try
{
this.Validate();
this.bsTodo.EndEdit();
var cnt = taToDo.Update(this.dsPRJ.EETGW_ProjectToDo);
this.dataGridView3.AutoResizeColumns();
updatetimetable();
}
catch (Exception ex)
{
FCOMMON.Util.MsgE(ex.Message);
}
}
private void panel9_Paint(object sender, PaintEventArgs e)
{
//타임테이블을 그린다.
e.Graphics.Clear(System.Drawing.Color.Black);
e.Graphics.DrawString("time table", this.Font, System.Drawing.Brushes.White, 10, 10);
var lst = this.dsPRJ.EETGW_ProjectToDo.Where(t => t.title == null).OrderBy(t => t.sort).ToList();
if (lst.Count < 1) return;
var strh = panel9.Height / lst.Count;
for (int i = 0; i < lst.Count; i++)
{
var y = strh * i;
e.Graphics.DrawLine(System.Drawing.Pens.Yellow, 0, y, panel9.Width, y);
}
foreach (dsPRJ.EETGW_ProjectToDoRow dr in lst)
{
e.Graphics.DrawString(dr.title, this.Font, System.Drawing.Brushes.Black, 10, 10);
}
}
}
}

View File

@@ -320,9 +320,15 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bsWeek.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="bsHistWeek.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>449, 17</value>
</metadata>
<metadata name="bsHistWeek.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>449, 17</value>
</metadata>
<metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>773, 17</value>
</metadata>
<metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>773, 17</value>
</metadata>
@@ -420,4 +426,213 @@
<metadata name="taSchedule.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>660, 17</value>
</metadata>
<metadata name="sort.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="cate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="sw.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ww.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="bsTodo.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>173, 56</value>
</metadata>
<metadata name="bnTodo.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
</metadata>
<data name="toolStripButton8.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton10.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton11.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton12.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
rkJggg==
</value>
</data>
<data name="toolStripButton14.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton15.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton13.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingNavigator2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1161, 17</value>
</metadata>
<metadata name="bsHistDay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>929, 17</value>
</metadata>
<metadata name="bsHistDay.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>929, 17</value>
</metadata>
<metadata name="bindingNavigator2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1161, 17</value>
</metadata>
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
oAc0QjgAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
rkJggg==
</value>
</data>
<data name="toolStripButton6.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
</value>
</data>
<metadata name="taHistD.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1068, 17</value>
</metadata>
<metadata name="taToDo.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>266, 56</value>
</metadata>
</root>

View File

@@ -0,0 +1,616 @@
namespace FPJ0000
{
partial class fProjectPartListEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.Label pdateLabel;
System.Windows.Forms.Label statusLabel;
System.Windows.Forms.Label nameLabel;
System.Windows.Forms.Label userManagerLabel;
System.Windows.Forms.Label ordernoLabel;
System.Windows.Forms.Label pathLabel;
System.Windows.Forms.Label itemNameLabel;
System.Windows.Forms.Label itemSidLabel;
System.Windows.Forms.Label itemUnitLabel;
System.Windows.Forms.Label itemSupplyLabel;
System.Windows.Forms.Label itemManuLabel;
System.Windows.Forms.Label memoLabel;
System.Windows.Forms.Label qtyLabel;
System.Windows.Forms.Label priceLabel;
System.Windows.Forms.Label amtLabel;
System.Windows.Forms.Label qtybuyLabel;
System.Windows.Forms.Label qtyinLabel;
System.Windows.Forms.Label label1;
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsPRJ = new FPJ0000.dsPRJ();
this.ta = new FPJ0000.dsPRJTableAdapters.ProjectPartStatusTableAdapter();
this.tableAdapterManager = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
this.pdateTextBox = new System.Windows.Forms.TextBox();
this.statusTextBox = new System.Windows.Forms.TextBox();
this.nameTextBox = new System.Windows.Forms.TextBox();
this.userManagerTextBox = new System.Windows.Forms.TextBox();
this.ordernoTextBox = new System.Windows.Forms.TextBox();
this.pathTextBox = new System.Windows.Forms.TextBox();
this.projectTextBox = new System.Windows.Forms.TextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel3 = new System.Windows.Forms.Panel();
this.bbuyCheckBox = new System.Windows.Forms.CheckBox();
this.itemSupplyTextBox = new System.Windows.Forms.TextBox();
this.qtyinTextBox = new System.Windows.Forms.TextBox();
this.option1TextBox = new System.Windows.Forms.TextBox();
this.qtybuyTextBox = new System.Windows.Forms.TextBox();
this.amtTextBox = new System.Windows.Forms.TextBox();
this.priceTextBox = new System.Windows.Forms.TextBox();
this.qtyTextBox = new System.Windows.Forms.TextBox();
this.memoTextBox = new System.Windows.Forms.TextBox();
this.itemManuTextBox = new System.Windows.Forms.TextBox();
this.itemUnitTextBox = new System.Windows.Forms.TextBox();
this.itemSidTextBox = new System.Windows.Forms.TextBox();
this.itemNameTextBox = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
pdateLabel = new System.Windows.Forms.Label();
statusLabel = new System.Windows.Forms.Label();
nameLabel = new System.Windows.Forms.Label();
userManagerLabel = new System.Windows.Forms.Label();
ordernoLabel = new System.Windows.Forms.Label();
pathLabel = new System.Windows.Forms.Label();
itemNameLabel = new System.Windows.Forms.Label();
itemSidLabel = new System.Windows.Forms.Label();
itemUnitLabel = new System.Windows.Forms.Label();
itemSupplyLabel = new System.Windows.Forms.Label();
itemManuLabel = new System.Windows.Forms.Label();
memoLabel = new System.Windows.Forms.Label();
qtyLabel = new System.Windows.Forms.Label();
priceLabel = new System.Windows.Forms.Label();
amtLabel = new System.Windows.Forms.Label();
qtybuyLabel = new System.Windows.Forms.Label();
qtyinLabel = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.panel3.SuspendLayout();
this.SuspendLayout();
//
// pdateLabel
//
pdateLabel.AutoSize = true;
pdateLabel.Location = new System.Drawing.Point(66, 25);
pdateLabel.Name = "pdateLabel";
pdateLabel.Size = new System.Drawing.Size(40, 12);
pdateLabel.TabIndex = 0;
pdateLabel.Text = "pdate:";
//
// statusLabel
//
statusLabel.AutoSize = true;
statusLabel.Location = new System.Drawing.Point(63, 52);
statusLabel.Name = "statusLabel";
statusLabel.Size = new System.Drawing.Size(43, 12);
statusLabel.TabIndex = 2;
statusLabel.Text = "status:";
//
// nameLabel
//
nameLabel.AutoSize = true;
nameLabel.Location = new System.Drawing.Point(65, 79);
nameLabel.Name = "nameLabel";
nameLabel.Size = new System.Drawing.Size(41, 12);
nameLabel.TabIndex = 4;
nameLabel.Text = "name:";
//
// userManagerLabel
//
userManagerLabel.AutoSize = true;
userManagerLabel.Location = new System.Drawing.Point(18, 106);
userManagerLabel.Name = "userManagerLabel";
userManagerLabel.Size = new System.Drawing.Size(88, 12);
userManagerLabel.TabIndex = 6;
userManagerLabel.Text = "user Manager:";
//
// ordernoLabel
//
ordernoLabel.AutoSize = true;
ordernoLabel.Location = new System.Drawing.Point(54, 133);
ordernoLabel.Name = "ordernoLabel";
ordernoLabel.Size = new System.Drawing.Size(44, 12);
ordernoLabel.TabIndex = 8;
ordernoLabel.Text = "CR/CF";
//
// pathLabel
//
pathLabel.AutoSize = true;
pathLabel.Location = new System.Drawing.Point(73, 160);
pathLabel.Name = "pathLabel";
pathLabel.Size = new System.Drawing.Size(33, 12);
pathLabel.TabIndex = 10;
pathLabel.Text = "path:";
//
// itemNameLabel
//
itemNameLabel.AutoSize = true;
itemNameLabel.Location = new System.Drawing.Point(223, 23);
itemNameLabel.Name = "itemNameLabel";
itemNameLabel.Size = new System.Drawing.Size(71, 12);
itemNameLabel.TabIndex = 0;
itemNameLabel.Text = "Item Name:";
//
// itemSidLabel
//
itemSidLabel.AutoSize = true;
itemSidLabel.Location = new System.Drawing.Point(131, 23);
itemSidLabel.Name = "itemSidLabel";
itemSidLabel.Size = new System.Drawing.Size(55, 12);
itemSidLabel.TabIndex = 2;
itemSidLabel.Text = "Item Sid:";
//
// itemUnitLabel
//
itemUnitLabel.AutoSize = true;
itemUnitLabel.Location = new System.Drawing.Point(35, 74);
itemUnitLabel.Name = "itemUnitLabel";
itemUnitLabel.Size = new System.Drawing.Size(58, 12);
itemUnitLabel.TabIndex = 4;
itemUnitLabel.Text = "Item Unit:";
//
// itemSupplyLabel
//
itemSupplyLabel.AutoSize = true;
itemSupplyLabel.Location = new System.Drawing.Point(97, 16);
itemSupplyLabel.Name = "itemSupplyLabel";
itemSupplyLabel.Size = new System.Drawing.Size(41, 12);
itemSupplyLabel.TabIndex = 6;
itemSupplyLabel.Text = "공급사";
//
// itemManuLabel
//
itemManuLabel.AutoSize = true;
itemManuLabel.Location = new System.Drawing.Point(620, 23);
itemManuLabel.Name = "itemManuLabel";
itemManuLabel.Size = new System.Drawing.Size(69, 12);
itemManuLabel.TabIndex = 8;
itemManuLabel.Text = "Item Manu:";
//
// memoLabel
//
memoLabel.AutoSize = true;
memoLabel.Location = new System.Drawing.Point(47, 101);
memoLabel.Name = "memoLabel";
memoLabel.Size = new System.Drawing.Size(45, 12);
memoLabel.TabIndex = 12;
memoLabel.Text = "memo:";
//
// qtyLabel
//
qtyLabel.AutoSize = true;
qtyLabel.Location = new System.Drawing.Point(214, 72);
qtyLabel.Name = "qtyLabel";
qtyLabel.Size = new System.Drawing.Size(26, 12);
qtyLabel.TabIndex = 14;
qtyLabel.Text = "qty:";
//
// priceLabel
//
priceLabel.AutoSize = true;
priceLabel.Location = new System.Drawing.Point(354, 72);
priceLabel.Name = "priceLabel";
priceLabel.Size = new System.Drawing.Size(37, 12);
priceLabel.TabIndex = 16;
priceLabel.Text = "price:";
//
// amtLabel
//
amtLabel.AutoSize = true;
amtLabel.Location = new System.Drawing.Point(503, 72);
amtLabel.Name = "amtLabel";
amtLabel.Size = new System.Drawing.Size(30, 12);
amtLabel.TabIndex = 18;
amtLabel.Text = "amt:";
//
// qtybuyLabel
//
qtybuyLabel.AutoSize = true;
qtybuyLabel.Location = new System.Drawing.Point(41, 125);
qtybuyLabel.Name = "qtybuyLabel";
qtybuyLabel.Size = new System.Drawing.Size(53, 12);
qtybuyLabel.TabIndex = 20;
qtybuyLabel.Text = "요청수량";
//
// qtyinLabel
//
qtyinLabel.AutoSize = true;
qtyinLabel.Location = new System.Drawing.Point(217, 125);
qtyinLabel.Name = "qtyinLabel";
qtyinLabel.Size = new System.Drawing.Size(53, 12);
qtyinLabel.TabIndex = 22;
qtyinLabel.Text = "입고수량";
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(386, 125);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(41, 12);
label1.TabIndex = 6;
label1.Text = "납기일";
//
// bs
//
this.bs.DataMember = "ProjectPartStatus";
this.bs.DataSource = this.dsPRJ;
//
// dsPRJ
//
this.dsPRJ.DataSetName = "dsPRJ";
this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// tableAdapterManager
//
this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
this.tableAdapterManager.EETGW_NoteTableAdapter = null;
this.tableAdapterManager.EETGW_SaveCostTableAdapter = null;
this.tableAdapterManager.JobReportTableAdapter = null;
this.tableAdapterManager.ProjectPartStatusTableAdapter = this.ta;
this.tableAdapterManager.ProjectsHistoryTableAdapter = null;
this.tableAdapterManager.ProjectsIOMapTableAdapter = null;
this.tableAdapterManager.ProjectsMailListTableAdapter = null;
this.tableAdapterManager.ProjectsPartTableAdapter = null;
this.tableAdapterManager.ProjectsScheduleTableAdapter = null;
this.tableAdapterManager.ProjectsTableAdapter = null;
this.tableAdapterManager.SPMasterTableAdapter = null;
this.tableAdapterManager.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// pdateTextBox
//
this.pdateTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "pdate", true));
this.pdateTextBox.Location = new System.Drawing.Point(112, 22);
this.pdateTextBox.Name = "pdateTextBox";
this.pdateTextBox.Size = new System.Drawing.Size(100, 21);
this.pdateTextBox.TabIndex = 1;
//
// statusTextBox
//
this.statusTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "status", true));
this.statusTextBox.Location = new System.Drawing.Point(112, 49);
this.statusTextBox.Name = "statusTextBox";
this.statusTextBox.Size = new System.Drawing.Size(100, 21);
this.statusTextBox.TabIndex = 3;
//
// nameTextBox
//
this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "name", true));
this.nameTextBox.Location = new System.Drawing.Point(218, 76);
this.nameTextBox.Name = "nameTextBox";
this.nameTextBox.Size = new System.Drawing.Size(414, 21);
this.nameTextBox.TabIndex = 5;
//
// userManagerTextBox
//
this.userManagerTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "userManager", true));
this.userManagerTextBox.Location = new System.Drawing.Point(112, 103);
this.userManagerTextBox.Name = "userManagerTextBox";
this.userManagerTextBox.Size = new System.Drawing.Size(100, 21);
this.userManagerTextBox.TabIndex = 7;
//
// ordernoTextBox
//
this.ordernoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "orderno", true));
this.ordernoTextBox.Location = new System.Drawing.Point(112, 130);
this.ordernoTextBox.Name = "ordernoTextBox";
this.ordernoTextBox.Size = new System.Drawing.Size(100, 21);
this.ordernoTextBox.TabIndex = 9;
//
// pathTextBox
//
this.pathTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "path", true));
this.pathTextBox.Location = new System.Drawing.Point(112, 157);
this.pathTextBox.Name = "pathTextBox";
this.pathTextBox.Size = new System.Drawing.Size(100, 21);
this.pathTextBox.TabIndex = 11;
//
// projectTextBox
//
this.projectTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Project", true));
this.projectTextBox.Location = new System.Drawing.Point(112, 76);
this.projectTextBox.Name = "projectTextBox";
this.projectTextBox.Size = new System.Drawing.Size(100, 21);
this.projectTextBox.TabIndex = 13;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.pathTextBox);
this.groupBox1.Controls.Add(this.projectTextBox);
this.groupBox1.Controls.Add(this.pdateTextBox);
this.groupBox1.Controls.Add(pathLabel);
this.groupBox1.Controls.Add(pdateLabel);
this.groupBox1.Controls.Add(this.statusTextBox);
this.groupBox1.Controls.Add(ordernoLabel);
this.groupBox1.Controls.Add(statusLabel);
this.groupBox1.Controls.Add(this.ordernoTextBox);
this.groupBox1.Controls.Add(this.nameTextBox);
this.groupBox1.Controls.Add(userManagerLabel);
this.groupBox1.Controls.Add(nameLabel);
this.groupBox1.Controls.Add(this.userManagerTextBox);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox1.Location = new System.Drawing.Point(10, 10);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(713, 186);
this.groupBox1.TabIndex = 14;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Project Information";
//
// panel1
//
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(10, 196);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(713, 5);
this.panel1.TabIndex = 15;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.panel3);
this.groupBox2.Controls.Add(qtyinLabel);
this.groupBox2.Controls.Add(this.qtyinTextBox);
this.groupBox2.Controls.Add(label1);
this.groupBox2.Controls.Add(qtybuyLabel);
this.groupBox2.Controls.Add(this.option1TextBox);
this.groupBox2.Controls.Add(this.qtybuyTextBox);
this.groupBox2.Controls.Add(amtLabel);
this.groupBox2.Controls.Add(this.amtTextBox);
this.groupBox2.Controls.Add(priceLabel);
this.groupBox2.Controls.Add(this.priceTextBox);
this.groupBox2.Controls.Add(qtyLabel);
this.groupBox2.Controls.Add(this.qtyTextBox);
this.groupBox2.Controls.Add(memoLabel);
this.groupBox2.Controls.Add(this.memoTextBox);
this.groupBox2.Controls.Add(itemManuLabel);
this.groupBox2.Controls.Add(this.itemManuTextBox);
this.groupBox2.Controls.Add(itemUnitLabel);
this.groupBox2.Controls.Add(this.itemUnitTextBox);
this.groupBox2.Controls.Add(itemSidLabel);
this.groupBox2.Controls.Add(this.itemSidTextBox);
this.groupBox2.Controls.Add(itemNameLabel);
this.groupBox2.Controls.Add(this.itemNameTextBox);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox2.Location = new System.Drawing.Point(10, 201);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Padding = new System.Windows.Forms.Padding(10);
this.groupBox2.Size = new System.Drawing.Size(713, 202);
this.groupBox2.TabIndex = 16;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Project Information";
//
// panel3
//
this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
this.panel3.Controls.Add(this.bbuyCheckBox);
this.panel3.Controls.Add(this.itemSupplyTextBox);
this.panel3.Controls.Add(itemSupplyLabel);
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel3.Location = new System.Drawing.Point(10, 147);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(693, 45);
this.panel3.TabIndex = 14;
//
// bbuyCheckBox
//
this.bbuyCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "bbuy", true));
this.bbuyCheckBox.Location = new System.Drawing.Point(12, 10);
this.bbuyCheckBox.Name = "bbuyCheckBox";
this.bbuyCheckBox.Size = new System.Drawing.Size(85, 24);
this.bbuyCheckBox.TabIndex = 25;
this.bbuyCheckBox.Text = "구매확정";
this.bbuyCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.bbuyCheckBox.UseVisualStyleBackColor = true;
//
// itemSupplyTextBox
//
this.itemSupplyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemSupply", true));
this.itemSupplyTextBox.Location = new System.Drawing.Point(143, 12);
this.itemSupplyTextBox.Name = "itemSupplyTextBox";
this.itemSupplyTextBox.Size = new System.Drawing.Size(100, 21);
this.itemSupplyTextBox.TabIndex = 7;
//
// qtyinTextBox
//
this.qtyinTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtyin", true));
this.qtyinTextBox.Location = new System.Drawing.Point(275, 121);
this.qtyinTextBox.Name = "qtyinTextBox";
this.qtyinTextBox.Size = new System.Drawing.Size(100, 21);
this.qtyinTextBox.TabIndex = 23;
//
// option1TextBox
//
this.option1TextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "option2", true));
this.option1TextBox.Location = new System.Drawing.Point(433, 121);
this.option1TextBox.Name = "option1TextBox";
this.option1TextBox.Size = new System.Drawing.Size(100, 21);
this.option1TextBox.TabIndex = 11;
//
// qtybuyTextBox
//
this.qtybuyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qtybuy", true));
this.qtybuyTextBox.Location = new System.Drawing.Point(102, 121);
this.qtybuyTextBox.Name = "qtybuyTextBox";
this.qtybuyTextBox.Size = new System.Drawing.Size(100, 21);
this.qtybuyTextBox.TabIndex = 21;
//
// amtTextBox
//
this.amtTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "amt", true));
this.amtTextBox.Location = new System.Drawing.Point(540, 68);
this.amtTextBox.Name = "amtTextBox";
this.amtTextBox.Size = new System.Drawing.Size(100, 21);
this.amtTextBox.TabIndex = 19;
//
// priceTextBox
//
this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "price", true));
this.priceTextBox.Location = new System.Drawing.Point(398, 68);
this.priceTextBox.Name = "priceTextBox";
this.priceTextBox.Size = new System.Drawing.Size(100, 21);
this.priceTextBox.TabIndex = 17;
//
// qtyTextBox
//
this.qtyTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "qty", true));
this.qtyTextBox.Location = new System.Drawing.Point(247, 68);
this.qtyTextBox.Name = "qtyTextBox";
this.qtyTextBox.Size = new System.Drawing.Size(100, 21);
this.qtyTextBox.TabIndex = 15;
//
// memoTextBox
//
this.memoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "memo", true));
this.memoTextBox.Location = new System.Drawing.Point(102, 95);
this.memoTextBox.Name = "memoTextBox";
this.memoTextBox.Size = new System.Drawing.Size(600, 21);
this.memoTextBox.TabIndex = 13;
//
// itemManuTextBox
//
this.itemManuTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemManu", true));
this.itemManuTextBox.Location = new System.Drawing.Point(600, 42);
this.itemManuTextBox.Name = "itemManuTextBox";
this.itemManuTextBox.Size = new System.Drawing.Size(100, 21);
this.itemManuTextBox.TabIndex = 9;
//
// itemUnitTextBox
//
this.itemUnitTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemUnit", true));
this.itemUnitTextBox.Location = new System.Drawing.Point(100, 68);
this.itemUnitTextBox.Name = "itemUnitTextBox";
this.itemUnitTextBox.Size = new System.Drawing.Size(100, 21);
this.itemUnitTextBox.TabIndex = 5;
//
// itemSidTextBox
//
this.itemSidTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemSid", true));
this.itemSidTextBox.Location = new System.Drawing.Point(100, 42);
this.itemSidTextBox.Name = "itemSidTextBox";
this.itemSidTextBox.Size = new System.Drawing.Size(100, 21);
this.itemSidTextBox.TabIndex = 3;
//
// itemNameTextBox
//
this.itemNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "ItemName", true));
this.itemNameTextBox.Location = new System.Drawing.Point(206, 42);
this.itemNameTextBox.Name = "itemNameTextBox";
this.itemNameTextBox.Size = new System.Drawing.Size(388, 21);
this.itemNameTextBox.TabIndex = 1;
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.button1.Location = new System.Drawing.Point(10, 408);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(713, 39);
this.button1.TabIndex = 17;
this.button1.Text = "저장";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// panel2
//
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel2.Location = new System.Drawing.Point(10, 403);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(713, 5);
this.panel2.TabIndex = 18;
//
// fProjectPartListEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(733, 457);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.panel2);
this.Controls.Add(this.button1);
this.Controls.Add(this.panel1);
this.Controls.Add(this.groupBox1);
this.MinimizeBox = false;
this.Name = "fProjectPartListEdit";
this.Padding = new System.Windows.Forms.Padding(10);
this.Text = "프로젝트 파트리스트 데이터 편집";
this.Load += new System.EventHandler(this.fProjectData_Load);
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private dsPRJ dsPRJ;
private System.Windows.Forms.BindingSource bs;
private dsPRJTableAdapters.ProjectPartStatusTableAdapter ta;
private dsPRJTableAdapters.TableAdapterManager tableAdapterManager;
private System.Windows.Forms.TextBox pdateTextBox;
private System.Windows.Forms.TextBox statusTextBox;
private System.Windows.Forms.TextBox nameTextBox;
private System.Windows.Forms.TextBox userManagerTextBox;
private System.Windows.Forms.TextBox ordernoTextBox;
private System.Windows.Forms.TextBox pathTextBox;
private System.Windows.Forms.TextBox projectTextBox;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TextBox memoTextBox;
private System.Windows.Forms.TextBox option1TextBox;
private System.Windows.Forms.TextBox itemManuTextBox;
private System.Windows.Forms.TextBox itemSupplyTextBox;
private System.Windows.Forms.TextBox itemUnitTextBox;
private System.Windows.Forms.TextBox itemSidTextBox;
private System.Windows.Forms.TextBox itemNameTextBox;
private System.Windows.Forms.CheckBox bbuyCheckBox;
private System.Windows.Forms.TextBox qtyinTextBox;
private System.Windows.Forms.TextBox qtybuyTextBox;
private System.Windows.Forms.TextBox amtTextBox;
private System.Windows.Forms.TextBox priceTextBox;
private System.Windows.Forms.TextBox qtyTextBox;
private System.Windows.Forms.Panel panel3;
}
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace FPJ0000
{
public partial class fProjectPartListEdit : FCOMMON.fBase
{
int idx;
public fProjectPartListEdit(int idx_)
{
InitializeComponent();
this.UseFormSetting = false;
this.idx = idx_;
}
private void fProjectData_Load(object sender, EventArgs e)
{
//자료를 불러온다
ta.FillByIdx(this.dsPRJ.ProjectPartStatus, FCOMMON.info.Login.gcode, this.idx);
}
private void button1_Click(object sender, EventArgs e)
{
this.Validate();
this.bs.EndEdit();
this.ta.Update(this.dsPRJ.ProjectPartStatus);
this.DialogResult = System.Windows.Forms.DialogResult.OK;
//this.tableAdapterManager.UpdateAll(this.dsPRJ);
}
}
}

View File

@@ -0,0 +1,186 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="pdateLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="statusLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="nameLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="userManagerLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="ordernoLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="pathLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="itemNameLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="itemSidLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="itemUnitLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="itemSupplyLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="itemManuLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="memoLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="qtyLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="priceLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="amtLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="qtybuyLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="qtyinLabel.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>100, 17</value>
</metadata>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>164, 17</value>
</metadata>
<metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>226, 17</value>
</metadata>
</root>