344 lines
19 KiB
C#
344 lines
19 KiB
C#
namespace FCM0000
|
|
{
|
|
partial class fHolidaytable
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fHolidaytable));
|
|
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
|
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
|
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
|
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
|
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
|
this.dsMSSQL = new FCM0000.dsMSSQL();
|
|
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
|
|
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
|
|
this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
|
|
this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
|
|
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.btSave = new System.Windows.Forms.ToolStripButton();
|
|
this.ta = new FCM0000.dsMSSQLTableAdapters.HolidayLIstTableAdapter();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.btrefresh = new System.Windows.Forms.Button();
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
|
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
|
this.lbStatus = new System.Windows.Forms.ToolStripLabel();
|
|
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
|
this.bn.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
|
this.panel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// bn
|
|
//
|
|
this.bn.AddNewItem = null;
|
|
this.bn.BindingSource = this.bs;
|
|
this.bn.CountItem = this.bindingNavigatorCountItem;
|
|
this.bn.DeleteItem = null;
|
|
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.bindingNavigatorMoveFirstItem,
|
|
this.bindingNavigatorMovePreviousItem,
|
|
this.bindingNavigatorSeparator,
|
|
this.bindingNavigatorPositionItem,
|
|
this.bindingNavigatorCountItem,
|
|
this.bindingNavigatorSeparator1,
|
|
this.bindingNavigatorMoveNextItem,
|
|
this.bindingNavigatorMoveLastItem,
|
|
this.bindingNavigatorSeparator2,
|
|
this.btSave,
|
|
this.lbStatus});
|
|
this.bn.Location = new System.Drawing.Point(0, 586);
|
|
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(574, 25);
|
|
this.bn.TabIndex = 0;
|
|
this.bn.Text = "bindingNavigator1";
|
|
//
|
|
// bs
|
|
//
|
|
this.bs.DataMember = "HolidayLIst";
|
|
this.bs.DataSource = this.dsMSSQL;
|
|
this.bs.Sort = "pdate";
|
|
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
|
//
|
|
// dsMSSQL
|
|
//
|
|
this.dsMSSQL.DataSetName = "dsMSSQL";
|
|
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
|
//
|
|
// bindingNavigatorCountItem
|
|
//
|
|
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
|
|
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
|
|
this.bindingNavigatorCountItem.Text = "/{0}";
|
|
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
|
//
|
|
// bindingNavigatorMoveFirstItem
|
|
//
|
|
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
|
|
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
|
|
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
|
//
|
|
// bindingNavigatorMovePreviousItem
|
|
//
|
|
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
|
|
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
|
|
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
|
//
|
|
// bindingNavigatorSeparator
|
|
//
|
|
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
|
|
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// bindingNavigatorPositionItem
|
|
//
|
|
this.bindingNavigatorPositionItem.AccessibleName = "위치";
|
|
this.bindingNavigatorPositionItem.AutoSize = false;
|
|
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
|
|
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
|
|
this.bindingNavigatorPositionItem.Text = "0";
|
|
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
|
|
//
|
|
// bindingNavigatorSeparator1
|
|
//
|
|
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
|
|
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// bindingNavigatorMoveNextItem
|
|
//
|
|
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
|
|
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
|
|
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
|
//
|
|
// bindingNavigatorMoveLastItem
|
|
//
|
|
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
|
|
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
|
|
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
|
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
|
|
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
|
//
|
|
// bindingNavigatorSeparator2
|
|
//
|
|
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
|
|
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// btSave
|
|
//
|
|
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
|
|
this.btSave.Name = "btSave";
|
|
this.btSave.Size = new System.Drawing.Size(66, 22);
|
|
this.btSave.Text = "저장(&S)";
|
|
this.btSave.Click += new System.EventHandler(this.itemsBindingNavigatorSaveItem_Click);
|
|
//
|
|
// ta
|
|
//
|
|
this.ta.ClearBeforeFill = true;
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.btrefresh);
|
|
this.panel1.Controls.Add(this.textBox1);
|
|
this.panel1.Controls.Add(this.label1);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
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.TabIndex = 2;
|
|
//
|
|
// btrefresh
|
|
//
|
|
this.btrefresh.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.btrefresh.Location = new System.Drawing.Point(487, 5);
|
|
this.btrefresh.Name = "btrefresh";
|
|
this.btrefresh.Size = new System.Drawing.Size(82, 35);
|
|
this.btrefresh.TabIndex = 2;
|
|
this.btrefresh.Text = "새로고침";
|
|
this.btrefresh.UseVisualStyleBackColor = true;
|
|
this.btrefresh.Click += new System.EventHandler(this.btrefresh_Click);
|
|
//
|
|
// textBox1
|
|
//
|
|
this.textBox1.Location = new System.Drawing.Point(48, 10);
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.Size = new System.Drawing.Size(97, 27);
|
|
this.textBox1.TabIndex = 1;
|
|
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(16, 13);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(24, 20);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "월";
|
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
//
|
|
// fpSpread1
|
|
//
|
|
this.fpSpread1.AccessibleDescription = "";
|
|
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.fpSpread1.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
|
this.fpSpread1.Location = new System.Drawing.Point(0, 45);
|
|
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.TabIndex = 3;
|
|
//
|
|
// 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.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 = "휴일";
|
|
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).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).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).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;
|
|
this.fpSpread1_Sheet1.Columns.Get(0).Width = 121F;
|
|
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType1;
|
|
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "free";
|
|
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(2).AllowAutoFilter = true;
|
|
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
|
|
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "memo";
|
|
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 = 350F;
|
|
this.fpSpread1_Sheet1.DataAutoSizeColumns = false;
|
|
this.fpSpread1_Sheet1.DataSource = this.bs;
|
|
this.fpSpread1_Sheet1.DisplayZero = false;
|
|
this.fpSpread1_Sheet1.LockForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
|
this.fpSpread1_Sheet1.NullForeColor = System.Drawing.Color.Red;
|
|
this.fpSpread1_Sheet1.PreviewRowInfo.Height = 30;
|
|
this.fpSpread1_Sheet1.Protect = false;
|
|
this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
|
|
this.fpSpread1_Sheet1.Rows.Default.Height = 30F;
|
|
this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
|
|
//
|
|
// lbStatus
|
|
//
|
|
this.lbStatus.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
|
this.lbStatus.Name = "lbStatus";
|
|
this.lbStatus.Size = new System.Drawing.Size(144, 22);
|
|
this.lbStatus.Text = "근무일수 : {0} / 휴일 : {1}";
|
|
//
|
|
// fHolidaytable
|
|
//
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
this.ClientSize = new System.Drawing.Size(574, 611);
|
|
this.Controls.Add(this.fpSpread1);
|
|
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)));
|
|
this.Name = "fHolidaytable";
|
|
this.Text = "월별 근무표";
|
|
this.Load += new System.EventHandler(this.fLovItem_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
|
this.bn.ResumeLayout(false);
|
|
this.bn.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.BindingSource bs;
|
|
private System.Windows.Forms.BindingNavigator bn;
|
|
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
|
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
|
|
private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
|
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
|
|
private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
|
|
private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
|
|
private System.Windows.Forms.ToolStripButton btSave;
|
|
private dsMSSQL dsMSSQL;
|
|
private dsMSSQLTableAdapters.HolidayLIstTableAdapter ta;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
private System.Windows.Forms.Button btrefresh;
|
|
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
|
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
|
private System.Windows.Forms.ToolStripLabel lbStatus;
|
|
|
|
}
|
|
} |