메모장에 폴더 연결 기능 추가 - 차후에 전용 폴더 뷰어를 연결해야 함

This commit is contained in:
chi
2021-02-19 14:24:37 +09:00
parent 7755902fff
commit 55510b84b8
20 changed files with 2786 additions and 349 deletions

View File

@@ -38,7 +38,7 @@
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ds1 = new FPJ0000.dsPRJ();
this.ds1 = new FPJ0000.DSNote();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
@@ -68,8 +68,6 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_NoteTableAdapter();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
@@ -80,14 +78,8 @@
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.btSearch = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.richTextBoxEx1 = new RichTextBoxEx.RichTextBoxEx();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.panel1 = new System.Windows.Forms.Panel();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.ta = new FPJ0000.DSNoteTableAdapters.EETGW_NoteTableAdapter();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -96,11 +88,6 @@
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// bn
@@ -125,18 +112,19 @@
this.btEdit,
this.btDel,
this.btSave,
this.toolStripButton1,
this.toolStripSeparator1,
this.toolStripLabel2,
this.tbFind,
this.btFind});
this.bn.Location = new System.Drawing.Point(0, 648);
this.bn.Location = new System.Drawing.Point(0, 595);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(971, 25);
this.bn.Size = new System.Drawing.Size(969, 25);
this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1";
//
@@ -186,6 +174,7 @@
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
@@ -278,6 +267,7 @@
// tbFind
//
this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbFind.Name = "tbFind";
this.tbFind.Size = new System.Drawing.Size(100, 25);
this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown);
@@ -382,34 +372,16 @@
this.ToolStripMenuItem.Text = "삭제";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// tam
//
this.tam.BackupDataSetBeforeUpdate = false;
this.tam.EETGW_NoteTableAdapter = this.ta;
this.tam.JobReportTableAdapter = null;
this.tam.ProjectsHistoryTableAdapter = null;
this.tam.ProjectsIOMapTableAdapter = null;
this.tam.ProjectsMailListTableAdapter = null;
this.tam.ProjectsPartTableAdapter = null;
this.tam.ProjectsScheduleTableAdapter = null;
this.tam.ProjectsTableAdapter = null;
this.tam.SPMasterTableAdapter = null;
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// fpSpread1
//
this.fpSpread1.AccessibleDescription = "";
this.fpSpread1.ContextMenuStrip = this.cm;
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpSpread1.Location = new System.Drawing.Point(0, 0);
this.fpSpread1.Location = new System.Drawing.Point(0, 37);
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(530, 611);
this.fpSpread1.Size = new System.Drawing.Size(969, 558);
this.fpSpread1.TabIndex = 2;
//
// fpSpread1_Sheet1
@@ -424,7 +396,7 @@
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "공유";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "등록일";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "내용";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "제목";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F;
numberCellType1.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
@@ -451,9 +423,9 @@
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "description";
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "title";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "내용";
this.fpSpread1_Sheet1.Columns.Get(4).Label = "제목";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 255F;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
@@ -478,7 +450,7 @@
this.toolStripButton2});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(971, 37);
this.toolStrip1.Size = new System.Drawing.Size(969, 37);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
@@ -494,6 +466,7 @@
// dtSD
//
this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.dtSD.Name = "dtSD";
this.dtSD.Size = new System.Drawing.Size(90, 37);
this.dtSD.Text = "1982-11-23";
@@ -508,6 +481,7 @@
// dtED
//
this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.dtED.Name = "dtED";
this.dtED.Size = new System.Drawing.Size(90, 37);
this.dtED.Text = "1982-11-23";
@@ -537,125 +511,25 @@
this.toolStripButton2.Text = "닫기";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// richTextBoxEx1
// ta
//
this.richTextBoxEx1.AllowBullets = true;
this.richTextBoxEx1.AllowDefaultInsertText = true;
this.richTextBoxEx1.AllowDefaultSmartText = true;
this.richTextBoxEx1.AllowHyphenation = true;
this.richTextBoxEx1.AllowPictures = true;
this.richTextBoxEx1.AllowSpellCheck = true;
this.richTextBoxEx1.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange;
this.richTextBoxEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBoxEx1.Enabled = false;
this.richTextBoxEx1.FilePath = "";
this.richTextBoxEx1.Location = new System.Drawing.Point(0, 0);
this.richTextBoxEx1.Name = "richTextBoxEx1";
this.richTextBoxEx1.Rtf = "{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Arial;}}\r\n\\viewkind4\\uc" +
"1\\pard\\lang1042\\fs20 richTextBoxEx1\\par\r\n}\r\n";
this.richTextBoxEx1.SetColorWithFont = true;
this.richTextBoxEx1.ShowToolStrip = true;
this.richTextBoxEx1.Size = new System.Drawing.Size(431, 586);
this.richTextBoxEx1.TabIndex = 59;
this.ta.ClearBeforeFill = true;
//
// splitContainer1
// toolStripButton1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 37);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.fpSpread1);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.richTextBoxEx1);
this.splitContainer1.Panel2.Controls.Add(this.panel1);
this.splitContainer1.Size = new System.Drawing.Size(971, 611);
this.splitContainer1.SplitterDistance = 530;
this.splitContainer1.SplitterWidth = 10;
this.splitContainer1.TabIndex = 60;
//
// panel1
//
this.panel1.Controls.Add(this.label5);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 586);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(431, 25);
this.panel1.TabIndex = 0;
//
// label5
//
this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.label5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "uid", true));
this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
this.label5.ForeColor = System.Drawing.Color.White;
this.label5.Location = new System.Drawing.Point(382, 0);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(49, 25);
this.label5.TabIndex = 4;
this.label5.Text = "등록자";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label4
//
this.label4.Dock = System.Windows.Forms.DockStyle.Left;
this.label4.Location = new System.Drawing.Point(319, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(63, 25);
this.label4.TabIndex = 3;
this.label4.Text = "등록";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label2
//
this.label2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.label2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "wuid", true));
this.label2.Dock = System.Windows.Forms.DockStyle.Left;
this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(244, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(75, 25);
this.label2.TabIndex = 1;
this.label2.Text = "수정자";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label3
//
this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
this.label3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "wdate", true));
this.label3.Dock = System.Windows.Forms.DockStyle.Left;
this.label3.ForeColor = System.Drawing.Color.White;
this.label3.Location = new System.Drawing.Point(63, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(181, 25);
this.label3.TabIndex = 2;
this.label3.Text = "날짜";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Left;
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(63, 25);
this.label1.TabIndex = 0;
this.label1.Text = "최종수정";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(75, 22);
this.toolStripButton1.Text = "폴더열기";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1);
//
// fNote
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(971, 673);
this.Controls.Add(this.splitContainer1);
this.ClientSize = new System.Drawing.Size(969, 620);
this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.bn);
this.Name = "fNote";
@@ -672,11 +546,6 @@
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@@ -684,9 +553,8 @@
#endregion
private dsPRJ ds1;
private DSNote ds1;
private System.Windows.Forms.BindingSource bs;
private dsPRJTableAdapters.TableAdapterManager tam;
private System.Windows.Forms.BindingNavigator bn;
private System.Windows.Forms.ToolStripButton btAdd;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
@@ -716,7 +584,6 @@
private System.Windows.Forms.ToolStripTextBox dtED;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton btSearch;
private dsPRJTableAdapters.EETGW_NoteTableAdapter ta;
private System.Windows.Forms.ToolStripButton btCopy;
private System.Windows.Forms.ToolStripButton btEdit;
private System.Windows.Forms.ToolStripLabel toolStripLabel2;
@@ -727,14 +594,8 @@
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem;
private System.Windows.Forms.ToolStripButton toolStripButton2;
private RichTextBoxEx.RichTextBoxEx richTextBoxEx1;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label5;
private DSNoteTableAdapters.EETGW_NoteTableAdapter ta;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
}
}

View File

@@ -120,7 +120,8 @@ namespace FPJ0000.Note
//cmd.Dispose();
//da.Dispose();
this.ta.Fill(this.ds1.EETGW_Note, FCOMMON.info.Login.gcode, dtSD.Text, dtED.Text, FCOMMON.info.Login.no);
//설명을 가져오지 않는다.
this.ta.FillByNoDesc(this.ds1.EETGW_Note, FCOMMON.info.Login.gcode, dtSD.Text, dtED.Text, FCOMMON.info.Login.no);
FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
FormattingData();
}
@@ -149,7 +150,7 @@ namespace FPJ0000.Note
this.bs.EndEdit();
try
{
this.tam.UpdateAll(this.ds1);
this.ta.Update(ds1.EETGW_Note);
FormattingData();
}
catch (Exception ex)
@@ -230,20 +231,11 @@ namespace FPJ0000.Note
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
{
var newdr = this.ds1.EETGW_Note.NewEETGW_NoteRow();
newdr.pdate = DateTime.Now.ToShortDateString();
var f = new Note.fNote_Add(newdr);
var f = new Note.fNote_Add(-1);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
this.ds1.EETGW_Note.AddEETGW_NoteRow(newdr);
int cnt = this.ta.Update(newdr);
newdr.AcceptChanges();
FormattingData();
if (cnt != 1)
FCOMMON.Util.MsgE("자료가 추가되지 않았습니다.\n\n잠시 후 다시 시도하세요");
refreshData();
}
else newdr.Delete();
}
private void btFind_Click(object sender, EventArgs e)
@@ -295,24 +287,18 @@ namespace FPJ0000.Note
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.EETGW_NoteRow;
var dr = drv.Row as DSNote.EETGW_NoteRow;
//if(dr.uid != FCOMMON.info.Login.no && FCOMMON.info.Login.level<5)
//{
// FCOMMON.Util.MsgE("타인의 자료는 추가/변경/삭제 할 수 없습니다.");
// return;
//}
var f = new Note.fNote_Add(dr);
var f = new Note.fNote_Add(dr.idx);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
if (dr.RowState != DataRowState.Unchanged)
{
int cnt = this.ta.Update(dr);
dr.AcceptChanges();
FormattingData();
}
refreshData();
}
else dr.RejectChanges();
}
private void exportListToolStripMenuItem_Click(object sender, EventArgs e)
@@ -333,37 +319,37 @@ namespace FPJ0000.Note
private void btCopy_Click(object sender, EventArgs e)
{
funcCopy(); //190509
// funcCopy(); //190509
}
void funcCopy()
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.JobReportRow;
//void funcCopy()
//{
// var drv = this.bs.Current as DataRowView;
// if (drv == null) return;
// var dr = drv.Row as dsPRJ.JobReportRow;
//현재 데이터를 입력하여 신규 추가를 한다.
var newdr = this.ds1.JobReport.NewJobReportRow();
FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr);
newdr.wdate = DateTime.Now;
newdr.wuid = FCOMMON.info.Login.no;
newdr.uid = FCOMMON.info.Login.no;
//newdr.description = "";
newdr.pdate = DateTime.Now.ToShortDateString(); //190509
newdr.idx = -1;
newdr.hrs = 8.0;
newdr.ot = 0.0;
newdr.EndEdit();
// //현재 데이터를 입력하여 신규 추가를 한다.
// var newdr = this.ds1.JobReport.NewJobReportRow();
// FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr);
// newdr.wdate = DateTime.Now;
// newdr.wuid = FCOMMON.info.Login.no;
// newdr.uid = FCOMMON.info.Login.no;
// //newdr.description = "";
// newdr.pdate = DateTime.Now.ToShortDateString(); //190509
// newdr.idx = -1;
// newdr.hrs = 8.0;
// newdr.ot = 0.0;
// newdr.EndEdit();
//var newdr = this.dsMSSQL.JobReport.NewJobReportRow();
JobReport.fJobReport_Add f = new JobReport.fJobReport_Add(newdr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
this.ds1.JobReport.AddJobReportRow(newdr);
this.ta.Update(newdr);
newdr.AcceptChanges();
}
else newdr.Delete();
}
// //var newdr = this.dsMSSQL.JobReport.NewJobReportRow();
// JobReport.fJobReport_Add f = new JobReport.fJobReport_Add(newdr);
// if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
// {
// this.ds1.JobReport.AddJobReportRow(newdr);
// this.ta.Update(newdr);
// newdr.AcceptChanges();
// }
// else newdr.Delete();
//}
private void btDel_Click(object sender, EventArgs e)
{
@@ -373,7 +359,7 @@ namespace FPJ0000.Note
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.EETGW_NoteRow;
var dr = drv.Row as DSNote.EETGW_NoteRow;
if (dr.uid != FCOMMON.info.Login.no && FCOMMON.info.Login.level < 5)
{
FCOMMON.Util.MsgE("타인의 자료는 추가/변경/삭제 할 수 없습니다.");
@@ -409,19 +395,10 @@ namespace FPJ0000.Note
f.Show();
}
private void cmbUser_Click(object sender, EventArgs e)
{
}
private void cmbUser_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
funcCopy();
//funcCopy();
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
@@ -454,9 +431,40 @@ namespace FPJ0000.Note
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as dsPRJ.EETGW_NoteRow;
if (string.IsNullOrEmpty(dr.description2)) richTextBoxEx1.Text = dr.description;
else richTextBoxEx1.Rtf = dr.description2;
var dr = drv.Row as DSNote.EETGW_NoteRow;
//if (string.IsNullOrEmpty(dr.description2)) richTextBoxEx1.Text = dr.description;
//else richTextBoxEx1.Rtf = dr.description2;
}
private void toolStripButton1_Click_1(object sender, EventArgs e)
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as DSNote.EETGW_NoteRow;
var serverpath = Properties.Settings.Default.SharePath; // @"\\10.131.32.29\Data\Project";
if (System.IO.Directory.Exists(serverpath) == false)
{
FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" +
serverpath);
return;
}
var path = serverpath + "\\Note\\" + dr.guid;
if (System.IO.Directory.Exists(path) == false)
{
try
{
System.IO.Directory.CreateDirectory(path);
}
catch (Exception eX)
{
FCOMMON.Util.MsgE("프로젝트 저장소 생성실패\n" + eX.Message);
return;
}
}
FCOMMON.Util.RunExplorer(path);
}
}
}

View File

@@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>225, 17</value>
<value>152, 17</value>
</metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>88, 17</value>
@@ -200,6 +200,21 @@
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
</value>
</data>
<data name="toolStripButton1.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="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -214,7 +229,7 @@
</value>
</data>
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>291, 17</value>
<value>218, 17</value>
</metadata>
<data name="autoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
@@ -255,17 +270,11 @@
vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw==
</value>
</data>
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>152, 17</value>
</metadata>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>465, 17</value>
</metadata>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>527, 17</value>
<value>606, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>359, 17</value>
<value>286, 17</value>
</metadata>
<data name="btSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
@@ -288,4 +297,7 @@
UMSGmyrBauKE26jiohshHicE2B3dbRrmAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>544, 17</value>
</metadata>
</root>

View File

@@ -28,11 +28,9 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.Label label4;
System.Windows.Forms.Label label5;
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsPRJ = new FPJ0000.dsPRJ();
System.Windows.Forms.Label label1;
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.lbIndex = new System.Windows.Forms.ToolStripStatusLabel();
@@ -40,15 +38,14 @@
this.dtPdate = new System.Windows.Forms.DateTimePicker();
this.cmbUser = new System.Windows.Forms.ComboBox();
this.tbWW = new System.Windows.Forms.TextBox();
this.ta = new FPJ0000.dsPRJTableAdapters.JobReportTableAdapter();
this.tam = new FPJ0000.dsPRJTableAdapters.TableAdapterManager();
this.richTextBoxEx1 = new RichTextBoxEx.RichTextBoxEx();
this.panel1 = new System.Windows.Forms.Panel();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.tbTitle = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
label4 = new System.Windows.Forms.Label();
label5 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
label1 = new System.Windows.Forms.Label();
this.statusStrip1.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
@@ -73,16 +70,6 @@
label5.TabIndex = 0;
label5.Text = "등록일";
//
// bs
//
this.bs.DataMember = "JobReport";
this.bs.DataSource = this.dsPRJ;
//
// dsPRJ
//
this.dsPRJ.DataSetName = "dsPRJ";
this.dsPRJ.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -112,7 +99,7 @@
this.btSave.Dock = System.Windows.Forms.DockStyle.Right;
this.btSave.Location = new System.Drawing.Point(831, 5);
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(133, 30);
this.btSave.Size = new System.Drawing.Size(133, 58);
this.btSave.TabIndex = 20;
this.btSave.Text = "저장(&S)";
this.btSave.UseVisualStyleBackColor = false;
@@ -152,24 +139,6 @@
this.tbWW.TabStop = false;
this.tbWW.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// tam
//
this.tam.BackupDataSetBeforeUpdate = false;
this.tam.EETGW_NoteTableAdapter = null;
this.tam.JobReportTableAdapter = this.ta;
this.tam.ProjectsHistoryTableAdapter = null;
this.tam.ProjectsIOMapTableAdapter = null;
this.tam.ProjectsMailListTableAdapter = null;
this.tam.ProjectsPartTableAdapter = null;
this.tam.ProjectsScheduleTableAdapter = null;
this.tam.ProjectsTableAdapter = null;
this.tam.SPMasterTableAdapter = null;
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// richTextBoxEx1
//
this.richTextBoxEx1.AllowBullets = true;
@@ -181,20 +150,24 @@
this.richTextBoxEx1.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange;
this.richTextBoxEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBoxEx1.FilePath = "";
this.richTextBoxEx1.Location = new System.Drawing.Point(0, 40);
this.richTextBoxEx1.Location = new System.Drawing.Point(0, 68);
this.richTextBoxEx1.Name = "richTextBoxEx1";
this.richTextBoxEx1.Rtf = "{\\rtf1\\ansi\\ansicpg1252\\deff0{\\fonttbl{\\f0\\fnil\\fcharset0 Arial;}}\r\n\\viewkind4\\uc" +
"1\\pard\\lang1042\\fs20 richTextBoxEx1\\par\r\n}\r\n";
this.richTextBoxEx1.Rtf = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\nouicompat{\\fonttbl{\\f0\\fnil\\fcharset0 Arial;}}\r\n{\\" +
"*\\generator Riched20 10.0.18362}\\viewkind4\\uc1 \r\n\\pard\\fs20\\lang1042 richTextBox" +
"Ex1\\par\r\n}\r\n";
this.richTextBoxEx1.SetColorWithFont = true;
this.richTextBoxEx1.ShowToolStrip = true;
this.richTextBoxEx1.Size = new System.Drawing.Size(969, 619);
this.richTextBoxEx1.Size = new System.Drawing.Size(969, 591);
this.richTextBoxEx1.TabIndex = 58;
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
this.panel1.Controls.Add(this.button1);
this.panel1.Controls.Add(this.tbTitle);
this.panel1.Controls.Add(this.checkBox1);
this.panel1.Controls.Add(this.dtPdate);
this.panel1.Controls.Add(label1);
this.panel1.Controls.Add(label5);
this.panel1.Controls.Add(this.btSave);
this.panel1.Controls.Add(this.cmbUser);
@@ -204,7 +177,7 @@
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Padding = new System.Windows.Forms.Padding(5);
this.panel1.Size = new System.Drawing.Size(969, 40);
this.panel1.Size = new System.Drawing.Size(969, 68);
this.panel1.TabIndex = 59;
//
// checkBox1
@@ -217,6 +190,36 @@
this.checkBox1.Text = "공유 메모";
this.checkBox1.UseVisualStyleBackColor = true;
//
// tbTitle
//
this.tbTitle.Location = new System.Drawing.Point(66, 39);
this.tbTitle.Margin = new System.Windows.Forms.Padding(4);
this.tbTitle.Name = "tbTitle";
this.tbTitle.Size = new System.Drawing.Size(546, 21);
this.tbTitle.TabIndex = 22;
this.tbTitle.TabStop = false;
this.tbTitle.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// label1
//
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(29, 42);
label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(29, 12);
label1.TabIndex = 0;
label1.Text = "제목";
//
// button1
//
this.button1.Location = new System.Drawing.Point(619, 39);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(121, 21);
this.button1.TabIndex = 23;
this.button1.Text = "폴더열기";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// fNote_Add
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -231,8 +234,6 @@
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "메모장 등록/변경";
this.Load += new System.EventHandler(this.fJobReport_Add_Load);
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.panel1.ResumeLayout(false);
@@ -243,11 +244,6 @@
}
#endregion
private dsPRJ dsPRJ;
private System.Windows.Forms.BindingSource bs;
private dsPRJTableAdapters.JobReportTableAdapter ta;
private dsPRJTableAdapters.TableAdapterManager tam;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
private System.Windows.Forms.ToolStripStatusLabel lbIndex;
@@ -258,5 +254,7 @@
private RichTextBoxEx.RichTextBoxEx richTextBoxEx1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.TextBox tbTitle;
private System.Windows.Forms.Button button1;
}
}

View File

@@ -11,13 +11,14 @@ namespace FPJ0000.Note
{
public partial class fNote_Add : Form
{
dsPRJ.EETGW_NoteRow dr;
int idx = -1;
Boolean copyMOde = false;
Boolean bInit = false;
public fNote_Add(dsPRJ.EETGW_NoteRow dr_, Boolean copy = false)
string sGUID = string.Empty;
public fNote_Add(int idx_, Boolean copy = false)
{
InitializeComponent();
dr = dr_;
this.idx = idx_;
this.KeyPreview = true;
this.StartPosition = FormStartPosition.CenterScreen;
this.KeyDown += (s1, e1) =>
@@ -38,52 +39,62 @@ namespace FPJ0000.Note
private void fJobReport_Add_Load(object sender, EventArgs e)
{
//사용자목록
this.bs.DataSource = dr;
//해당 사용자에 걸린 프로젝트 목록 가져오기
var userProject = FCOMMON.DBM.getUserProjectList(FCOMMON.info.Login.nameK);
//담당자목록
var dt_users = FCOMMON.DBM.getUserTable();// getGroupList("name + '(' + id + ')'", "Users", "[level] > 0 and [level] < 10", false, false);
this.cmbUser.DisplayMember = "dispName";
this.cmbUser.ValueMember = "id";
this.cmbUser.DataSource = dt_users;
if (FCOMMON.info.Login.level < 5) cmbUser.Enabled = false;
// tbWW.Text = dr.ww;
dtPdate.Value = DateTime.Parse(dr.pdate); //일자선택
cmbUser.SelectedValue = dr.uid;
checkBox1.Checked = dr.share;
//편집모드인데. 내가 작성자가 아니면 공유를 설정하지 못하게한다
if(dr.RowState == DataRowState.Unchanged || dr.RowState == DataRowState.Modified)
//사용자목록
//해당 자료를 불러온다.
if (this.idx == -1)
{
if (dr.uid != FCOMMON.info.Login.no) checkBox1.Enabled = false;
}
if (string.IsNullOrEmpty(dr.description2))
{
this.richTextBoxEx1.Text = dr.description;
//신규추가임
this.dtPdate.Value = DateTime.Now;
cmbUser.SelectedValue = FCOMMON.info.Login.no;
checkBox1.Checked = false;
richTextBoxEx1.Text = string.Empty;
sGUID = string.Empty;
}
else
{
try
var db = new EEEntities();
var dr = db.EETGW_Note.Where(t => t.idx == this.idx).FirstOrDefault();
dtPdate.Value = DateTime.Parse(dr.pdate);
cmbUser.SelectedValue = dr.uid;
checkBox1.Checked = (bool)dr.share;
tbTitle.Text = dr.title;
sGUID = dr.guid;
//내가 작성한 글이 아니면 공유를 지정할 수 없게 한다.
if (dr.uid != FCOMMON.info.Login.no)
{
this.richTextBoxEx1.Rtf = dr.description2;
checkBox1.Enabled = false;
}
catch (Exception ex)
if (string.IsNullOrEmpty(dr.description2))
{
this.richTextBoxEx1.Text = dr.description;
}
else
{
try
{
this.richTextBoxEx1.Rtf = dr.description2;
}
catch (Exception ex)
{
this.richTextBoxEx1.Text = dr.description;
}
}
}
if (sGUID.isEmpty())
sGUID = Guid.NewGuid().ToString();
this.Show();
Application.DoEvents();
this.richTextBoxEx1.Focus();
bInit = true;
@@ -139,15 +150,44 @@ namespace FPJ0000.Note
return;
}
this.dr.uid = this.cmbUser.SelectedValue.ToString();
this.dr.pdate = dtPdate.Value.ToShortDateString();
this.dr.description = richTextBoxEx1.Text;
this.dr.description2 = richTextBoxEx1.Rtf; // ef.DocumentText;// richTextBox1.Rtf;
this.dr.share = checkBox1.Checked;
this.dr.wuid = FCOMMON.info.Login.no;
this.dr.wdate = DateTime.Now;
this.bs.EndEdit();
//바로저장한다.
var db = new EEEntities();
if(idx == -1)
{
//신규
var dr = new EETGW_Note();
dr.wuid = FCOMMON.info.Login.no;
dr.wdate = DateTime.Now;
dr.pdate = dtPdate.Value.ToShortDateString();
dr.uid = cmbUser.SelectedValue.ToString();
dr.description = richTextBoxEx1.Text;
dr.description2 = richTextBoxEx1.Rtf;
dr.share = checkBox1.Checked;
dr.title = tbTitle.Text;
dr.guid = this.sGUID;
dr.gcode = FCOMMON.info.Login.gcode;
db.EETGW_Note.Add(dr);
db.SaveChanges();
}
else
{
//기존
var dr = db.EETGW_Note.Where(t => t.idx == this.idx).FirstOrDefault();
if(dr != null)
{
dr.wuid = FCOMMON.info.Login.no;
dr.wdate = DateTime.Now;
dr.pdate = dtPdate.Value.ToShortDateString();
dr.uid = cmbUser.SelectedValue.ToString();
dr.description = richTextBoxEx1.Text;
dr.description2 = richTextBoxEx1.Rtf;
dr.share = checkBox1.Checked;
dr.guid = this.sGUID;
dr.title = tbTitle.Text;
db.SaveChanges();
}
}
DialogResult = System.Windows.Forms.DialogResult.OK;
}
@@ -168,5 +208,30 @@ namespace FPJ0000.Note
}
private void button1_Click_1(object sender, EventArgs e)
{
var serverpath = Properties.Settings.Default.SharePath; // @"\\10.131.32.29\Data\Project";
if (System.IO.Directory.Exists(serverpath) == false)
{
FCOMMON.Util.MsgE("프로젝트 기본경로가 존재하지 않아 진행할 수 없습니다\n\n" +
serverpath);
return;
}
var path = serverpath + "\\Note\\" + this.sGUID;
if (System.IO.Directory.Exists(path) == false)
{
try
{
System.IO.Directory.CreateDirectory(path);
}
catch (Exception eX)
{
FCOMMON.Util.MsgE("프로젝트 저장소 생성실패\n" + eX.Message);
return;
}
}
FCOMMON.Util.RunExplorer(path);
}
}
}

View File

@@ -123,22 +123,10 @@
<metadata name="label5.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="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>299, 17</value>
<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="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>226, 17</value>
<metadata name="label1.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
</root>