...
This commit is contained in:
182
SubProject/FBS0000/Holiday/WorkTable.Designer.cs
generated
182
SubProject/FBS0000/Holiday/WorkTable.Designer.cs
generated
@@ -31,9 +31,9 @@
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WorkTable));
|
||||
System.Globalization.CultureInfo cultureInfo = new System.Globalization.CultureInfo("ko-KR", false);
|
||||
FarPoint.Win.ComplexBorder complexBorder1 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), false, false);
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo1 = new FarPoint.Win.Spread.NoPrinterPrintInfo();
|
||||
FarPoint.Win.ComplexBorder complexBorder2 = new FarPoint.Win.ComplexBorder(new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.ThinLine), new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.None), false, false);
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.NoPrinterPrintInfo noPrinterPrintInfo2 = new FarPoint.Win.Spread.NoPrinterPrintInfo();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
||||
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
||||
@@ -62,6 +62,9 @@
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
@@ -94,14 +97,14 @@
|
||||
this.sbJan,
|
||||
this.toolStripButton2,
|
||||
this.toolStripButton3});
|
||||
this.bn.Location = new System.Drawing.Point(0, 545);
|
||||
this.bn.Location = new System.Drawing.Point(0, 653);
|
||||
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(926, 27);
|
||||
this.bn.Size = new System.Drawing.Size(1137, 27);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
@@ -243,12 +246,15 @@
|
||||
this.tbSD,
|
||||
this.toolStripLabel2,
|
||||
this.tbED,
|
||||
this.toolStripButton4,
|
||||
this.toolStripButton5,
|
||||
this.toolStripSeparator1,
|
||||
this.toolStripLabel3,
|
||||
this.tbGrp,
|
||||
this.toolStripButton1});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(926, 31);
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1137, 31);
|
||||
this.toolStrip1.TabIndex = 3;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
@@ -314,7 +320,7 @@
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(926, 514);
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1137, 622);
|
||||
this.fpSpread1.StatusBarVisible = true;
|
||||
this.fpSpread1.TabIndex = 4;
|
||||
this.fpSpread1.SetViewportLeftColumn(0, 0, 4);
|
||||
@@ -329,26 +335,26 @@
|
||||
this.fpSpread1_Sheet1.ColumnCount = 50;
|
||||
this.fpSpread1_Sheet1.RowCount = 1;
|
||||
this.fpSpread1_Sheet1.AllowNoteEdit = false;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 0).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 1).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 2).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 3).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 4).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 0).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 1).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 2).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 3).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 4).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 5).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 5).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 6).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 6).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 7).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 7).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 8).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 8).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 9).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 9).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 9).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 9).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -357,7 +363,7 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 9).ParseFormatString = "n";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 9).Value = 6;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 10).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 10).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 10).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 10).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -366,7 +372,7 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 10).ParseFormatString = "n";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 10).Value = 7;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 11).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 11).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 11).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 11).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -375,7 +381,7 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 11).ParseFormatString = "n";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 11).Value = 8;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 12).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 12).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 12).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 12).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -384,7 +390,7 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 12).ParseFormatString = "n";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 12).Value = 9;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 13).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 13).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 13).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 13).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -393,7 +399,7 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 13).ParseFormatString = "n";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 13).Value = 10;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 14).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 14).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 14).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 14).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -402,7 +408,7 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 14).ParseFormatString = "n";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 14).Value = 11;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 15).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 15).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 15).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 15).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -411,7 +417,7 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 15).ParseFormatString = "n";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 15).Value = 12;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 16).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 16).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 16).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 16).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -420,55 +426,55 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 16).ParseFormatString = "n";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 16).Value = 13;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 17).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 17).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 18).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 18).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 19).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 19).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 20).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 20).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 20).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 21).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 21).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 22).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 22).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 22).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 23).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 23).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 24).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 24).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 25).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 25).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 25).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 26).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 26).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 26).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 27).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 27).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 28).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 28).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 29).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 29).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 30).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 30).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 30).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 31).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 31).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 32).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 32).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 32).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 32).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 33).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 33).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 33).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 33).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 33).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -477,7 +483,7 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 33).ParseFormatString = "n";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 33).Value = 30;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 33).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 34).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 34).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 34).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 34).ParseFormatInfo = ((System.Globalization.NumberFormatInfo)(cultureInfo.NumberFormat.Clone()));
|
||||
((System.Globalization.NumberFormatInfo)(this.fpSpread1_Sheet1.Cells.Get(0, 34).ParseFormatInfo)).NumberDecimalDigits = 0;
|
||||
@@ -487,39 +493,39 @@
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 34).Value = 31;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 34).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 35).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 35).Border = complexBorder1;
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.MaximumValue = 10000000D;
|
||||
numberCellType1.MinimumValue = -10000000D;
|
||||
numberCellType1.NegativeRed = true;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 35).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 35).Border = complexBorder2;
|
||||
numberCellType2.DecimalPlaces = 0;
|
||||
numberCellType2.MaximumValue = 10000000D;
|
||||
numberCellType2.MinimumValue = -10000000D;
|
||||
numberCellType2.NegativeRed = true;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 35).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 35).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 35).Value = "발생연차";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 35).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 36).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 36).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 36).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 36).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 36).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 36).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 36).Value = "사용휴가";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 36).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 37).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 37).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 37).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 37).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 37).CellType = numberCellType2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 37).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 37).Value = "잔여휴가";
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 37).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 38).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 39).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 40).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 41).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 42).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 43).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 44).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 45).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 46).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 47).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 48).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 49).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 38).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 39).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 40).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 41).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 42).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 43).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 44).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 45).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 46).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 47).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 48).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Cells.Get(0, 49).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "분류";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "사번";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "직급";
|
||||
@@ -534,25 +540,25 @@
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).Value = "잔여휴가";
|
||||
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).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Border = complexBorder2;
|
||||
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 = 69F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
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 = 69F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Border = complexBorder2;
|
||||
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 = 69F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Border = complexBorder1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Border = complexBorder2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "성명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
@@ -704,11 +710,11 @@
|
||||
this.fpSpread1_Sheet1.PrintInfo.Margin.Left = 25;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Margin.Right = 25;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Margin.Top = 75;
|
||||
noPrinterPrintInfo1.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148);
|
||||
noPrinterPrintInfo1.HardMarginX = 0F;
|
||||
noPrinterPrintInfo1.HardMarginY = 0F;
|
||||
noPrinterPrintInfo1.SupportColor = true;
|
||||
this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo1;
|
||||
noPrinterPrintInfo2.Bounds = new System.Drawing.Rectangle(0, 0, 816, 1148);
|
||||
noPrinterPrintInfo2.HardMarginX = 0F;
|
||||
noPrinterPrintInfo2.HardMarginY = 0F;
|
||||
noPrinterPrintInfo2.SupportColor = true;
|
||||
this.fpSpread1_Sheet1.PrintInfo.NoPrinterSetting = noPrinterPrintInfo2;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Orientation = FarPoint.Win.Spread.PrintOrientation.Landscape;
|
||||
this.fpSpread1_Sheet1.PrintInfo.PdfSecurity = null;
|
||||
this.fpSpread1_Sheet1.PrintInfo.Printer = "";
|
||||
@@ -720,11 +726,36 @@
|
||||
this.fpSpread1_Sheet1.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 31);
|
||||
//
|
||||
// toolStripButton4
|
||||
//
|
||||
this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
|
||||
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton4.Name = "toolStripButton4";
|
||||
this.toolStripButton4.Size = new System.Drawing.Size(28, 28);
|
||||
this.toolStripButton4.Text = "이전달";
|
||||
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
|
||||
//
|
||||
// toolStripButton5
|
||||
//
|
||||
this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
|
||||
this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton5.Name = "toolStripButton5";
|
||||
this.toolStripButton5.Size = new System.Drawing.Size(28, 28);
|
||||
this.toolStripButton5.Text = "다음달";
|
||||
this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click);
|
||||
//
|
||||
// WorkTable
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(926, 572);
|
||||
this.ClientSize = new System.Drawing.Size(1137, 680);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
@@ -772,5 +803,8 @@
|
||||
private System.Windows.Forms.ToolStripLabel lbStt;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton4;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton5;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
}
|
||||
}
|
||||
@@ -342,5 +342,24 @@ namespace FBS0000
|
||||
newTask.Attachments.Add(FileName);
|
||||
newTask.Display();
|
||||
}
|
||||
|
||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
var sd = DateTime.Parse(tbSD.Text);
|
||||
sd = sd.AddMonths(-1);
|
||||
var ed = sd.AddMonths(1);
|
||||
tbSD.Text = sd.ToShortDateString();
|
||||
tbED.Text = ed.ToShortDateString();
|
||||
}
|
||||
|
||||
private void toolStripButton5_Click(object sender, EventArgs e)
|
||||
{
|
||||
var sd = DateTime.Parse(tbSD.Text);
|
||||
sd = sd.AddMonths(1);
|
||||
var ed = sd.AddMonths(1);
|
||||
tbSD.Text = sd.ToShortDateString();
|
||||
tbED.Text = ed.ToShortDateString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -194,6 +194,33 @@
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>83, 17</value>
|
||||
</metadata>
|
||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFMSURBVDhPhZI7SwNBFIX3T9jY2KQQxE4LIY2ghaBCGgUx
|
||||
2GhjJUSwSqWVBKwsbbTRTrAREQsfhQYikhRBDD4KQRAR/QFXv2HOMpt13QMHkpn7nbk5JMqSdckf58vP
|
||||
2+T+YOyx7X5/mhPEgKDH77bzw1fT2p+3LkRBfjwpwQJPXw9s66lsm505O3zesebHtTXeL6y4XkiHhDBD
|
||||
gILxxv2MVVslO3rZtau3Yxuq9CVDwgDBGAleu5uylfpEOoAPwPxW1tarUggv34xbrVVxcwMLve7eBVAO
|
||||
RfEaztLi5aiVz4t/B1ASr+EsAc+ejbguEgE0S3l7nVq8rsTaehl4tT7vAgrTPe4+7oEQCgIQhAAFl06G
|
||||
0zDiC80SwBZ6UaBgCuQ/kQpACqEgXG0sOQizNmAmLHFBOZhVcQj+C0tu4lcCQhD5sXz5+Vj+uEtR9AOl
|
||||
bDfO85KcaQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFNSURBVDhPhZKvSwRRFIXnn7BYLBsE2aZB2GAQDcqCBkVw
|
||||
MYhJLK7BokWTLJiMFi3aBIuIGPwRloXVRVE2rKhBEEQE/4Cr3+Xdx5sZxzlwYOfO/c68d9goS5KQG+fL
|
||||
7cv4QdF7eKfXTXOCWDDo6fvRu/11qyEW5NbjMtigs7dD2X6uyFZnRo5eduXusy7Nj0spbRTSISHMEqDB
|
||||
eLM9Jautshy/7sn1+4n0V3viIWGAwRaAgPFSYzQdwA9g7smx7av2ZdNifURdu6/qXt9ct841gHIIAAih
|
||||
pOavhqRyUfo7gJLWHybVWQKePh/ULmIBNEt5+52aLN+MeXNnk8ErjVkNKJS7dO57IISCgOy+HBkZPHE6
|
||||
kIYRDzRLAKewuxpoMAXyn0gFIAuhILzWXFAIc2zATNjEC8rBHBWH4L+wSTd+ZUAIIreWL7fv5cYJRdEP
|
||||
Fas4M5JsXd4AAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>189, 17</value>
|
||||
</metadata>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>189, 17</value>
|
||||
</metadata>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btSave = new System.Windows.Forms.Button();
|
||||
this.cmbUser = new System.Windows.Forms.ComboBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
@@ -40,7 +41,8 @@
|
||||
this.btRefresh = new System.Windows.Forms.Button();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.btSave = new System.Windows.Forms.Button();
|
||||
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
||||
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
@@ -49,6 +51,8 @@
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
|
||||
this.panel1.Controls.Add(this.linkLabel2);
|
||||
this.panel1.Controls.Add(this.linkLabel1);
|
||||
this.panel1.Controls.Add(this.btSave);
|
||||
this.panel1.Controls.Add(this.cmbUser);
|
||||
this.panel1.Controls.Add(this.label4);
|
||||
@@ -63,9 +67,20 @@
|
||||
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(888, 58);
|
||||
this.panel1.Size = new System.Drawing.Size(1102, 58);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// btSave
|
||||
//
|
||||
this.btSave.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btSave.Location = new System.Drawing.Point(947, 5);
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(75, 48);
|
||||
this.btSave.TabIndex = 13;
|
||||
this.btSave.Text = "파일저장";
|
||||
this.btSave.UseVisualStyleBackColor = true;
|
||||
this.btSave.Click += new System.EventHandler(this.btSave_Click);
|
||||
//
|
||||
// cmbUser
|
||||
//
|
||||
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
@@ -138,7 +153,7 @@
|
||||
// btRefresh
|
||||
//
|
||||
this.btRefresh.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btRefresh.Location = new System.Drawing.Point(808, 5);
|
||||
this.btRefresh.Location = new System.Drawing.Point(1022, 5);
|
||||
this.btRefresh.Name = "btRefresh";
|
||||
this.btRefresh.Size = new System.Drawing.Size(75, 48);
|
||||
this.btRefresh.TabIndex = 2;
|
||||
@@ -154,49 +169,41 @@
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(888, 638);
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1102, 592);
|
||||
this.fpSpread1.TabIndex = 4;
|
||||
//
|
||||
// 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.ColumnFooter.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooter.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnFooterSheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBar.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBarHeaderStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.FilterBarHeaderStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.RowHeader.DefaultStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.SheetCornerStyle.BackColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.SheetCornerStyle.ForeColor = System.Drawing.Color.Empty;
|
||||
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
||||
//
|
||||
// btSave
|
||||
// linkLabel1
|
||||
//
|
||||
this.btSave.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btSave.Location = new System.Drawing.Point(733, 5);
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(75, 48);
|
||||
this.btSave.TabIndex = 13;
|
||||
this.btSave.Text = "파일저장";
|
||||
this.btSave.UseVisualStyleBackColor = true;
|
||||
this.btSave.Click += new System.EventHandler(this.btSave_Click);
|
||||
this.linkLabel1.AutoSize = true;
|
||||
this.linkLabel1.Location = new System.Drawing.Point(522, 12);
|
||||
this.linkLabel1.Name = "linkLabel1";
|
||||
this.linkLabel1.Size = new System.Drawing.Size(41, 12);
|
||||
this.linkLabel1.TabIndex = 14;
|
||||
this.linkLabel1.TabStop = true;
|
||||
this.linkLabel1.Text = "다음달";
|
||||
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
|
||||
//
|
||||
// linkLabel2
|
||||
//
|
||||
this.linkLabel2.AutoSize = true;
|
||||
this.linkLabel2.Location = new System.Drawing.Point(475, 12);
|
||||
this.linkLabel2.Name = "linkLabel2";
|
||||
this.linkLabel2.Size = new System.Drawing.Size(41, 12);
|
||||
this.linkLabel2.TabIndex = 15;
|
||||
this.linkLabel2.TabStop = true;
|
||||
this.linkLabel2.Text = "이전달";
|
||||
this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
|
||||
//
|
||||
// fJobChartMenu
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(888, 696);
|
||||
this.ClientSize = new System.Drawing.Size(1102, 650);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "fJobChartMenu";
|
||||
@@ -227,5 +234,7 @@
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.Button btSave;
|
||||
private System.Windows.Forms.LinkLabel linkLabel2;
|
||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||
}
|
||||
}
|
||||
@@ -360,5 +360,23 @@ namespace FPJ0000.JobReport_
|
||||
FCOMMON.Util.MsgE("파일저장완료\n" + sd.FileName);
|
||||
}
|
||||
}
|
||||
|
||||
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
//이전달
|
||||
var sd = dts.Value.AddMonths(-1);
|
||||
var ed = sd.AddMonths(1);
|
||||
dts.Value = sd;
|
||||
dte.Value = ed;
|
||||
}
|
||||
|
||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
//다음달
|
||||
var sd = dts.Value.AddMonths(1);
|
||||
var ed = sd.AddMonths(1);
|
||||
dts.Value = sd;
|
||||
dte.Value = ed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -593,7 +593,7 @@ namespace FPJ0000
|
||||
FCOMMON.Util.MsgE("타인의 자료는 추가/변경/삭제 할 수 없습니다.");
|
||||
return;
|
||||
}
|
||||
if (ta.CheckOt2Input(dr.gcode, dr.idx) > 0)
|
||||
if (ta.CheckOt2Input(dr.gcode, dr.idx) > 0 && FCOMMON.info.Login.level < 5)
|
||||
{
|
||||
FCOMMON.Util.MsgE("연장/휴일 근무 시간이 승인된 자료이므로 삭제할 수 없습니다");
|
||||
return;
|
||||
|
||||
@@ -544,9 +544,9 @@
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.HolyDays.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.HolyDays.HeaderText = "일";
|
||||
this.HolyDays.HeaderText = "사용일";
|
||||
this.HolyDays.Name = "HolyDays";
|
||||
this.HolyDays.Width = 52;
|
||||
this.HolyDays.Width = 76;
|
||||
//
|
||||
// HolyTimes
|
||||
//
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace FPJ0000.OtConfirm
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.tbCate = new System.Windows.Forms.ComboBox();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.dSKuntae = new FPJ0000.DSKuntae();
|
||||
@@ -57,6 +56,7 @@ namespace FPJ0000.OtConfirm
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.grpAdmin = new System.Windows.Forms.GroupBox();
|
||||
this.chkSendMail = new System.Windows.Forms.CheckBox();
|
||||
this.cmbPreset = new System.Windows.Forms.ComboBox();
|
||||
this.rad2 = new System.Windows.Forms.RadioButton();
|
||||
this.rad1 = new System.Windows.Forms.RadioButton();
|
||||
@@ -64,7 +64,8 @@ namespace FPJ0000.OtConfirm
|
||||
this.tbResponse = new System.Windows.Forms.RichTextBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.ta = new FPJ0000.DSKuntaeTableAdapters.EETGW_HolydayRequestTableAdapter();
|
||||
this.chkSendMail = new System.Windows.Forms.CheckBox();
|
||||
this.radTime = new System.Windows.Forms.RadioButton();
|
||||
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dSKuntae)).BeginInit();
|
||||
this.grpUser.SuspendLayout();
|
||||
@@ -89,26 +90,17 @@ namespace FPJ0000.OtConfirm
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "종료일";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(62, 136);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(66, 27);
|
||||
this.label3.TabIndex = 4;
|
||||
this.label3.Text = "구분";
|
||||
//
|
||||
// tbCate
|
||||
//
|
||||
this.tbCate.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true));
|
||||
this.tbCate.FormattingEnabled = true;
|
||||
this.tbCate.Items.AddRange(new object[] {
|
||||
"연차",
|
||||
"년차",
|
||||
"하기",
|
||||
"대체"});
|
||||
this.tbCate.Location = new System.Drawing.Point(140, 133);
|
||||
this.tbCate.Name = "tbCate";
|
||||
this.tbCate.Size = new System.Drawing.Size(358, 35);
|
||||
this.tbCate.Size = new System.Drawing.Size(153, 35);
|
||||
this.tbCate.TabIndex = 5;
|
||||
//
|
||||
// bs
|
||||
@@ -141,6 +133,7 @@ namespace FPJ0000.OtConfirm
|
||||
// tbRemark
|
||||
//
|
||||
this.tbRemark.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Remark", true));
|
||||
this.tbRemark.Font = new System.Drawing.Font("굴림", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbRemark.Location = new System.Drawing.Point(140, 297);
|
||||
this.tbRemark.Name = "tbRemark";
|
||||
this.tbRemark.Size = new System.Drawing.Size(358, 169);
|
||||
@@ -149,6 +142,8 @@ namespace FPJ0000.OtConfirm
|
||||
//
|
||||
// grpUser
|
||||
//
|
||||
this.grpUser.Controls.Add(this.radioButton2);
|
||||
this.grpUser.Controls.Add(this.radTime);
|
||||
this.grpUser.Controls.Add(this.tbTimes);
|
||||
this.grpUser.Controls.Add(this.tbDays);
|
||||
this.grpUser.Controls.Add(this.label11);
|
||||
@@ -170,7 +165,6 @@ namespace FPJ0000.OtConfirm
|
||||
this.grpUser.Controls.Add(this.label2);
|
||||
this.grpUser.Controls.Add(this.tbSD);
|
||||
this.grpUser.Controls.Add(this.label4);
|
||||
this.grpUser.Controls.Add(this.label3);
|
||||
this.grpUser.Controls.Add(this.tbCate);
|
||||
this.grpUser.Location = new System.Drawing.Point(12, 12);
|
||||
this.grpUser.Name = "grpUser";
|
||||
@@ -220,7 +214,7 @@ namespace FPJ0000.OtConfirm
|
||||
this.tbBackup.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true));
|
||||
this.tbBackup.FormattingEnabled = true;
|
||||
this.tbBackup.Items.AddRange(new object[] {
|
||||
"연차",
|
||||
"년차",
|
||||
"하기",
|
||||
"대체"});
|
||||
this.tbBackup.Location = new System.Drawing.Point(140, 256);
|
||||
@@ -242,7 +236,7 @@ namespace FPJ0000.OtConfirm
|
||||
this.tbLocation.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true));
|
||||
this.tbLocation.FormattingEnabled = true;
|
||||
this.tbLocation.Items.AddRange(new object[] {
|
||||
"연차",
|
||||
"년차",
|
||||
"하기",
|
||||
"대체"});
|
||||
this.tbLocation.Location = new System.Drawing.Point(140, 215);
|
||||
@@ -264,7 +258,7 @@ namespace FPJ0000.OtConfirm
|
||||
this.tbReason.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true));
|
||||
this.tbReason.FormattingEnabled = true;
|
||||
this.tbReason.Items.AddRange(new object[] {
|
||||
"연차",
|
||||
"년차",
|
||||
"하기",
|
||||
"대체"});
|
||||
this.tbReason.Location = new System.Drawing.Point(140, 174);
|
||||
@@ -340,20 +334,30 @@ namespace FPJ0000.OtConfirm
|
||||
this.grpAdmin.Controls.Add(this.rad1);
|
||||
this.grpAdmin.Controls.Add(this.rad0);
|
||||
this.grpAdmin.Controls.Add(this.tbResponse);
|
||||
this.grpAdmin.Location = new System.Drawing.Point(12, 520);
|
||||
this.grpAdmin.Location = new System.Drawing.Point(12, 503);
|
||||
this.grpAdmin.Name = "grpAdmin";
|
||||
this.grpAdmin.Size = new System.Drawing.Size(788, 242);
|
||||
this.grpAdmin.Size = new System.Drawing.Size(788, 179);
|
||||
this.grpAdmin.TabIndex = 1;
|
||||
this.grpAdmin.TabStop = false;
|
||||
this.grpAdmin.Text = "관리자";
|
||||
//
|
||||
// chkSendMail
|
||||
//
|
||||
this.chkSendMail.AutoSize = true;
|
||||
this.chkSendMail.Location = new System.Drawing.Point(631, 37);
|
||||
this.chkSendMail.Name = "chkSendMail";
|
||||
this.chkSendMail.Size = new System.Drawing.Size(139, 31);
|
||||
this.chkSendMail.TabIndex = 7;
|
||||
this.chkSendMail.Text = "메일전송";
|
||||
this.chkSendMail.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cmbPreset
|
||||
//
|
||||
this.cmbPreset.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "cate", true));
|
||||
this.cmbPreset.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbPreset.FormattingEnabled = true;
|
||||
this.cmbPreset.Items.AddRange(new object[] {
|
||||
"연차",
|
||||
"년차",
|
||||
"하기",
|
||||
"대체"});
|
||||
this.cmbPreset.Location = new System.Drawing.Point(26, 74);
|
||||
@@ -401,15 +405,15 @@ namespace FPJ0000.OtConfirm
|
||||
this.tbResponse.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "Response", true));
|
||||
this.tbResponse.Location = new System.Drawing.Point(26, 115);
|
||||
this.tbResponse.Name = "tbResponse";
|
||||
this.tbResponse.Size = new System.Drawing.Size(744, 113);
|
||||
this.tbResponse.Size = new System.Drawing.Size(744, 57);
|
||||
this.tbResponse.TabIndex = 3;
|
||||
this.tbResponse.Text = "";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(12, 768);
|
||||
this.button1.Location = new System.Drawing.Point(12, 688);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(788, 72);
|
||||
this.button1.Size = new System.Drawing.Size(788, 50);
|
||||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "확인";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
@@ -419,20 +423,35 @@ namespace FPJ0000.OtConfirm
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// chkSendMail
|
||||
// radTime
|
||||
//
|
||||
this.chkSendMail.AutoSize = true;
|
||||
this.chkSendMail.Location = new System.Drawing.Point(631, 37);
|
||||
this.chkSendMail.Name = "chkSendMail";
|
||||
this.chkSendMail.Size = new System.Drawing.Size(139, 31);
|
||||
this.chkSendMail.TabIndex = 7;
|
||||
this.chkSendMail.Text = "메일전송";
|
||||
this.chkSendMail.UseVisualStyleBackColor = true;
|
||||
this.radTime.AutoSize = true;
|
||||
this.radTime.Location = new System.Drawing.Point(306, 134);
|
||||
this.radTime.Name = "radTime";
|
||||
this.radTime.Size = new System.Drawing.Size(192, 31);
|
||||
this.radTime.TabIndex = 24;
|
||||
this.radTime.TabStop = true;
|
||||
this.radTime.Text = "대체시간사용";
|
||||
this.radTime.UseVisualStyleBackColor = true;
|
||||
this.radTime.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
|
||||
//
|
||||
// radioButton2
|
||||
//
|
||||
this.radioButton2.AutoSize = true;
|
||||
this.radioButton2.Checked = true;
|
||||
this.radioButton2.Location = new System.Drawing.Point(50, 133);
|
||||
this.radioButton2.Name = "radioButton2";
|
||||
this.radioButton2.Size = new System.Drawing.Size(84, 31);
|
||||
this.radioButton2.TabIndex = 25;
|
||||
this.radioButton2.TabStop = true;
|
||||
this.radioButton2.Text = "일반";
|
||||
this.radioButton2.UseVisualStyleBackColor = true;
|
||||
this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
|
||||
//
|
||||
// fHolyRequestAdd
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(812, 851);
|
||||
this.ClientSize = new System.Drawing.Size(812, 746);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.grpAdmin);
|
||||
this.Controls.Add(this.grpUser);
|
||||
@@ -457,7 +476,6 @@ namespace FPJ0000.OtConfirm
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.ComboBox tbCate;
|
||||
private System.Windows.Forms.DateTimePicker tbSD;
|
||||
private System.Windows.Forms.DateTimePicker tbED;
|
||||
@@ -490,5 +508,7 @@ namespace FPJ0000.OtConfirm
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.ComboBox cmbPreset;
|
||||
private System.Windows.Forms.CheckBox chkSendMail;
|
||||
private System.Windows.Forms.RadioButton radTime;
|
||||
private System.Windows.Forms.RadioButton radioButton2;
|
||||
}
|
||||
}
|
||||
@@ -64,6 +64,21 @@ namespace FPJ0000.OtConfirm
|
||||
tbDays.Text = dr.HolyDays.ToString(); //211224
|
||||
tbTimes.Text = dr.HolyTimes.ToString();
|
||||
|
||||
if(dr.cate == "대체")
|
||||
{
|
||||
tbTimes.Enabled = true;
|
||||
tbDays.Enabled = false;
|
||||
tbCate.Enabled = false;
|
||||
radTime.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
tbCate.Enabled = true;
|
||||
tbTimes.Enabled = false;
|
||||
tbDays.Enabled = true;
|
||||
radioButton2.Checked = true;
|
||||
}
|
||||
|
||||
}
|
||||
int curLevel = 0;
|
||||
private void fHolyRequestAdd_Load(object sender, EventArgs e)
|
||||
@@ -75,6 +90,7 @@ namespace FPJ0000.OtConfirm
|
||||
if (dr.RowState == DataRowState.Detached)
|
||||
{
|
||||
grpAdmin.Enabled = false;
|
||||
UpdateStatus();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -91,11 +107,13 @@ namespace FPJ0000.OtConfirm
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var cate = tbCate.Text.Trim();
|
||||
if (radTime.Checked) cate = "대체";
|
||||
|
||||
var remark = tbRemark.Text.Trim();
|
||||
var response = tbResponse.Text.Trim();
|
||||
if (string.IsNullOrEmpty(cate))
|
||||
{
|
||||
FCOMMON.Util.MsgE("구분을 입력하세요 (연차/하기휴가/연장근무)");
|
||||
FCOMMON.Util.MsgE("구분을 입력하세요");
|
||||
tbCate.Focus();
|
||||
return;
|
||||
}
|
||||
@@ -108,6 +126,9 @@ namespace FPJ0000.OtConfirm
|
||||
var vDay = 0;
|
||||
var vTime = 0f;
|
||||
|
||||
if (tbDays.Enabled == false) tbDays.Text = string.Empty;
|
||||
if (tbTimes.Enabled == false) tbTimes.Text = string.Empty;
|
||||
|
||||
if (tbDays.Text.IsNumeric()) vDay = int.Parse(tbDays.Text.Trim());
|
||||
if (tbTimes.Text.IsNumeric()) vTime = float.Parse(tbTimes.Text.Trim());
|
||||
|
||||
@@ -123,6 +144,16 @@ namespace FPJ0000.OtConfirm
|
||||
FCOMMON.Util.MsgE("사용 일/시간 값을 입력해주세요\n대체휴가에는 시간을 입력하세요");
|
||||
return;
|
||||
}
|
||||
|
||||
//하나도 입력안했다면 경고한다
|
||||
if(tbReason.Text.isEmpty() && tbLocation.Text.isEmpty() && tbBackup.Text.isEmpty() && tbRemark.Text.isEmpty())
|
||||
{
|
||||
FCOMMON.Util.MsgE("비고를 입력해주세요");
|
||||
tbRemark.Focus();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (dr.RowState == DataRowState.Detached)
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("입력을 완료하시겠습니까?\r\n관리자에게 메일로 알림이 발생 합니다");
|
||||
@@ -144,7 +175,7 @@ namespace FPJ0000.OtConfirm
|
||||
dr.HolyReason = tbReason.Text.Trim();
|
||||
dr.HolyLocation = tbLocation.Text.Trim();
|
||||
dr.HolyBackup = tbBackup.Text.Trim();
|
||||
dr.cate = tbCate.Text.Trim();
|
||||
dr.cate = cate;// tbCate.Text.Trim();
|
||||
dr.Remark = tbRemark.Text.Trim();
|
||||
dr.Response = tbResponse.Text.Trim();
|
||||
dr.sdate = tbSD.Value.ToShortDateString();
|
||||
@@ -175,14 +206,64 @@ namespace FPJ0000.OtConfirm
|
||||
}
|
||||
|
||||
private void tbED_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
UpdateStatus();
|
||||
|
||||
}
|
||||
|
||||
void UpdateStatus()
|
||||
{
|
||||
//해당 값이 오늘보다 이전이라면 메일전송을 자동 해제하낟.
|
||||
var v = tbED.Value.ToShortDateString();
|
||||
var s = tbSD.Value.ToShortDateString();
|
||||
|
||||
var c = DateTime.Now.ToShortDateString();
|
||||
if (v.CompareTo(c) < 0)
|
||||
chkSendMail.Checked = false;
|
||||
else
|
||||
chkSendMail.Checked = true;
|
||||
|
||||
//일수계산
|
||||
var term = tbED.Value - tbSD.Value;
|
||||
var days = term.Days + 1;
|
||||
if (radTime.Checked == false)
|
||||
{
|
||||
//if(tbDays.Text.isEmpty() || tbDays.Text=="0")
|
||||
{
|
||||
tbDays.Text = (days).ToString();
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//여기는 시간
|
||||
//if (tbTimes.Text.isEmpty() || tbTimes.Text == "0")
|
||||
{
|
||||
tbTimes.Text = (days * 8).ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void radioButton1_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (radTime.Checked)
|
||||
{
|
||||
tbCate.Enabled = false;
|
||||
tbDays.Enabled = false;
|
||||
tbTimes.Enabled = true;
|
||||
tbDays.BackColor = Color.DimGray;
|
||||
tbTimes.BackColor = Color.Gold;
|
||||
}
|
||||
else
|
||||
{
|
||||
tbCate.Enabled = true;
|
||||
tbDays.Enabled = true;
|
||||
tbTimes.Enabled = false;
|
||||
tbTimes.BackColor = Color.DimGray;
|
||||
tbDays.BackColor = Color.Gold;
|
||||
}
|
||||
|
||||
UpdateStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user