license 목록에 s/n 값 추가, 내부 검색 기능 오류 슈정
This commit is contained in:
948
SubProject/FED0000/License/fLicenseList.Designer.cs
generated
948
SubProject/FED0000/License/fLicenseList.Designer.cs
generated
@@ -28,92 +28,87 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLicenseList));
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
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.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
this.dsPurchase = new FED0000.EEDataSet();
|
||||
this.bs = new System.Windows.Forms.BindingSource();
|
||||
this.tam = new FED0000.EEDataSetTableAdapters.TableAdapterManager();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator();
|
||||
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.btAdd = new System.Windows.Forms.ToolStripButton();
|
||||
this.btCopy = new System.Windows.Forms.ToolStripButton();
|
||||
this.btEdit = new System.Windows.Forms.ToolStripButton();
|
||||
this.btDel = new System.Windows.Forms.ToolStripButton();
|
||||
this.btSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton1 = 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.columnSizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.autoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.resetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.ta = new FED0000.EEDataSetTableAdapters.EETGW_LicenseTableAdapter();
|
||||
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
this.cm1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dsPurchase
|
||||
//
|
||||
this.dsPurchase.DataSetName = "EEDataSet";
|
||||
this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "EETGW_License";
|
||||
this.bs.DataSource = this.dsPurchase;
|
||||
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = true;
|
||||
this.tam.Connection = null;
|
||||
this.tam.EETGW_EducationListTableAdapter = null;
|
||||
this.tam.EETGW_LicenseTableAdapter = null;
|
||||
this.tam.UpdateOrder = FED0000.EEDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = null;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fLicenseList));
|
||||
this.dsPurchase = new FED0000.EEDataSet();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.tam = new FED0000.EEDataSetTableAdapters.TableAdapterManager();
|
||||
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
|
||||
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.btAdd = new System.Windows.Forms.ToolStripButton();
|
||||
this.btCopy = new System.Windows.Forms.ToolStripButton();
|
||||
this.btEdit = new System.Windows.Forms.ToolStripButton();
|
||||
this.btDel = new System.Windows.Forms.ToolStripButton();
|
||||
this.btSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton1 = 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.exportDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.btSearch = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.ta = new FED0000.EEDataSetTableAdapters.EETGW_LicenseTableAdapter();
|
||||
this.dv1 = new arCtl.arDatagridView();
|
||||
this.expireDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.versionDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.MeterialNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.supplyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.qtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.uidsDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.SerialNo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.remarkDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.sdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.manuDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
this.bn.SuspendLayout();
|
||||
this.cm1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dsPurchase
|
||||
//
|
||||
this.dsPurchase.DataSetName = "EEDataSet";
|
||||
this.dsPurchase.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "EETGW_License";
|
||||
this.bs.DataSource = this.dsPurchase;
|
||||
this.bs.CurrentChanged += new System.EventHandler(this.bs_CurrentChanged);
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = true;
|
||||
this.tam.Connection = null;
|
||||
this.tam.EETGW_EducationListTableAdapter = null;
|
||||
this.tam.EETGW_LicenseTableAdapter = null;
|
||||
this.tam.UpdateOrder = FED0000.EEDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// bn
|
||||
//
|
||||
this.bn.AddNewItem = null;
|
||||
this.bn.BindingSource = this.bs;
|
||||
this.bn.CountItem = this.bindingNavigatorCountItem;
|
||||
this.bn.DeleteItem = null;
|
||||
this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.bindingNavigatorMoveFirstItem,
|
||||
this.bindingNavigatorMovePreviousItem,
|
||||
this.bindingNavigatorSeparator,
|
||||
@@ -133,409 +128,370 @@
|
||||
this.toolStripLabel2,
|
||||
this.tbFind,
|
||||
this.btFind});
|
||||
this.bn.Location = new System.Drawing.Point(0, 645);
|
||||
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(1244, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// 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.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
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);
|
||||
//
|
||||
// btAdd
|
||||
//
|
||||
this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
|
||||
this.btAdd.Name = "btAdd";
|
||||
this.btAdd.RightToLeftAutoMirrorImage = true;
|
||||
this.btAdd.Size = new System.Drawing.Size(67, 22);
|
||||
this.btAdd.Text = "추가(&A)";
|
||||
this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
||||
//
|
||||
// btCopy
|
||||
//
|
||||
this.btCopy.Image = ((System.Drawing.Image)(resources.GetObject("btCopy.Image")));
|
||||
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btCopy.Name = "btCopy";
|
||||
this.btCopy.Size = new System.Drawing.Size(67, 22);
|
||||
this.btCopy.Text = "복사(&C)";
|
||||
this.btCopy.Visible = false;
|
||||
//
|
||||
// btEdit
|
||||
//
|
||||
this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
|
||||
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btEdit.Name = "btEdit";
|
||||
this.btEdit.Size = new System.Drawing.Size(65, 22);
|
||||
this.btEdit.Text = "편집(&E)";
|
||||
this.btEdit.Visible = false;
|
||||
this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// btDel
|
||||
//
|
||||
this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image")));
|
||||
this.btDel.Name = "btDel";
|
||||
this.btDel.RightToLeftAutoMirrorImage = true;
|
||||
this.btDel.Size = new System.Drawing.Size(68, 22);
|
||||
this.btDel.Text = "삭제(&D)";
|
||||
this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
|
||||
//
|
||||
// btSave
|
||||
//
|
||||
this.btSave.Image = global::FED0000.Properties.Resources.action_save;
|
||||
this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(66, 22);
|
||||
this.btSave.Text = "저장(&S)";
|
||||
this.btSave.Click += new System.EventHandler(this.btSave_Click);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(75, 22);
|
||||
this.toolStripButton1.Text = "폴더열기";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_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.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
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.toolStripMenuItem3,
|
||||
this.bn.Location = new System.Drawing.Point(0, 645);
|
||||
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(1244, 25);
|
||||
this.bn.TabIndex = 0;
|
||||
this.bn.Text = "bindingNavigator1";
|
||||
//
|
||||
// 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.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
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);
|
||||
//
|
||||
// btAdd
|
||||
//
|
||||
this.btAdd.Image = ((System.Drawing.Image)(resources.GetObject("btAdd.Image")));
|
||||
this.btAdd.Name = "btAdd";
|
||||
this.btAdd.RightToLeftAutoMirrorImage = true;
|
||||
this.btAdd.Size = new System.Drawing.Size(67, 22);
|
||||
this.btAdd.Text = "추가(&A)";
|
||||
this.btAdd.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
|
||||
//
|
||||
// btCopy
|
||||
//
|
||||
this.btCopy.Image = ((System.Drawing.Image)(resources.GetObject("btCopy.Image")));
|
||||
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btCopy.Name = "btCopy";
|
||||
this.btCopy.Size = new System.Drawing.Size(67, 22);
|
||||
this.btCopy.Text = "복사(&C)";
|
||||
this.btCopy.Visible = false;
|
||||
//
|
||||
// btEdit
|
||||
//
|
||||
this.btEdit.Image = ((System.Drawing.Image)(resources.GetObject("btEdit.Image")));
|
||||
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btEdit.Name = "btEdit";
|
||||
this.btEdit.Size = new System.Drawing.Size(65, 22);
|
||||
this.btEdit.Text = "편집(&E)";
|
||||
this.btEdit.Visible = false;
|
||||
this.btEdit.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// btDel
|
||||
//
|
||||
this.btDel.Image = ((System.Drawing.Image)(resources.GetObject("btDel.Image")));
|
||||
this.btDel.Name = "btDel";
|
||||
this.btDel.RightToLeftAutoMirrorImage = true;
|
||||
this.btDel.Size = new System.Drawing.Size(68, 22);
|
||||
this.btDel.Text = "삭제(&D)";
|
||||
this.btDel.Click += new System.EventHandler(this.bindingNavigatorDeleteItem_Click);
|
||||
//
|
||||
// btSave
|
||||
//
|
||||
this.btSave.Image = global::FED0000.Properties.Resources.action_save;
|
||||
this.btSave.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(66, 22);
|
||||
this.btSave.Text = "저장(&S)";
|
||||
this.btSave.Click += new System.EventHandler(this.btSave_Click);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(75, 22);
|
||||
this.toolStripButton1.Text = "폴더열기";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_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.Font = new System.Drawing.Font("맑은 고딕", 9F);
|
||||
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.exportDataToolStripMenuItem});
|
||||
this.cm1.Name = "contextMenuStrip1";
|
||||
this.cm1.Size = new System.Drawing.Size(314, 94);
|
||||
//
|
||||
// columnSizeToolStripMenuItem
|
||||
//
|
||||
this.columnSizeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.autoToolStripMenuItem,
|
||||
this.resetToolStripMenuItem,
|
||||
this.saveToolStripMenuItem,
|
||||
this.loadToolStripMenuItem});
|
||||
this.columnSizeToolStripMenuItem.Name = "columnSizeToolStripMenuItem";
|
||||
this.columnSizeToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
|
||||
this.columnSizeToolStripMenuItem.Text = "Column Size";
|
||||
//
|
||||
// autoToolStripMenuItem
|
||||
//
|
||||
this.autoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("autoToolStripMenuItem.Image")));
|
||||
this.autoToolStripMenuItem.Name = "autoToolStripMenuItem";
|
||||
this.autoToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
|
||||
this.autoToolStripMenuItem.Text = "Auto";
|
||||
this.autoToolStripMenuItem.Click += new System.EventHandler(this.autoToolStripMenuItem_Click);
|
||||
//
|
||||
// resetToolStripMenuItem
|
||||
//
|
||||
this.resetToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("resetToolStripMenuItem.Image")));
|
||||
this.resetToolStripMenuItem.Name = "resetToolStripMenuItem";
|
||||
this.resetToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
|
||||
this.resetToolStripMenuItem.Text = "Reset";
|
||||
this.resetToolStripMenuItem.Click += new System.EventHandler(this.resetToolStripMenuItem_Click);
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
|
||||
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(159, 42);
|
||||
this.saveToolStripMenuItem.Text = "Save";
|
||||
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(159, 42);
|
||||
this.loadToolStripMenuItem.Text = "Load";
|
||||
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem3
|
||||
//
|
||||
this.toolStripMenuItem3.Name = "toolStripMenuItem3";
|
||||
this.toolStripMenuItem3.Size = new System.Drawing.Size(310, 6);
|
||||
//
|
||||
// exportDataToolStripMenuItem
|
||||
//
|
||||
this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem";
|
||||
this.exportDataToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
|
||||
this.exportDataToolStripMenuItem.Text = "목록 내보내기(xls)";
|
||||
this.exportDataToolStripMenuItem.Click += new System.EventHandler(this.exportDataToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.cm1.Name = "contextMenuStrip1";
|
||||
this.cm1.Size = new System.Drawing.Size(314, 46);
|
||||
//
|
||||
// exportDataToolStripMenuItem
|
||||
//
|
||||
this.exportDataToolStripMenuItem.Name = "exportDataToolStripMenuItem";
|
||||
this.exportDataToolStripMenuItem.Size = new System.Drawing.Size(313, 42);
|
||||
this.exportDataToolStripMenuItem.Text = "목록 내보내기(xls)";
|
||||
this.exportDataToolStripMenuItem.Click += new System.EventHandler(this.exportDataToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.btSearch,
|
||||
this.toolStripSeparator5,
|
||||
this.toolStripButton2});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1244, 37);
|
||||
this.toolStrip1.TabIndex = 3;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// btSearch
|
||||
//
|
||||
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
||||
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btSearch.Name = "btSearch";
|
||||
this.btSearch.Size = new System.Drawing.Size(80, 34);
|
||||
this.btSearch.Text = "조회(&R)";
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// toolStripSeparator5
|
||||
//
|
||||
this.toolStripSeparator5.Name = "toolStripSeparator5";
|
||||
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(65, 34);
|
||||
this.toolStripButton2.Text = "닫기";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label1.Location = new System.Drawing.Point(0, 622);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label1.Size = new System.Drawing.Size(1244, 23);
|
||||
this.label1.TabIndex = 6;
|
||||
this.label1.Text = "--";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// fpSpread1
|
||||
//
|
||||
this.fpSpread1.AccessibleDescription = "fpSpread1, Sheet1";
|
||||
this.fpSpread1.ContextMenuStrip = this.cm1;
|
||||
this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.fpSpread1.Location = new System.Drawing.Point(0, 37);
|
||||
this.fpSpread1.Name = "fpSpread1";
|
||||
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
|
||||
this.fpSpread1_Sheet1});
|
||||
this.fpSpread1.Size = new System.Drawing.Size(1244, 585);
|
||||
this.fpSpread1.TabIndex = 4;
|
||||
this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff);
|
||||
//
|
||||
// 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 = 9;
|
||||
this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
|
||||
this.fpSpread1_Sheet1.ActiveRowIndex = -1;
|
||||
this.fpSpread1_Sheet1.AutoGenerateColumns = false;
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "만료";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "이름";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "버젼";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.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.Cells.Get(0, 7).Value = "구매일";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 8).Value = "비고";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 40F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "expire";
|
||||
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(1).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "name";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "이름";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 151F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Version";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "버젼";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 122F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "manu";
|
||||
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 = 151F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "Supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "공급처";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 151F;
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 2147483647D;
|
||||
numberCellType1.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = numberCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "qty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 77F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "uids";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "실사용자";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 151F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "sdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "구매일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 151F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "Remark";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "비고";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Width = 249F;
|
||||
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;
|
||||
//
|
||||
// fLicenseList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1244, 670);
|
||||
this.Controls.Add(this.fpSpread1);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.DoubleBuffered = true;
|
||||
this.Name = "fLicenseList";
|
||||
this.Text = "라이선스 목록";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
this.cm1.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1244, 37);
|
||||
this.toolStrip1.TabIndex = 3;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// btSearch
|
||||
//
|
||||
this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
|
||||
this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.btSearch.Name = "btSearch";
|
||||
this.btSearch.Size = new System.Drawing.Size(80, 34);
|
||||
this.btSearch.Text = "조회(&R)";
|
||||
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
|
||||
//
|
||||
// toolStripSeparator5
|
||||
//
|
||||
this.toolStripSeparator5.Name = "toolStripSeparator5";
|
||||
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
|
||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(65, 34);
|
||||
this.toolStripButton2.Text = "닫기";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label1.Location = new System.Drawing.Point(0, 622);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
|
||||
this.label1.Size = new System.Drawing.Size(1244, 23);
|
||||
this.label1.TabIndex = 6;
|
||||
this.label1.Text = "--";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// dv1
|
||||
//
|
||||
this.dv1.A_DelCurrentCell = true;
|
||||
this.dv1.A_EnterToTab = true;
|
||||
this.dv1.A_KoreanField = null;
|
||||
this.dv1.A_UpperField = null;
|
||||
this.dv1.A_ViewRownumOnHeader = true;
|
||||
this.dv1.AllowUserToAddRows = false;
|
||||
this.dv1.AutoGenerateColumns = false;
|
||||
this.dv1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
|
||||
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.expireDataGridViewCheckBoxColumn,
|
||||
this.nameDataGridViewTextBoxColumn,
|
||||
this.versionDataGridViewTextBoxColumn,
|
||||
this.MeterialNo,
|
||||
this.supplyDataGridViewTextBoxColumn,
|
||||
this.qtyDataGridViewTextBoxColumn,
|
||||
this.uidsDataGridViewTextBoxColumn,
|
||||
this.SerialNo,
|
||||
this.remarkDataGridViewTextBoxColumn,
|
||||
this.sdateDataGridViewTextBoxColumn,
|
||||
this.manuDataGridViewTextBoxColumn});
|
||||
this.dv1.ContextMenuStrip = this.cm1;
|
||||
this.dv1.DataSource = this.bs;
|
||||
this.dv1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv1.Location = new System.Drawing.Point(0, 37);
|
||||
this.dv1.Name = "dv1";
|
||||
this.dv1.RowTemplate.Height = 23;
|
||||
this.dv1.Size = new System.Drawing.Size(1244, 585);
|
||||
this.dv1.TabIndex = 7;
|
||||
//
|
||||
// expireDataGridViewCheckBoxColumn
|
||||
//
|
||||
this.expireDataGridViewCheckBoxColumn.DataPropertyName = "expire";
|
||||
this.expireDataGridViewCheckBoxColumn.HeaderText = "만료";
|
||||
this.expireDataGridViewCheckBoxColumn.Name = "expireDataGridViewCheckBoxColumn";
|
||||
this.expireDataGridViewCheckBoxColumn.Width = 35;
|
||||
//
|
||||
// nameDataGridViewTextBoxColumn
|
||||
//
|
||||
this.nameDataGridViewTextBoxColumn.DataPropertyName = "name";
|
||||
this.nameDataGridViewTextBoxColumn.HeaderText = "품명";
|
||||
this.nameDataGridViewTextBoxColumn.Name = "nameDataGridViewTextBoxColumn";
|
||||
this.nameDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// versionDataGridViewTextBoxColumn
|
||||
//
|
||||
this.versionDataGridViewTextBoxColumn.DataPropertyName = "Version";
|
||||
this.versionDataGridViewTextBoxColumn.HeaderText = "버젼";
|
||||
this.versionDataGridViewTextBoxColumn.Name = "versionDataGridViewTextBoxColumn";
|
||||
this.versionDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// MeterialNo
|
||||
//
|
||||
this.MeterialNo.DataPropertyName = "MeterialNo";
|
||||
this.MeterialNo.HeaderText = "SID";
|
||||
this.MeterialNo.Name = "MeterialNo";
|
||||
this.MeterialNo.Width = 49;
|
||||
//
|
||||
// supplyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.supplyDataGridViewTextBoxColumn.DataPropertyName = "Supply";
|
||||
this.supplyDataGridViewTextBoxColumn.HeaderText = "공급";
|
||||
this.supplyDataGridViewTextBoxColumn.Name = "supplyDataGridViewTextBoxColumn";
|
||||
this.supplyDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// qtyDataGridViewTextBoxColumn
|
||||
//
|
||||
this.qtyDataGridViewTextBoxColumn.DataPropertyName = "qty";
|
||||
this.qtyDataGridViewTextBoxColumn.HeaderText = "수량";
|
||||
this.qtyDataGridViewTextBoxColumn.Name = "qtyDataGridViewTextBoxColumn";
|
||||
this.qtyDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// uidsDataGridViewTextBoxColumn
|
||||
//
|
||||
this.uidsDataGridViewTextBoxColumn.DataPropertyName = "uids";
|
||||
this.uidsDataGridViewTextBoxColumn.HeaderText = "사용자";
|
||||
this.uidsDataGridViewTextBoxColumn.Name = "uidsDataGridViewTextBoxColumn";
|
||||
this.uidsDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// SerialNo
|
||||
//
|
||||
this.SerialNo.DataPropertyName = "SerialNo";
|
||||
this.SerialNo.HeaderText = "S/N";
|
||||
this.SerialNo.Name = "SerialNo";
|
||||
this.SerialNo.Width = 53;
|
||||
//
|
||||
// remarkDataGridViewTextBoxColumn
|
||||
//
|
||||
this.remarkDataGridViewTextBoxColumn.DataPropertyName = "Remark";
|
||||
this.remarkDataGridViewTextBoxColumn.HeaderText = "비고";
|
||||
this.remarkDataGridViewTextBoxColumn.Name = "remarkDataGridViewTextBoxColumn";
|
||||
this.remarkDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// sdateDataGridViewTextBoxColumn
|
||||
//
|
||||
this.sdateDataGridViewTextBoxColumn.DataPropertyName = "sdate";
|
||||
this.sdateDataGridViewTextBoxColumn.HeaderText = "구매일";
|
||||
this.sdateDataGridViewTextBoxColumn.Name = "sdateDataGridViewTextBoxColumn";
|
||||
this.sdateDataGridViewTextBoxColumn.Width = 66;
|
||||
//
|
||||
// manuDataGridViewTextBoxColumn
|
||||
//
|
||||
this.manuDataGridViewTextBoxColumn.DataPropertyName = "manu";
|
||||
this.manuDataGridViewTextBoxColumn.HeaderText = "제조";
|
||||
this.manuDataGridViewTextBoxColumn.Name = "manuDataGridViewTextBoxColumn";
|
||||
this.manuDataGridViewTextBoxColumn.Width = 54;
|
||||
//
|
||||
// fLicenseList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1244, 670);
|
||||
this.Controls.Add(this.dv1);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.bn);
|
||||
this.DoubleBuffered = true;
|
||||
this.Name = "fLicenseList";
|
||||
this.Text = "라이선스 목록";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
|
||||
this.bn.ResumeLayout(false);
|
||||
this.bn.PerformLayout();
|
||||
this.cm1.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@@ -564,21 +520,25 @@
|
||||
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 autoToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem resetToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton btEdit;
|
||||
private System.Windows.Forms.ToolStripMenuItem exportDataToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem3;
|
||||
private System.Windows.Forms.ToolStripButton btCopy;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private EEDataSetTableAdapters.EETGW_LicenseTableAdapter ta;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private FarPoint.Win.Spread.FpSpread fpSpread1;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
}
|
||||
private arCtl.arDatagridView dv1;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn expireDataGridViewCheckBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn nameDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn versionDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn MeterialNo;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn supplyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn qtyDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn uidsDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn SerialNo;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn remarkDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn sdateDataGridViewTextBoxColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn manuDataGridViewTextBoxColumn;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,429 +11,435 @@ using util = FCOMMON.Util;
|
||||
|
||||
namespace FED0000
|
||||
{
|
||||
public partial class fLicenseList : FCOMMON.fBase
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
public partial class fLicenseList : FCOMMON.fBase
|
||||
{
|
||||
string fn_fpcolsize = "";
|
||||
|
||||
public fLicenseList()
|
||||
{
|
||||
InitializeComponent();
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
|
||||
public fLicenseList()
|
||||
{
|
||||
InitializeComponent();
|
||||
Properties.Settings.Default["gwcs"] = FCOMMON.info.CS;
|
||||
Properties.Settings.Default["EEEntities"] = FCOMMON.info.CS;
|
||||
|
||||
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.dsPurchase.EETGW_License.TableNewRow += Purchase_TableNewRow;
|
||||
this.FormClosing += FPurchase_FormClosing;
|
||||
this.FormClosed += __Closed;
|
||||
}
|
||||
|
||||
private void FPurchase_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (dsPurchase.HasChanges())
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다. 화면을 닫을까요? 닫으면 변경된 자료는 손실 됩니다");
|
||||
if (dlg != DialogResult.Yes)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.dsPurchase.EETGW_License.TableNewRow += Purchase_TableNewRow;
|
||||
this.FormClosing += FPurchase_FormClosing;
|
||||
this.FormClosed += __Closed;
|
||||
}
|
||||
|
||||
private void FPurchase_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if (dsPurchase.HasChanges())
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("변경된 자료가 있습니다. 화면을 닫을까요? 닫으면 변경된 자료는 손실 됩니다");
|
||||
if (dlg != DialogResult.Yes)
|
||||
{
|
||||
e.Cancel = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["gcode"] = FCOMMON.info.Login.gcode;
|
||||
e.Row["sdate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
void Purchase_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["gcode"] = FCOMMON.info.Login.gcode;
|
||||
e.Row["sdate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
|
||||
refreshData();
|
||||
refreshData();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void refreshData()
|
||||
{
|
||||
private void refreshData()
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
this.ta.Fill(this.dsPurchase.EETGW_License, FCOMMON.info.Login.gcode);
|
||||
FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
System.Windows.Forms.MessageBox.Show(ex.Message);
|
||||
}
|
||||
|
||||
FormattingData();
|
||||
}
|
||||
void FormattingData()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Font fBase = new Font("맑은 고딕", 9);
|
||||
Font fBold = new Font("맑은 고딕", 9, FontStyle.Bold);
|
||||
|
||||
private void saveData(Boolean prompt)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
try
|
||||
{
|
||||
var cnt = this.ta.Update(this.dsPurchase);
|
||||
if (prompt) FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 저장 되었습니다.", cnt));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE("저장 실패\n" + ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void btSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
func_add();
|
||||
}
|
||||
|
||||
private void tbRequest_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
btSearch.PerformClick();
|
||||
}
|
||||
|
||||
private void btSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
saveData(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
func_delete();
|
||||
}
|
||||
void func_add()
|
||||
{
|
||||
var newdr = this.bs.AddNew();
|
||||
this.bs.Position = this.bs.Count - 1;
|
||||
|
||||
|
||||
}
|
||||
void func_delete()
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
|
||||
//var dlg = FCOMMON.Util.MsgQ("현재 선택된 데이터를 삭제 하시겠습니까?");
|
||||
//if (dlg != DialogResult.Yes) return;
|
||||
|
||||
|
||||
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase));
|
||||
var dr = drv.Row as EEDataSet.EETGW_EducationListRow;
|
||||
|
||||
|
||||
var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
bs.RemoveCurrent();
|
||||
bs.EndEdit();
|
||||
}
|
||||
|
||||
|
||||
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
|
||||
{
|
||||
var cols = new List<string>();
|
||||
cols.Add("title like ?");
|
||||
cols.Add("proposal like ?");
|
||||
cols.Add("target like ?");
|
||||
cols.Add("eduoffice like ?");
|
||||
cols.Add("location like ?");
|
||||
|
||||
search = search.Replace("'", "''");
|
||||
string filter = string.Join(" or ", cols.ToArray());
|
||||
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 editDataToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Func_Edit();
|
||||
}
|
||||
void Func_Edit()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void autoToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FCOMMON.Util.FPColSizeAuto(this.fpSpread1);
|
||||
//this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true;
|
||||
|
||||
//for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
// this.fpSpread1.ActiveSheet.SetRowHeight(i, 25);
|
||||
//dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
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_fpcolsize);
|
||||
}
|
||||
|
||||
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
Func_Edit();
|
||||
}
|
||||
|
||||
|
||||
void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
//if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
|
||||
//var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
|
||||
//switch (state)
|
||||
//{
|
||||
// case "00": //입력대기(미확인)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
// break;
|
||||
// case "01": //파트장 승인 기다림
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// break;
|
||||
// case "03": //PO (협력업체 전달)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// break;
|
||||
// case "04": //자재 수령
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green;
|
||||
// break;
|
||||
// case "05": //canceld (취소)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
|
||||
// break;
|
||||
// case "06": //cancel (취소됨)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// break;
|
||||
// case "08": //문의
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White;
|
||||
// break;
|
||||
// default:
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
|
||||
private void updateSCToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("#SC가 없는 자료에 한하여 일괄 기록을 실행 합니다.");
|
||||
if (dlg == System.Windows.Forms.DialogResult.Yes)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void exportDataToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "excel|*.xls";
|
||||
sd.FileName = "edulist.xls";
|
||||
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
fpSpread1.SaveExcel(sd.FileName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void btViewDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
|
||||
|
||||
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void func_copy()
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as EEDataSet.EETGW_LicenseRow;
|
||||
|
||||
//현재 데이터를 입력하여 신규 추가를 한다.
|
||||
var newdr = this.dsPurchase.EETGW_EducationList.NewEETGW_EducationListRow();
|
||||
FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr);
|
||||
newdr.sdate = DateTime.Now.ToShortDateString();
|
||||
newdr.edate = DateTime.Now.ToShortDateString();
|
||||
|
||||
newdr.wdate = DateTime.Now;
|
||||
newdr.wuid = FCOMMON.info.Login.no;
|
||||
newdr.EndEdit();
|
||||
|
||||
this.dsPurchase.EETGW_EducationList.AddEETGW_EducationListRow(newdr);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
this.label1.Text = "데이터가 선택되지 않았습니다";
|
||||
return;
|
||||
}
|
||||
var dr = drv.Row as EEDataSet.EETGW_EducationListRow;
|
||||
// this.label1.Text = string.Format("{0}", dr.bigo.Replace("\r", "").Replace("\n", ""));
|
||||
}
|
||||
|
||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
string getmaxstr(string src, int len = 30)
|
||||
{
|
||||
if (src.Length > len) return src.Substring(0, len) + "...";
|
||||
else return src;
|
||||
}
|
||||
|
||||
List<string> ChangeMailAddress(List<string> userid)
|
||||
{
|
||||
var db = new DataClasses1DataContext();
|
||||
|
||||
List<string> retval = new List<string>();
|
||||
foreach (var id in userid)
|
||||
{
|
||||
UInt32 userno;
|
||||
if (UInt32.TryParse(id, out userno) == true)
|
||||
{
|
||||
var user = db.Users.Where(t => t.id == id).FirstOrDefault();
|
||||
if (user != null)
|
||||
{
|
||||
var data = string.Format("{0}<{1}>", user.name, user.email);
|
||||
if (retval.Contains(data) == false)
|
||||
retval.Add(data);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (retval.Contains(id) == false)
|
||||
retval.Add(id);
|
||||
}
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "PurcManual.pdf");
|
||||
if (System.IO.File.Exists(fn))
|
||||
{
|
||||
FCOMMON.Util.RunExplorer(fn);
|
||||
}
|
||||
else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)");
|
||||
}
|
||||
|
||||
private void fpSpread1_EditModeOff(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//open path
|
||||
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as EEDataSet.EETGW_LicenseRow;
|
||||
if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached)
|
||||
{
|
||||
FCOMMON.Util.MsgE("자료가 저장된 후 폴더열기를 사용할 수 있습니다");
|
||||
return;
|
||||
}
|
||||
|
||||
FCOMMON.Util.OpenSharedPath(null, "Data", "License", dr.idx.ToString());
|
||||
|
||||
}
|
||||
}
|
||||
this.ta.Fill(this.dsPurchase.EETGW_License, FCOMMON.info.Login.gcode);
|
||||
//FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
catch (System.Exception ex)
|
||||
{
|
||||
System.Windows.Forms.MessageBox.Show(ex.Message);
|
||||
}
|
||||
|
||||
FormattingData();
|
||||
}
|
||||
void FormattingData()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Font fBase = new Font("맑은 고딕", 9);
|
||||
Font fBold = new Font("맑은 고딕", 9, FontStyle.Bold);
|
||||
|
||||
private void saveData(Boolean prompt)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
try
|
||||
{
|
||||
var cnt = this.ta.Update(this.dsPurchase);
|
||||
if (prompt) FCOMMON.Util.MsgI(string.Format("{0}건의 자료가 저장 되었습니다.", cnt));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE("저장 실패\n" + ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void btSearch_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
func_add();
|
||||
}
|
||||
|
||||
private void tbRequest_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
btSearch.PerformClick();
|
||||
}
|
||||
|
||||
private void btSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
saveData(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
func_delete();
|
||||
}
|
||||
void func_add()
|
||||
{
|
||||
var newdr = this.bs.AddNew();
|
||||
this.bs.Position = this.bs.Count - 1;
|
||||
|
||||
|
||||
}
|
||||
void func_delete()
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
|
||||
//var dlg = FCOMMON.Util.MsgQ("현재 선택된 데이터를 삭제 하시겠습니까?");
|
||||
//if (dlg != DialogResult.Yes) return;
|
||||
|
||||
|
||||
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.purchase));
|
||||
var dr = drv.Row as EEDataSet.EETGW_EducationListRow;
|
||||
|
||||
|
||||
var dlg = FCOMMON.Util.MsgQ("현재 선택된 자료를 삭제하시겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
bs.RemoveCurrent();
|
||||
bs.EndEdit();
|
||||
}
|
||||
|
||||
|
||||
private void btFind_Click(object sender, EventArgs e)
|
||||
{
|
||||
var dv = this.dv1;
|
||||
var cols = new List<string>();
|
||||
foreach (DataGridViewColumn col in dv.Columns)
|
||||
{
|
||||
if (col.Visible == false || col.DataPropertyName.isEmpty()) continue;
|
||||
if (col.ValueType == typeof(bool)) continue;
|
||||
if (col.ValueType == typeof(Int32)) continue;
|
||||
cols.Add(col.DataPropertyName);
|
||||
}
|
||||
|
||||
var search = tbFind.Text.Trim();
|
||||
search = search.Replace("*", "x");
|
||||
string filter = string.Empty;
|
||||
if (tbFind.Text != search) tbFind.Text = search;
|
||||
try
|
||||
{
|
||||
if (search.isEmpty())
|
||||
{
|
||||
this.bs.Filter = "";
|
||||
tbFind.BackColor = Color.White;
|
||||
}
|
||||
else
|
||||
{
|
||||
search = search.Replace("'", "''");
|
||||
filter = string.Join(" like ? or ", cols.ToArray());
|
||||
filter = filter.Replace("?", "'%" + search + "%'");
|
||||
filter += " like '%" + 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 + "\n" + filter);
|
||||
}
|
||||
}
|
||||
|
||||
private void tbFind_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter) btFind.PerformClick();
|
||||
}
|
||||
|
||||
private void editDataToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Func_Edit();
|
||||
}
|
||||
void Func_Edit()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void autoToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
// FCOMMON.Util.FPColSizeAuto(this.fpSpread1);
|
||||
//this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true;
|
||||
|
||||
//for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
// this.fpSpread1.ActiveSheet.SetRowHeight(i, 25);
|
||||
//dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
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_fpcolsize);
|
||||
}
|
||||
|
||||
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
// FCOMMON.Util.FPColSizeLoad(ref this.fpSpread1, fn_fpcolsize);
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
Func_Edit();
|
||||
}
|
||||
|
||||
|
||||
void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
//if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
|
||||
//var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
|
||||
//switch (state)
|
||||
//{
|
||||
// case "00": //입력대기(미확인)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
// break;
|
||||
// case "01": //파트장 승인 기다림
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// break;
|
||||
// case "03": //PO (협력업체 전달)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// break;
|
||||
// case "04": //자재 수령
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green;
|
||||
// break;
|
||||
// case "05": //canceld (취소)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
|
||||
// break;
|
||||
// case "06": //cancel (취소됨)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// break;
|
||||
// case "08": //문의
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White;
|
||||
// break;
|
||||
// default:
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
|
||||
private void updateSCToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("#SC가 없는 자료에 한하여 일괄 기록을 실행 합니다.");
|
||||
if (dlg == System.Windows.Forms.DialogResult.Yes)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void exportDataToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
sd.Filter = "csv|*.csv";
|
||||
sd.FileName = "edulist.csv";
|
||||
if (sd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dv1.ExportData(sd.FileName, false);
|
||||
//fpSpread1.SaveExcel(sd.FileName,
|
||||
// FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
// | FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
// | FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
// | FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
FCOMMON.Util.MsgI("다음 파일이 생성 되었습니다.\n\n" + sd.FileName);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void btViewDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
refreshData();
|
||||
}
|
||||
|
||||
|
||||
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void func_copy()
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as EEDataSet.EETGW_LicenseRow;
|
||||
|
||||
//현재 데이터를 입력하여 신규 추가를 한다.
|
||||
var newdr = this.dsPurchase.EETGW_EducationList.NewEETGW_EducationListRow();
|
||||
FCOMMON.Util.CopyData((System.Data.DataRow)dr, (System.Data.DataRow)newdr);
|
||||
newdr.sdate = DateTime.Now.ToShortDateString();
|
||||
newdr.edate = DateTime.Now.ToShortDateString();
|
||||
|
||||
newdr.wdate = DateTime.Now;
|
||||
newdr.wuid = FCOMMON.info.Login.no;
|
||||
newdr.EndEdit();
|
||||
|
||||
this.dsPurchase.EETGW_EducationList.AddEETGW_EducationListRow(newdr);
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null)
|
||||
{
|
||||
this.label1.Text = "데이터가 선택되지 않았습니다";
|
||||
return;
|
||||
}
|
||||
var dr = drv.Row as EEDataSet.EETGW_EducationListRow;
|
||||
// this.label1.Text = string.Format("{0}", dr.bigo.Replace("\r", "").Replace("\n", ""));
|
||||
}
|
||||
|
||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
string getmaxstr(string src, int len = 30)
|
||||
{
|
||||
if (src.Length > len) return src.Substring(0, len) + "...";
|
||||
else return src;
|
||||
}
|
||||
|
||||
List<string> ChangeMailAddress(List<string> userid)
|
||||
{
|
||||
var db = new DataClasses1DataContext();
|
||||
|
||||
List<string> retval = new List<string>();
|
||||
foreach (var id in userid)
|
||||
{
|
||||
UInt32 userno;
|
||||
if (UInt32.TryParse(id, out userno) == true)
|
||||
{
|
||||
var user = db.Users.Where(t => t.id == id).FirstOrDefault();
|
||||
if (user != null)
|
||||
{
|
||||
var data = string.Format("{0}<{1}>", user.name, user.email);
|
||||
if (retval.Contains(data) == false)
|
||||
retval.Add(data);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (retval.Contains(id) == false)
|
||||
retval.Add(id);
|
||||
}
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
var fn = System.IO.Path.Combine(FCOMMON.Util.CurrentPath, "PurcManual.pdf");
|
||||
if (System.IO.File.Exists(fn))
|
||||
{
|
||||
FCOMMON.Util.RunExplorer(fn);
|
||||
}
|
||||
else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)");
|
||||
}
|
||||
|
||||
private void fpSpread1_EditModeOff(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
//open path
|
||||
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as EEDataSet.EETGW_LicenseRow;
|
||||
if (dr.RowState == DataRowState.Added || dr.RowState == DataRowState.Detached)
|
||||
{
|
||||
FCOMMON.Util.MsgE("자료가 저장된 후 폴더열기를 사용할 수 있습니다");
|
||||
return;
|
||||
}
|
||||
|
||||
FCOMMON.Util.OpenSharedPath(null, "Data", "License", dr.idx.ToString());
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -220,18 +220,18 @@
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKWSURBVDhPzZNdSFNhGMdfSfq48qouSpSgi9KsbDqlDINA
|
||||
vOtKhZIiJSu1NBMhk/zCnErqaC2p0JabmZ+FJWmBKJSmqVutWn6ESxOnuTO3ebadnXP+nc1TLejCyx7O
|
||||
n3Pew/n9nue5OOT/qE/PJFpjTwLzrTfJJ4nMZHf09FT7vm3TLZKAv/JSEtDXF+sv4oToWqROnucA8MLl
|
||||
ydqz27GIub501+xgivNX5kezHcbBHKPh6cFEESdE3xlp4VkHnHPVWP0qx+pMA2hjG3g3Jbjs4FmbkJW1
|
||||
s9sM2r7iMnRI9SJOyERTuJVjVgRYAfvULVg/FmN5OB2LI5mgPpSBel8ESpsP83iekBxhMhMmOiJsIi4I
|
||||
WiMZN70ASq+AeUwGU/8V0Ka3Qler2N1zt/yewLOernW/Q8Q9E0Qx3v05pxAaYFe9IEsb4JxXwDFbhrzm
|
||||
GJxtCIfdkAzW/hk6ta+gTuriWRqsdQhuqgfMjza4Fu4LYBXomQLQU5m4pI5AcdcJJNXtBmvTQqf0Eeju
|
||||
Sp0cYwWz3AWXSS10vY0szRFkqaNx4WEEUusPoKAzAS0jcuS2Hke8fDu0Nb4C4cAzlACr4Pwuh8NYjIzG
|
||||
KDwZU6J9VOEFm0dqUfsqF6rBSpzXxCG6fDMIiJ9X8KUibJ626C1L+kecfbIetgklUoV9PXB1bxYqXmSg
|
||||
rDsNRV1nUPL8HOoGSpH8IAaBecTlFRhuhGYbZHub9OUhi+OyMIcnJ+/twePhWmiGbkL1phL1r2WCJB13
|
||||
BkqQpomH5Lq/OfAy2eIV/Kvi7+zkjsp3cLE1W7nDVQHcqYZDUPYXIaUxDkEFRLfrItkkfrq+Ci31Wzqt
|
||||
OobgfPIupJBsFF+vv4KvkqWgaxtACsmfn4gQ8hPkkfO+Q+IluQAAAABJRU5ErkJggg==
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKYSURBVDhPzZNbSFNxHMf/knR58qmgC0rQQ2lWNp1Shg+R
|
||||
+BZ0hZKkJCu1VipCJnnDnErqcF6o0JabmtfEsiuIQmmam9aq5SVcmjjNbW7zbDs753w7m6da0IOP/Thf
|
||||
zvkfzufz+/0eDvk/6tNj0bC+6wj97ekxrxylx7oiJsZbd22YaBL5/ZWXIr/u7ihfASdE3SB2cBwLgOMv
|
||||
d5afXfY5THcnOqf64hy/MjMksev7UvS6jr0nBJwQbXuYmWPscEyXYOmrDEuTtaD0LeBcJt5lA8dY+Swu
|
||||
n11GWBeNTl2bWCvghIzWh1hYepGH5bCNl8PyMQcLA4mYG0yG6UM+TO+zYRrOgFGTzieFn8yA0bZQq4Dz
|
||||
guYw2kXNwqSVw6iWwtCTCsrwlu9qEbq77+bfE7jX0zTvtgu4e4Jw2rM/6+BDAcySB2QoHRwzctin8pHe
|
||||
GInztSGw6WLB2D5Do/QWVIidHEOBsfTDZXoO+kcLnLP3eLAY1GQmqPFkXFGGIqfzFE5WbwdjHYam3Eug
|
||||
viN2sLQF9EInnAYl37UCEtUBSJQRuPQgFPE1e5DZfhxNgzKkNR9GjGwTNKVeAveBo008rIDjuwx2fQ6S
|
||||
6sLxSF2J1iG5B2wcLEPZqzQo+opwURWNiIK1ICA+HsGXwuAZyqw1z440sLaxGlhHKxHP7+uGS15IUPgs
|
||||
CfldCcjuPIvcJxdQ3ZuH2PuR2JhKnB6B7lbQVZ10Z722IHBOIw22u3P67g48HCiDqv82FG+KUPNayksS
|
||||
UdWbiwRVDEQ3fY1brpF1HsG/6lDVVjZKtpmNKl3P7i/2Y8/U7kNlTzbO1UXDP5OMbLtM1gifrqyC8nzm
|
||||
4xQHEZBB3gVmkdXC65VXwHUy739jFUgW+fMTEUJ+Av3G82Xe6HqeAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="btFind.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -248,45 +248,6 @@
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>440, 17</value>
|
||||
</metadata>
|
||||
<data name="autoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
R0lGODlhEAAQAIQfAJXG2JXa+ZLO5ChrlkCy4TZ1kiVvpCN0trvo9SN5xTd4lrfh7iR9zo3S+EGz7JDJ
|
||||
4TaCromrvC9ymyV+0Dd3mTl1koe72YvN7LTj+9ne6N3g6v7+/0Cw2Stoh////////yH/C05FVFNDQVBF
|
||||
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAInwA/CBzooaAHgQUHKvRQoUABCgUlHFT4IYMCBAsQIIBg
|
||||
wcBEgh0WCBDAgcAFDAc+fvDQIUKHDgMeEHDQIIFKlgoMGgjQoAGDmwUOehhg4EACBhM+GlzKVOkEBgkO
|
||||
GBggNOhCBhgCBPBYUEGHmwkCOCDwYMCAll8XHghwgQCHkQDSLjRgAcKDBwAAKNCwgaIHiR4oOKygkuDE
|
||||
pRQTK6YYEAA7
|
||||
</value>
|
||||
</data>
|
||||
<data name="resetToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
R0lGODlhEAAQAIQfALnik2aXQv7+/dPut73llbfala3LmW6gSWqdQ2eYRGqaSLfck568iYrUQN7yzF6R
|
||||
PLTXlYjUP8XwmYfQQLbYl4jRQGiaQsPumNbyu7nglNPzsLXYlf7+/lCHK////////yH/C05FVFNDQVBF
|
||||
Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIlgA/CBzooaAHgQUHEvSgIEAABQUfHFTIwQECDAMwYDhg
|
||||
oENCgRw8dBgAAECFBgsweJxYsAODDjApTIhAwCMHkCItGOxwgUCGlQQTeAgJsyhQg0iTGvzQ0qhND0IX
|
||||
dtBwQcJKDxZsIhQpIcIECkVffmwpYUGDCiUheBQg1cCBAgU2QFDg4KZCDxIZOoQ48S7LpQoDCx4cEAA7
|
||||
</value>
|
||||
</data>
|
||||
<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="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>334, 17</value>
|
||||
</metadata>
|
||||
@@ -314,8 +275,11 @@
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>667, 17</value>
|
||||
</metadata>
|
||||
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>729, 17</value>
|
||||
<metadata name="MeterialNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="SerialNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>65</value>
|
||||
|
||||
Reference in New Issue
Block a user