190724
This commit is contained in:
		
							
								
								
									
										411
									
								
								SubProject/FCM0000/User/fUserAuth.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										411
									
								
								SubProject/FCM0000/User/fUserAuth.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,411 @@ | ||||
| namespace FCM0000 | ||||
| { | ||||
|     partial class fUserAuth | ||||
|     { | ||||
|         /// <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(fUserAuth)); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             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.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType(); | ||||
|             this.dSUser = new FCM0000.DSUser(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             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.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.customsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.tbFind = new System.Windows.Forms.ToolStripTextBox(); | ||||
|             this.btFind = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.ta = new FCM0000.DSUserTableAdapters.AuthTableAdapter(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dSUser)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             this.cm1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // dSUser | ||||
|             //  | ||||
|             this.dSUser.DataSetName = "DSUser"; | ||||
|             this.dSUser.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||
|             //  | ||||
|             // bn | ||||
|             //  | ||||
|             this.bn.AddNewItem = this.bindingNavigatorAddNewItem; | ||||
|             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.bindingNavigatorAddNewItem, | ||||
|             this.bindingNavigatorDeleteItem, | ||||
|             this.customsBindingNavigatorSaveItem, | ||||
|             this.toolStripSeparator1, | ||||
|             this.toolStripLabel2, | ||||
|             this.tbFind, | ||||
|             this.btFind}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 623); | ||||
|             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(652, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
|             // bindingNavigatorAddNewItem | ||||
|             //  | ||||
|             this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||
|             this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||
|             this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(67, 22); | ||||
|             this.bindingNavigatorAddNewItem.Text = "추가(&A)"; | ||||
|             //  | ||||
|             // 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); | ||||
|             //  | ||||
|             // bindingNavigatorDeleteItem | ||||
|             //  | ||||
|             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||
|             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||
|             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(68, 22); | ||||
|             this.bindingNavigatorDeleteItem.Text = "삭제(&D)"; | ||||
|             this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); | ||||
|             //  | ||||
|             // customsBindingNavigatorSaveItem | ||||
|             //  | ||||
|             this.customsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("customsBindingNavigatorSaveItem.Image"))); | ||||
|             this.customsBindingNavigatorSaveItem.Name = "customsBindingNavigatorSaveItem"; | ||||
|             this.customsBindingNavigatorSaveItem.Size = new System.Drawing.Size(66, 22); | ||||
|             this.customsBindingNavigatorSaveItem.Text = "저장(&S)"; | ||||
|             this.customsBindingNavigatorSaveItem.Click += new System.EventHandler(this.customsBindingNavigatorSaveItem_Click); | ||||
|             //  | ||||
|             // toolStripSeparator1 | ||||
|             //  | ||||
|             this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||
|             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // toolStripLabel2 | ||||
|             //  | ||||
|             this.toolStripLabel2.Name = "toolStripLabel2"; | ||||
|             this.toolStripLabel2.Size = new System.Drawing.Size(31, 22); | ||||
|             this.toolStripLabel2.Text = "검색"; | ||||
|             //  | ||||
|             // tbFind | ||||
|             //  | ||||
|             this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbFind.Name = "tbFind"; | ||||
|             this.tbFind.Size = new System.Drawing.Size(100, 25); | ||||
|             this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); | ||||
|             //  | ||||
|             // btFind | ||||
|             //  | ||||
|             this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
|             this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); | ||||
|             this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btFind.Name = "btFind"; | ||||
|             this.btFind.Size = new System.Drawing.Size(23, 22); | ||||
|             this.btFind.Text = "toolStripButton2"; | ||||
|             this.btFind.Click += new System.EventHandler(this.btFind_Click); | ||||
|             //  | ||||
|             // cm1 | ||||
|             //  | ||||
|             this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); | ||||
|             this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.columnSizeToolStripMenuItem}); | ||||
|             this.cm1.Name = "cm1"; | ||||
|             this.cm1.Size = new System.Drawing.Size(185, 46); | ||||
|             //  | ||||
|             // columnSizeToolStripMenuItem | ||||
|             //  | ||||
|             this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.saveToolStripMenuItem, | ||||
|             this.loadToolStripMenuItem}); | ||||
|             this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; | ||||
|             this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(184, 42); | ||||
|             this.columnSizeToolStripMenuItem.Text = "열 너비"; | ||||
|             //  | ||||
|             // saveToolStripMenuItem | ||||
|             //  | ||||
|             this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); | ||||
|             this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; | ||||
|             this.saveToolStripMenuItem.Size = new System.Drawing.Size(292, 42); | ||||
|             this.saveToolStripMenuItem.Text = "현재 상태 저장"; | ||||
|             this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // loadToolStripMenuItem | ||||
|             //  | ||||
|             this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); | ||||
|             this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; | ||||
|             this.loadToolStripMenuItem.Size = new System.Drawing.Size(292, 42); | ||||
|             this.loadToolStripMenuItem.Text = "너비값 불러오기"; | ||||
|             this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // fpSpread1 | ||||
|             //  | ||||
|             this.fpSpread1.ContextMenuStrip = this.cm1; | ||||
|             this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.fpSpread1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.fpSpread1.Name = "fpSpread1"; | ||||
|             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||
|             this.fpSpread1_Sheet1}); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(652, 623); | ||||
|             this.fpSpread1.TabIndex = 2; | ||||
|             //  | ||||
|             // bs | ||||
|             //  | ||||
|             this.bs.DataMember = "Auth"; | ||||
|             this.bs.DataSource = this.dSUser; | ||||
|             //  | ||||
|             // ta | ||||
|             //  | ||||
|             this.ta.ClearBeforeFill = true; | ||||
|             //  | ||||
|             // 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 = 7; | ||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "사용자 번호"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 3).Value = "구매관리"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 4).Value = "근태관리"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 5).Value = "프로젝트"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 6).Value = "업무일지"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 33F; | ||||
|             numberCellType1.DecimalPlaces = 0; | ||||
|             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType1.MaximumValue = 2147483647D; | ||||
|             numberCellType1.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Visible = false; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).Width = 77F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).DataField = "user"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Label = "사용자 번호"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "gcode"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Visible = false; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Width = 151F; | ||||
|             numberCellType2.DecimalPlaces = 0; | ||||
|             numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType2.MaximumValue = 2147483647D; | ||||
|             numberCellType2.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType2; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "purchase"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Label = "구매관리"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 77F; | ||||
|             numberCellType3.DecimalPlaces = 0; | ||||
|             numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType3.MaximumValue = 2147483647D; | ||||
|             numberCellType3.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).CellType = numberCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).DataField = "holyday"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Label = "근태관리"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(4).Width = 77F; | ||||
|             numberCellType4.DecimalPlaces = 0; | ||||
|             numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType4.MaximumValue = 2147483647D; | ||||
|             numberCellType4.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType4; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).DataField = "project"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Label = "프로젝트"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(5).Width = 77F; | ||||
|             numberCellType5.DecimalPlaces = 0; | ||||
|             numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType5.MaximumValue = 2147483647D; | ||||
|             numberCellType5.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).CellType = numberCellType5; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).DataField = "jobreport"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Label = "업무일지"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(6).Width = 77F; | ||||
|             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; | ||||
|             this.fpSpread1_Sheet1.DataSource = this.bs; | ||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||
|             //  | ||||
|             // fUserAuth | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(652, 648); | ||||
|             this.ContextMenuStrip = this.cm1; | ||||
|             this.Controls.Add(this.fpSpread1); | ||||
|             this.Controls.Add(this.bn); | ||||
|             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fUserAuth"; | ||||
|             this.Text = "사용자 권한"; | ||||
|             this.Load += new System.EventHandler(this.@__Load); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dSUser)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||
|             this.bn.ResumeLayout(false); | ||||
|             this.bn.PerformLayout(); | ||||
|             this.cm1.ResumeLayout(false); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.BindingNavigator bn; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; | ||||
|         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; | ||||
|         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 customsBindingNavigatorSaveItem; | ||||
|         private System.Windows.Forms.ContextMenuStrip cm1; | ||||
|         private FarPoint.Win.Spread.FpSpread fpSpread1; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||
|         private System.Windows.Forms.ToolStripLabel toolStripLabel2; | ||||
|         private System.Windows.Forms.ToolStripTextBox tbFind; | ||||
|         private System.Windows.Forms.ToolStripButton btFind; | ||||
|         private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem; | ||||
|         private DSUser dSUser; | ||||
|         private System.Windows.Forms.BindingSource bs; | ||||
|         private DSUserTableAdapters.AuthTableAdapter ta; | ||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										128
									
								
								SubProject/FCM0000/User/fUserAuth.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										128
									
								
								SubProject/FCM0000/User/fUserAuth.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,128 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace FCM0000 | ||||
| { | ||||
|     public partial class fUserAuth : FCOMMON.fBase | ||||
|     { | ||||
|         string fn_fpcolsize1 = ""; | ||||
|         public fUserAuth() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             fn_fpcolsize1 = FCOMMON.Util.MakeFilePath(FCOMMON.Util.CurrentPath, "formSetting", "fp1_" + this.Name + ".ini"); | ||||
|         } | ||||
|  | ||||
|         private void __Load(object sender, EventArgs e) | ||||
|         { | ||||
|                | ||||
|             refreshData(); | ||||
|             this.dSUser.Auth.TableNewRow += Customs_TableNewRow; | ||||
|         } | ||||
|  | ||||
|         void Customs_TableNewRow(object sender, DataTableNewRowEventArgs e) | ||||
|         { | ||||
|             e.Row["gcode"] = FCOMMON.info.Login.gcode; | ||||
|             //e.Row["wdate"] = DateTime.Now; | ||||
|             //e.Row["cid"] = selcectIDX; | ||||
|         } | ||||
|  | ||||
|  | ||||
|         void refreshData() | ||||
|         { | ||||
|             try | ||||
|             { | ||||
|                 this.ta.Fill(this.dSUser.Auth,FCOMMON.info.Login.gcode); | ||||
|                 FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1); | ||||
|                 | ||||
|             }catch (Exception ex) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE(ex.Message); | ||||
|             } | ||||
|         } | ||||
|      | ||||
|         private void customsBindingNavigatorSaveItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Validate(); | ||||
|             this.bs.EndEdit(); | ||||
|             int cnt = this.ta.Update(this.dSUser.Auth); | ||||
|             if (cnt < 1) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgI("변경된 내역이 없습니다."); | ||||
|             } | ||||
|             else FCOMMON.Util.MsgI(string.Format("{0} 건의 자료가 업데이트 되었습니다.",cnt)); | ||||
|  | ||||
|         } | ||||
|  | ||||
|  | ||||
|         private void btFind_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var search = tbFind.Text.Trim(); | ||||
|             search = search.Replace("*", "x"); | ||||
|             if (tbFind.Text != search) tbFind.Text = search; | ||||
|             try | ||||
|             { | ||||
|                 if (search.isEmpty()) | ||||
|                 { | ||||
|                     this.bs.Filter = ""; | ||||
|                     tbFind.BackColor = Color.White; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     search = search.Replace("'", "''"); | ||||
|                     string filter = "user like ?"; | ||||
|                     filter = filter.Replace("?", "'%" + search + "%'"); | ||||
|                     this.bs.Filter = filter; | ||||
|                     tbFind.BackColor = Color.Lime; | ||||
|                 } | ||||
|                 tbFind.SelectAll(); | ||||
|                 tbFind.Focus(); | ||||
|             } | ||||
|             catch (Exception ex) | ||||
|             { | ||||
|                 this.tbFind.BackColor = Color.Tomato; | ||||
|                 FCOMMON.Util.MsgE(ex.Message); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void tbFind_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Enter) btFind.PerformClick(); | ||||
|         } | ||||
|  | ||||
|       | ||||
|         private void saveToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize1); | ||||
|         } | ||||
|  | ||||
|         private void loadToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize1); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             if (drv == null) return; | ||||
|             var dr = drv.Row as DSUser.UserGroupRow; | ||||
|             if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted) this.bs.RemoveCurrent(); | ||||
|  | ||||
|             var dlg =FCOMMON.Util.MsgQ("다음 자료를 삭제하시겠습니까?"); | ||||
|             if(dlg == System.Windows.Forms.DialogResult.Yes) | ||||
|             { | ||||
|                 this.bs.RemoveCurrent(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private int selcectIDX = -1; | ||||
|       | ||||
|        | ||||
|     } | ||||
| } | ||||
							
								
								
									
										241
									
								
								SubProject/FCM0000/User/fUserAuth.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										241
									
								
								SubProject/FCM0000/User/fUserAuth.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,241 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="dSUser.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>222, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>81, 17</value> | ||||
|   </metadata> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC | ||||
|         pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ | ||||
|         Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ | ||||
|         /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA | ||||
|         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ | ||||
|         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E | ||||
|         rkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||
|         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||
|         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||
|         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||
|         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||
|         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||
|         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||
|         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||
|         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||
|         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||
|         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||
|         oAc0QjgAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||
|         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||
|         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||
|         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||
|         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||
|         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||
|         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||
|         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||
|         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||
|         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||
|         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||
|         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="customsBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1 | ||||
|         qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO | ||||
|         b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY | ||||
|         hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1 | ||||
|         9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon | ||||
|         GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>147, 17</value> | ||||
|   </metadata> | ||||
|   <data name="saveToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh | ||||
|         e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw | ||||
|         QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK | ||||
|         HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC | ||||
|         un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="loadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 | ||||
|         69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ | ||||
|         IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj | ||||
|         SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG | ||||
|         vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>439, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>313, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>377, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										417
									
								
								SubProject/FCM0000/User/fUserGroup.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										417
									
								
								SubProject/FCM0000/User/fUserGroup.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,417 @@ | ||||
| namespace FCM0000 | ||||
| { | ||||
|     partial class fUserGroup | ||||
|     { | ||||
|         /// <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(fUserGroup)); | ||||
|             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(); | ||||
|             this.bs = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.dSUser = new FCM0000.DSUser(); | ||||
|             this.taStaff = new FCM0000.dsMSSQLTableAdapters.StaffTableAdapter(); | ||||
|             this.bn = new System.Windows.Forms.BindingNavigator(this.components); | ||||
|             this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             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.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.customsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); | ||||
|             this.tbFind = new System.Windows.Forms.ToolStripTextBox(); | ||||
|             this.btFind = new System.Windows.Forms.ToolStripButton(); | ||||
|             this.cm1 = new System.Windows.Forms.ContextMenuStrip(this.components); | ||||
|             this.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); | ||||
|             this.권한설정ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); | ||||
|             this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); | ||||
|             this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); | ||||
|             this.bsStaff = new System.Windows.Forms.BindingSource(this.components); | ||||
|             this.ta = new FCM0000.DSUserTableAdapters.UserGroupTableAdapter(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dSUser)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); | ||||
|             this.bn.SuspendLayout(); | ||||
|             this.cm1.SuspendLayout(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).BeginInit(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // bs | ||||
|             //  | ||||
|             this.bs.DataMember = "UserGroup"; | ||||
|             this.bs.DataSource = this.dSUser; | ||||
|             this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged); | ||||
|             //  | ||||
|             // dSUser | ||||
|             //  | ||||
|             this.dSUser.DataSetName = "DSUser"; | ||||
|             this.dSUser.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; | ||||
|             //  | ||||
|             // taStaff | ||||
|             //  | ||||
|             this.taStaff.ClearBeforeFill = true; | ||||
|             //  | ||||
|             // bn | ||||
|             //  | ||||
|             this.bn.AddNewItem = this.bindingNavigatorAddNewItem; | ||||
|             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.bindingNavigatorAddNewItem, | ||||
|             this.bindingNavigatorDeleteItem, | ||||
|             this.customsBindingNavigatorSaveItem, | ||||
|             this.toolStripSeparator1, | ||||
|             this.toolStripLabel2, | ||||
|             this.tbFind, | ||||
|             this.btFind}); | ||||
|             this.bn.Location = new System.Drawing.Point(0, 623); | ||||
|             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(652, 25); | ||||
|             this.bn.TabIndex = 0; | ||||
|             this.bn.Text = "bindingNavigator1"; | ||||
|             //  | ||||
|             // bindingNavigatorAddNewItem | ||||
|             //  | ||||
|             this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); | ||||
|             this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; | ||||
|             this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(67, 22); | ||||
|             this.bindingNavigatorAddNewItem.Text = "추가(&A)"; | ||||
|             //  | ||||
|             // 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); | ||||
|             //  | ||||
|             // bindingNavigatorDeleteItem | ||||
|             //  | ||||
|             this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); | ||||
|             this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; | ||||
|             this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; | ||||
|             this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(68, 22); | ||||
|             this.bindingNavigatorDeleteItem.Text = "삭제(&D)"; | ||||
|             this.bindingNavigatorDeleteItem.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click); | ||||
|             //  | ||||
|             // customsBindingNavigatorSaveItem | ||||
|             //  | ||||
|             this.customsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("customsBindingNavigatorSaveItem.Image"))); | ||||
|             this.customsBindingNavigatorSaveItem.Name = "customsBindingNavigatorSaveItem"; | ||||
|             this.customsBindingNavigatorSaveItem.Size = new System.Drawing.Size(66, 22); | ||||
|             this.customsBindingNavigatorSaveItem.Text = "저장(&S)"; | ||||
|             this.customsBindingNavigatorSaveItem.Click += new System.EventHandler(this.customsBindingNavigatorSaveItem_Click); | ||||
|             //  | ||||
|             // toolStripSeparator1 | ||||
|             //  | ||||
|             this.toolStripSeparator1.Name = "toolStripSeparator1"; | ||||
|             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); | ||||
|             //  | ||||
|             // toolStripLabel2 | ||||
|             //  | ||||
|             this.toolStripLabel2.Name = "toolStripLabel2"; | ||||
|             this.toolStripLabel2.Size = new System.Drawing.Size(31, 22); | ||||
|             this.toolStripLabel2.Text = "검색"; | ||||
|             //  | ||||
|             // tbFind | ||||
|             //  | ||||
|             this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||
|             this.tbFind.Name = "tbFind"; | ||||
|             this.tbFind.Size = new System.Drawing.Size(100, 25); | ||||
|             this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); | ||||
|             //  | ||||
|             // btFind | ||||
|             //  | ||||
|             this.btFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; | ||||
|             this.btFind.Image = ((System.Drawing.Image)(resources.GetObject("btFind.Image"))); | ||||
|             this.btFind.ImageTransparentColor = System.Drawing.Color.Magenta; | ||||
|             this.btFind.Name = "btFind"; | ||||
|             this.btFind.Size = new System.Drawing.Size(23, 22); | ||||
|             this.btFind.Text = "toolStripButton2"; | ||||
|             this.btFind.Click += new System.EventHandler(this.btFind_Click); | ||||
|             //  | ||||
|             // cm1 | ||||
|             //  | ||||
|             this.cm1.Font = new System.Drawing.Font("맑은 고딕", 20F); | ||||
|             this.cm1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.columnSizeToolStripMenuItem, | ||||
|             this.toolStripMenuItem1, | ||||
|             this.권한설정ToolStripMenuItem}); | ||||
|             this.cm1.Name = "cm1"; | ||||
|             this.cm1.Size = new System.Drawing.Size(203, 116); | ||||
|             //  | ||||
|             // columnSizeToolStripMenuItem | ||||
|             //  | ||||
|             this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | ||||
|             this.saveToolStripMenuItem, | ||||
|             this.loadToolStripMenuItem}); | ||||
|             this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem"; | ||||
|             this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(202, 42); | ||||
|             this.columnSizeToolStripMenuItem.Text = "열 너비"; | ||||
|             //  | ||||
|             // saveToolStripMenuItem | ||||
|             //  | ||||
|             this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image"))); | ||||
|             this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; | ||||
|             this.saveToolStripMenuItem.Size = new System.Drawing.Size(292, 42); | ||||
|             this.saveToolStripMenuItem.Text = "현재 상태 저장"; | ||||
|             this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // loadToolStripMenuItem | ||||
|             //  | ||||
|             this.loadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("loadToolStripMenuItem.Image"))); | ||||
|             this.loadToolStripMenuItem.Name = "loadToolStripMenuItem"; | ||||
|             this.loadToolStripMenuItem.Size = new System.Drawing.Size(292, 42); | ||||
|             this.loadToolStripMenuItem.Text = "너비값 불러오기"; | ||||
|             this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // toolStripMenuItem1 | ||||
|             //  | ||||
|             this.toolStripMenuItem1.Name = "toolStripMenuItem1"; | ||||
|             this.toolStripMenuItem1.Size = new System.Drawing.Size(199, 6); | ||||
|             //  | ||||
|             // 권한설정ToolStripMenuItem | ||||
|             //  | ||||
|             this.권한설정ToolStripMenuItem.Name = "권한설정ToolStripMenuItem"; | ||||
|             this.권한설정ToolStripMenuItem.Size = new System.Drawing.Size(202, 42); | ||||
|             this.권한설정ToolStripMenuItem.Text = "권한설정"; | ||||
|             this.권한설정ToolStripMenuItem.Click += new System.EventHandler(this.권한설정ToolStripMenuItem_Click); | ||||
|             //  | ||||
|             // fpSpread1 | ||||
|             //  | ||||
|             this.fpSpread1.AccessibleDescription = ""; | ||||
|             this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
|             this.fpSpread1.Location = new System.Drawing.Point(0, 0); | ||||
|             this.fpSpread1.Name = "fpSpread1"; | ||||
|             this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { | ||||
|             this.fpSpread1_Sheet1}); | ||||
|             this.fpSpread1.Size = new System.Drawing.Size(652, 623); | ||||
|             this.fpSpread1.TabIndex = 2; | ||||
|             //  | ||||
|             // 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 = 4; | ||||
|             this.fpSpread1_Sheet1.ActiveColumnIndex = -1; | ||||
|             this.fpSpread1_Sheet1.ActiveRowIndex = -1; | ||||
|             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, 3).Value = "권한"; | ||||
|             this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 38F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(0).DataField = "dept"; | ||||
|             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).DataField = "gcode"; | ||||
|             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 = 151F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType3; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).DataField = "path_kj"; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Visible = false; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(2).Width = 151F; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); | ||||
|             numberCellType1.DecimalPlaces = 0; | ||||
|             numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; | ||||
|             numberCellType1.MaximumValue = 2147483647D; | ||||
|             numberCellType1.MinimumValue = -2147483648D; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).CellType = numberCellType1; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).DataField = "permission"; | ||||
|             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; | ||||
|             this.fpSpread1_Sheet1.Columns.Get(3).Width = 88F; | ||||
|             this.fpSpread1_Sheet1.DataAutoSizeColumns = false; | ||||
|             this.fpSpread1_Sheet1.DataSource = this.bs; | ||||
|             this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false; | ||||
|             this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1; | ||||
|             //  | ||||
|             // ta | ||||
|             //  | ||||
|             this.ta.ClearBeforeFill = true; | ||||
|             //  | ||||
|             // fUserGroup | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(652, 648); | ||||
|             this.ContextMenuStrip = this.cm1; | ||||
|             this.Controls.Add(this.fpSpread1); | ||||
|             this.Controls.Add(this.bn); | ||||
|             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fUserGroup"; | ||||
|             this.Text = "사용자 그룹"; | ||||
|             this.Load += new System.EventHandler(this.@__Load); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.dSUser)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit(); | ||||
|             this.bn.ResumeLayout(false); | ||||
|             this.bn.PerformLayout(); | ||||
|             this.cm1.ResumeLayout(false); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); | ||||
|             ((System.ComponentModel.ISupportInitialize)(this.bsStaff)).EndInit(); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.BindingSource bs; | ||||
|         private System.Windows.Forms.BindingNavigator bn; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; | ||||
|         private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; | ||||
|         private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; | ||||
|         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 customsBindingNavigatorSaveItem; | ||||
|         private System.Windows.Forms.ContextMenuStrip cm1; | ||||
|         private FarPoint.Win.Spread.FpSpread fpSpread1; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||
|         private System.Windows.Forms.ToolStripLabel toolStripLabel2; | ||||
|         private System.Windows.Forms.ToolStripTextBox tbFind; | ||||
|         private System.Windows.Forms.ToolStripButton btFind; | ||||
|         private System.Windows.Forms.ToolStripMenuItem columnSizeToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; | ||||
|         private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem; | ||||
|         private System.Windows.Forms.BindingSource bsStaff; | ||||
|         private dsMSSQLTableAdapters.StaffTableAdapter taStaff; | ||||
|         private DSUser dSUser; | ||||
|         private DSUserTableAdapters.UserGroupTableAdapter ta; | ||||
|         private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; | ||||
|         private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; | ||||
|         private System.Windows.Forms.ToolStripMenuItem 권한설정ToolStripMenuItem; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										172
									
								
								SubProject/FCM0000/User/fUserGroup.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										172
									
								
								SubProject/FCM0000/User/fUserGroup.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,172 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace FCM0000 | ||||
| { | ||||
|     public partial class fUserGroup : FCOMMON.fBase | ||||
|     { | ||||
|         string fn_fpcolsize1 = ""; | ||||
|         public fUserGroup() | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             fn_fpcolsize1 = FCOMMON.Util.MakeFilePath(FCOMMON.Util.CurrentPath, "formSetting", "fp1_" + this.Name + ".ini"); | ||||
|         } | ||||
|  | ||||
|         private void __Load(object sender, EventArgs e) | ||||
|         { | ||||
|                | ||||
|             refreshData(); | ||||
|             this.dSUser.UserGroup.TableNewRow += Customs_TableNewRow; | ||||
|         } | ||||
|  | ||||
|         void Customs_TableNewRow(object sender, DataTableNewRowEventArgs e) | ||||
|         { | ||||
|             //e.Row["wuid"] = FCOMMON.info.Login.no; | ||||
|             //e.Row["wdate"] = DateTime.Now; | ||||
|             //e.Row["cid"] = selcectIDX; | ||||
|         } | ||||
|  | ||||
|  | ||||
|         void refreshData() | ||||
|         { | ||||
|             try | ||||
|             { | ||||
|                 this.ta.Fill(this.dSUser.UserGroup); | ||||
|                 FPUtil.ColSizeLoad(ref this.fpSpread1, fn_fpcolsize1); | ||||
|                 | ||||
|             }catch (Exception ex) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE(ex.Message); | ||||
|             } | ||||
|         } | ||||
|      | ||||
|         private void customsBindingNavigatorSaveItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.Validate(); | ||||
|             this.bs.EndEdit(); | ||||
|             int cnt = this.ta.Update(this.dSUser.UserGroup); | ||||
|             if (cnt < 1) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgI("변경된 내역이 없습니다."); | ||||
|             } | ||||
|             else FCOMMON.Util.MsgI(string.Format("{0} 건의 자료가 업데이트 되었습니다.",cnt)); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         private void toolStripButton1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             refreshData(); | ||||
|         } | ||||
|  | ||||
|         private void autoResizeColummsToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; | ||||
|  | ||||
|             for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) | ||||
|                 this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); | ||||
|         } | ||||
|  | ||||
|         private void btFind_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var search = tbFind.Text.Trim(); | ||||
|             search = search.Replace("*", "x"); | ||||
|             if (tbFind.Text != search) tbFind.Text = search; | ||||
|             try | ||||
|             { | ||||
|                 if (search.isEmpty()) | ||||
|                 { | ||||
|                     this.bs.Filter = ""; | ||||
|                     tbFind.BackColor = Color.White; | ||||
|                 } | ||||
|                 else | ||||
|                 { | ||||
|                     search = search.Replace("'", "''"); | ||||
|                     string filter = "dept like ?"; | ||||
|                     filter = filter.Replace("?", "'%" + search + "%'"); | ||||
|                     this.bs.Filter = filter; | ||||
|                     tbFind.BackColor = Color.Lime; | ||||
|                 } | ||||
|                 tbFind.SelectAll(); | ||||
|                 tbFind.Focus(); | ||||
|             } | ||||
|             catch (Exception ex) | ||||
|             { | ||||
|                 this.tbFind.BackColor = Color.Tomato; | ||||
|                 FCOMMON.Util.MsgE(ex.Message); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void tbFind_KeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Enter) btFind.PerformClick(); | ||||
|         } | ||||
|  | ||||
|         private void autoToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true; | ||||
|  | ||||
|             for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++) | ||||
|                 this.fpSpread1.ActiveSheet.SetRowHeight(i, 25); | ||||
|         } | ||||
|  | ||||
|         private void resetToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             foreach (FarPoint.Win.Spread.Column col in this.fpSpread1.ActiveSheet.Columns) | ||||
|             { | ||||
|                 col.Width = 100; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private void saveToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPColsizeSave(this.fpSpread1, fn_fpcolsize1); | ||||
|         } | ||||
|  | ||||
|         private void loadToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize1); | ||||
|         } | ||||
|  | ||||
|  | ||||
|         private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             if (drv == null) return; | ||||
|             var dr = drv.Row as DSUser.UserGroupRow; | ||||
|             if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached || dr.RowState == DataRowState.Deleted) this.bs.RemoveCurrent(); | ||||
|  | ||||
|             var dlg =FCOMMON.Util.MsgQ("다음 자료를 삭제하시겠습니까?"); | ||||
|             if(dlg == System.Windows.Forms.DialogResult.Yes) | ||||
|             { | ||||
|                 this.bs.RemoveCurrent(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         private int selcectIDX = -1; | ||||
|         private void bs_CurrentChanged(object sender, EventArgs e) | ||||
|         { | ||||
|             | ||||
|         } | ||||
|  | ||||
|         private void 권한설정ToolStripMenuItem_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             var drv = this.bs.Current as DataRowView; | ||||
|             if (drv == null) return; | ||||
|             var dr = drv.Row as DSUser.UserGroupRow; | ||||
|             var f = new fUserGroupPermission(dr.permission); | ||||
|             if(f.ShowDialog() == System.Windows.Forms.DialogResult.OK) | ||||
|             { | ||||
|                 dr.permission = f.permission; | ||||
|                 dr.EndEdit(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|        | ||||
|     } | ||||
| } | ||||
							
								
								
									
										247
									
								
								SubProject/FCM0000/User/fUserGroup.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										247
									
								
								SubProject/FCM0000/User/fUserGroup.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,247 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>17, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="dSUser.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>398, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="taStaff.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>311, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>81, 17</value> | ||||
|   </metadata> | ||||
|   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||
|   <data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC | ||||
|         pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++ | ||||
|         Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ | ||||
|         /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA | ||||
|         zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/ | ||||
|         IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E | ||||
|         rkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77 | ||||
|         wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0 | ||||
|         v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg | ||||
|         UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA | ||||
|         Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu | ||||
|         lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w | ||||
|         5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f | ||||
|         Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+ | ||||
|         08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78 | ||||
|         n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI | ||||
|         N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f | ||||
|         oAc0QjgAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+// | ||||
|         h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B | ||||
|         twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA | ||||
|         kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG | ||||
|         WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9 | ||||
|         8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC | ||||
|         DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC | ||||
|         rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV | ||||
|         i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG | ||||
|         86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG | ||||
|         QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX | ||||
|         bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="customsBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO | ||||
|         wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo | ||||
|         dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 | ||||
|         YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE3SURBVDhPnZIxS8NQFEb7W/wLjh0Fl9a1SxBHBekkWFd1 | ||||
|         qYg4Ci5dndSCg2AHl4LQSaRSKDqoFUE7VAjUmvTKueWmL2mw2gunL7zmO+/mJhmZoTJusdF868vpXUfO | ||||
|         b5/lpPEox9f3SvnsRtk8uojxHQ7HEgSEkXS6vrz3xqtdu+xdfUiheEBsJOGCk/mz/hROUHsIIrp+qIKY | ||||
|         hB/a9r+CVAG4Auj5g7iA5/1NACaptgIVLHkb0wWVw13ZL60p2+uerqkCJs1mMgwUU6d1k/xJwI10RZj1 | ||||
|         9TPUN7Wam9dgTMC75QR7TjCBkRQs5Jd1jQS8c1ewtZLTPcQW/peADpC44cudgnjZOQ1OCGjTwkwaGBon | ||||
|         GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>147, 17</value> | ||||
|   </metadata> | ||||
|   <data name="saveToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQAAJXD9Iasxm6MqnSn2lZtjVaRyEpXbYu767TX/2KZztvr/4Gy5KrT/3ut32+gzlFh | ||||
|         e+r0/0RNX9/u/9Ln+8Xg//n8/4e36CkxQz9GVkSCvKjL35/N/Je91K7T5bDS4////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQAAAAAACwAAAAAEAAQAAAIuQA/CBxIsKDACRwScggQwIGAhwIICBDYQcEEgwg+bNjw | ||||
|         QKCHCQgkQBgpQcKBCg0AEBCoAaRIkhIsVBigUiAHCgwkKNjJU8GAAx0/3NwIAMABCwsaDHCwIGgAChuK | ||||
|         HjiQdMDSAQYEPpWKtKqDBA6yfgiAwGhXpUsTJIgg0AGCo0nRfi1QgO0HAQyQNpCrtkAGDAIFbKi69GsC | ||||
|         un8FEohqdEFavxkyXAhMoPKDBwYMRIiAAcOFoAZDCwwIADs= | ||||
| </value> | ||||
|   </data> | ||||
|   <data name="loadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|     <value> | ||||
|         R0lGODlhEAAQAIQfAJfL/OTs9HWVsW6aUqnT+6bnZldwkYiux7TZ/O3z+UlVa/P2+ZfTW36wWJDLV4m7 | ||||
|         69nn78bi/qjL3qDP+VJhe4rAVa7S40NLXJ3bYJrA1ikxQz5FVdDU22OPRf///////yH/C05FVFNDQVBF | ||||
|         Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIwQA9CBxIcOCHgx4gWLAgIUOGAwcESBTgAaEFCAEGaBwQ | ||||
|         IGOABwYqerCQsYBJBho7JHgAUqCEDjAxYGBQgYHKBAsoCMzQIUIEmA6CdkCAIOfOBT5/MnBQYSgBozCj | ||||
|         SoVJ4KkCDx1MFhhKFEFVAhMCXM1aAANMoh2qTgh7AWvZmQ6igp0AIEDbDg0aLA06YC4AABA2eBjgYcHG | ||||
|         vmv/Akgg2IMBDgsSdJwcAEICDhoECjDAmQIFBQouXNiwQYPOgqgLBgQAOw== | ||||
| </value> | ||||
|   </data> | ||||
|   <metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>551, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="bsStaff.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>222, 17</value> | ||||
|   </metadata> | ||||
|   <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||||
|     <value>489, 17</value> | ||||
|   </metadata> | ||||
| </root> | ||||
							
								
								
									
										150
									
								
								SubProject/FCM0000/User/fUserGroupPermission.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										150
									
								
								SubProject/FCM0000/User/fUserGroupPermission.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,150 @@ | ||||
| namespace FCM0000 | ||||
| { | ||||
|     partial class fUserGroupPermission | ||||
|     { | ||||
|         /// <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.c0 = new System.Windows.Forms.CheckBox(); | ||||
|             this.c1 = new System.Windows.Forms.CheckBox(); | ||||
|             this.c2 = new System.Windows.Forms.CheckBox(); | ||||
|             this.c3 = new System.Windows.Forms.CheckBox(); | ||||
|             this.button1 = new System.Windows.Forms.Button(); | ||||
|             this.checkBox1 = new System.Windows.Forms.CheckBox(); | ||||
|             this.checkBox2 = new System.Windows.Forms.CheckBox(); | ||||
|             this.SuspendLayout(); | ||||
|             //  | ||||
|             // c0 | ||||
|             //  | ||||
|             this.c0.AutoSize = true; | ||||
|             this.c0.Location = new System.Drawing.Point(20, 14); | ||||
|             this.c0.Name = "c0"; | ||||
|             this.c0.Size = new System.Drawing.Size(116, 34); | ||||
|             this.c0.TabIndex = 0; | ||||
|             this.c0.Tag = "0"; | ||||
|             this.c0.Text = "구매신청"; | ||||
|             this.c0.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // c1 | ||||
|             //  | ||||
|             this.c1.AutoSize = true; | ||||
|             this.c1.Location = new System.Drawing.Point(20, 51); | ||||
|             this.c1.Name = "c1"; | ||||
|             this.c1.Size = new System.Drawing.Size(116, 34); | ||||
|             this.c1.TabIndex = 0; | ||||
|             this.c1.Tag = "1"; | ||||
|             this.c1.Text = "프로젝트"; | ||||
|             this.c1.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // c2 | ||||
|             //  | ||||
|             this.c2.AutoSize = true; | ||||
|             this.c2.Location = new System.Drawing.Point(20, 88); | ||||
|             this.c2.Name = "c2"; | ||||
|             this.c2.Size = new System.Drawing.Size(116, 34); | ||||
|             this.c2.TabIndex = 0; | ||||
|             this.c2.Tag = "2"; | ||||
|             this.c2.Text = "업무일지"; | ||||
|             this.c2.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // c3 | ||||
|             //  | ||||
|             this.c3.AutoSize = true; | ||||
|             this.c3.Location = new System.Drawing.Point(20, 125); | ||||
|             this.c3.Name = "c3"; | ||||
|             this.c3.Size = new System.Drawing.Size(116, 34); | ||||
|             this.c3.TabIndex = 0; | ||||
|             this.c3.Tag = "3"; | ||||
|             this.c3.Text = "품목재고"; | ||||
|             this.c3.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // button1 | ||||
|             //  | ||||
|             this.button1.Location = new System.Drawing.Point(14, 247); | ||||
|             this.button1.Name = "button1"; | ||||
|             this.button1.Size = new System.Drawing.Size(136, 44); | ||||
|             this.button1.TabIndex = 1; | ||||
|             this.button1.Text = "확인"; | ||||
|             this.button1.UseVisualStyleBackColor = true; | ||||
|             this.button1.Click += new System.EventHandler(this.button1_Click_1); | ||||
|             //  | ||||
|             // checkBox1 | ||||
|             //  | ||||
|             this.checkBox1.AutoSize = true; | ||||
|             this.checkBox1.Location = new System.Drawing.Point(20, 165); | ||||
|             this.checkBox1.Name = "checkBox1"; | ||||
|             this.checkBox1.Size = new System.Drawing.Size(116, 34); | ||||
|             this.checkBox1.TabIndex = 2; | ||||
|             this.checkBox1.Tag = "4"; | ||||
|             this.checkBox1.Text = "장비목록"; | ||||
|             this.checkBox1.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // checkBox2 | ||||
|             //  | ||||
|             this.checkBox2.AutoSize = true; | ||||
|             this.checkBox2.Location = new System.Drawing.Point(20, 205); | ||||
|             this.checkBox2.Name = "checkBox2"; | ||||
|             this.checkBox2.Size = new System.Drawing.Size(116, 34); | ||||
|             this.checkBox2.TabIndex = 3; | ||||
|             this.checkBox2.Tag = "5"; | ||||
|             this.checkBox2.Text = "근태관리"; | ||||
|             this.checkBox2.UseVisualStyleBackColor = true; | ||||
|             //  | ||||
|             // fUserGroupPermission | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 30F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||
|             this.ClientSize = new System.Drawing.Size(160, 297); | ||||
|             this.Controls.Add(this.checkBox2); | ||||
|             this.Controls.Add(this.checkBox1); | ||||
|             this.Controls.Add(this.button1); | ||||
|             this.Controls.Add(this.c3); | ||||
|             this.Controls.Add(this.c2); | ||||
|             this.Controls.Add(this.c1); | ||||
|             this.Controls.Add(this.c0); | ||||
|             this.Font = new System.Drawing.Font("맑은 고딕", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||
|             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; | ||||
|             this.MaximizeBox = false; | ||||
|             this.MinimizeBox = false; | ||||
|             this.Name = "fUserGroupPermission"; | ||||
|             this.Text = "fUserGroupPermission"; | ||||
|             this.Load += new System.EventHandler(this.fUserGroupPermission_Load); | ||||
|             this.ResumeLayout(false); | ||||
|             this.PerformLayout(); | ||||
|  | ||||
|         } | ||||
|  | ||||
|         #endregion | ||||
|  | ||||
|         private System.Windows.Forms.CheckBox c0; | ||||
|         private System.Windows.Forms.CheckBox c1; | ||||
|         private System.Windows.Forms.CheckBox c2; | ||||
|         private System.Windows.Forms.CheckBox c3; | ||||
|         private System.Windows.Forms.Button button1; | ||||
|         private System.Windows.Forms.CheckBox checkBox1; | ||||
|         private System.Windows.Forms.CheckBox checkBox2; | ||||
|     } | ||||
| } | ||||
							
								
								
									
										56
									
								
								SubProject/FCM0000/User/fUserGroupPermission.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								SubProject/FCM0000/User/fUserGroupPermission.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,56 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel; | ||||
| using System.Data; | ||||
| using System.Drawing; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Windows.Forms; | ||||
|  | ||||
| namespace FCM0000 | ||||
| { | ||||
|     public partial class fUserGroupPermission : FCOMMON.fBase | ||||
|     { | ||||
|         public int permission = 0; | ||||
|         public fUserGroupPermission(int permission_) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
|             this.permission = permission_; | ||||
|         } | ||||
|  | ||||
|         private void fUserGroupPermission_Load(object sender, EventArgs e) | ||||
|         { | ||||
|            foreach(var ctl in this.Controls) | ||||
|            { | ||||
|                if(ctl.GetType() == typeof(CheckBox)) | ||||
|                { | ||||
|                    var chk = ctl as CheckBox; | ||||
|                    if(chk.Tag == null) continue; | ||||
|                    int idx = int.Parse(chk.Tag.ToString()); | ||||
|                    var bitValue = FCOMMON.Util.getBit( this.permission, idx); | ||||
|                    chk.Checked = bitValue; | ||||
|                } | ||||
|            } | ||||
|         } | ||||
|  | ||||
|         private void button1_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             | ||||
|         } | ||||
|  | ||||
|         private void button1_Click_1(object sender, EventArgs e) | ||||
|         { | ||||
|             foreach (var ctl in this.Controls) | ||||
|             { | ||||
|                 if (ctl.GetType() == typeof(CheckBox)) | ||||
|                 { | ||||
|                     var chk = ctl as CheckBox; | ||||
|                     if (chk.Tag == null) continue; | ||||
|                     int idx = int.Parse(chk.Tag.ToString()); | ||||
|                     FCOMMON.Util.setBit(ref this.permission, idx, chk.Checked); | ||||
|                 } | ||||
|             } | ||||
|             DialogResult = System.Windows.Forms.DialogResult.OK; | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										120
									
								
								SubProject/FCM0000/User/fUserGroupPermission.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								SubProject/FCM0000/User/fUserGroupPermission.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
|   <!--  | ||||
|     Microsoft ResX Schema  | ||||
|      | ||||
|     Version 2.0 | ||||
|      | ||||
|     The primary goals of this format is to allow a simple XML format  | ||||
|     that is mostly human readable. The generation and parsing of the  | ||||
|     various data types are done through the TypeConverter classes  | ||||
|     associated with the data types. | ||||
|      | ||||
|     Example: | ||||
|      | ||||
|     ... ado.net/XML headers & schema ... | ||||
|     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||
|     <resheader name="version">2.0</resheader> | ||||
|     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
|     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
|     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||
|     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
|     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
|         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||
|     </data> | ||||
|     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
|         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||
|         <comment>This is a comment</comment> | ||||
|     </data> | ||||
|                  | ||||
|     There are any number of "resheader" rows that contain simple  | ||||
|     name/value pairs. | ||||
|      | ||||
|     Each data row contains a name, and value. The row also contains a  | ||||
|     type or mimetype. Type corresponds to a .NET class that support  | ||||
|     text/value conversion through the TypeConverter architecture.  | ||||
|     Classes that don't support this are serialized and stored with the  | ||||
|     mimetype set. | ||||
|      | ||||
|     The mimetype is used for serialized objects, and tells the  | ||||
|     ResXResourceReader how to depersist the object. This is currently not  | ||||
|     extensible. For a given mimetype the value must be set accordingly: | ||||
|      | ||||
|     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||
|     that the ResXResourceWriter will generate, however the reader can  | ||||
|     read any of the formats listed below. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.binary.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|      | ||||
|     mimetype: application/x-microsoft.net.object.soap.base64 | ||||
|     value   : The object must be serialized with  | ||||
|             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||
|             : and then encoded with base64 encoding. | ||||
|  | ||||
|     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||
|     value   : The object must be serialized into a byte array  | ||||
|             : using a System.ComponentModel.TypeConverter | ||||
|             : and then encoded with base64 encoding. | ||||
|     --> | ||||
|   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||
|     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||
|     <xsd:element name="root" msdata:IsDataSet="true"> | ||||
|       <xsd:complexType> | ||||
|         <xsd:choice maxOccurs="unbounded"> | ||||
|           <xsd:element name="metadata"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="assembly"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:attribute name="alias" type="xsd:string" /> | ||||
|               <xsd:attribute name="name" type="xsd:string" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="data"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||
|               <xsd:attribute ref="xml:space" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|           <xsd:element name="resheader"> | ||||
|             <xsd:complexType> | ||||
|               <xsd:sequence> | ||||
|                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||
|               </xsd:sequence> | ||||
|               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||
|             </xsd:complexType> | ||||
|           </xsd:element> | ||||
|         </xsd:choice> | ||||
|       </xsd:complexType> | ||||
|     </xsd:element> | ||||
|   </xsd:schema> | ||||
|   <resheader name="resmimetype"> | ||||
|     <value>text/microsoft-resx</value> | ||||
|   </resheader> | ||||
|   <resheader name="version"> | ||||
|     <value>2.0</value> | ||||
|   </resheader> | ||||
|   <resheader name="reader"> | ||||
|     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
		Reference in New Issue
	
	Block a user
	 chikyun.kim
					chikyun.kim