send mail 프로젝트 폐기

This commit is contained in:
chi
2021-03-08 17:43:48 +09:00
parent 4e38ca8936
commit 550ea757fe
43 changed files with 7526 additions and 632 deletions

View File

@@ -93,6 +93,12 @@
this.tbIdx = new System.Windows.Forms.TextBox();
this.nameTextBox = new System.Windows.Forms.TextBox();
this.pdateTextBox = new System.Windows.Forms.TextBox();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.prb2 = new arCtl.arLabel();
this.prb1 = new arCtl.arLabel();
this.prb5 = new arCtl.arLabel();
this.prb4 = new arCtl.arLabel();
this.prb3 = new arCtl.arLabel();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@@ -135,12 +141,6 @@
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.prb3 = new arCtl.arLabel();
this.prb4 = new arCtl.arLabel();
this.prb5 = new arCtl.arLabel();
this.prb1 = new arCtl.arLabel();
this.prb2 = new arCtl.arLabel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
pdateLabel = new System.Windows.Forms.Label();
requestLabel = new System.Windows.Forms.Label();
reqstaffLabel = new System.Windows.Forms.Label();
@@ -154,13 +154,13 @@
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.cm1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsPart)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// pdateLabel
@@ -547,6 +547,260 @@
this.pdateTextBox.TabIndex = 5;
this.pdateTextBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 5;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Controls.Add(this.prb2, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.prb1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.prb5, 4, 0);
this.tableLayoutPanel1.Controls.Add(this.prb4, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.prb3, 2, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 119);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1345, 51);
this.tableLayoutPanel1.TabIndex = 33;
//
// prb2
//
this.prb2.BackColor = System.Drawing.Color.SkyBlue;
this.prb2.BackColor2 = System.Drawing.Color.SkyBlue;
this.prb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb2.BorderColorOver = System.Drawing.Color.Red;
this.prb2.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb2.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb2.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb2.ForeColor = System.Drawing.Color.Black;
this.prb2.GradientEnable = true;
this.prb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb2.GradientRepeatBG = false;
this.prb2.isButton = false;
this.prb2.Location = new System.Drawing.Point(274, 5);
this.prb2.Margin = new System.Windows.Forms.Padding(5);
this.prb2.MouseDownColor = System.Drawing.Color.Yellow;
this.prb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb2.msg = null;
this.prb2.Name = "prb2";
this.prb2.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb2.ProgressBorderColor = System.Drawing.Color.Black;
this.prb2.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb2.ProgressColor2 = System.Drawing.Color.Gold;
this.prb2.ProgressEnable = false;
this.prb2.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb2.ProgressForeColor = System.Drawing.Color.Black;
this.prb2.ProgressMax = 100F;
this.prb2.ProgressMin = 0F;
this.prb2.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb2.ProgressValue = 50F;
this.prb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb2.Sign = "";
this.prb2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb2.SignColor = System.Drawing.Color.Yellow;
this.prb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb2.Size = new System.Drawing.Size(259, 41);
this.prb2.TabIndex = 32;
this.prb2.Text = "구매요청건";
this.prb2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb2.TextShadow = false;
this.prb2.TextVisible = true;
//
// prb1
//
this.prb1.BackColor = System.Drawing.Color.White;
this.prb1.BackColor2 = System.Drawing.Color.Gainsboro;
this.prb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb1.BorderColorOver = System.Drawing.Color.Red;
this.prb1.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb1.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb1.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb1.ForeColor = System.Drawing.Color.Black;
this.prb1.GradientEnable = true;
this.prb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb1.GradientRepeatBG = false;
this.prb1.isButton = false;
this.prb1.Location = new System.Drawing.Point(5, 5);
this.prb1.Margin = new System.Windows.Forms.Padding(5);
this.prb1.MouseDownColor = System.Drawing.Color.Yellow;
this.prb1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb1.msg = null;
this.prb1.Name = "prb1";
this.prb1.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb1.ProgressBorderColor = System.Drawing.Color.Black;
this.prb1.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb1.ProgressColor2 = System.Drawing.Color.Gold;
this.prb1.ProgressEnable = false;
this.prb1.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb1.ProgressForeColor = System.Drawing.Color.Black;
this.prb1.ProgressMax = 100F;
this.prb1.ProgressMin = 0F;
this.prb1.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb1.ProgressValue = 50F;
this.prb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb1.Sign = "";
this.prb1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb1.SignColor = System.Drawing.Color.Yellow;
this.prb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb1.Size = new System.Drawing.Size(259, 41);
this.prb1.TabIndex = 32;
this.prb1.Text = "비 구매";
this.prb1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb1.TextShadow = false;
this.prb1.TextVisible = true;
this.toolTip1.SetToolTip(this.prb1, "전체 수량 중 구매 불필요 수량");
//
// prb5
//
this.prb5.BackColor = System.Drawing.Color.LightGreen;
this.prb5.BackColor2 = System.Drawing.Color.Lime;
this.prb5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb5.BorderColorOver = System.Drawing.Color.Red;
this.prb5.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb5.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb5.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb5.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb5.ForeColor = System.Drawing.Color.Black;
this.prb5.GradientEnable = true;
this.prb5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb5.GradientRepeatBG = false;
this.prb5.isButton = false;
this.prb5.Location = new System.Drawing.Point(1081, 5);
this.prb5.Margin = new System.Windows.Forms.Padding(5);
this.prb5.MouseDownColor = System.Drawing.Color.Yellow;
this.prb5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb5.msg = null;
this.prb5.Name = "prb5";
this.prb5.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb5.ProgressBorderColor = System.Drawing.Color.Black;
this.prb5.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb5.ProgressColor2 = System.Drawing.Color.Gold;
this.prb5.ProgressEnable = false;
this.prb5.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb5.ProgressForeColor = System.Drawing.Color.Black;
this.prb5.ProgressMax = 100F;
this.prb5.ProgressMin = 0F;
this.prb5.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb5.ProgressValue = 50F;
this.prb5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb5.Sign = "";
this.prb5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb5.SignColor = System.Drawing.Color.Yellow;
this.prb5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb5.Size = new System.Drawing.Size(259, 41);
this.prb5.TabIndex = 32;
this.prb5.Text = "구매 완료";
this.prb5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb5.TextShadow = false;
this.prb5.TextVisible = true;
this.toolTip1.SetToolTip(this.prb5, "구매대상 중 구매완료 율");
//
// prb4
//
this.prb4.BackColor = System.Drawing.Color.Magenta;
this.prb4.BackColor2 = System.Drawing.Color.DarkMagenta;
this.prb4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb4.BorderColorOver = System.Drawing.Color.Red;
this.prb4.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb4.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb4.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb4.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb4.ForeColor = System.Drawing.Color.Black;
this.prb4.GradientEnable = true;
this.prb4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb4.GradientRepeatBG = false;
this.prb4.isButton = false;
this.prb4.Location = new System.Drawing.Point(812, 5);
this.prb4.Margin = new System.Windows.Forms.Padding(5);
this.prb4.MouseDownColor = System.Drawing.Color.Yellow;
this.prb4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb4.msg = null;
this.prb4.Name = "prb4";
this.prb4.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb4.ProgressBorderColor = System.Drawing.Color.Black;
this.prb4.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb4.ProgressColor2 = System.Drawing.Color.Gold;
this.prb4.ProgressEnable = false;
this.prb4.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb4.ProgressForeColor = System.Drawing.Color.Black;
this.prb4.ProgressMax = 100F;
this.prb4.ProgressMin = 0F;
this.prb4.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb4.ProgressValue = 50F;
this.prb4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb4.Sign = "";
this.prb4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb4.SignColor = System.Drawing.Color.Yellow;
this.prb4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb4.Size = new System.Drawing.Size(259, 41);
this.prb4.TabIndex = 32;
this.prb4.Text = "구매진행중";
this.prb4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb4.TextShadow = false;
this.prb4.TextVisible = true;
this.toolTip1.SetToolTip(this.prb4, "구매대상 중 구매");
//
// prb3
//
this.prb3.BackColor = System.Drawing.Color.OrangeRed;
this.prb3.BackColor2 = System.Drawing.Color.Orange;
this.prb3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb3.BorderColorOver = System.Drawing.Color.Red;
this.prb3.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb3.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb3.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb3.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb3.ForeColor = System.Drawing.Color.Black;
this.prb3.GradientEnable = true;
this.prb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb3.GradientRepeatBG = false;
this.prb3.isButton = false;
this.prb3.Location = new System.Drawing.Point(543, 5);
this.prb3.Margin = new System.Windows.Forms.Padding(5);
this.prb3.MouseDownColor = System.Drawing.Color.Yellow;
this.prb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb3.msg = null;
this.prb3.Name = "prb3";
this.prb3.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb3.ProgressBorderColor = System.Drawing.Color.Black;
this.prb3.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb3.ProgressColor2 = System.Drawing.Color.Gold;
this.prb3.ProgressEnable = false;
this.prb3.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb3.ProgressForeColor = System.Drawing.Color.Black;
this.prb3.ProgressMax = 100F;
this.prb3.ProgressMin = 0F;
this.prb3.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb3.ProgressValue = 50F;
this.prb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb3.Sign = "";
this.prb3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb3.SignColor = System.Drawing.Color.Yellow;
this.prb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb3.Size = new System.Drawing.Size(259, 41);
this.prb3.TabIndex = 32;
this.prb3.Text = "PO대기";
this.prb3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb3.TextShadow = false;
this.prb3.TextVisible = true;
//
// cm1
//
this.cm1.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
@@ -876,6 +1130,7 @@
this.tam.EETGW_JobReport_EBoardTableAdapter = null;
this.tam.EETGW_NoteTableAdapter = null;
this.tam.EETGW_ProjecthistoryDTableAdapter = null;
this.tam.EETGW_ProjectsScheduleTableAdapter = null;
this.tam.EETGW_ProjectToDoTableAdapter = null;
this.tam.EETGW_SaveCostTableAdapter = null;
this.tam.JobReportTableAdapter = null;
@@ -913,6 +1168,7 @@
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1345, 464);
this.fpSpread1.Skin = FarPoint.Win.Spread.DefaultSpreadSkins.Office2013;
this.fpSpread1.StatusBarVisible = true;
this.fpSpread1.TabIndex = 4;
this.fpSpread1.TitleInfo.Text = "PartList";
this.fpSpread1.TitleInfo.Value = "PartList";
@@ -1167,260 +1423,6 @@
this.fpSpread1_Sheet1.TitleInfo.Value = "Partlist";
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
//
// prb3
//
this.prb3.BackColor = System.Drawing.Color.OrangeRed;
this.prb3.BackColor2 = System.Drawing.Color.Orange;
this.prb3.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb3.BorderColorOver = System.Drawing.Color.Red;
this.prb3.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb3.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb3.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb3.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb3.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb3.ForeColor = System.Drawing.Color.Black;
this.prb3.GradientEnable = true;
this.prb3.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb3.GradientRepeatBG = false;
this.prb3.isButton = false;
this.prb3.Location = new System.Drawing.Point(543, 5);
this.prb3.Margin = new System.Windows.Forms.Padding(5);
this.prb3.MouseDownColor = System.Drawing.Color.Yellow;
this.prb3.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb3.msg = null;
this.prb3.Name = "prb3";
this.prb3.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb3.ProgressBorderColor = System.Drawing.Color.Black;
this.prb3.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb3.ProgressColor2 = System.Drawing.Color.Gold;
this.prb3.ProgressEnable = false;
this.prb3.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb3.ProgressForeColor = System.Drawing.Color.Black;
this.prb3.ProgressMax = 100F;
this.prb3.ProgressMin = 0F;
this.prb3.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb3.ProgressValue = 50F;
this.prb3.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb3.Sign = "";
this.prb3.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb3.SignColor = System.Drawing.Color.Yellow;
this.prb3.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb3.Size = new System.Drawing.Size(259, 41);
this.prb3.TabIndex = 32;
this.prb3.Text = "PO대기";
this.prb3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb3.TextShadow = false;
this.prb3.TextVisible = true;
//
// prb4
//
this.prb4.BackColor = System.Drawing.Color.Magenta;
this.prb4.BackColor2 = System.Drawing.Color.DarkMagenta;
this.prb4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb4.BorderColorOver = System.Drawing.Color.Red;
this.prb4.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb4.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb4.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb4.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb4.ForeColor = System.Drawing.Color.Black;
this.prb4.GradientEnable = true;
this.prb4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb4.GradientRepeatBG = false;
this.prb4.isButton = false;
this.prb4.Location = new System.Drawing.Point(812, 5);
this.prb4.Margin = new System.Windows.Forms.Padding(5);
this.prb4.MouseDownColor = System.Drawing.Color.Yellow;
this.prb4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb4.msg = null;
this.prb4.Name = "prb4";
this.prb4.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb4.ProgressBorderColor = System.Drawing.Color.Black;
this.prb4.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb4.ProgressColor2 = System.Drawing.Color.Gold;
this.prb4.ProgressEnable = false;
this.prb4.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb4.ProgressForeColor = System.Drawing.Color.Black;
this.prb4.ProgressMax = 100F;
this.prb4.ProgressMin = 0F;
this.prb4.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb4.ProgressValue = 50F;
this.prb4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb4.Sign = "";
this.prb4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb4.SignColor = System.Drawing.Color.Yellow;
this.prb4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb4.Size = new System.Drawing.Size(259, 41);
this.prb4.TabIndex = 32;
this.prb4.Text = "구매진행중";
this.prb4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb4.TextShadow = false;
this.prb4.TextVisible = true;
this.toolTip1.SetToolTip(this.prb4, "구매대상 중 구매");
//
// prb5
//
this.prb5.BackColor = System.Drawing.Color.LightGreen;
this.prb5.BackColor2 = System.Drawing.Color.Lime;
this.prb5.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb5.BorderColorOver = System.Drawing.Color.Red;
this.prb5.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb5.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb5.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb5.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb5.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb5.ForeColor = System.Drawing.Color.Black;
this.prb5.GradientEnable = true;
this.prb5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb5.GradientRepeatBG = false;
this.prb5.isButton = false;
this.prb5.Location = new System.Drawing.Point(1081, 5);
this.prb5.Margin = new System.Windows.Forms.Padding(5);
this.prb5.MouseDownColor = System.Drawing.Color.Yellow;
this.prb5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb5.msg = null;
this.prb5.Name = "prb5";
this.prb5.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb5.ProgressBorderColor = System.Drawing.Color.Black;
this.prb5.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb5.ProgressColor2 = System.Drawing.Color.Gold;
this.prb5.ProgressEnable = false;
this.prb5.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb5.ProgressForeColor = System.Drawing.Color.Black;
this.prb5.ProgressMax = 100F;
this.prb5.ProgressMin = 0F;
this.prb5.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb5.ProgressValue = 50F;
this.prb5.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb5.Sign = "";
this.prb5.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb5.SignColor = System.Drawing.Color.Yellow;
this.prb5.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb5.Size = new System.Drawing.Size(259, 41);
this.prb5.TabIndex = 32;
this.prb5.Text = "구매 완료";
this.prb5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb5.TextShadow = false;
this.prb5.TextVisible = true;
this.toolTip1.SetToolTip(this.prb5, "구매대상 중 구매완료 율");
//
// prb1
//
this.prb1.BackColor = System.Drawing.Color.White;
this.prb1.BackColor2 = System.Drawing.Color.Gainsboro;
this.prb1.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb1.BorderColorOver = System.Drawing.Color.Red;
this.prb1.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb1.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb1.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb1.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb1.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb1.ForeColor = System.Drawing.Color.Black;
this.prb1.GradientEnable = true;
this.prb1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb1.GradientRepeatBG = false;
this.prb1.isButton = false;
this.prb1.Location = new System.Drawing.Point(5, 5);
this.prb1.Margin = new System.Windows.Forms.Padding(5);
this.prb1.MouseDownColor = System.Drawing.Color.Yellow;
this.prb1.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb1.msg = null;
this.prb1.Name = "prb1";
this.prb1.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb1.ProgressBorderColor = System.Drawing.Color.Black;
this.prb1.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb1.ProgressColor2 = System.Drawing.Color.Gold;
this.prb1.ProgressEnable = false;
this.prb1.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb1.ProgressForeColor = System.Drawing.Color.Black;
this.prb1.ProgressMax = 100F;
this.prb1.ProgressMin = 0F;
this.prb1.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb1.ProgressValue = 50F;
this.prb1.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb1.Sign = "";
this.prb1.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb1.SignColor = System.Drawing.Color.Yellow;
this.prb1.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb1.Size = new System.Drawing.Size(259, 41);
this.prb1.TabIndex = 32;
this.prb1.Text = "비 구매";
this.prb1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb1.TextShadow = false;
this.prb1.TextVisible = true;
this.toolTip1.SetToolTip(this.prb1, "전체 수량 중 구매 불필요 수량");
//
// prb2
//
this.prb2.BackColor = System.Drawing.Color.SkyBlue;
this.prb2.BackColor2 = System.Drawing.Color.SkyBlue;
this.prb2.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
this.prb2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
this.prb2.BorderColorOver = System.Drawing.Color.Red;
this.prb2.BorderSize = new System.Windows.Forms.Padding(2, 2, 2, 4);
this.prb2.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
this.prb2.Cursor = System.Windows.Forms.Cursors.Arrow;
this.prb2.Dock = System.Windows.Forms.DockStyle.Fill;
this.prb2.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.prb2.ForeColor = System.Drawing.Color.Black;
this.prb2.GradientEnable = true;
this.prb2.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
this.prb2.GradientRepeatBG = false;
this.prb2.isButton = false;
this.prb2.Location = new System.Drawing.Point(274, 5);
this.prb2.Margin = new System.Windows.Forms.Padding(5);
this.prb2.MouseDownColor = System.Drawing.Color.Yellow;
this.prb2.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.prb2.msg = null;
this.prb2.Name = "prb2";
this.prb2.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
this.prb2.ProgressBorderColor = System.Drawing.Color.Black;
this.prb2.ProgressColor1 = System.Drawing.Color.Yellow;
this.prb2.ProgressColor2 = System.Drawing.Color.Gold;
this.prb2.ProgressEnable = false;
this.prb2.ProgressFont = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold);
this.prb2.ProgressForeColor = System.Drawing.Color.Black;
this.prb2.ProgressMax = 100F;
this.prb2.ProgressMin = 0F;
this.prb2.ProgressPadding = new System.Windows.Forms.Padding(5, 25, 5, 5);
this.prb2.ProgressValue = 50F;
this.prb2.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.prb2.Sign = "";
this.prb2.SignAlign = System.Drawing.ContentAlignment.BottomRight;
this.prb2.SignColor = System.Drawing.Color.Yellow;
this.prb2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.prb2.Size = new System.Drawing.Size(259, 41);
this.prb2.TabIndex = 32;
this.prb2.Text = "구매요청건";
this.prb2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.prb2.TextShadow = false;
this.prb2.TextVisible = true;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 5;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Controls.Add(this.prb2, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.prb1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.prb5, 4, 0);
this.tableLayoutPanel1.Controls.Add(this.prb4, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.prb3, 2, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 119);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1345, 51);
this.tableLayoutPanel1.TabIndex = 33;
//
// fPartList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -1438,6 +1440,7 @@
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
this.cm1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bsPart)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
@@ -1445,7 +1448,6 @@
this.bn.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@@ -1521,12 +1523,12 @@
private System.Windows.Forms.RadioButton radSortIpNum;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Panel panel7;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private arCtl.arLabel prb2;
private arCtl.arLabel prb1;
private arCtl.arLabel prb5;
private arCtl.arLabel prb4;
private arCtl.arLabel prb3;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
}
}

View File

@@ -307,11 +307,23 @@ namespace FPJ0000
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);
var rows = dsPRJ.ProjectsPart.Select(this.bsPart.Filter);
decimal s1 = 0;
decimal s2 = 0;
foreach(dsPRJ.ProjectsPartRow dr in rows)
{
if (dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted) continue;
s1 += dr.amt;
s2 += dr.amtn;
}
lbSum.Text = string.Format("1:{0:N0} / N:{1:N0}", sum, sumN);
//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}", s1, s2);
}
@@ -543,7 +555,7 @@ namespace FPJ0000
if (e.KeyCode == Keys.Enter)
{
var search = tbFind.Text.Trim();
var ColumnList = new string[] { "ItemName", "ItemModel", "ItemSupply", "ItemManu", "ItemSid" };
var ColumnList = new string[] { "ItemGroup","option1","ItemName", "ItemModel", "ItemSupply", "ItemManu", "ItemSid" };
var Filter = "";
if (search != "")
{
@@ -565,6 +577,10 @@ namespace FPJ0000
this.bsPart.Filter = "";
tbFind.BackColor = SystemColors.Window;
}
RefreshSum();
//FormattingData();
}
catch
{

View File

@@ -397,19 +397,19 @@
<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
Zipm3uYUTU10YZAtppGpC02cUCFK0YsK7aLzMm/bnNtyRuYyNa/zAl6Wuss5urP57TlnyxkI/eDD8+I5
3w/n9z2Hx07ofWXSpXKdIqpC9ztMrKPISXNI2VNPR5Vr6YgnGuNZkbrKL/rtPi60e8If9amXLfSq0Wh0
mm2bMFu9rFpYaPxctKDokwlxFaN2frZ8vyfqnshSzTIb1s44oJ9loDcx0M0w0ExvQflrE20jNmwyQPMo
haIPs0h9ZqT+kYSJ26gN+xYG55z4OseQk8EAJ9mCamITHSN2InBhcNEJ/YIDJXITgu91v+HCsdKgqRvi
6G2h7BpSa66jpr0BxY1SBIv9EUTgl5xBqOQkKpsruVWsNIOlNTtCE1UMJ4gpD37fPdyClvGXqNEVcJLE
6ggUvE5ATkMcBLWXkVKbguahJbQYrfj8fQPrpKcwSR/NCfhV/P1+4lynbqwXr4YlKFNmc5IkWSQJX0HG
83SoJ2zcKl3jFBSkhzWbA2HF/W4BO+GlKjqvLhmGCQ1q9XfxuDMfsdILSKqOhmHGDgMpli1YPenuxEwE
oZJdgnMPxI5ThYeRUMXH4KQWJb2ZkMjzEPc0BA3Kj/g2z8BAitVOO9BPWLY4EPzQIzgu8hEGig4hpz4e
N2XhiK+8yEny5AkQNaaTNwkBez9ocmKA/cQECykyIFfjFgSKDswHig6Sh3wQWOCDq2UhyHqRDPWIAiWK
QmS+S4ZAFgMDEejJv6EjAtrhIgKld4XzuX304jqNoXknh2psAXfqMpBGgsLaOOTX3965Y7FvOYmgyStg
bXNmr+B/2NgV0ncJTuf12Bs7+rb3engvtF8MrqOJzVZPnBSZ0Tk1u2G39PT0u6ZWKEwtU5jwsGJ1cLDN
W2kn1NoBF0VR6763Wn944jzeiYz2rABBW+cxocIcIGyid0hz4/8XQRPtK2hdO5LS2uWfLE/l8Xi8P1vw
nqKxv6G/AAAAAElFTkSuQmCC
</value>
</data>
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@@ -36,11 +36,12 @@
System.Windows.Forms.Label edateLabel;
System.Windows.Forms.Label odateLabel;
System.Windows.Forms.Label statusLabel;
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
this.dsPRJ = new FPJ0000.dsPRJ();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components);
@@ -157,7 +158,7 @@
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(915, 599);
this.fpSpread1.Size = new System.Drawing.Size(978, 594);
this.fpSpread1.StatusBarVisible = true;
this.fpSpread1.TabIndex = 6;
//
@@ -218,7 +219,7 @@
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(915, 97);
this.panel1.Size = new System.Drawing.Size(978, 97);
this.panel1.TabIndex = 7;
//
// button1
@@ -334,7 +335,7 @@
this.fpSpread1_Sheet1.SheetName = "Sheet1";
// Formulas and custom names must be loaded with R1C1 reference style
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
this.fpSpread1_Sheet1.ColumnCount = 5;
this.fpSpread1_Sheet1.ColumnCount = 6;
this.fpSpread1_Sheet1.RowCount = 0;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
@@ -343,43 +344,53 @@
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 = "금액(N)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "금액(구매신청)";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 38F;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Label = "중분류";
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(1).Label = "소분류";
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Label = "공급처";
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Width = 151F;
numberCellType1.DecimalPlaces = 0;
numberCellType1.MaximumValue = 999999999999999D;
numberCellType1.MinimumValue = -999999999999999D;
numberCellType1.NegativeRed = true;
numberCellType1.Separator = ",";
numberCellType1.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType1;
numberCellType4.DecimalPlaces = 0;
numberCellType4.MaximumValue = 999999999999999D;
numberCellType4.MinimumValue = -999999999999999D;
numberCellType4.NegativeRed = true;
numberCellType4.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType4;
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "금액";
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 143F;
numberCellType2.DecimalPlaces = 0;
numberCellType2.MaximumValue = 10000000D;
numberCellType2.MinimumValue = -10000000D;
numberCellType2.NegativeRed = true;
numberCellType2.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType2;
this.fpSpread1_Sheet1.Columns.Get(3).Width = 120F;
numberCellType5.DecimalPlaces = 0;
numberCellType5.MaximumValue = 10000000D;
numberCellType5.MinimumValue = -10000000D;
numberCellType5.NegativeRed = true;
numberCellType5.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType5;
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "금액(N)";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 140F;
this.fpSpread1_Sheet1.Columns.Get(4).Width = 120F;
numberCellType6.DecimalPlaces = 0;
numberCellType6.MaximumValue = 10000000D;
numberCellType6.MinimumValue = -10000000D;
numberCellType6.NegativeRed = true;
numberCellType6.ShowSeparator = true;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType6;
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "금액(구매신청)";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Width = 120F;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
@@ -388,7 +399,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(915, 696);
this.ClientSize = new System.Drawing.Size(978, 691);
this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.panel1);
this.Name = "rPartList";

View File

@@ -40,7 +40,7 @@ namespace FPJ0000
//order by 절은 다시 생성한다.
var SSQl = " select ItemGroup,option1,ItemSupply,sum(amt) as amt ,sum(amtn) as amtn " +
var SSQl = " select ItemGroup,option1,ItemSupply,sum(amt) as amt ,sum(amtn) as amtn ,sum(isnull(qtybuy,0)*isnull(price,0)) as amtb " +
" from projectspart" +
" where Project = " + this.ProjectIndex.ToString() +
" group by ItemGroup,option1,ItemSupply" +
@@ -56,14 +56,19 @@ namespace FPJ0000
//데이터를 회전해서 입력하고 소계를 넣는다
string grp1 = "!";
string grp2 = "!";
decimal sum = 0;
decimal sum2 = 0;
decimal sum3 = 0;
decimal sumn = 0;
decimal sumn2 = 0;
decimal sumn3 = 0;
decimal sumb = 0;
decimal sumb2 = 0;
decimal sumb3 = 0;
Boolean first = true;
int grp2cnt = 0;
@@ -77,6 +82,8 @@ namespace FPJ0000
{
sum3 += dr.amt;
sumn3 += dr.amtn;
sumb3 += dr.amtb;
if (first)
{
grp1 = dr.ItemGroup.Trim();
@@ -89,13 +96,18 @@ namespace FPJ0000
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = dr.ItemSupply;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = dr.amt;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 4].Value = dr.amtn;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 5].Value = dr.amtb;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
sum = dr.amt;
sum2 = dr.amt;
sumn = dr.amtn;
sumn2 = dr.amtn;
sumb = dr.amtb;
sumb2 = dr.amtb;
first = false;
grp2cnt = 0;
}
@@ -113,6 +125,7 @@ namespace FPJ0000
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 4].Value = sumn2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 5].Value = sumb2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].BackColor = Color.FromArgb(240, 240, 240);
@@ -142,6 +155,7 @@ namespace FPJ0000
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 4].Value = sumn;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 5].Value = sumb;
this.fpSpread1_Sheet1.Rows[this.fpSpread1_Sheet1.RowCount - 1].BackColor = Color.FromArgb(220, 220, 220);
//중분류가 변경되었으므로 처음 줄부터 지금 줄까지 스팬을 건다
@@ -160,6 +174,9 @@ namespace FPJ0000
sumn = 0;
sumn2 = 0;
sumb = 0;
sumb2 = 0;
grp1 = dr.ItemGroup.Trim();
grp2 = dr.option1.Trim();
grp2cnt = 0;
@@ -177,6 +194,7 @@ namespace FPJ0000
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 4].Value = sumn2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 5].Value = sumb2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].BackColor = Color.FromArgb(240, 240, 240);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].BackColor = Color.FromArgb(240, 240, 240);
@@ -199,6 +217,7 @@ namespace FPJ0000
spanStart2 = this.fpSpread1_Sheet1.RowCount;
sum2 = 0;
sumn2 = 0;
sumb2 = 0;
grp2 = dr.option1.Trim();
}
@@ -210,6 +229,7 @@ namespace FPJ0000
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = dr.ItemSupply;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = dr.amt;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 4].Value = dr.amtn;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 5].Value = dr.amtb;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
cnt++;
@@ -220,6 +240,9 @@ namespace FPJ0000
sumn += dr.amtn;
sumn2 += dr.amtn;
sumb += dr.amtb;
sumb2 += dr.amtb;
//grp2cnt += 1;
}
}
@@ -234,6 +257,7 @@ namespace FPJ0000
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 4].Value = sumn2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 5].Value = sumb2;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 1].BackColor = Color.FromArgb(240, 240, 240);
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].BackColor = Color.FromArgb(240, 240, 240);
@@ -263,6 +287,7 @@ namespace FPJ0000
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 4].Value = sumn;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 5].Value = sumb;
this.fpSpread1_Sheet1.Rows[this.fpSpread1_Sheet1.RowCount - 1].BackColor = Color.FromArgb(220, 220, 220);
@@ -276,6 +301,7 @@ namespace FPJ0000
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 2].Value = "";
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 3].Value = sum3;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 4].Value = sumn3;
this.fpSpread1_Sheet1.Cells[this.fpSpread1_Sheet1.RowCount - 1, 5].Value = sumb3;
this.fpSpread1_Sheet1.Rows[this.fpSpread1_Sheet1.RowCount - 1].BackColor = Color.LightSkyBlue;