This commit is contained in:
chi
2025-01-17 15:46:28 +09:00
parent 42a6fd35e4
commit f7254511cc
4 changed files with 399 additions and 376 deletions

View File

@@ -32,7 +32,6 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fMonthAmount));
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = 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();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FEQ0000.dsPurchase();
@@ -52,6 +51,7 @@
this.tbYear = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.label2 = new System.Windows.Forms.Label();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
@@ -87,7 +87,7 @@
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(574, 25);
this.bn.Size = new System.Drawing.Size(394, 25);
this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1";
//
@@ -192,13 +192,13 @@
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(574, 45);
this.panel1.Size = new System.Drawing.Size(394, 45);
this.panel1.TabIndex = 2;
//
// btrefresh
//
this.btrefresh.Dock = System.Windows.Forms.DockStyle.Right;
this.btrefresh.Location = new System.Drawing.Point(487, 5);
this.btrefresh.Location = new System.Drawing.Point(307, 5);
this.btrefresh.Name = "btrefresh";
this.btrefresh.Size = new System.Drawing.Size(82, 35);
this.btrefresh.TabIndex = 2;
@@ -234,29 +234,38 @@
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(574, 541);
this.fpSpread1.Size = new System.Drawing.Size(394, 491);
this.fpSpread1.TabIndex = 3;
//
// label2
//
this.label2.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label2.Location = new System.Drawing.Point(0, 536);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(394, 50);
this.label2.TabIndex = 4;
this.label2.Text = "월별데이터에는 기준 사용량(%) 을 [2025]와 같은 년 데이터는 배정된 총 금액을 입력하세요";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// fpSpread1_Sheet1
//
this.fpSpread1_Sheet1.Reset();
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 = 3;
this.fpSpread1_Sheet1.ColumnCount = 2;
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
this.fpSpread1_Sheet1.AutoSortEnhancedContextMenu = true;
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "일자";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "NR(\\)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "CR(\\)";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "NR(%)";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 38F;
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "pdate";
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).Label = "";
this.fpSpread1_Sheet1.Columns.Get(0).LockBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
@@ -266,17 +275,9 @@
this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType1;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "amountNR";
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Label = "NR(\\)";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "NR(%)";
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Width = 128F;
numberCellType2.MaximumValue = 999999999999999D;
numberCellType2.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = numberCellType2;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "amountCR";
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Label = "CR(\\)";
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).Width = 159F;
this.fpSpread1_Sheet1.Columns.Get(1).Width = 200F;
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
this.fpSpread1_Sheet1.DataSource = this.bs;
this.fpSpread1_Sheet1.DisplayZero = false;
@@ -291,8 +292,9 @@
// fMonthAmount
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(574, 611);
this.ClientSize = new System.Drawing.Size(394, 611);
this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.label2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.bn);
this.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@@ -334,6 +336,7 @@
private System.Windows.Forms.TextBox tbYear;
private System.Windows.Forms.Button btrefresh;
private FarPoint.Win.Spread.FpSpread fpSpread1;
private System.Windows.Forms.Label label2;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
}
}