DataTable Search(string text) { WebUtil.JsonRequest request = new WebUtil.JsonRequest(); WebUtil.ProcAction action = request.NewAction(); StringBuilder sql = new StringBuilder(); int search_cd; bool isNumber = int.TryParse(text, out search_cd); action.proc = "sql"; sql.Append("SELECT loc_cd, loc_nm, CAST(IFNULL(loc_post_cd, 0) AS DECIMAL) AS loc_post_cd, IFNULL(loc_addr, '') AS loc_addr, IFNULL(loc_addr_dtl, '') AS loc_addr_dtl"); sql.Append(" FROM " + SYS.HBConstant.TB_MA_PICKUP_LOC); // The first time, we will finding with loc_cd // The next time, find with post cod or loc_cd, loc_nm, addr like searching string if (bolLocCd && !String.IsNullOrEmpty(text)) { sql.Append(" WHERE loc_cd = #{loc_cd} "); action.param.Add("loc_cd", text); } else if (isNumber) { sql.Append(" WHERE loc_cd like concat('%', #{search_cd}, '%') "); sql.Append(" OR loc_post_cd like concat('%', #{search_cd}, '%') "); action.param.Add("search_cd", search_cd); } else { sql.Append(" WHERE loc_nm like concat('%', #{loc_nm}, '%') "); sql.Append(" OR (loc_addr IS NULL OR loc_addr like concat('%', #{loc_nm}, '%')) "); sql.Append(" OR (loc_addr_dtl IS NULL OR loc_addr_dtl like concat('%', #{loc_nm}, '%')) "); action.param.Add("loc_nm", text); } bolLocCd = false; sql.Append(" ORDER BY loc_cd ASC "); action.text = sql.ToString(); WebUtil.WebClient client = new WebUtil.WebClient(); DataSet ds = client.Execute(request); if (client.check && ds != null && ds.Tables.Count > 0) { return(ds.Tables[0]); } else { return(null); } }
public void SearchServer() { WebUtil.JsonRequest request = new WebUtil.JsonRequest(); WebUtil.ProcAction action = request.NewAction(); action.proc = "sql"; action.text = "select * from tb_sys_version order by file_nm asc"; WebUtil.WebClient client = new WebUtil.WebClient(); DataSet ds = client.Execute(request); gridControl1.DataSource = ds.Tables[0]; }
void Search() { WebUtil.JsonRequest request = new WebUtil.JsonRequest(); WebUtil.ProcAction action1 = request.NewAction(); action1.proc = WebUtil.Values.PROC_SQL; action1.text = "select *, '' iud_flag from tb_sys_grid where concat(grid_id, grid_name, dll_name, class_name) like concat('%', #{find}, '%') "; action1.param.Add("find", scFind.Text); WebUtil.WebClient client = new WebUtil.WebClient(); DataSet ds = client.Execute(request); gridControl1.DataSource = ds.Tables[0]; }
public int SearchVersion(string fileName) { WebUtil.JsonRequest request = new WebUtil.JsonRequest(); WebUtil.ProcAction action = request.NewAction(); action.proc = "sql"; action.text = "select * from tb_sys_version where file_nm = #{file_nm}"; action.param.Add("file_nm", fileName); WebUtil.WebClient client = new WebUtil.WebClient(); DataSet ds = client.Execute(request); if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0) { return -1; } else { return Convert.ToInt32(ds.Tables[0].Rows[0]["file_ver"].ToString()); } }
DataTable Search(string text) { WebUtil.JsonRequest request = new WebUtil.JsonRequest(); WebUtil.ProcAction action = request.NewAction(); action.proc = "sql"; action.text = "select * from tb_sys_text where concat(id, ko, en, vi) like concat('%', #{text}, '%')"; action.param.Add("text", text); WebUtil.WebClient client = new WebUtil.WebClient(); DataSet ds = client.Execute(request); if (client.check && ds != null && ds.Tables.Count > 0) { return(ds.Tables[0]); } else { return(null); } }
void SearchDetail(int row) { if (row < 0) { gridControl2.DataSource = null; return; } WebUtil.JsonRequest request = new WebUtil.JsonRequest(); WebUtil.ProcAction action1 = request.NewAction(); action1.proc = WebUtil.Values.PROC_SQL; action1.text = "select *, '' col_text from tb_sys_grid_col where grid_id = #{grid_id} order by col_idx asc"; action1.param.Add("grid_id", gridView1.GetRowCellValue(row, "grid_id")); WebUtil.WebClient client = new WebUtil.WebClient(); DataSet ds = client.Execute(request); gridControl2.DataSource = ds.Tables[0]; for (int i = 0; i < gridView2.RowCount; i++) { string text_id = (string)gridView2.GetRowCellValue(i, "col_text_id"); if (text_id != null && text_id != "") { Dictionary <string, string> dic = CommonUtil.AccessDB.GetTextDictionary(text_id); if (dic == null || dic.Count == 0) { gridView2.SetRowCellValue(i, "col_text", "{\"ko\":\"\",\"en\":\"\",\"vi\":\"\"}"); } else { gridView2.SetRowCellValue(i, "col_text", CommonUtil.Converter.GetNameJson(dic)); } } } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WebUtil.ProcAction procAction1 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction2 = new WebUtil.ProcAction(); this.hbControlSearch = new HanbiControl.HbGroupControl(); this.scRole = new HanbiControl.HbComboEditH(); this.scLocation = new HanbiControl.HbPopupEditH(); this.scUserName = new HanbiControl.HbTextEditH(); this.hbControlUser = new HanbiControl.HbGroupControl(); this.gridUser = new DevExpress.XtraGrid.GridControl(); this.gridViewUser = new DevExpress.XtraGrid.Views.Grid.GridView(); this.hbControlForm = new HanbiControl.HbGroupControl(); this.cbRole = new HanbiControl.HbComboEditH(); this.chkUse = new HanbiControl.HbCheckEditH(); this.popLocation = new HanbiControl.HbPopupEditH(); this.txtPassword = new HanbiControl.HbTextEditH(); this.txtUserName = new HanbiControl.HbTextEditH(); this.txtUserID = new HanbiControl.HbTextEditH(); ((System.ComponentModel.ISupportInitialize)(this.hbControlSearch)).BeginInit(); this.hbControlSearch.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbControlUser)).BeginInit(); this.hbControlUser.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlForm)).BeginInit(); this.hbControlForm.SuspendLayout(); this.SuspendLayout(); // // hbControlSearch // this.hbControlSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlSearch.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlSearch.Appearance.Options.UseFont = true; this.hbControlSearch.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlSearch.AppearanceCaption.Options.UseFont = true; this.hbControlSearch.Controls.Add(this.scRole); this.hbControlSearch.Controls.Add(this.scLocation); this.hbControlSearch.Controls.Add(this.scUserName); this.hbControlSearch.HeaderTextId = "search"; this.hbControlSearch.Image = null; this.hbControlSearch.Location = new System.Drawing.Point(2, 0); this.hbControlSearch.Margin = new System.Windows.Forms.Padding(2); this.hbControlSearch.Name = "hbControlSearch"; this.hbControlSearch.ResId = ""; this.hbControlSearch.Size = new System.Drawing.Size(922, 64); this.hbControlSearch.TabIndex = 0; this.hbControlSearch.Text = "조회"; this.hbControlSearch.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // scRole // this.scRole.DataSource = null; this.scRole.DefaultRowName = "All"; this.scRole.DefaultRowValue = ""; this.scRole.DictionaryList = null; this.scRole.FieldName = "role_id"; this.scRole.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scRole.HeaderTextId = "role_id"; this.scRole.Location = new System.Drawing.Point(545, 25); this.scRole.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scRole.Name = "scRole"; this.scRole.ProcAction = procAction1; this.scRole.ReadOnlyBackColorKeep = true; this.scRole.ResId = ""; this.scRole.Size = new System.Drawing.Size(220, 29); this.scRole.TabIndex = 3; this.scRole.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scRole.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.scRole.Value = null; // // scLocation // this.scLocation.ConnectedControls = new HanbiControl.HbControl[0]; this.scLocation.FieldName = "loc_nm"; this.scLocation.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scLocation.HeaderTextId = "loc_nm"; this.scLocation.Location = new System.Drawing.Point(274, 25); this.scLocation.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scLocation.MaxLengh = 0; this.scLocation.Name = "scLocation"; this.scLocation.PopupFormClassName = "popPickupLocation"; this.scLocation.PopupFormDllName = "SYS"; this.scLocation.ReadOnlyBackColorKeep = true; this.scLocation.ResId = ""; this.scLocation.SelectionStart = 0; this.scLocation.Size = new System.Drawing.Size(266, 30); this.scLocation.TabIndex = 2; this.scLocation.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scLocation.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // scUserName // this.scUserName.FieldName = "user_nm"; this.scUserName.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scUserName.HeaderTextId = "user_nm"; this.scUserName.Location = new System.Drawing.Point(4, 25); this.scUserName.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scUserName.MaxLengh = 0; this.scUserName.Name = "scUserName"; this.scUserName.ReadOnlyBackColorKeep = true; this.scUserName.ResId = ""; this.scUserName.SelectionStart = 0; this.scUserName.Size = new System.Drawing.Size(266, 30); this.scUserName.TabIndex = 1; this.scUserName.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scUserName.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // hbControlUser // this.hbControlUser.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlUser.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlUser.Appearance.Options.UseFont = true; this.hbControlUser.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlUser.AppearanceCaption.Options.UseFont = true; this.hbControlUser.Controls.Add(this.gridUser); this.hbControlUser.HeaderTextId = "user"; this.hbControlUser.Image = null; this.hbControlUser.Location = new System.Drawing.Point(2, 68); this.hbControlUser.Margin = new System.Windows.Forms.Padding(2); this.hbControlUser.Name = "hbControlUser"; this.hbControlUser.ResId = ""; this.hbControlUser.Size = new System.Drawing.Size(640, 542); this.hbControlUser.TabIndex = 1; this.hbControlUser.Text = "User"; this.hbControlUser.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // gridUser // this.gridUser.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridUser.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2); this.gridUser.Location = new System.Drawing.Point(4, 25); this.gridUser.MainView = this.gridViewUser; this.gridUser.Margin = new System.Windows.Forms.Padding(2); this.gridUser.Name = "gridUser"; this.gridUser.Size = new System.Drawing.Size(636, 515); this.gridUser.TabIndex = 0; this.gridUser.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewUser }); // // gridViewUser // this.gridViewUser.GridControl = this.gridUser; this.gridViewUser.Name = "gridViewUser"; // // hbControlForm // this.hbControlForm.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlForm.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlForm.Appearance.Options.UseFont = true; this.hbControlForm.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlForm.AppearanceCaption.Options.UseFont = true; this.hbControlForm.Controls.Add(this.cbRole); this.hbControlForm.Controls.Add(this.chkUse); this.hbControlForm.Controls.Add(this.popLocation); this.hbControlForm.Controls.Add(this.txtPassword); this.hbControlForm.Controls.Add(this.txtUserName); this.hbControlForm.Controls.Add(this.txtUserID); this.hbControlForm.HeaderTextId = "form"; this.hbControlForm.Image = null; this.hbControlForm.Location = new System.Drawing.Point(646, 68); this.hbControlForm.Margin = new System.Windows.Forms.Padding(2); this.hbControlForm.Name = "hbControlForm"; this.hbControlForm.ResId = ""; this.hbControlForm.Size = new System.Drawing.Size(278, 542); this.hbControlForm.TabIndex = 2; this.hbControlForm.Text = "Form"; this.hbControlForm.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // cbRole // this.cbRole.DataSource = null; this.cbRole.DefaultRowName = "All"; this.cbRole.DefaultRowValue = ""; this.cbRole.DictionaryList = null; this.cbRole.FieldName = "role_id"; this.cbRole.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.cbRole.HeaderTextId = "role_id"; this.cbRole.Location = new System.Drawing.Point(5, 167); this.cbRole.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.cbRole.Name = "cbRole"; this.cbRole.ProcAction = procAction2; this.cbRole.ResId = ""; this.cbRole.Size = new System.Drawing.Size(265, 29); this.cbRole.TabIndex = 4; this.cbRole.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.cbRole.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.cbRole.Value = null; // // chkUse // this.chkUse.Checked = false; this.chkUse.FieldName = "use_yn"; this.chkUse.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.chkUse.HeaderTextId = "use_yn"; this.chkUse.Location = new System.Drawing.Point(5, 203); this.chkUse.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.chkUse.Name = "chkUse"; this.chkUse.ResId = ""; this.chkUse.Size = new System.Drawing.Size(266, 30); this.chkUse.TabIndex = 7; this.chkUse.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.chkUse.Value = "N"; // // popLocation // this.popLocation.ConnectedControls = new HanbiControl.HbControl[0]; this.popLocation.FieldName = "loc_cd"; this.popLocation.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.popLocation.HeaderTextId = "loc_cd"; this.popLocation.Location = new System.Drawing.Point(4, 130); this.popLocation.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.popLocation.MaxLengh = 0; this.popLocation.Name = "popLocation"; this.popLocation.PopupFormClassName = "popPickupLocation"; this.popLocation.PopupFormDllName = "SYS"; this.popLocation.ReadOnlyBackColorKeep = true; this.popLocation.ResId = ""; this.popLocation.SelectionStart = 0; this.popLocation.Size = new System.Drawing.Size(266, 30); this.popLocation.TabIndex = 6; this.popLocation.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.popLocation.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // txtPassword // this.txtPassword.FieldName = "user_pw"; this.txtPassword.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtPassword.HeaderTextId = "user_pw"; this.txtPassword.isPassword = true; this.txtPassword.Location = new System.Drawing.Point(4, 95); this.txtPassword.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtPassword.MaxLengh = 0; this.txtPassword.Name = "txtPassword"; this.txtPassword.ReadOnlyBackColorKeep = true; this.txtPassword.ResId = ""; this.txtPassword.SelectionStart = 0; this.txtPassword.Size = new System.Drawing.Size(266, 30); this.txtPassword.TabIndex = 5; this.txtPassword.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtPassword.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // txtUserName // this.txtUserName.FieldName = "user_nm"; this.txtUserName.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtUserName.HeaderTextId = "user_nm"; this.txtUserName.Location = new System.Drawing.Point(4, 60); this.txtUserName.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtUserName.MaxLengh = 0; this.txtUserName.Name = "txtUserName"; this.txtUserName.ResId = ""; this.txtUserName.SelectionStart = 0; this.txtUserName.Size = new System.Drawing.Size(266, 30); this.txtUserName.TabIndex = 4; this.txtUserName.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtUserName.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // txtUserID // this.txtUserID.FieldName = "user_id"; this.txtUserID.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtUserID.HeaderTextId = "id"; this.txtUserID.Location = new System.Drawing.Point(4, 25); this.txtUserID.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtUserID.MaxLengh = 0; this.txtUserID.Name = "txtUserID"; this.txtUserID.ReadOnlyBackColorKeep = true; this.txtUserID.ResId = ""; this.txtUserID.SelectionStart = 0; this.txtUserID.Size = new System.Drawing.Size(266, 30); this.txtUserID.TabIndex = 3; this.txtUserID.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtUserID.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // SYS_User // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.hbControlForm); this.Controls.Add(this.hbControlUser); this.Controls.Add(this.hbControlSearch); this.Margin = new System.Windows.Forms.Padding(2); this.Name = "SYS_User"; this.Size = new System.Drawing.Size(925, 610); ((System.ComponentModel.ISupportInitialize)(this.hbControlSearch)).EndInit(); this.hbControlSearch.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.hbControlUser)).EndInit(); this.hbControlUser.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridUser)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewUser)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlForm)).EndInit(); this.hbControlForm.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WebUtil.ProcAction procAction1 = new WebUtil.ProcAction(); this.hbControlSearch = new HanbiControl.HbGroupControl(); this.scUnitPrice = new HanbiControl.HbNumberEditH(); this.scComparison = new HanbiControl.HbComboEditH(); this.scUnit = new HanbiControl.HbTextEditH(); this.scProductDesc = new HanbiControl.HbTextEditH(); this.scProductName = new HanbiControl.HbTextEditH(); this.hbControlProduct = new HanbiControl.HbGroupControl(); this.gridProduct = new DevExpress.XtraGrid.GridControl(); this.gridViewProduct = new DevExpress.XtraGrid.Views.Grid.GridView(); this.hbControlForm = new HanbiControl.HbGroupControl(); this.txtProductName = new HanbiControl.HbTextEditH(); this.txtProductNameKo = new HanbiControl.HbTextEditH(); this.txtUnitPrice = new HanbiControl.HbNumberEditH(); this.txtUnit = new HanbiControl.HbTextEditH(); this.txtDesc = new HanbiControl.HbMemoEditH(); this.chkVat = new HanbiControl.HbCheckEditH(); this.txtProductNameEn = new HanbiControl.HbTextEditH(); this.txtProductId = new HanbiControl.HbTextEditH(); ((System.ComponentModel.ISupportInitialize)(this.hbControlSearch)).BeginInit(); this.hbControlSearch.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbControlProduct)).BeginInit(); this.hbControlProduct.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridProduct)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewProduct)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlForm)).BeginInit(); this.hbControlForm.SuspendLayout(); this.SuspendLayout(); // // hbControlSearch // this.hbControlSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlSearch.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlSearch.Appearance.Options.UseFont = true; this.hbControlSearch.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlSearch.AppearanceCaption.Options.UseFont = true; this.hbControlSearch.Controls.Add(this.scUnitPrice); this.hbControlSearch.Controls.Add(this.scComparison); this.hbControlSearch.Controls.Add(this.scUnit); this.hbControlSearch.Controls.Add(this.scProductDesc); this.hbControlSearch.Controls.Add(this.scProductName); this.hbControlSearch.HeaderTextId = "search"; this.hbControlSearch.Image = null; this.hbControlSearch.Location = new System.Drawing.Point(2, 2); this.hbControlSearch.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.hbControlSearch.Name = "hbControlSearch"; this.hbControlSearch.ResId = ""; this.hbControlSearch.Size = new System.Drawing.Size(1294, 102); this.hbControlSearch.TabIndex = 0; this.hbControlSearch.Text = "Search"; this.hbControlSearch.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // scUnitPrice // this.scUnitPrice.DecimalPlaces = 0; this.scUnitPrice.DefaultValue = new decimal(new int[] { 0, 0, 0, 0 }); this.scUnitPrice.FieldName = "unit_price"; this.scUnitPrice.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scUnitPrice.HeaderTextId = "unit_price"; this.scUnitPrice.Location = new System.Drawing.Point(480, 65); this.scUnitPrice.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scUnitPrice.MaxLengh = 0; this.scUnitPrice.Name = "scUnitPrice"; this.scUnitPrice.ReadOnlyBackColorKeep = true; this.scUnitPrice.ResId = ""; this.scUnitPrice.SelectionStart = 0; this.scUnitPrice.Size = new System.Drawing.Size(233, 32); this.scUnitPrice.TabIndex = 4; this.scUnitPrice.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scUnitPrice.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.scUnitPrice.Value = new decimal(new int[] { 0, 0, 0, 0 }); // // scComparison // this.scComparison.DataSource = null; this.scComparison.DefaultRowName = "All"; this.scComparison.DefaultRowValue = ""; this.scComparison.DictionaryList = null; this.scComparison.FieldName = "comparison"; this.scComparison.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scComparison.HeaderTextId = "comparison"; this.scComparison.Location = new System.Drawing.Point(242, 65); this.scComparison.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scComparison.Name = "scComparison"; this.scComparison.ProcAction = procAction1; this.scComparison.ReadOnlyBackColorKeep = true; this.scComparison.ResId = ""; this.scComparison.Size = new System.Drawing.Size(233, 32); this.scComparison.TabIndex = 3; this.scComparison.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scComparison.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.scComparison.Value = null; // // scUnit // this.scUnit.FieldName = "unit"; this.scUnit.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scUnit.HeaderTextId = "unit"; this.scUnit.Location = new System.Drawing.Point(4, 65); this.scUnit.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scUnit.MaxLengh = 0; this.scUnit.Name = "scUnit"; this.scUnit.ReadOnlyBackColorKeep = true; this.scUnit.ResId = ""; this.scUnit.SelectionStart = 0; this.scUnit.Size = new System.Drawing.Size(233, 32); this.scUnit.TabIndex = 2; this.scUnit.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scUnit.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // scProductDesc // this.scProductDesc.FieldName = "desc"; this.scProductDesc.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scProductDesc.HeaderTextId = "desc"; this.scProductDesc.Location = new System.Drawing.Point(242, 27); this.scProductDesc.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scProductDesc.MaxLengh = 0; this.scProductDesc.Name = "scProductDesc"; this.scProductDesc.ResId = ""; this.scProductDesc.SelectionStart = 0; this.scProductDesc.Size = new System.Drawing.Size(233, 32); this.scProductDesc.TabIndex = 1; this.scProductDesc.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scProductDesc.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // scProductName // this.scProductName.FieldName = "prod_nm"; this.scProductName.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scProductName.HeaderTextId = "prod_name"; this.scProductName.Location = new System.Drawing.Point(4, 27); this.scProductName.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scProductName.MaxLengh = 0; this.scProductName.Name = "scProductName"; this.scProductName.ReadOnlyBackColorKeep = true; this.scProductName.ResId = ""; this.scProductName.SelectionStart = 0; this.scProductName.Size = new System.Drawing.Size(233, 32); this.scProductName.TabIndex = 0; this.scProductName.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scProductName.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // hbControlProduct // this.hbControlProduct.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlProduct.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlProduct.Appearance.Options.UseFont = true; this.hbControlProduct.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlProduct.AppearanceCaption.Options.UseFont = true; this.hbControlProduct.Controls.Add(this.gridProduct); this.hbControlProduct.HeaderTextId = "prod"; this.hbControlProduct.Image = null; this.hbControlProduct.Location = new System.Drawing.Point(2, 108); this.hbControlProduct.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.hbControlProduct.Name = "hbControlProduct"; this.hbControlProduct.ResId = ""; this.hbControlProduct.Size = new System.Drawing.Size(968, 508); this.hbControlProduct.TabIndex = 1; this.hbControlProduct.Text = "Products"; this.hbControlProduct.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // gridProduct // this.gridProduct.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridProduct.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.gridProduct.Location = new System.Drawing.Point(4, 27); this.gridProduct.MainView = this.gridViewProduct; this.gridProduct.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.gridProduct.Name = "gridProduct"; this.gridProduct.Size = new System.Drawing.Size(960, 481); this.gridProduct.TabIndex = 0; this.gridProduct.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewProduct }); // // gridViewProduct // this.gridViewProduct.GridControl = this.gridProduct; this.gridViewProduct.Name = "gridViewProduct"; // // hbControlForm // this.hbControlForm.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlForm.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlForm.Appearance.Options.UseFont = true; this.hbControlForm.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbControlForm.AppearanceCaption.Options.UseFont = true; this.hbControlForm.Controls.Add(this.txtProductName); this.hbControlForm.Controls.Add(this.txtProductNameKo); this.hbControlForm.Controls.Add(this.txtUnitPrice); this.hbControlForm.Controls.Add(this.txtUnit); this.hbControlForm.Controls.Add(this.txtDesc); this.hbControlForm.Controls.Add(this.chkVat); this.hbControlForm.Controls.Add(this.txtProductNameEn); this.hbControlForm.Controls.Add(this.txtProductId); this.hbControlForm.HeaderTextId = "form"; this.hbControlForm.Image = null; this.hbControlForm.Location = new System.Drawing.Point(975, 108); this.hbControlForm.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.hbControlForm.Name = "hbControlForm"; this.hbControlForm.ResId = ""; this.hbControlForm.Size = new System.Drawing.Size(322, 508); this.hbControlForm.TabIndex = 2; this.hbControlForm.Text = "Form"; this.hbControlForm.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // txtProductName // this.txtProductName.FieldName = "prod_nm"; this.txtProductName.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtProductName.HeaderTextId = "prod_nm"; this.txtProductName.Location = new System.Drawing.Point(4, 140); this.txtProductName.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtProductName.MaxLengh = 0; this.txtProductName.Name = "txtProductName"; this.txtProductName.ResId = ""; this.txtProductName.SelectionStart = 0; this.txtProductName.Size = new System.Drawing.Size(311, 32); this.txtProductName.TabIndex = 3; this.txtProductName.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtProductName.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // txtProductNameKo // this.txtProductNameKo.FieldName = "prod_nm_ko"; this.txtProductNameKo.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtProductNameKo.HeaderTextId = "prod_nm_ko"; this.txtProductNameKo.Location = new System.Drawing.Point(4, 65); this.txtProductNameKo.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtProductNameKo.MaxLengh = 0; this.txtProductNameKo.Name = "txtProductNameKo"; this.txtProductNameKo.ReadOnlyBackColorKeep = true; this.txtProductNameKo.ResId = ""; this.txtProductNameKo.SelectionStart = 0; this.txtProductNameKo.Size = new System.Drawing.Size(311, 32); this.txtProductNameKo.TabIndex = 1; this.txtProductNameKo.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtProductNameKo.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // txtUnitPrice // this.txtUnitPrice.DecimalPlaces = 0; this.txtUnitPrice.DefaultValue = new decimal(new int[] { 0, 0, 0, 0 }); this.txtUnitPrice.FieldName = "unit_price"; this.txtUnitPrice.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtUnitPrice.HeaderTextId = "unit_price"; this.txtUnitPrice.Location = new System.Drawing.Point(4, 322); this.txtUnitPrice.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtUnitPrice.MaxLengh = 0; this.txtUnitPrice.Name = "txtUnitPrice"; this.txtUnitPrice.ResId = ""; this.txtUnitPrice.SelectionStart = 0; this.txtUnitPrice.Size = new System.Drawing.Size(311, 32); this.txtUnitPrice.TabIndex = 7; this.txtUnitPrice.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtUnitPrice.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.txtUnitPrice.Value = new decimal(new int[] { 0, 0, 0, 0 }); // // txtUnit // this.txtUnit.FieldName = "unit"; this.txtUnit.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtUnit.HeaderTextId = "unit"; this.txtUnit.Location = new System.Drawing.Point(4, 284); this.txtUnit.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtUnit.MaxLengh = 0; this.txtUnit.Name = "txtUnit"; this.txtUnit.ReadOnlyBackColorKeep = true; this.txtUnit.ResId = ""; this.txtUnit.SelectionStart = 0; this.txtUnit.Size = new System.Drawing.Size(311, 32); this.txtUnit.TabIndex = 6; this.txtUnit.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtUnit.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // txtDesc // this.txtDesc.FieldName = "desc"; this.txtDesc.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtDesc.HeaderTextId = "desc"; this.txtDesc.Location = new System.Drawing.Point(4, 178); this.txtDesc.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtDesc.MaxLengh = 0; this.txtDesc.Name = "txtDesc"; this.txtDesc.ReadOnlyBackColorKeep = true; this.txtDesc.ResId = ""; this.txtDesc.SelectionStart = 0; this.txtDesc.Size = new System.Drawing.Size(311, 63); this.txtDesc.TabIndex = 4; this.txtDesc.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtDesc.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // chkVat // this.chkVat.Checked = false; this.chkVat.FieldName = "vat_tp"; this.chkVat.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.chkVat.HeaderTextId = "vat_tp"; this.chkVat.Location = new System.Drawing.Point(4, 247); this.chkVat.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.chkVat.Name = "chkVat"; this.chkVat.ResId = ""; this.chkVat.Size = new System.Drawing.Size(311, 32); this.chkVat.TabIndex = 5; this.chkVat.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.chkVat.Value = "N"; // // txtProductNameEn // this.txtProductNameEn.FieldName = "prod_nm_en"; this.txtProductNameEn.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtProductNameEn.HeaderTextId = "prod_nm_en"; this.txtProductNameEn.Location = new System.Drawing.Point(4, 102); this.txtProductNameEn.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtProductNameEn.MaxLengh = 0; this.txtProductNameEn.Name = "txtProductNameEn"; this.txtProductNameEn.ResId = ""; this.txtProductNameEn.SelectionStart = 0; this.txtProductNameEn.Size = new System.Drawing.Size(311, 32); this.txtProductNameEn.TabIndex = 2; this.txtProductNameEn.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtProductNameEn.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // txtProductId // this.txtProductId.FieldName = "prod_cd"; this.txtProductId.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtProductId.HeaderTextId = "prod_cd"; this.txtProductId.Location = new System.Drawing.Point(4, 27); this.txtProductId.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.txtProductId.MaxLengh = 0; this.txtProductId.Name = "txtProductId"; this.txtProductId.ReadOnlyBackColorKeep = true; this.txtProductId.ResId = ""; this.txtProductId.SelectionStart = 0; this.txtProductId.Size = new System.Drawing.Size(311, 32); this.txtProductId.TabIndex = 0; this.txtProductId.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtProductId.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // MA_Product // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.hbControlForm); this.Controls.Add(this.hbControlProduct); this.Controls.Add(this.hbControlSearch); this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Name = "MA_Product"; this.Size = new System.Drawing.Size(1299, 618); ((System.ComponentModel.ISupportInitialize)(this.hbControlSearch)).EndInit(); this.hbControlSearch.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.hbControlProduct)).EndInit(); this.hbControlProduct.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridProduct)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewProduct)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlForm)).EndInit(); this.hbControlForm.ResumeLayout(false); this.ResumeLayout(false); }
void Save() { if (gridView1.RowCount == 0) { return; } if (etGridId.Text == "") { //XtraMessageBox.Show("그리드ID는 필수입력입니다.", "경고"); XtraMessageBox.Show("Id của bảng đang để trống.", "Thông báo"); return; } WebUtil.JsonRequest request = new WebUtil.JsonRequest(); string iudFlag = gridView1.GetRowCellValue(gridView1.FocusedRowHandle, "iud_flag").ToString(); if (iudFlag == "I") { WebUtil.ProcAction gridAction = request.NewAction(); gridAction.proc = WebUtil.Values.PROC_SQL; gridAction.text = "insert into tb_sys_grid(grid_id, dll_name, class_name, grid_name, grid_desc, in_id, up_id) "; gridAction.text += "values(#{grid_id}, #{dll_name}, #{class_name}, #{grid_name}, #{grid_desc}, #{user_id}, #{user_id})"; gridAction.param.Add("grid_id", etGridId.Text); gridAction.param.Add("dll_name", etDllName.Text); gridAction.param.Add("class_name", etClassName.Text); gridAction.param.Add("grid_name", etGridName.Text); gridAction.param.Add("grid_desc", etGridDesc.Text); gridAction.param.Add("user_id", COM.UserInfo.UserID); } else { WebUtil.ProcAction gridAction = request.NewAction(); gridAction.proc = WebUtil.Values.PROC_SQL; gridAction.text = "update tb_sys_grid set dll_name = #{dll_name}, class_name = #{class_name}, grid_name = #{grid_name}, "; gridAction.text += "grid_desc = #{grid_desc}, up_id = #{user_id} where grid_id = #{grid_id}"; gridAction.param.Add("grid_id", etGridId.Text); gridAction.param.Add("dll_name", etDllName.Text); gridAction.param.Add("class_name", etClassName.Text); gridAction.param.Add("grid_name", etGridName.Text); gridAction.param.Add("grid_desc", etGridDesc.Text); gridAction.param.Add("user_id", COM.UserInfo.UserID); } WebUtil.ProcAction deleteAction = request.NewAction(); deleteAction.proc = WebUtil.Values.PROC_SQL; deleteAction.text = "delete from tb_sys_grid_col where grid_id = #{grid_id} "; deleteAction.param.Add("grid_id", etGridId.Text); for (int i = 0; i < gridView2.RowCount; i++) { WebUtil.ProcAction colAction = request.NewAction(); colAction.proc = WebUtil.Values.PROC_SQL; colAction.text = "insert into tb_sys_grid_col(grid_id, in_id, up_id, mandatory_yn, visible_yn, "; colAction.text += "readonly_yn, allow_focus_yn, sort_yn, filter_yn, col_idx, col_text_id, field_name, col_width, col_align, "; colAction.text += "decimal_places, sub_total, sum_type, value_checked, value_unchecked, header_checkbox, mask, default_row, "; colAction.text += "default_row_value, default_row_name, action_proc, action_text, action_param, col_type, dll_name, class_name) "; colAction.text += "values(#{grid_id}, #{user_id}, #{user_id}, #{mandatory_yn}, #{visible_yn}, #{readonly_yn}, "; colAction.text += "#{allow_focus_yn}, #{sort_yn}, #{filter_yn}, #{col_idx}, #{col_text_id}, #{field_name}, #{col_width}, "; colAction.text += "#{col_align}, #{decimal_places}, #{sub_total}, #{sum_type}, #{value_checked}, #{value_unchecked}, "; colAction.text += "#{header_checkbox}, #{mask}, #{default_row}, #{default_row_value}, #{default_row_name}, #{action_proc}, "; colAction.text += "#{action_text}, #{action_param}, #{col_type}, #{dll_name}, #{class_name})"; colAction.param.Add("grid_id", etGridId.Text); colAction.param.Add("user_id", COM.UserInfo.UserID); colAction.param.Add("mandatory_yn", gridView2.GetRowCellValue(i, "mandatory_yn")); colAction.param.Add("visible_yn", gridView2.GetRowCellValue(i, "visible_yn")); colAction.param.Add("readonly_yn", gridView2.GetRowCellValue(i, "readonly_yn")); colAction.param.Add("allow_focus_yn", gridView2.GetRowCellValue(i, "allow_focus_yn")); colAction.param.Add("sort_yn", gridView2.GetRowCellValue(i, "sort_yn")); colAction.param.Add("filter_yn", gridView2.GetRowCellValue(i, "filter_yn")); colAction.param.Add("col_idx", gridView2.GetRowCellValue(i, "col_idx")); colAction.param.Add("col_text_id", gridView2.GetRowCellValue(i, "col_text_id")); colAction.param.Add("field_name", gridView2.GetRowCellValue(i, "field_name")); colAction.param.Add("col_width", gridView2.GetRowCellValue(i, "col_width")); colAction.param.Add("col_align", gridView2.GetRowCellValue(i, "col_align")); colAction.param.Add("decimal_places", gridView2.GetRowCellValue(i, "decimal_places")); colAction.param.Add("sub_total", gridView2.GetRowCellValue(i, "sub_total")); colAction.param.Add("sum_type", gridView2.GetRowCellValue(i, "sum_type")); colAction.param.Add("value_checked", gridView2.GetRowCellValue(i, "value_checked")); colAction.param.Add("value_unchecked", gridView2.GetRowCellValue(i, "value_unchecked")); colAction.param.Add("header_checkbox", gridView2.GetRowCellValue(i, "header_checkbox")); colAction.param.Add("mask", gridView2.GetRowCellValue(i, "mask")); colAction.param.Add("default_row", gridView2.GetRowCellValue(i, "default_row")); colAction.param.Add("default_row_value", gridView2.GetRowCellValue(i, "default_row_value")); colAction.param.Add("default_row_name", gridView2.GetRowCellValue(i, "default_row_name")); colAction.param.Add("action_proc", gridView2.GetRowCellValue(i, "action_proc")); colAction.param.Add("action_text", gridView2.GetRowCellValue(i, "action_text")); colAction.param.Add("action_param", gridView2.GetRowCellValue(i, "action_param")); colAction.param.Add("col_type", gridView2.GetRowCellValue(i, "col_type")); colAction.param.Add("dll_name", gridView2.GetRowCellValue(i, "dll_name")); colAction.param.Add("class_name", gridView2.GetRowCellValue(i, "class_name")); } WebUtil.WebClient client = new WebUtil.WebClient(); DataSet ds = client.Execute(request); if (client.check) { //XtraMessageBox.Show("저장 했습니다.", "성공"); XtraMessageBox.Show("Lưu thành công.", "Thông báo"); Search(); } else { Console.WriteLine(client.message); //XtraMessageBox.Show("저장 실패: " + client.message, "실패"); XtraMessageBox.Show("Có lỗi xảy ra: \n" + client.message, "Lỗi"); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WebUtil.ProcAction procAction2 = new WebUtil.ProcAction(); this.hbGroupControl1 = new HanbiControl.HbGroupControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.scEndDate = new HanbiControl.HbDateEditH(); this.scStartDate = new HanbiControl.HbDateEditH(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.hbGroupControl2 = new HanbiControl.HbGroupControl(); this.btnExport = new HanbiControl.HbSimpleButton(); this.grd_supplier = new DevExpress.XtraGrid.GridControl(); this.grd_view_supplier = new DevExpress.XtraGrid.Views.Grid.GridView(); this.hbGroupControl3 = new HanbiControl.HbGroupControl(); this.grd_order = new DevExpress.XtraGrid.GridControl(); this.grd_view_order = new DevExpress.XtraGrid.Views.Grid.GridView(); this.scSupplier = new HanbiControl.HbComboEditH(); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl1)).BeginInit(); this.hbGroupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl2)).BeginInit(); this.hbGroupControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grd_supplier)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grd_view_supplier)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl3)).BeginInit(); this.hbGroupControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.grd_order)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grd_view_order)).BeginInit(); this.SuspendLayout(); // // hbGroupControl1 // this.hbGroupControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbGroupControl1.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbGroupControl1.Appearance.Options.UseFont = true; this.hbGroupControl1.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbGroupControl1.AppearanceCaption.Options.UseFont = true; this.hbGroupControl1.Controls.Add(this.scSupplier); this.hbGroupControl1.Controls.Add(this.labelControl1); this.hbGroupControl1.Controls.Add(this.scEndDate); this.hbGroupControl1.Controls.Add(this.scStartDate); this.hbGroupControl1.HeaderTextId = "search"; this.hbGroupControl1.Image = null; this.hbGroupControl1.Location = new System.Drawing.Point(3, 3); this.hbGroupControl1.Name = "hbGroupControl1"; this.hbGroupControl1.ResId = ""; this.hbGroupControl1.Size = new System.Drawing.Size(1042, 60); this.hbGroupControl1.TabIndex = 0; this.hbGroupControl1.Text = "Search"; this.hbGroupControl1.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(515, 35); this.labelControl1.Margin = new System.Windows.Forms.Padding(2); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(8, 13); this.labelControl1.TabIndex = 23; this.labelControl1.Text = "~"; // // scEndDate // this.scEndDate.DateTime = new System.DateTime(2020, 5, 30, 0, 0, 0, 0); this.scEndDate.FieldName = "end_date"; this.scEndDate.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scEndDate.HeaderTextId = "end_date"; this.scEndDate.Location = new System.Drawing.Point(527, 27); this.scEndDate.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scEndDate.MaxLengh = 0; this.scEndDate.Name = "scEndDate"; this.scEndDate.ReadOnlyBackColorKeep = true; this.scEndDate.ResId = ""; this.scEndDate.SelectionStart = 0; this.scEndDate.Size = new System.Drawing.Size(200, 29); this.scEndDate.TabIndex = 22; this.scEndDate.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scEndDate.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.scEndDate.Value = "2020-05-30"; // // scStartDate // this.scStartDate.DateTime = new System.DateTime(2020, 5, 30, 0, 0, 0, 0); this.scStartDate.FieldName = "start_date"; this.scStartDate.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scStartDate.HeaderTextId = "start_date"; this.scStartDate.Location = new System.Drawing.Point(310, 27); this.scStartDate.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scStartDate.MaxLengh = 0; this.scStartDate.Name = "scStartDate"; this.scStartDate.ReadOnlyBackColorKeep = true; this.scStartDate.ResId = ""; this.scStartDate.SelectionStart = 0; this.scStartDate.Size = new System.Drawing.Size(200, 29); this.scStartDate.TabIndex = 21; this.scStartDate.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scStartDate.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.scStartDate.Value = "2020-05-30"; // // splitContainerControl1 // this.splitContainerControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(3, 69); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.hbGroupControl2); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.hbGroupControl3); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(1047, 524); this.splitContainerControl1.SplitterPosition = 281; this.splitContainerControl1.TabIndex = 1; this.splitContainerControl1.Text = "splitContainerControl1"; // // hbGroupControl2 // this.hbGroupControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbGroupControl2.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbGroupControl2.Appearance.Options.UseFont = true; this.hbGroupControl2.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbGroupControl2.AppearanceCaption.Options.UseFont = true; this.hbGroupControl2.Controls.Add(this.btnExport); this.hbGroupControl2.Controls.Add(this.grd_supplier); this.hbGroupControl2.HeaderTextId = "supplier"; this.hbGroupControl2.Image = null; this.hbGroupControl2.Location = new System.Drawing.Point(0, 0); this.hbGroupControl2.Name = "hbGroupControl2"; this.hbGroupControl2.ResId = ""; this.hbGroupControl2.Size = new System.Drawing.Size(1041, 281); this.hbGroupControl2.TabIndex = 0; this.hbGroupControl2.Text = null; this.hbGroupControl2.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // btnExport // this.btnExport.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnExport.HeaderTextId = "export"; this.btnExport.Image = null; this.btnExport.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnExport.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnExport.Location = new System.Drawing.Point(5, 24); this.btnExport.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnExport.Name = "btnExport"; this.btnExport.ResId = ""; this.btnExport.Size = new System.Drawing.Size(55, 55); this.btnExport.TabIndex = 1; this.btnExport.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.btnExport.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnExport_HbClick); // // grd_supplier // this.grd_supplier.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grd_supplier.Location = new System.Drawing.Point(66, 24); this.grd_supplier.MainView = this.grd_view_supplier; this.grd_supplier.Name = "grd_supplier"; this.grd_supplier.Size = new System.Drawing.Size(970, 252); this.grd_supplier.TabIndex = 0; this.grd_supplier.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.grd_view_supplier }); // // grd_view_supplier // this.grd_view_supplier.GridControl = this.grd_supplier; this.grd_view_supplier.Name = "grd_view_supplier"; this.grd_view_supplier.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.grd_view_supplier_RowCellStyle); this.grd_view_supplier.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.grd_view_supplier_FocusedRowChanged); this.grd_view_supplier.DoubleClick += new System.EventHandler(this.grd_view_supplier_DoubleClick); this.grd_view_supplier.DataSourceChanged += new System.EventHandler(this.grd_view_supplier_DataSourceChanged); // // hbGroupControl3 // this.hbGroupControl3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbGroupControl3.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbGroupControl3.Appearance.Options.UseFont = true; this.hbGroupControl3.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.hbGroupControl3.AppearanceCaption.Options.UseFont = true; this.hbGroupControl3.Controls.Add(this.grd_order); this.hbGroupControl3.HeaderTextId = "order"; this.hbGroupControl3.Image = null; this.hbGroupControl3.Location = new System.Drawing.Point(0, 0); this.hbGroupControl3.Name = "hbGroupControl3"; this.hbGroupControl3.ResId = ""; this.hbGroupControl3.Size = new System.Drawing.Size(1041, 235); this.hbGroupControl3.TabIndex = 0; this.hbGroupControl3.Text = "Order"; this.hbGroupControl3.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // grd_order // this.grd_order.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grd_order.Location = new System.Drawing.Point(5, 23); this.grd_order.MainView = this.grd_view_order; this.grd_order.Name = "grd_order"; this.grd_order.Size = new System.Drawing.Size(1031, 204); this.grd_order.TabIndex = 0; this.grd_order.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.grd_view_order }); // // grd_view_order // this.grd_view_order.GridControl = this.grd_order; this.grd_view_order.Name = "grd_view_order"; // // scSupplier // this.scSupplier.DataSource = null; this.scSupplier.DefaultRowName = "All"; this.scSupplier.DefaultRowValue = ""; this.scSupplier.DictionaryList = null; this.scSupplier.FieldName = "supplier_code"; this.scSupplier.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scSupplier.HeaderTextId = "supplier_nm"; this.scSupplier.HeaderWidth = 130; this.scSupplier.Location = new System.Drawing.Point(5, 27); this.scSupplier.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scSupplier.Name = "scSupplier"; this.scSupplier.ProcAction = procAction2; this.scSupplier.ReadOnlyBackColorKeep = true; this.scSupplier.ResId = ""; this.scSupplier.Size = new System.Drawing.Size(300, 29); this.scSupplier.TabIndex = 1; this.scSupplier.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scSupplier.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.scSupplier.Value = null; // // MA_Supplier_Order // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.hbGroupControl1); this.Name = "MA_Supplier_Order"; this.Size = new System.Drawing.Size(1047, 596); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl1)).EndInit(); this.hbGroupControl1.ResumeLayout(false); this.hbGroupControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl2)).EndInit(); this.hbGroupControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grd_supplier)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grd_view_supplier)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl3)).EndInit(); this.hbGroupControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.grd_order)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grd_view_order)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WebUtil.ProcAction procAction1 = new WebUtil.ProcAction(); this.grpLogin = new HanbiControl.HbGroupControl(); this.chkLoginInfoSave = new HanbiControl.HbCheckEditH(); this.cbLang = new HanbiControl.HbComboEditH(); this.btnLogin = new HanbiControl.HbSimpleButton(); this.etPw = new HanbiControl.HbTextEditH(); this.etId = new HanbiControl.HbTextEditH(); ((System.ComponentModel.ISupportInitialize)(this.grpLogin)).BeginInit(); this.grpLogin.SuspendLayout(); this.SuspendLayout(); // // grpLogin // this.grpLogin.Appearance.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.grpLogin.Appearance.Options.UseFont = true; this.grpLogin.AppearanceCaption.Font = new System.Drawing.Font("Malgun Gothic", 9F); this.grpLogin.AppearanceCaption.Options.UseFont = true; this.grpLogin.Controls.Add(this.chkLoginInfoSave); this.grpLogin.Controls.Add(this.cbLang); this.grpLogin.Controls.Add(this.btnLogin); this.grpLogin.Controls.Add(this.etPw); this.grpLogin.Controls.Add(this.etId); this.grpLogin.HeaderTextId = "login"; this.grpLogin.Image = null; this.grpLogin.Location = new System.Drawing.Point(127, 75); this.grpLogin.Margin = new System.Windows.Forms.Padding(2); this.grpLogin.Name = "grpLogin"; this.grpLogin.ResId = ""; this.grpLogin.Size = new System.Drawing.Size(293, 230); this.grpLogin.TabIndex = 0; this.grpLogin.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // chkLoginInfoSave // this.chkLoginInfoSave.Checked = false; this.chkLoginInfoSave.FieldName = ""; this.chkLoginInfoSave.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.chkLoginInfoSave.HeaderTextId = "login_info_save"; this.chkLoginInfoSave.Location = new System.Drawing.Point(14, 135); this.chkLoginInfoSave.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.chkLoginInfoSave.Name = "chkLoginInfoSave"; this.chkLoginInfoSave.ResId = ""; this.chkLoginInfoSave.Size = new System.Drawing.Size(267, 29); this.chkLoginInfoSave.TabIndex = 4; this.chkLoginInfoSave.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.chkLoginInfoSave.Value = "N"; // // cbLang // this.cbLang.DataSource = null; this.cbLang.DefaultRowName = "All"; this.cbLang.DefaultRowValue = ""; this.cbLang.DictionaryList = null; this.cbLang.FieldName = ""; this.cbLang.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.cbLang.HeaderTextId = "lang"; this.cbLang.Location = new System.Drawing.Point(14, 31); this.cbLang.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.cbLang.Name = "cbLang"; this.cbLang.ProcAction = procAction1; this.cbLang.ResId = ""; this.cbLang.Size = new System.Drawing.Size(267, 29); this.cbLang.TabIndex = 1; this.cbLang.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.cbLang.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.cbLang.Value = null; // // btnLogin // this.btnLogin.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnLogin.HeaderTextId = "login"; this.btnLogin.Image = null; this.btnLogin.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnLogin.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnLogin.Location = new System.Drawing.Point(194, 175); this.btnLogin.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnLogin.Name = "btnLogin"; this.btnLogin.ResId = ""; this.btnLogin.Size = new System.Drawing.Size(87, 43); this.btnLogin.TabIndex = 5; this.btnLogin.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); this.btnLogin.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnLogin_HbClick); // // etPw // this.etPw.FieldName = ""; this.etPw.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etPw.HeaderTextId = "password"; this.etPw.isPassword = true; this.etPw.Location = new System.Drawing.Point(14, 101); this.etPw.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.etPw.MaxLengh = 0; this.etPw.Name = "etPw"; this.etPw.ResId = ""; this.etPw.SelectionStart = 0; this.etPw.Size = new System.Drawing.Size(267, 29); this.etPw.TabIndex = 3; this.etPw.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etPw.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // etId // this.etId.FieldName = ""; this.etId.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etId.HeaderTextId = "id"; this.etId.Location = new System.Drawing.Point(14, 66); this.etId.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.etId.MaxLengh = 0; this.etId.Name = "etId"; this.etId.ResId = ""; this.etId.SelectionStart = 0; this.etId.Size = new System.Drawing.Size(267, 29); this.etId.TabIndex = 2; this.etId.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etId.TextFont = new System.Drawing.Font("Malgun Gothic", 9F); // // APP_Login // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.grpLogin); this.Margin = new System.Windows.Forms.Padding(2); this.Name = "APP_Login"; this.Size = new System.Drawing.Size(691, 468); this.Load += new System.EventHandler(this.APP_Login_Load); this.Resize += new System.EventHandler(this.APP_Login_Resize); ((System.ComponentModel.ISupportInitialize)(this.grpLogin)).EndInit(); this.grpLogin.ResumeLayout(false); this.ResumeLayout(false); }
void Search() { WebUtil.JsonRequest request = new WebUtil.JsonRequest(); WebUtil.ProcAction action = request.NewAction(); action.proc = "sql"; //action.text = "select a.user_id, a.user_nm, a.loc_cd, ifnull(b.loc_nm, '') loc_nm, ifnull(b.loc_addr, '') loc_addr, ifnull(b.tel_no, '') tel_no, b.store_cd, b.pos_no "; action.text = "select a.user_id, a.user_nm, a.loc_cd, ifnull(b.loc_nm, '') loc_nm, ifnull(b.loc_addr, '') loc_addr, ifnull(b.tel_no, '') tel_no, b.store_cd, b.pos_no, ifnull(a.role_id, '') role_id "; action.text += "from tb_sys_user a "; action.text += " left join tb_ma_pickup_loc b on a.loc_cd = b.loc_cd "; //action.text += "where a.use_yn = 'Y' and a.user_id = #{user_id} and CAST(FROM_BASE64(a.user_pw) AS CHAR CHARACTER SET utf8) = #{user_pw}"; action.text += "where a.use_yn = 'Y' and a.user_id = #{user_id} and a.user_pw = #{user_pw}"; //action.text += "where a.use_yn = 'Y' and a.user_id = #{user_id}"; action.param.Add("user_id", etId.Text); action.param.Add("user_pw", COM.AES256.AESEncrypt256(etPw.Text)); WebUtil.WebClient client = new WebUtil.WebClient(); DataSet ds = client.Execute(request); if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0) { //XtraMessageBox.Show("Login Failed..."); XtraMessageBox.Show("Đăng nhập thất bại.", "Lỗi"); etId.Focus(); } else { DataTable dt = ds.Tables[0]; COM.UserInfo.UserID = dt.Rows[0]["user_id"].ToString(); COM.UserInfo.UserName = dt.Rows[0]["user_nm"].ToString(); COM.UserInfo.LocCode = dt.Rows[0]["loc_cd"].ToString(); COM.UserInfo.LocName = dt.Rows[0]["loc_nm"].ToString(); COM.UserInfo.LocAddr = dt.Rows[0]["loc_addr"].ToString(); COM.UserInfo.LocTelNo = dt.Rows[0]["tel_no"].ToString(); COM.UserInfo.StoreCd = dt.Rows[0]["store_cd"].ToString(); COM.UserInfo.PosNo = dt.Rows[0]["pos_no"].ToString(); //COM.UserInfo.StoreCd = "9999"; //COM.UserInfo.PosNo = "9000"; COM.UserInfo.RoleID = dt.Rows[0]["role_id"].ToString(); if (chkLoginInfoSave.Checked && COM.UserInfo.RoleID == "0") { CommonUtil.AccessDB.SetConfig("login_info_save", "Y"); CommonUtil.AccessDB.SetConfig("user_id", etId.Text); CommonUtil.AccessDB.SetConfig("user_pw", CommonUtil.Converter.Encrypt(etPw.Text)); CommonUtil.AccessDB.SetConfig("if_flag", "Y"); CommonUtil.AccessDB.SetConfig("cancel_flag", "Y"); } else { CommonUtil.AccessDB.SetConfig("login_info_save", chkLoginInfoSave.Checked? "Y" : "N"); CommonUtil.AccessDB.SetConfig("user_id", chkLoginInfoSave.Checked ? etId.Text : ""); CommonUtil.AccessDB.SetConfig("user_pw", chkLoginInfoSave.Checked ? CommonUtil.Converter.Encrypt(etPw.Text) : ""); CommonUtil.AccessDB.SetConfig("if_flag", "N"); CommonUtil.AccessDB.SetConfig("cancel_flag", "N"); } Main mainForm = (Main)this.Parent; mainForm.AfterLogin(); this.Dispose(); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WebUtil.ProcAction procAction4 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction5 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction1 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction2 = new WebUtil.ProcAction(); this.hbGroupControl1 = new HanbiControl.HbGroupControl(); this.txtAlarm = new HanbiControl.HbComboEditH(); this.txtGreen = new HanbiControl.HbComboEditH(); this.txtAmber = new HanbiControl.HbComboEditH(); this.txtRed = new HanbiControl.HbComboEditH(); this.btnGet = new HanbiControl.HbSimpleButton(); this.btnSet = new HanbiControl.HbSimpleButton(); this.txtSound = new HanbiControl.HbNumberEditH(); this.etPort = new HanbiControl.HbTextEditH(); this.etRequest = new HanbiControl.HbTextEditH(); this.etResponse = new HanbiControl.HbTextEditH(); this.btnRequest = new HanbiControl.HbSimpleButton(); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl1)).BeginInit(); this.hbGroupControl1.SuspendLayout(); this.SuspendLayout(); // // hbGroupControl1 // this.hbGroupControl1.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbGroupControl1.Appearance.Options.UseFont = true; this.hbGroupControl1.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbGroupControl1.AppearanceCaption.Options.UseFont = true; this.hbGroupControl1.Controls.Add(this.btnRequest); this.hbGroupControl1.Controls.Add(this.etResponse); this.hbGroupControl1.Controls.Add(this.etRequest); this.hbGroupControl1.Controls.Add(this.etPort); this.hbGroupControl1.Controls.Add(this.txtAlarm); this.hbGroupControl1.Controls.Add(this.txtGreen); this.hbGroupControl1.Controls.Add(this.txtAmber); this.hbGroupControl1.Controls.Add(this.txtRed); this.hbGroupControl1.Controls.Add(this.btnGet); this.hbGroupControl1.Controls.Add(this.btnSet); this.hbGroupControl1.Controls.Add(this.txtSound); this.hbGroupControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.hbGroupControl1.HeaderTextId = "alarm"; this.hbGroupControl1.Image = null; this.hbGroupControl1.Location = new System.Drawing.Point(0, 0); this.hbGroupControl1.Name = "hbGroupControl1"; this.hbGroupControl1.ResId = ""; this.hbGroupControl1.Size = new System.Drawing.Size(1088, 731); this.hbGroupControl1.TabIndex = 0; this.hbGroupControl1.Text = "Alarm"; this.hbGroupControl1.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // txtAlarm // this.txtAlarm.DataSource = null; this.txtAlarm.DefaultRowName = "All"; this.txtAlarm.DefaultRowValue = ""; this.txtAlarm.DictionaryList = null; this.txtAlarm.FieldName = ""; this.txtAlarm.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtAlarm.HeaderTextId = "alarm"; this.txtAlarm.Location = new System.Drawing.Point(4, 35); this.txtAlarm.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtAlarm.Name = "txtAlarm"; this.txtAlarm.ProcAction = procAction4; this.txtAlarm.ReadOnlyBackColorKeep = true; this.txtAlarm.ResId = ""; this.txtAlarm.Size = new System.Drawing.Size(311, 41); this.txtAlarm.TabIndex = 10; this.txtAlarm.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtAlarm.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.txtAlarm.Value = null; // // txtGreen // this.txtGreen.DataSource = null; this.txtGreen.DefaultRowName = "All"; this.txtGreen.DefaultRowValue = ""; this.txtGreen.DictionaryList = null; this.txtGreen.FieldName = ""; this.txtGreen.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtGreen.HeaderTextId = "al_green"; this.txtGreen.Location = new System.Drawing.Point(4, 180); this.txtGreen.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtGreen.Name = "txtGreen"; this.txtGreen.ProcAction = procAction5; this.txtGreen.ResId = ""; this.txtGreen.Size = new System.Drawing.Size(311, 41); this.txtGreen.TabIndex = 9; this.txtGreen.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtGreen.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.txtGreen.Value = null; // // txtAmber // this.txtAmber.DataSource = null; this.txtAmber.DefaultRowName = "All"; this.txtAmber.DefaultRowValue = ""; this.txtAmber.DictionaryList = null; this.txtAmber.FieldName = ""; this.txtAmber.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtAmber.HeaderTextId = "al_amber"; this.txtAmber.Location = new System.Drawing.Point(4, 132); this.txtAmber.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtAmber.Name = "txtAmber"; this.txtAmber.ProcAction = procAction1; this.txtAmber.ReadOnlyBackColorKeep = true; this.txtAmber.ResId = ""; this.txtAmber.Size = new System.Drawing.Size(311, 41); this.txtAmber.TabIndex = 8; this.txtAmber.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtAmber.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.txtAmber.Value = null; // // txtRed // this.txtRed.DataSource = null; this.txtRed.DefaultRowName = "All"; this.txtRed.DefaultRowValue = ""; this.txtRed.DictionaryList = null; this.txtRed.FieldName = ""; this.txtRed.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtRed.HeaderTextId = "al_red"; this.txtRed.Location = new System.Drawing.Point(4, 83); this.txtRed.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtRed.Name = "txtRed"; this.txtRed.ProcAction = procAction2; this.txtRed.ResId = ""; this.txtRed.Size = new System.Drawing.Size(311, 41); this.txtRed.TabIndex = 7; this.txtRed.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtRed.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.txtRed.Value = null; // // btnGet // this.btnGet.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnGet.HeaderTextId = "al_get"; this.btnGet.Image = null; this.btnGet.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnGet.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnGet.Location = new System.Drawing.Point(97, 277); this.btnGet.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnGet.Name = "btnGet"; this.btnGet.ResId = ""; this.btnGet.Size = new System.Drawing.Size(107, 76); this.btnGet.TabIndex = 6; this.btnGet.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.btnGet.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnGet_HbClick); // // btnSet // this.btnSet.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnSet.HeaderTextId = "al_set"; this.btnSet.Image = null; this.btnSet.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnSet.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnSet.Location = new System.Drawing.Point(209, 277); this.btnSet.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSet.Name = "btnSet"; this.btnSet.ResId = ""; this.btnSet.Size = new System.Drawing.Size(107, 76); this.btnSet.TabIndex = 5; this.btnSet.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.btnSet.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnSet_HbClick); // // txtSound // this.txtSound.DecimalPlaces = 0; this.txtSound.DefaultValue = new decimal(new int[] { 0, 0, 0, 0 }); this.txtSound.FieldName = ""; this.txtSound.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.txtSound.HeaderTextId = "al_sound"; this.txtSound.Location = new System.Drawing.Point(4, 228); this.txtSound.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtSound.MaxLengh = 0; this.txtSound.Name = "txtSound"; this.txtSound.ResId = ""; this.txtSound.SelectionStart = 0; this.txtSound.Size = new System.Drawing.Size(311, 41); this.txtSound.TabIndex = 3; this.txtSound.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.txtSound.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.txtSound.Value = new decimal(new int[] { 0, 0, 0, 0 }); // // etPort // this.etPort.FieldName = ""; this.etPort.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etPort.HeaderTextId = ""; this.etPort.Location = new System.Drawing.Point(466, 150); this.etPort.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.etPort.MaxLengh = 0; this.etPort.Name = "etPort"; this.etPort.ResId = ""; this.etPort.SelectionStart = 0; this.etPort.Size = new System.Drawing.Size(366, 26); this.etPort.TabIndex = 12; this.etPort.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etPort.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // etRequest // this.etRequest.FieldName = ""; this.etRequest.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etRequest.HeaderTextId = ""; this.etRequest.Location = new System.Drawing.Point(466, 184); this.etRequest.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.etRequest.MaxLengh = 0; this.etRequest.Name = "etRequest"; this.etRequest.ReadOnlyBackColorKeep = true; this.etRequest.ResId = ""; this.etRequest.SelectionStart = 0; this.etRequest.Size = new System.Drawing.Size(366, 26); this.etRequest.TabIndex = 13; this.etRequest.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etRequest.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // etResponse // this.etResponse.FieldName = ""; this.etResponse.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etResponse.HeaderTextId = ""; this.etResponse.Location = new System.Drawing.Point(466, 218); this.etResponse.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.etResponse.MaxLengh = 0; this.etResponse.Name = "etResponse"; this.etResponse.ResId = ""; this.etResponse.SelectionStart = 0; this.etResponse.Size = new System.Drawing.Size(366, 26); this.etResponse.TabIndex = 14; this.etResponse.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etResponse.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // btnRequest // this.btnRequest.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnRequest.HeaderTextId = "al_get"; this.btnRequest.Image = null; this.btnRequest.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnRequest.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnRequest.Location = new System.Drawing.Point(466, 252); this.btnRequest.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnRequest.Name = "btnRequest"; this.btnRequest.ResId = ""; this.btnRequest.Size = new System.Drawing.Size(107, 76); this.btnRequest.TabIndex = 15; this.btnRequest.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.btnRequest.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnRequest_HbClick); // // MA_Alarm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.hbGroupControl1); this.Name = "MA_Alarm"; this.Size = new System.Drawing.Size(1088, 731); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl1)).EndInit(); this.hbGroupControl1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WebUtil.ProcAction procAction1 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction2 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction3 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction4 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction5 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction6 = new WebUtil.ProcAction(); this.hbControlSearch = new HanbiControl.HbGroupControl(); this.scStopOrder = new HanbiControl.HbComboEditH(); this.scDelivered = new HanbiControl.HbComboEditH(); this.scDeliveryOrder = new HanbiControl.HbComboEditH(); this.scPicked = new HanbiControl.HbComboEditH(); this.scPickOrder = new HanbiControl.HbComboEditH(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.scEndDate = new HanbiControl.HbDateEditH(); this.scStartDate = new HanbiControl.HbDateEditH(); this.scPay = new HanbiControl.HbComboEditH(); this.scLocation = new HanbiControl.HbPopupEditH(); this.scTelNo = new HanbiControl.HbTextEditH(); this.btnPickOrder = new HanbiControl.HbSimpleButton(); this.hbControlOrder = new HanbiControl.HbGroupControl(); this.btnStop = new HanbiControl.HbSimpleButton(); this.gridOrder = new DevExpress.XtraGrid.GridControl(); this.gridViewOrder = new DevExpress.XtraGrid.Views.Grid.GridView(); this.hbControlOrderDetail = new HanbiControl.HbGroupControl(); this.gridOrderDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewOrderDetail = new DevExpress.XtraGrid.Views.Grid.GridView(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); ((System.ComponentModel.ISupportInitialize)(this.hbControlSearch)).BeginInit(); this.hbControlSearch.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbControlOrder)).BeginInit(); this.hbControlOrder.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridOrder)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewOrder)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlOrderDetail)).BeginInit(); this.hbControlOrderDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridOrderDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewOrderDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); this.SuspendLayout(); // // hbControlSearch // this.hbControlSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlSearch.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlSearch.Appearance.Options.UseFont = true; this.hbControlSearch.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlSearch.AppearanceCaption.Options.UseFont = true; this.hbControlSearch.Controls.Add(this.scStopOrder); this.hbControlSearch.Controls.Add(this.scDelivered); this.hbControlSearch.Controls.Add(this.scDeliveryOrder); this.hbControlSearch.Controls.Add(this.scPicked); this.hbControlSearch.Controls.Add(this.scPickOrder); this.hbControlSearch.Controls.Add(this.labelControl1); this.hbControlSearch.Controls.Add(this.scEndDate); this.hbControlSearch.Controls.Add(this.scStartDate); this.hbControlSearch.Controls.Add(this.scPay); this.hbControlSearch.Controls.Add(this.scLocation); this.hbControlSearch.Controls.Add(this.scTelNo); this.hbControlSearch.HeaderTextId = "find"; this.hbControlSearch.Image = null; this.hbControlSearch.Location = new System.Drawing.Point(2, 2); this.hbControlSearch.Margin = new System.Windows.Forms.Padding(2); this.hbControlSearch.Name = "hbControlSearch"; this.hbControlSearch.ResId = ""; this.hbControlSearch.Size = new System.Drawing.Size(1061, 97); this.hbControlSearch.TabIndex = 2; this.hbControlSearch.Text = "검색"; this.hbControlSearch.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // scStopOrder // this.scStopOrder.DataSource = null; this.scStopOrder.DefaultRowName = "All"; this.scStopOrder.DefaultRowValue = ""; this.scStopOrder.DictionaryList = null; this.scStopOrder.FieldName = "stop_yn"; this.scStopOrder.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scStopOrder.HeaderTextId = "stop_yn"; this.scStopOrder.Location = new System.Drawing.Point(857, 61); this.scStopOrder.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scStopOrder.Name = "scStopOrder"; this.scStopOrder.ProcAction = procAction1; this.scStopOrder.ReadOnlyBackColorKeep = true; this.scStopOrder.ResId = ""; this.scStopOrder.Size = new System.Drawing.Size(200, 29); this.scStopOrder.TabIndex = 10; this.scStopOrder.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scStopOrder.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scStopOrder.Value = null; // // scDelivered // this.scDelivered.DataSource = null; this.scDelivered.DefaultRowName = "All"; this.scDelivered.DefaultRowValue = ""; this.scDelivered.DictionaryList = null; this.scDelivered.FieldName = "delv_yn"; this.scDelivered.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scDelivered.HeaderTextId = "delv_yn"; this.scDelivered.Location = new System.Drawing.Point(640, 61); this.scDelivered.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scDelivered.Name = "scDelivered"; this.scDelivered.ProcAction = procAction2; this.scDelivered.ReadOnlyBackColorKeep = true; this.scDelivered.ResId = ""; this.scDelivered.Size = new System.Drawing.Size(200, 29); this.scDelivered.TabIndex = 9; this.scDelivered.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scDelivered.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scDelivered.Value = null; // // scDeliveryOrder // this.scDeliveryOrder.DataSource = null; this.scDeliveryOrder.DefaultRowName = "All"; this.scDeliveryOrder.DefaultRowValue = ""; this.scDeliveryOrder.DictionaryList = null; this.scDeliveryOrder.FieldName = "delv_ord_yn"; this.scDeliveryOrder.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scDeliveryOrder.HeaderTextId = "delv_ord_yn"; this.scDeliveryOrder.Location = new System.Drawing.Point(436, 61); this.scDeliveryOrder.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scDeliveryOrder.Name = "scDeliveryOrder"; this.scDeliveryOrder.ProcAction = procAction3; this.scDeliveryOrder.ReadOnlyBackColorKeep = true; this.scDeliveryOrder.ResId = ""; this.scDeliveryOrder.Size = new System.Drawing.Size(199, 29); this.scDeliveryOrder.TabIndex = 8; this.scDeliveryOrder.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scDeliveryOrder.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scDeliveryOrder.Value = null; // // scPicked // this.scPicked.DataSource = null; this.scPicked.DefaultRowName = "All"; this.scPicked.DefaultRowValue = ""; this.scPicked.DictionaryList = null; this.scPicked.FieldName = "pick_yn"; this.scPicked.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scPicked.HeaderTextId = "pick_yn"; this.scPicked.Location = new System.Drawing.Point(232, 61); this.scPicked.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scPicked.Name = "scPicked"; this.scPicked.ProcAction = procAction4; this.scPicked.ReadOnlyBackColorKeep = true; this.scPicked.ResId = ""; this.scPicked.Size = new System.Drawing.Size(199, 29); this.scPicked.TabIndex = 7; this.scPicked.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scPicked.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scPicked.Value = null; // // scPickOrder // this.scPickOrder.DataSource = null; this.scPickOrder.DefaultRowName = "All"; this.scPickOrder.DefaultRowValue = ""; this.scPickOrder.DictionaryList = null; this.scPickOrder.FieldName = "pick_ord_yn"; this.scPickOrder.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scPickOrder.HeaderTextId = "pick_ord_yn"; this.scPickOrder.Location = new System.Drawing.Point(3, 61); this.scPickOrder.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scPickOrder.Name = "scPickOrder"; this.scPickOrder.ProcAction = procAction5; this.scPickOrder.ReadOnlyBackColorKeep = true; this.scPickOrder.ResId = ""; this.scPickOrder.Size = new System.Drawing.Size(225, 29); this.scPickOrder.TabIndex = 6; this.scPickOrder.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scPickOrder.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scPickOrder.Value = null; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(845, 32); this.labelControl1.Margin = new System.Windows.Forms.Padding(2); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(8, 13); this.labelControl1.TabIndex = 13; this.labelControl1.Text = "~"; // // scEndDate // this.scEndDate.DateTime = new System.DateTime(2020, 5, 30, 0, 0, 0, 0); this.scEndDate.FieldName = "end_date"; this.scEndDate.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scEndDate.HeaderTextId = "end_date"; this.scEndDate.Location = new System.Drawing.Point(857, 25); this.scEndDate.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scEndDate.MaxLengh = 0; this.scEndDate.Name = "scEndDate"; this.scEndDate.ReadOnlyBackColorKeep = true; this.scEndDate.ResId = ""; this.scEndDate.SelectionStart = 0; this.scEndDate.Size = new System.Drawing.Size(200, 29); this.scEndDate.TabIndex = 5; this.scEndDate.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scEndDate.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scEndDate.Value = "2020-05-30"; // // scStartDate // this.scStartDate.DateTime = new System.DateTime(2020, 5, 30, 0, 0, 0, 0); this.scStartDate.FieldName = "start_date"; this.scStartDate.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scStartDate.HeaderTextId = "start_date"; this.scStartDate.Location = new System.Drawing.Point(640, 25); this.scStartDate.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scStartDate.MaxLengh = 0; this.scStartDate.Name = "scStartDate"; this.scStartDate.ReadOnlyBackColorKeep = true; this.scStartDate.ResId = ""; this.scStartDate.SelectionStart = 0; this.scStartDate.Size = new System.Drawing.Size(200, 29); this.scStartDate.TabIndex = 4; this.scStartDate.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scStartDate.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scStartDate.Value = "2020-05-30"; // // scPay // this.scPay.DataSource = null; this.scPay.DefaultRowName = "All"; this.scPay.DefaultRowValue = ""; this.scPay.DictionaryList = null; this.scPay.FieldName = "pay_tp"; this.scPay.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scPay.HeaderTextId = "pay_tp"; this.scPay.Location = new System.Drawing.Point(436, 25); this.scPay.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scPay.Name = "scPay"; this.scPay.ProcAction = procAction6; this.scPay.ReadOnlyBackColorKeep = true; this.scPay.ResId = ""; this.scPay.Size = new System.Drawing.Size(200, 29); this.scPay.TabIndex = 3; this.scPay.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scPay.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scPay.Value = null; // // scLocation // this.scLocation.ConnectedControls = new HanbiControl.HbControl[0]; this.scLocation.FieldName = "loc_nm"; this.scLocation.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scLocation.HeaderTextId = "loc_nm"; this.scLocation.Location = new System.Drawing.Point(3, 25); this.scLocation.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scLocation.MaxLengh = 0; this.scLocation.Name = "scLocation"; this.scLocation.PopupFormClassName = "popPickupLocation"; this.scLocation.PopupFormDllName = "SYS"; this.scLocation.ReadOnlyBackColorKeep = true; this.scLocation.ResId = ""; this.scLocation.SelectionStart = 0; this.scLocation.Size = new System.Drawing.Size(225, 29); this.scLocation.TabIndex = 1; this.scLocation.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scLocation.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // scTelNo // this.scTelNo.FieldName = "tel_no"; this.scTelNo.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scTelNo.HeaderTextId = "tel_no"; this.scTelNo.Location = new System.Drawing.Point(232, 25); this.scTelNo.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scTelNo.MaxLengh = 0; this.scTelNo.Name = "scTelNo"; this.scTelNo.ReadOnlyBackColorKeep = true; this.scTelNo.ResId = ""; this.scTelNo.SelectionStart = 0; this.scTelNo.Size = new System.Drawing.Size(200, 29); this.scTelNo.TabIndex = 2; this.scTelNo.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scTelNo.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // btnPickOrder // this.btnPickOrder.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnPickOrder.HeaderTextId = "pick_order"; this.btnPickOrder.Image = null; this.btnPickOrder.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnPickOrder.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnPickOrder.Location = new System.Drawing.Point(3, 25); this.btnPickOrder.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnPickOrder.Name = "btnPickOrder"; this.btnPickOrder.ResId = ""; this.btnPickOrder.Size = new System.Drawing.Size(53, 55); this.btnPickOrder.TabIndex = 1; this.btnPickOrder.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.btnPickOrder.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnPickOrder_Click); // // hbControlOrder // this.hbControlOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlOrder.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlOrder.Appearance.Options.UseFont = true; this.hbControlOrder.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlOrder.AppearanceCaption.Options.UseFont = true; this.hbControlOrder.Controls.Add(this.btnStop); this.hbControlOrder.Controls.Add(this.gridOrder); this.hbControlOrder.Controls.Add(this.btnPickOrder); this.hbControlOrder.HeaderTextId = "order"; this.hbControlOrder.Image = null; this.hbControlOrder.Location = new System.Drawing.Point(2, 2); this.hbControlOrder.Margin = new System.Windows.Forms.Padding(2); this.hbControlOrder.Name = "hbControlOrder"; this.hbControlOrder.ResId = ""; this.hbControlOrder.Size = new System.Drawing.Size(1061, 281); this.hbControlOrder.TabIndex = 1; this.hbControlOrder.Text = "주문"; this.hbControlOrder.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // btnStop // this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnStop.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnStop.HeaderTextId = "stop_yn"; this.btnStop.Image = null; this.btnStop.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnStop.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnStop.Location = new System.Drawing.Point(3, 222); this.btnStop.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnStop.Name = "btnStop"; this.btnStop.ResId = ""; this.btnStop.Size = new System.Drawing.Size(53, 55); this.btnStop.TabIndex = 2; this.btnStop.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.btnStop.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnStop_HbClick); // // gridOrder // this.gridOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridOrder.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2); this.gridOrder.Location = new System.Drawing.Point(60, 25); this.gridOrder.MainView = this.gridViewOrder; this.gridOrder.Margin = new System.Windows.Forms.Padding(2); this.gridOrder.Name = "gridOrder"; this.gridOrder.Size = new System.Drawing.Size(998, 252); this.gridOrder.TabIndex = 0; this.gridOrder.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewOrder }); // // gridViewOrder // this.gridViewOrder.GridControl = this.gridOrder; this.gridViewOrder.Name = "gridViewOrder"; this.gridViewOrder.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.gridViewOrder_RowCellStyle); this.gridViewOrder.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridViewOrder_RowStyle); this.gridViewOrder.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewOrder_FocusedRowChanged); this.gridViewOrder.DoubleClick += new System.EventHandler(this.gridViewOrder_DoubleClick); this.gridViewOrder.DataSourceChanged += new System.EventHandler(this.gridViewOrder_DataSourceChanged); // // hbControlOrderDetail // this.hbControlOrderDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlOrderDetail.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlOrderDetail.Appearance.Options.UseFont = true; this.hbControlOrderDetail.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlOrderDetail.AppearanceCaption.Options.UseFont = true; this.hbControlOrderDetail.Controls.Add(this.gridOrderDetail); this.hbControlOrderDetail.HeaderTextId = "order_dtl"; this.hbControlOrderDetail.Image = null; this.hbControlOrderDetail.Location = new System.Drawing.Point(2, 1); this.hbControlOrderDetail.Margin = new System.Windows.Forms.Padding(2); this.hbControlOrderDetail.Name = "hbControlOrderDetail"; this.hbControlOrderDetail.ResId = ""; this.hbControlOrderDetail.Size = new System.Drawing.Size(1061, 195); this.hbControlOrderDetail.TabIndex = 3; this.hbControlOrderDetail.Text = "주문상세"; this.hbControlOrderDetail.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // gridOrderDetail // this.gridOrderDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridOrderDetail.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2); this.gridOrderDetail.Location = new System.Drawing.Point(3, 25); this.gridOrderDetail.MainView = this.gridViewOrderDetail; this.gridOrderDetail.Margin = new System.Windows.Forms.Padding(2); this.gridOrderDetail.Name = "gridOrderDetail"; this.gridOrderDetail.Size = new System.Drawing.Size(1055, 166); this.gridOrderDetail.TabIndex = 0; this.gridOrderDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewOrderDetail }); // // gridViewOrderDetail // this.gridViewOrderDetail.GridControl = this.gridOrderDetail; this.gridViewOrderDetail.Name = "gridViewOrderDetail"; this.gridViewOrderDetail.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridViewOrderDetail_RowStyle); // // splitContainerControl1 // this.splitContainerControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 101); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.hbControlOrder); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.hbControlOrderDetail); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(1065, 486); this.splitContainerControl1.SplitterPosition = 284; this.splitContainerControl1.TabIndex = 0; this.splitContainerControl1.Text = "splitContainerControl1"; // // SOD_Order // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.hbControlSearch); this.Controls.Add(this.splitContainerControl1); this.Margin = new System.Windows.Forms.Padding(2); this.Name = "SOD_Order"; this.Size = new System.Drawing.Size(1065, 588); ((System.ComponentModel.ISupportInitialize)(this.hbControlSearch)).EndInit(); this.hbControlSearch.ResumeLayout(false); this.hbControlSearch.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbControlOrder)).EndInit(); this.hbControlOrder.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridOrder)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewOrder)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlOrderDetail)).EndInit(); this.hbControlOrderDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridOrderDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewOrderDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WebUtil.ProcAction procAction1 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction2 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction3 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction4 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction5 = new WebUtil.ProcAction(); this.hbControlFind = new HanbiControl.HbGroupControl(); this.scPicked = new HanbiControl.HbComboEditH(); this.scStopOrder = new HanbiControl.HbComboEditH(); this.scDelivered = new HanbiControl.HbComboEditH(); this.scDeliveryOrder = new HanbiControl.HbComboEditH(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.scStartDate = new HanbiControl.HbDateEditH(); this.scPickupStatus = new HanbiControl.HbComboEditH(); this.scEndDate = new HanbiControl.HbDateEditH(); this.scPickupLocation = new HanbiControl.HbPopupEditH(); this.hbControlPickup = new HanbiControl.HbGroupControl(); this.btnDeliveryOrder = new HanbiControl.HbSimpleButton(); this.gridPickup = new DevExpress.XtraGrid.GridControl(); this.gridViewPickup = new DevExpress.XtraGrid.Views.Grid.GridView(); this.hbControlPickupOrderDetail = new HanbiControl.HbGroupControl(); this.btnCancelProduct = new HanbiControl.HbSimpleButton(); this.gridPickupDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewPickupDetail = new DevExpress.XtraGrid.Views.Grid.GridView(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); ((System.ComponentModel.ISupportInitialize)(this.hbControlFind)).BeginInit(); this.hbControlFind.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbControlPickup)).BeginInit(); this.hbControlPickup.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridPickup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewPickup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlPickupOrderDetail)).BeginInit(); this.hbControlPickupOrderDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridPickupDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewPickupDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); this.SuspendLayout(); // // hbControlFind // this.hbControlFind.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlFind.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlFind.Appearance.Options.UseFont = true; this.hbControlFind.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlFind.AppearanceCaption.Options.UseFont = true; this.hbControlFind.Controls.Add(this.scPicked); this.hbControlFind.Controls.Add(this.scStopOrder); this.hbControlFind.Controls.Add(this.scDelivered); this.hbControlFind.Controls.Add(this.scDeliveryOrder); this.hbControlFind.Controls.Add(this.labelControl1); this.hbControlFind.Controls.Add(this.scStartDate); this.hbControlFind.Controls.Add(this.scPickupStatus); this.hbControlFind.Controls.Add(this.scEndDate); this.hbControlFind.Controls.Add(this.scPickupLocation); this.hbControlFind.HeaderTextId = "find"; this.hbControlFind.Image = null; this.hbControlFind.Location = new System.Drawing.Point(2, 2); this.hbControlFind.Margin = new System.Windows.Forms.Padding(2); this.hbControlFind.Name = "hbControlFind"; this.hbControlFind.ResId = ""; this.hbControlFind.Size = new System.Drawing.Size(945, 97); this.hbControlFind.TabIndex = 2; this.hbControlFind.Text = "검색"; this.hbControlFind.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // scPicked // this.scPicked.DataSource = null; this.scPicked.DefaultRowName = "All"; this.scPicked.DefaultRowValue = ""; this.scPicked.DictionaryList = null; this.scPicked.FieldName = "pick_yn"; this.scPicked.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scPicked.HeaderTextId = "pick_yn"; this.scPicked.Location = new System.Drawing.Point(3, 61); this.scPicked.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scPicked.Name = "scPicked"; this.scPicked.ProcAction = procAction1; this.scPicked.ResId = ""; this.scPicked.Size = new System.Drawing.Size(264, 29); this.scPicked.TabIndex = 4; this.scPicked.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scPicked.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scPicked.Value = null; // // scStopOrder // this.scStopOrder.DataSource = null; this.scStopOrder.DefaultRowName = "All"; this.scStopOrder.DefaultRowValue = ""; this.scStopOrder.DictionaryList = null; this.scStopOrder.FieldName = "stop_yn"; this.scStopOrder.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scStopOrder.HeaderTextId = "stop_yn"; this.scStopOrder.Location = new System.Drawing.Point(695, 61); this.scStopOrder.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scStopOrder.Name = "scStopOrder"; this.scStopOrder.ProcAction = procAction2; this.scStopOrder.ResId = ""; this.scStopOrder.Size = new System.Drawing.Size(200, 29); this.scStopOrder.TabIndex = 7; this.scStopOrder.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scStopOrder.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scStopOrder.Value = null; // // scDelivered // this.scDelivered.DataSource = null; this.scDelivered.DefaultRowName = "All"; this.scDelivered.DefaultRowValue = ""; this.scDelivered.DictionaryList = null; this.scDelivered.FieldName = "delv_yn"; this.scDelivered.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scDelivered.HeaderTextId = "delv_yn"; this.scDelivered.Location = new System.Drawing.Point(479, 61); this.scDelivered.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scDelivered.Name = "scDelivered"; this.scDelivered.ProcAction = procAction3; this.scDelivered.ResId = ""; this.scDelivered.Size = new System.Drawing.Size(200, 29); this.scDelivered.TabIndex = 6; this.scDelivered.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scDelivered.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scDelivered.Value = null; // // scDeliveryOrder // this.scDeliveryOrder.DataSource = null; this.scDeliveryOrder.DefaultRowName = "All"; this.scDeliveryOrder.DefaultRowValue = ""; this.scDeliveryOrder.DictionaryList = null; this.scDeliveryOrder.FieldName = "delv_ord_yn"; this.scDeliveryOrder.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scDeliveryOrder.HeaderTextId = "delv_ord_yn"; this.scDeliveryOrder.Location = new System.Drawing.Point(275, 61); this.scDeliveryOrder.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scDeliveryOrder.Name = "scDeliveryOrder"; this.scDeliveryOrder.ProcAction = procAction4; this.scDeliveryOrder.ResId = ""; this.scDeliveryOrder.Size = new System.Drawing.Size(199, 29); this.scDeliveryOrder.TabIndex = 5; this.scDeliveryOrder.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scDeliveryOrder.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scDeliveryOrder.Value = null; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(682, 31); this.labelControl1.Margin = new System.Windows.Forms.Padding(2); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(8, 13); this.labelControl1.TabIndex = 16; this.labelControl1.Text = "~"; // // scStartDate // this.scStartDate.DateTime = new System.DateTime(2020, 5, 30, 0, 0, 0, 0); this.scStartDate.FieldName = "start_date"; this.scStartDate.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scStartDate.HeaderTextId = "start_date"; this.scStartDate.Location = new System.Drawing.Point(478, 25); this.scStartDate.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scStartDate.MaxLengh = 0; this.scStartDate.Name = "scStartDate"; this.scStartDate.ReadOnlyBackColorKeep = true; this.scStartDate.ResId = ""; this.scStartDate.SelectionStart = 0; this.scStartDate.Size = new System.Drawing.Size(200, 29); this.scStartDate.TabIndex = 2; this.scStartDate.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scStartDate.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scStartDate.Value = "2020-05-30"; // // scPickupStatus // this.scPickupStatus.DataSource = null; this.scPickupStatus.DefaultRowName = "All"; this.scPickupStatus.DefaultRowValue = ""; this.scPickupStatus.DictionaryList = null; this.scPickupStatus.FieldName = "pick_sts"; this.scPickupStatus.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scPickupStatus.HeaderTextId = "pick_sts"; this.scPickupStatus.Location = new System.Drawing.Point(274, 25); this.scPickupStatus.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scPickupStatus.Name = "scPickupStatus"; this.scPickupStatus.ProcAction = procAction5; this.scPickupStatus.ReadOnlyBackColorKeep = true; this.scPickupStatus.ResId = ""; this.scPickupStatus.Size = new System.Drawing.Size(200, 29); this.scPickupStatus.TabIndex = 1; this.scPickupStatus.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scPickupStatus.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scPickupStatus.Value = null; // // scEndDate // this.scEndDate.DateTime = new System.DateTime(2020, 5, 30, 0, 0, 0, 0); this.scEndDate.FieldName = "end_date"; this.scEndDate.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scEndDate.HeaderTextId = "end_date"; this.scEndDate.Location = new System.Drawing.Point(695, 24); this.scEndDate.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scEndDate.MaxLengh = 0; this.scEndDate.Name = "scEndDate"; this.scEndDate.ResId = ""; this.scEndDate.SelectionStart = 0; this.scEndDate.Size = new System.Drawing.Size(200, 29); this.scEndDate.TabIndex = 3; this.scEndDate.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scEndDate.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scEndDate.Value = "2020-05-30"; // // scPickupLocation // this.scPickupLocation.ConnectedControls = new HanbiControl.HbControl[0]; this.scPickupLocation.FieldName = "loc_nm"; this.scPickupLocation.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scPickupLocation.HeaderTextId = "loc_nm"; this.scPickupLocation.Location = new System.Drawing.Point(3, 25); this.scPickupLocation.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scPickupLocation.MaxLengh = 0; this.scPickupLocation.Name = "scPickupLocation"; this.scPickupLocation.PopupFormClassName = "popPickupLocation"; this.scPickupLocation.PopupFormDllName = "SYS"; this.scPickupLocation.ReadOnlyBackColorKeep = true; this.scPickupLocation.ResId = ""; this.scPickupLocation.SelectionStart = 0; this.scPickupLocation.Size = new System.Drawing.Size(265, 29); this.scPickupLocation.TabIndex = 0; this.scPickupLocation.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scPickupLocation.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // hbControlPickup // this.hbControlPickup.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlPickup.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlPickup.Appearance.Options.UseFont = true; this.hbControlPickup.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlPickup.AppearanceCaption.Options.UseFont = true; this.hbControlPickup.Controls.Add(this.btnDeliveryOrder); this.hbControlPickup.Controls.Add(this.gridPickup); this.hbControlPickup.HeaderTextId = "pick"; this.hbControlPickup.Image = null; this.hbControlPickup.Location = new System.Drawing.Point(2, 2); this.hbControlPickup.Margin = new System.Windows.Forms.Padding(2); this.hbControlPickup.Name = "hbControlPickup"; this.hbControlPickup.ResId = ""; this.hbControlPickup.Size = new System.Drawing.Size(945, 281); this.hbControlPickup.TabIndex = 1; this.hbControlPickup.Text = "피킹"; this.hbControlPickup.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // btnDeliveryOrder // this.btnDeliveryOrder.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnDeliveryOrder.HeaderTextId = "delivery_order"; this.btnDeliveryOrder.Image = null; this.btnDeliveryOrder.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnDeliveryOrder.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnDeliveryOrder.Location = new System.Drawing.Point(3, 25); this.btnDeliveryOrder.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnDeliveryOrder.Name = "btnDeliveryOrder"; this.btnDeliveryOrder.ResId = ""; this.btnDeliveryOrder.Size = new System.Drawing.Size(53, 55); this.btnDeliveryOrder.TabIndex = 1; this.btnDeliveryOrder.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.btnDeliveryOrder.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnDeliveryOrder_Click); // // gridPickup // this.gridPickup.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridPickup.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2); this.gridPickup.Location = new System.Drawing.Point(60, 25); this.gridPickup.MainView = this.gridViewPickup; this.gridPickup.Margin = new System.Windows.Forms.Padding(2); this.gridPickup.Name = "gridPickup"; this.gridPickup.Size = new System.Drawing.Size(882, 252); this.gridPickup.TabIndex = 0; this.gridPickup.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewPickup }); // // gridViewPickup // this.gridViewPickup.GridControl = this.gridPickup; this.gridViewPickup.Name = "gridViewPickup"; this.gridViewPickup.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.gridViewPickup_RowCellStyle); this.gridViewPickup.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridViewPickup_RowStyle); this.gridViewPickup.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewPickup_FocusedRowChanged); this.gridViewPickup.DoubleClick += new System.EventHandler(this.gridViewPickup_DoubleClick); this.gridViewPickup.DataSourceChanged += new System.EventHandler(this.gridViewPickup_DataSourceChanged); // // hbControlPickupOrderDetail // this.hbControlPickupOrderDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlPickupOrderDetail.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlPickupOrderDetail.Appearance.Options.UseFont = true; this.hbControlPickupOrderDetail.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlPickupOrderDetail.AppearanceCaption.Options.UseFont = true; this.hbControlPickupOrderDetail.Controls.Add(this.btnCancelProduct); this.hbControlPickupOrderDetail.Controls.Add(this.gridPickupDetail); this.hbControlPickupOrderDetail.HeaderTextId = "pick_dtl"; this.hbControlPickupOrderDetail.Image = null; this.hbControlPickupOrderDetail.Location = new System.Drawing.Point(2, 1); this.hbControlPickupOrderDetail.Margin = new System.Windows.Forms.Padding(2); this.hbControlPickupOrderDetail.Name = "hbControlPickupOrderDetail"; this.hbControlPickupOrderDetail.ResId = ""; this.hbControlPickupOrderDetail.Size = new System.Drawing.Size(945, 195); this.hbControlPickupOrderDetail.TabIndex = 3; this.hbControlPickupOrderDetail.Text = "피킹상세"; this.hbControlPickupOrderDetail.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // btnCancelProduct // this.btnCancelProduct.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnCancelProduct.HeaderTextId = "cancel"; this.btnCancelProduct.Image = null; this.btnCancelProduct.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnCancelProduct.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnCancelProduct.Location = new System.Drawing.Point(4, 26); this.btnCancelProduct.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnCancelProduct.Name = "btnCancelProduct"; this.btnCancelProduct.ResId = ""; this.btnCancelProduct.Size = new System.Drawing.Size(53, 55); this.btnCancelProduct.TabIndex = 2; this.btnCancelProduct.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.btnCancelProduct.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnCancelProduct_HbClick); // // gridPickupDetail // this.gridPickupDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridPickupDetail.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2); this.gridPickupDetail.Location = new System.Drawing.Point(60, 25); this.gridPickupDetail.MainView = this.gridViewPickupDetail; this.gridPickupDetail.Margin = new System.Windows.Forms.Padding(2); this.gridPickupDetail.Name = "gridPickupDetail"; this.gridPickupDetail.Size = new System.Drawing.Size(882, 166); this.gridPickupDetail.TabIndex = 0; this.gridPickupDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewPickupDetail }); // // gridViewPickupDetail // this.gridViewPickupDetail.GridControl = this.gridPickupDetail; this.gridViewPickupDetail.Name = "gridViewPickupDetail"; this.gridViewPickupDetail.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridViewPickupDetail_RowStyle); this.gridViewPickupDetail.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewPickupDetail_FocusedRowChanged); this.gridViewPickupDetail.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridViewPickupDetail_CellValueChanged); this.gridViewPickupDetail.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridViewPickupDetail_CellValueChanging); this.gridViewPickupDetail.DoubleClick += new System.EventHandler(this.gridViewPickupDetail_DoubleClick); this.gridViewPickupDetail.DataSourceChanged += new System.EventHandler(this.gridViewPickupDetail_DataSourceChanged); // // splitContainerControl1 // this.splitContainerControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 101); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.hbControlPickup); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.hbControlPickupOrderDetail); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(949, 486); this.splitContainerControl1.SplitterPosition = 284; this.splitContainerControl1.TabIndex = 0; this.splitContainerControl1.Text = "splitContainerControl1"; // // SOD_Pickup // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.hbControlFind); this.Controls.Add(this.splitContainerControl1); this.Margin = new System.Windows.Forms.Padding(2); this.Name = "SOD_Pickup"; this.Size = new System.Drawing.Size(949, 588); ((System.ComponentModel.ISupportInitialize)(this.hbControlFind)).EndInit(); this.hbControlFind.ResumeLayout(false); this.hbControlFind.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbControlPickup)).EndInit(); this.hbControlPickup.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridPickup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewPickup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlPickupOrderDetail)).EndInit(); this.hbControlPickupOrderDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridPickupDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewPickupDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitGrid() { GridOption gridOption1 = new GridOption(); gridOption1.SetTextColInfo(false, true, true, true, false, false, 1, "grid_id", "grid_id", 80, GridOption.Align.center); gridOption1.SetTextColInfo(false, true, true, true, false, false, 2, "dll_name", "dll_name", 80, GridOption.Align.left); gridOption1.SetTextColInfo(false, true, true, true, false, false, 3, "class_name", "class_name", 80, GridOption.Align.left); gridOption1.SetTextColInfo(false, true, true, true, false, false, 4, "grid_name", "grid_name", 200, GridOption.Align.left); gridOption1.SetTextColInfo(false, true, true, true, false, false, 5, "grid_desc", "grid_desc", 200, GridOption.Align.left); gridOption1.SetTextColInfo(false, true, true, true, false, false, 6, "iud_flag", "iud_flag", 60, GridOption.Align.left); gridOption1.SetConnectedControls(new HbControl[] { etGridId, etDllName, etClassName, etGridName, etGridDesc }); gridOption1.Apply(gridView1); Dictionary <string, object> dic = null; GridOption gridOption2 = new GridOption(); gridOption2.SetNumberColInfo(false, false, false, true, false, false, 1, "col_id", "col_id", 80, GridOption.Align.center, 0, false, GridOption.SumType.none); WebUtil.ProcAction colTypeAction = new WebUtil.ProcAction(); colTypeAction.proc = WebUtil.Values.PROC_SQL; colTypeAction.text = "select cd value, cd_nm name from tb_sys_code where grp_cd = 'GRID_COL_TYPE' order by sort_seq"; gridOption2.SetComboBoxColInfo(true, true, false, true, false, false, 2, "col_type", "col_type", 60, GridOption.Align.center, false, 0, "", colTypeAction); gridOption2.SetNumberColInfo(true, true, false, true, false, false, 3, "col_idx", "col_idx", 60, GridOption.Align.center, 0, false, GridOption.SumType.none); gridOption2.SetTextColInfo(true, true, false, true, false, false, 4, "col_text_id", "col_text_id", 80, GridOption.Align.left); gridOption2.SetTextColInfo(false, true, false, true, false, false, 5, "col_text", "col_text", 200, GridOption.Align.left); gridOption2.SetTextColInfo(true, true, false, true, false, false, 6, "field_name", "field_name", 80, GridOption.Align.left); gridOption2.SetNumberColInfo(true, true, false, true, false, false, 7, "col_width", "col_width", 60, GridOption.Align.center, 0, false, GridOption.SumType.none); List <Dictionary <string, object> > listAlign = new List <Dictionary <string, object> >(); for (int i = 0; i < Enum.GetNames(typeof(GridOption.Align)).Length; i++) { dic = new Dictionary <string, object>(); dic["value"] = (int)Enum.GetValues(typeof(GridOption.Align)).GetValue(i); dic["name"] = Enum.GetNames(typeof(GridOption.Align))[i]; listAlign.Add(dic); } gridOption2.SetComboBoxColInfo(true, true, false, true, false, false, 8, "col_align", "col_align", 60, GridOption.Align.center, false, 0, "", listAlign); gridOption2.SetCheckBoxColInfo(true, true, false, true, false, false, 9, "mandatory_yn", "mandatory_yn", 60, "Y", "N", "N", false); gridOption2.SetCheckBoxColInfo(true, true, false, true, false, false, 10, "visible_yn", "visible_yn", 60, "Y", "N", "N", false); gridOption2.SetCheckBoxColInfo(true, true, false, true, false, false, 11, "readonly_yn", "readonly_yn", 60, "Y", "N", "N", false); gridOption2.SetCheckBoxColInfo(true, true, false, true, false, false, 12, "allow_focus_yn", "allow_focus_yn", 60, "Y", "N", "N", false); gridOption2.SetCheckBoxColInfo(true, true, false, true, false, false, 13, "sort_yn", "sort_yn", 60, "Y", "N", "N", false); gridOption2.SetCheckBoxColInfo(true, true, false, true, false, false, 14, "filter_yn", "filter_yn", 60, "Y", "N", "N", false); gridOption2.SetNumberColInfo(false, true, false, true, false, false, 15, "col_decimal_places", "decimal_places", 60, GridOption.Align.center, 0, false, GridOption.SumType.none); gridOption2.SetCheckBoxColInfo(false, true, false, true, false, false, 16, "col_sub_total", "sub_total", 60, "Y", "N", "N", false); List <Dictionary <string, object> > listSumType = new List <Dictionary <string, object> >(); for (int i = 0; i < Enum.GetNames(typeof(GridOption.SumType)).Length; i++) { dic = new Dictionary <string, object>(); dic["value"] = (int)Enum.GetValues(typeof(GridOption.SumType)).GetValue(i); dic["name"] = Enum.GetNames(typeof(GridOption.SumType))[i]; listSumType.Add(dic); } gridOption2.SetComboBoxColInfo(false, true, false, true, false, false, 17, "col_sum_type", "sum_type", 60, GridOption.Align.center, false, 0, "", listSumType); gridOption2.SetTextColInfo(false, true, false, true, false, false, 18, "col_value_checked", "value_checked", 60, GridOption.Align.left); gridOption2.SetTextColInfo(false, true, false, true, false, false, 19, "col_value_unchecked", "value_unchecked", 60, GridOption.Align.left); gridOption2.SetCheckBoxColInfo(false, true, false, true, false, false, 20, "col_header_checkbox", "header_checkbox", 60, "Y", "N", "N", false); gridOption2.SetTextColInfo(false, false, false, true, false, false, 21, "col_mask", "mask", 100, GridOption.Align.center); gridOption2.SetCheckBoxColInfo(false, true, false, true, false, false, 22, "col_default_row", "default_row", 60, "Y", "N", "N", false); gridOption2.SetTextColInfo(false, true, false, true, false, false, 23, "col_default_row_value", "default_row_value", 60, GridOption.Align.left); gridOption2.SetTextColInfo(false, true, false, true, false, false, 24, "col_default_row_name", "default_row_name", 60, GridOption.Align.left); List <Dictionary <string, object> > listActionProc = new List <Dictionary <string, object> >(); dic = new Dictionary <string, object>(); dic["value"] = "sql"; dic["name"] = "SQL"; listActionProc.Add(dic); dic = new Dictionary <string, object>(); dic["value"] = "proc"; dic["name"] = "Procedure"; listActionProc.Add(dic); gridOption2.SetComboBoxColInfo(false, true, false, true, false, false, 25, "col_action_proc", "action_proc", 60, GridOption.Align.center, true, "", "None", listActionProc); gridOption2.SetTextColInfo(false, true, false, true, false, false, 26, "col_action_text", "action_text", 200, GridOption.Align.left); gridOption2.SetTextColInfo(false, true, false, true, false, false, 27, "col_action_param", "action_param", 200, GridOption.Align.left); gridOption2.SetTextColInfo(false, true, false, true, false, false, 28, "dll_name", "dll_name", 80, GridOption.Align.left); gridOption2.SetTextColInfo(false, true, false, true, false, false, 29, "class_name", "class_name", 80, GridOption.Align.left); gridOption2.Apply(gridView2); }
private async void gridControl2_DoubleClick(object sender, EventArgs e) { DXMouseEventArgs ea = e as DXMouseEventArgs; GridView view = gridView2; GridHitInfo info = view.CalcHitInfo(ea.Location); if (info.InRow || info.InRowCell) { string fileName = gridView2.GetRowCellValue(info.RowHandle, "file_nm").ToString(); string filePath = gridView2.GetRowCellValue(info.RowHandle, "file_path").ToString(); var uri = new Uri(System.Configuration.ConfigurationSettings.AppSettings["apiServerVersionUrl"]); //CommonUtil.Progress.OpenProgress(this); try { for (int i = 0; i < sftpUrl.Length; i++) { Sftp oSftp = new Sftp(sftpUrl[i], sftpId[i], sftpPw[i]); oSftp.Connect(Convert.ToInt32(sftpPort[i])); oSftp.Put(filePath, sftpDir[i] + "/" + fileName); oSftp.Close(); } int version = SearchVersion(fileName); WebUtil.JsonRequest request = new WebUtil.JsonRequest(); WebUtil.ProcAction action = request.NewAction(); action.proc = "sql"; if (version == -1) { action.text = "insert into tb_sys_version(file_nm, file_ver, in_dt, up_dt) values(#{file_nm}, 1, now(), now())"; } else { action.text = "update tb_sys_version set file_ver = #{file_ver}, up_dt = now() where file_nm = #{file_nm}"; action.param.Add("file_ver", version + 1); } action.param.Add("file_nm", fileName); WebUtil.WebClient client = new WebUtil.WebClient(); DataSet ds = client.Execute(request); SearchServer(); } catch (Exception err) { throw new Exception(err.ToString()); } finally { //CommonUtil.Progress.CloseProgress(this); } //byte[] data; //ByteArrayContent bytes; //MultipartFormDataContent multiForm = new MultipartFormDataContent(); //try //{ // FileInfo fileinfo = new FileInfo(filePath); // using (var client = new HttpClient()) // { // using (var br = new BinaryReader(fileinfo.OpenRead())) // { // data = br.ReadBytes((int)fileinfo.OpenRead().Length); // } // bytes = new ByteArrayContent(data); // multiForm.Add(bytes, "file_nm", fileName); // var res = await client.PostAsync(uri, multiForm); // } // SearchServer(); //} //catch (Exception err) //{ // throw new Exception(err.ToString()); //} //finally //{ // CommonUtil.Progress.CloseProgress(this); //} } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WebUtil.ProcAction procAction1 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction2 = new WebUtil.ProcAction(); this.hbControlFind = new HanbiControl.HbGroupControl(); this.scReturnType = new HanbiControl.HbComboEditH(); this.scReturned = new HanbiControl.HbComboEditH(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.scEndDate = new HanbiControl.HbDateEditH(); this.scStartDate = new HanbiControl.HbDateEditH(); this.scShipAddress = new HanbiControl.HbTextEditH(); this.scFullName = new HanbiControl.HbTextEditH(); this.scPickupLocation = new HanbiControl.HbPopupEditH(); this.scTelNo = new HanbiControl.HbTextEditH(); this.hbControlReturnDetail = new HanbiControl.HbGroupControl(); this.gridReturnDetail = new DevExpress.XtraGrid.GridControl(); this.gridViewReturnDetail = new DevExpress.XtraGrid.Views.Grid.GridView(); this.hbControlReturn = new HanbiControl.HbGroupControl(); this.btnRefund = new HanbiControl.HbSimpleButton(); this.gridReturn = new DevExpress.XtraGrid.GridControl(); this.gridViewReturn = new DevExpress.XtraGrid.Views.Grid.GridView(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); ((System.ComponentModel.ISupportInitialize)(this.hbControlFind)).BeginInit(); this.hbControlFind.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbControlReturnDetail)).BeginInit(); this.hbControlReturnDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridReturnDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewReturnDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlReturn)).BeginInit(); this.hbControlReturn.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridReturn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewReturn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); this.SuspendLayout(); // // hbControlFind // this.hbControlFind.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlFind.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlFind.Appearance.Options.UseFont = true; this.hbControlFind.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlFind.AppearanceCaption.Options.UseFont = true; this.hbControlFind.Controls.Add(this.scReturnType); this.hbControlFind.Controls.Add(this.scReturned); this.hbControlFind.Controls.Add(this.labelControl1); this.hbControlFind.Controls.Add(this.scEndDate); this.hbControlFind.Controls.Add(this.scStartDate); this.hbControlFind.Controls.Add(this.scShipAddress); this.hbControlFind.Controls.Add(this.scFullName); this.hbControlFind.Controls.Add(this.scPickupLocation); this.hbControlFind.Controls.Add(this.scTelNo); this.hbControlFind.HeaderTextId = "find"; this.hbControlFind.Image = null; this.hbControlFind.Location = new System.Drawing.Point(2, 2); this.hbControlFind.Margin = new System.Windows.Forms.Padding(2); this.hbControlFind.Name = "hbControlFind"; this.hbControlFind.ResId = ""; this.hbControlFind.Size = new System.Drawing.Size(887, 97); this.hbControlFind.TabIndex = 2; this.hbControlFind.Text = "검색"; this.hbControlFind.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // scReturnType // this.scReturnType.DataSource = null; this.scReturnType.DefaultRowName = "All"; this.scReturnType.DefaultRowValue = ""; this.scReturnType.DictionaryList = null; this.scReturnType.FieldName = "ret_tp"; this.scReturnType.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scReturnType.HeaderTextId = "ret_tp"; this.scReturnType.Location = new System.Drawing.Point(678, 25); this.scReturnType.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scReturnType.Name = "scReturnType"; this.scReturnType.ProcAction = procAction1; this.scReturnType.ReadOnlyBackColorKeep = true; this.scReturnType.ResId = ""; this.scReturnType.Size = new System.Drawing.Size(200, 29); this.scReturnType.TabIndex = 17; this.scReturnType.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scReturnType.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scReturnType.Value = null; // // scReturned // this.scReturned.DataSource = null; this.scReturned.DefaultRowName = "All"; this.scReturned.DefaultRowValue = ""; this.scReturned.DictionaryList = null; this.scReturned.FieldName = "ret_yn"; this.scReturned.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scReturned.HeaderTextId = "ret_yn"; this.scReturned.Location = new System.Drawing.Point(678, 61); this.scReturned.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.scReturned.Name = "scReturned"; this.scReturned.ProcAction = procAction2; this.scReturned.ResId = ""; this.scReturned.Size = new System.Drawing.Size(200, 29); this.scReturned.TabIndex = 4; this.scReturned.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scReturned.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scReturned.Value = null; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(461, 34); this.labelControl1.Margin = new System.Windows.Forms.Padding(2); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(8, 13); this.labelControl1.TabIndex = 16; this.labelControl1.Text = "~"; // // scEndDate // this.scEndDate.DateTime = new System.DateTime(2020, 5, 30, 0, 0, 0, 0); this.scEndDate.FieldName = "end_date"; this.scEndDate.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scEndDate.HeaderTextId = "end_date"; this.scEndDate.Location = new System.Drawing.Point(473, 25); this.scEndDate.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scEndDate.MaxLengh = 0; this.scEndDate.Name = "scEndDate"; this.scEndDate.ReadOnlyBackColorKeep = true; this.scEndDate.ResId = ""; this.scEndDate.SelectionStart = 0; this.scEndDate.Size = new System.Drawing.Size(200, 29); this.scEndDate.TabIndex = 3; this.scEndDate.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scEndDate.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scEndDate.Value = "2020-05-30"; // // scStartDate // this.scStartDate.DateTime = new System.DateTime(2020, 5, 30, 0, 0, 0, 0); this.scStartDate.FieldName = "start_date"; this.scStartDate.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scStartDate.HeaderTextId = "start_date"; this.scStartDate.Location = new System.Drawing.Point(257, 25); this.scStartDate.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scStartDate.MaxLengh = 0; this.scStartDate.Name = "scStartDate"; this.scStartDate.ResId = ""; this.scStartDate.SelectionStart = 0; this.scStartDate.Size = new System.Drawing.Size(200, 29); this.scStartDate.TabIndex = 2; this.scStartDate.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scStartDate.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.scStartDate.Value = "2020-05-30"; // // scShipAddress // this.scShipAddress.FieldName = "ship_addr"; this.scShipAddress.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scShipAddress.HeaderTextId = "ship_addr"; this.scShipAddress.Location = new System.Drawing.Point(3, 61); this.scShipAddress.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scShipAddress.MaxLengh = 0; this.scShipAddress.Name = "scShipAddress"; this.scShipAddress.ResId = ""; this.scShipAddress.SelectionStart = 0; this.scShipAddress.Size = new System.Drawing.Size(250, 29); this.scShipAddress.TabIndex = 5; this.scShipAddress.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scShipAddress.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // scFullName // this.scFullName.FieldName = "full_name"; this.scFullName.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scFullName.HeaderTextId = "full_name"; this.scFullName.Location = new System.Drawing.Point(257, 61); this.scFullName.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scFullName.MaxLengh = 0; this.scFullName.Name = "scFullName"; this.scFullName.ReadOnlyBackColorKeep = true; this.scFullName.ResId = ""; this.scFullName.SelectionStart = 0; this.scFullName.Size = new System.Drawing.Size(200, 29); this.scFullName.TabIndex = 6; this.scFullName.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scFullName.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // scPickupLocation // this.scPickupLocation.ConnectedControls = new HanbiControl.HbControl[0]; this.scPickupLocation.FieldName = "loc_nm"; this.scPickupLocation.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scPickupLocation.HeaderTextId = "loc_nm"; this.scPickupLocation.Location = new System.Drawing.Point(3, 25); this.scPickupLocation.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scPickupLocation.MaxLengh = 0; this.scPickupLocation.Name = "scPickupLocation"; this.scPickupLocation.PopupFormClassName = "popPickupLocation"; this.scPickupLocation.PopupFormDllName = "SYS"; this.scPickupLocation.ReadOnlyBackColorKeep = true; this.scPickupLocation.ResId = ""; this.scPickupLocation.SelectionStart = 0; this.scPickupLocation.Size = new System.Drawing.Size(250, 29); this.scPickupLocation.TabIndex = 1; this.scPickupLocation.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scPickupLocation.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // scTelNo // this.scTelNo.FieldName = "tel_no"; this.scTelNo.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.scTelNo.HeaderTextId = "tel_no"; this.scTelNo.Location = new System.Drawing.Point(473, 61); this.scTelNo.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.scTelNo.MaxLengh = 0; this.scTelNo.Name = "scTelNo"; this.scTelNo.ReadOnlyBackColorKeep = true; this.scTelNo.ResId = ""; this.scTelNo.SelectionStart = 0; this.scTelNo.Size = new System.Drawing.Size(200, 29); this.scTelNo.TabIndex = 7; this.scTelNo.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.scTelNo.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // hbControlReturnDetail // this.hbControlReturnDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlReturnDetail.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlReturnDetail.Appearance.Options.UseFont = true; this.hbControlReturnDetail.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlReturnDetail.AppearanceCaption.Options.UseFont = true; this.hbControlReturnDetail.Controls.Add(this.gridReturnDetail); this.hbControlReturnDetail.HeaderTextId = "return_dtl"; this.hbControlReturnDetail.Image = null; this.hbControlReturnDetail.Location = new System.Drawing.Point(2, 1); this.hbControlReturnDetail.Margin = new System.Windows.Forms.Padding(2); this.hbControlReturnDetail.Name = "hbControlReturnDetail"; this.hbControlReturnDetail.ResId = ""; this.hbControlReturnDetail.Size = new System.Drawing.Size(887, 195); this.hbControlReturnDetail.TabIndex = 3; this.hbControlReturnDetail.Text = "반품 세부 정보"; this.hbControlReturnDetail.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // gridReturnDetail // this.gridReturnDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridReturnDetail.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2); this.gridReturnDetail.Location = new System.Drawing.Point(3, 25); this.gridReturnDetail.MainView = this.gridViewReturnDetail; this.gridReturnDetail.Margin = new System.Windows.Forms.Padding(2); this.gridReturnDetail.Name = "gridReturnDetail"; this.gridReturnDetail.Size = new System.Drawing.Size(881, 166); this.gridReturnDetail.TabIndex = 0; this.gridReturnDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewReturnDetail }); // // gridViewReturnDetail // this.gridViewReturnDetail.GridControl = this.gridReturnDetail; this.gridViewReturnDetail.Name = "gridViewReturnDetail"; this.gridViewReturnDetail.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridViewReturnDetail_RowStyle); this.gridViewReturnDetail.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewReturnDetail_FocusedRowChanged); this.gridViewReturnDetail.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridViewReturnDetail_CellValueChanged); this.gridViewReturnDetail.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridViewReturnDetail_CellValueChanging); this.gridViewReturnDetail.DataSourceChanged += new System.EventHandler(this.gridViewReturnDetail_DataSourceChanged); // // hbControlReturn // this.hbControlReturn.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.hbControlReturn.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlReturn.Appearance.Options.UseFont = true; this.hbControlReturn.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbControlReturn.AppearanceCaption.Options.UseFont = true; this.hbControlReturn.Controls.Add(this.btnRefund); this.hbControlReturn.Controls.Add(this.gridReturn); this.hbControlReturn.HeaderTextId = "return"; this.hbControlReturn.Image = null; this.hbControlReturn.Location = new System.Drawing.Point(2, 2); this.hbControlReturn.Margin = new System.Windows.Forms.Padding(2); this.hbControlReturn.Name = "hbControlReturn"; this.hbControlReturn.ResId = ""; this.hbControlReturn.Size = new System.Drawing.Size(887, 281); this.hbControlReturn.TabIndex = 1; this.hbControlReturn.Text = "반환"; this.hbControlReturn.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // btnRefund // this.btnRefund.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnRefund.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.btnRefund.HeaderTextId = "refund"; this.btnRefund.Image = null; this.btnRefund.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnRefund.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.btnRefund.Location = new System.Drawing.Point(3, 222); this.btnRefund.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnRefund.Name = "btnRefund"; this.btnRefund.ResId = ""; this.btnRefund.Size = new System.Drawing.Size(53, 55); this.btnRefund.TabIndex = 4; this.btnRefund.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.btnRefund.HbClick += new HanbiControl.clsControl.ClickEventHandler(this.btnRefund_HbClick); // // gridReturn // this.gridReturn.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridReturn.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2); this.gridReturn.Location = new System.Drawing.Point(60, 25); this.gridReturn.MainView = this.gridViewReturn; this.gridReturn.Margin = new System.Windows.Forms.Padding(2); this.gridReturn.Name = "gridReturn"; this.gridReturn.Size = new System.Drawing.Size(824, 252); this.gridReturn.TabIndex = 0; this.gridReturn.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewReturn }); // // gridViewReturn // this.gridViewReturn.GridControl = this.gridReturn; this.gridViewReturn.Name = "gridViewReturn"; this.gridViewReturn.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridViewReturn_RowStyle); this.gridViewReturn.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridViewReturn_FocusedRowChanged); this.gridViewReturn.DataSourceChanged += new System.EventHandler(this.gridViewReturn_DataSourceChanged); // // splitContainerControl1 // this.splitContainerControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 101); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.hbControlReturn); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.hbControlReturnDetail); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(891, 486); this.splitContainerControl1.SplitterPosition = 284; this.splitContainerControl1.TabIndex = 0; this.splitContainerControl1.Text = "splitContainerControl1"; // // SOD_Return // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.hbControlFind); this.Name = "SOD_Return"; this.Size = new System.Drawing.Size(891, 588); ((System.ComponentModel.ISupportInitialize)(this.hbControlFind)).EndInit(); this.hbControlFind.ResumeLayout(false); this.hbControlFind.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbControlReturnDetail)).EndInit(); this.hbControlReturnDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridReturnDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewReturnDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.hbControlReturn)).EndInit(); this.hbControlReturn.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridReturn)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewReturn)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { WebUtil.ProcAction procAction1 = new WebUtil.ProcAction(); WebUtil.ProcAction procAction2 = new WebUtil.ProcAction(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.hbGroupControl1 = new HanbiControl.HbGroupControl(); this.treeList1 = new DevExpress.XtraTreeList.TreeList(); this.treeListColumnId = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeListColumnKo = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeListColumnEn = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeListColumnVi = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeListColumnUseYn = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.grpForm = new HanbiControl.HbGroupControl(); this.etParentId = new HanbiControl.HbTextEditH(); this.etMenuId = new HanbiControl.HbTextEditH(); this.etCloseYn = new HanbiControl.HbCheckEditH(); this.etOpenYn = new HanbiControl.HbCheckEditH(); this.etMenuGroup = new HanbiControl.HbComboEditH(); this.etDepth = new HanbiControl.HbNumberEditH(); this.etUseYn = new HanbiControl.HbCheckEditH(); this.etClassName = new HanbiControl.HbTextEditH(); this.etDllName = new HanbiControl.HbTextEditH(); this.etMenuName = new HanbiControl.HbTextEditH(); this.etSort = new HanbiControl.HbNumberEditH(); this.etMenuType = new HanbiControl.HbComboEditH(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl1)).BeginInit(); this.hbGroupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grpForm)).BeginInit(); this.grpForm.SuspendLayout(); this.SuspendLayout(); // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.FixedPanel = DevExpress.XtraEditors.SplitFixedPanel.Panel2; this.splitContainerControl1.Location = new System.Drawing.Point(0, 0); this.splitContainerControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.hbGroupControl1); this.splitContainerControl1.Panel1.Text = "Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.grpForm); this.splitContainerControl1.Panel2.Text = "Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(1386, 907); this.splitContainerControl1.SplitterPosition = 657; this.splitContainerControl1.TabIndex = 0; this.splitContainerControl1.Text = "splitContainerControl1"; // // hbGroupControl1 // this.hbGroupControl1.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbGroupControl1.Appearance.Options.UseFont = true; this.hbGroupControl1.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.hbGroupControl1.AppearanceCaption.Options.UseFont = true; this.hbGroupControl1.Controls.Add(this.treeList1); this.hbGroupControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.hbGroupControl1.HeaderTextId = "treelist"; this.hbGroupControl1.Image = null; this.hbGroupControl1.Location = new System.Drawing.Point(0, 0); this.hbGroupControl1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.hbGroupControl1.Name = "hbGroupControl1"; this.hbGroupControl1.ResId = ""; this.hbGroupControl1.Size = new System.Drawing.Size(441, 907); this.hbGroupControl1.TabIndex = 0; this.hbGroupControl1.Text = "트리리스트"; this.hbGroupControl1.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // treeList1 // this.treeList1.Appearance.BandPanel.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.BandPanel.Options.UseFont = true; this.treeList1.Appearance.CustomizationFormHint.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.CustomizationFormHint.Options.UseFont = true; this.treeList1.Appearance.Empty.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.Empty.Options.UseFont = true; this.treeList1.Appearance.EvenRow.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.EvenRow.Options.UseFont = true; this.treeList1.Appearance.FilterPanel.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.FilterPanel.Options.UseFont = true; this.treeList1.Appearance.FixedLine.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.FixedLine.Options.UseFont = true; this.treeList1.Appearance.FocusedCell.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.FocusedCell.Options.UseFont = true; this.treeList1.Appearance.FocusedRow.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.FocusedRow.Options.UseFont = true; this.treeList1.Appearance.FooterPanel.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.FooterPanel.Options.UseFont = true; this.treeList1.Appearance.GroupButton.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.GroupButton.Options.UseFont = true; this.treeList1.Appearance.GroupFooter.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.GroupFooter.Options.UseFont = true; this.treeList1.Appearance.HeaderPanel.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.HeaderPanel.Options.UseFont = true; this.treeList1.Appearance.HeaderPanelBackground.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.HeaderPanelBackground.Options.UseFont = true; this.treeList1.Appearance.HideSelectionRow.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.HideSelectionRow.Options.UseFont = true; this.treeList1.Appearance.HorzLine.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.HorzLine.Options.UseFont = true; this.treeList1.Appearance.OddRow.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.OddRow.Options.UseFont = true; this.treeList1.Appearance.Preview.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.Preview.Options.UseFont = true; this.treeList1.Appearance.Row.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.Row.Options.UseFont = true; this.treeList1.Appearance.SelectedRow.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.SelectedRow.Options.UseFont = true; this.treeList1.Appearance.TreeLine.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.TreeLine.Options.UseFont = true; this.treeList1.Appearance.VertLine.Font = new System.Drawing.Font("맑은 고딕", 9F); this.treeList1.Appearance.VertLine.Options.UseFont = true; this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.treeListColumnId, this.treeListColumnKo, this.treeListColumnEn, this.treeListColumnVi, this.treeListColumnUseYn }); this.treeList1.Dock = System.Windows.Forms.DockStyle.Fill; this.treeList1.Location = new System.Drawing.Point(2, 33); this.treeList1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.treeList1.Name = "treeList1"; this.treeList1.OptionsBehavior.DragNodes = true; this.treeList1.OptionsBehavior.Editable = false; this.treeList1.Size = new System.Drawing.Size(437, 872); this.treeList1.TabIndex = 0; this.treeList1.AfterDragNode += new DevExpress.XtraTreeList.NodeEventHandler(this.treeList1_AfterDragNode); this.treeList1.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeList1_FocusedNodeChanged); this.treeList1.DragOver += new System.Windows.Forms.DragEventHandler(this.treeList1_DragOver); // // treeListColumnId // this.treeListColumnId.Caption = "ID"; this.treeListColumnId.FieldName = "id"; this.treeListColumnId.Name = "treeListColumnId"; this.treeListColumnId.Visible = true; this.treeListColumnId.VisibleIndex = 0; this.treeListColumnId.Width = 81; // // treeListColumnKo // this.treeListColumnKo.Caption = "KO"; this.treeListColumnKo.FieldName = "ko"; this.treeListColumnKo.Name = "treeListColumnKo"; this.treeListColumnKo.Visible = true; this.treeListColumnKo.VisibleIndex = 1; this.treeListColumnKo.Width = 82; // // treeListColumnEn // this.treeListColumnEn.Caption = "EN"; this.treeListColumnEn.FieldName = "en"; this.treeListColumnEn.Name = "treeListColumnEn"; this.treeListColumnEn.Visible = true; this.treeListColumnEn.VisibleIndex = 2; this.treeListColumnEn.Width = 81; // // treeListColumnVi // this.treeListColumnVi.Caption = "VI"; this.treeListColumnVi.FieldName = "vi"; this.treeListColumnVi.Name = "treeListColumnVi"; this.treeListColumnVi.Visible = true; this.treeListColumnVi.VisibleIndex = 3; this.treeListColumnVi.Width = 81; // // treeListColumnUseYn // this.treeListColumnUseYn.Caption = "Usable"; this.treeListColumnUseYn.FieldName = "use_yn"; this.treeListColumnUseYn.Name = "treeListColumnUseYn"; this.treeListColumnUseYn.Visible = true; this.treeListColumnUseYn.VisibleIndex = 4; this.treeListColumnUseYn.Width = 81; // // grpForm // this.grpForm.Appearance.Font = new System.Drawing.Font("맑은 고딕", 9F); this.grpForm.Appearance.Options.UseFont = true; this.grpForm.AppearanceCaption.Font = new System.Drawing.Font("맑은 고딕", 9F); this.grpForm.AppearanceCaption.Options.UseFont = true; this.grpForm.Controls.Add(this.etParentId); this.grpForm.Controls.Add(this.etMenuId); this.grpForm.Controls.Add(this.etCloseYn); this.grpForm.Controls.Add(this.etOpenYn); this.grpForm.Controls.Add(this.etMenuGroup); this.grpForm.Controls.Add(this.etDepth); this.grpForm.Controls.Add(this.etUseYn); this.grpForm.Controls.Add(this.etClassName); this.grpForm.Controls.Add(this.etDllName); this.grpForm.Controls.Add(this.etMenuName); this.grpForm.Controls.Add(this.etSort); this.grpForm.Controls.Add(this.etMenuType); this.grpForm.Dock = System.Windows.Forms.DockStyle.Fill; this.grpForm.HeaderTextId = "form"; this.grpForm.Image = null; this.grpForm.Location = new System.Drawing.Point(0, 0); this.grpForm.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.grpForm.Name = "grpForm"; this.grpForm.ResId = ""; this.grpForm.Size = new System.Drawing.Size(940, 907); this.grpForm.TabIndex = 0; this.grpForm.Text = "폼"; this.grpForm.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // etParentId // this.etParentId.FieldName = "parent_id"; this.etParentId.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etParentId.HeaderTextId = "parent_menu_id"; this.etParentId.Location = new System.Drawing.Point(330, 42); this.etParentId.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etParentId.MaxLengh = 0; this.etParentId.Name = "etParentId"; this.etParentId.ReadOnly = true; this.etParentId.ReadOnlyBackColorKeep = true; this.etParentId.ResId = ""; this.etParentId.SelectionStart = 0; this.etParentId.Size = new System.Drawing.Size(314, 41); this.etParentId.TabIndex = 13; this.etParentId.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etParentId.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // etMenuId // this.etMenuId.FieldName = "menu_id"; this.etMenuId.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etMenuId.HeaderTextId = "menu_id"; this.etMenuId.Location = new System.Drawing.Point(7, 96); this.etMenuId.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etMenuId.MaxLengh = 0; this.etMenuId.Name = "etMenuId"; this.etMenuId.ReadOnly = true; this.etMenuId.ResId = ""; this.etMenuId.SelectionStart = 0; this.etMenuId.Size = new System.Drawing.Size(314, 41); this.etMenuId.TabIndex = 12; this.etMenuId.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etMenuId.TextFont = new System.Drawing.Font("맑은 고딕", 9F); // // etCloseYn // this.etCloseYn.Checked = false; this.etCloseYn.FieldName = "close_yn"; this.etCloseYn.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etCloseYn.HeaderTextId = "menu_close_yn"; this.etCloseYn.Location = new System.Drawing.Point(330, 310); this.etCloseYn.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etCloseYn.Name = "etCloseYn"; this.etCloseYn.ResId = ""; this.etCloseYn.Size = new System.Drawing.Size(314, 41); this.etCloseYn.TabIndex = 11; this.etCloseYn.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etCloseYn.Value = "N"; this.etCloseYn.HbCheckedChanged += new HanbiControl.clsControl.CheckedChangedEventHandler(this.etCloseYn_HbCheckedChanged); // // etOpenYn // this.etOpenYn.Checked = false; this.etOpenYn.FieldName = "open_yn"; this.etOpenYn.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etOpenYn.HeaderTextId = "menu_open_yn"; this.etOpenYn.Location = new System.Drawing.Point(7, 310); this.etOpenYn.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etOpenYn.Name = "etOpenYn"; this.etOpenYn.ResId = ""; this.etOpenYn.Size = new System.Drawing.Size(314, 41); this.etOpenYn.TabIndex = 10; this.etOpenYn.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etOpenYn.Value = "N"; this.etOpenYn.HbCheckedChanged += new HanbiControl.clsControl.CheckedChangedEventHandler(this.etOpenYn_HbCheckedChanged); // // etMenuGroup // this.etMenuGroup.DataSource = null; this.etMenuGroup.DefaultRowName = "All"; this.etMenuGroup.DefaultRowValue = ""; this.etMenuGroup.DictionaryList = null; this.etMenuGroup.FieldName = "menu_group"; this.etMenuGroup.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etMenuGroup.HeaderTextId = "menu_group"; this.etMenuGroup.Location = new System.Drawing.Point(7, 42); this.etMenuGroup.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etMenuGroup.Name = "etMenuGroup"; this.etMenuGroup.ProcAction = procAction1; this.etMenuGroup.ReadOnly = true; this.etMenuGroup.ResId = ""; this.etMenuGroup.Size = new System.Drawing.Size(314, 41); this.etMenuGroup.TabIndex = 9; this.etMenuGroup.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etMenuGroup.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etMenuGroup.Value = null; // // etDepth // this.etDepth.DecimalPlaces = 0; this.etDepth.DefaultValue = new decimal(new int[] { 0, 0, 0, 0 }); this.etDepth.FieldName = "depth"; this.etDepth.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etDepth.HeaderTextId = "menu_depth"; this.etDepth.Location = new System.Drawing.Point(7, 203); this.etDepth.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etDepth.MaxLengh = 0; this.etDepth.Name = "etDepth"; this.etDepth.ReadOnly = true; this.etDepth.ResId = ""; this.etDepth.SelectionStart = 0; this.etDepth.Size = new System.Drawing.Size(314, 41); this.etDepth.TabIndex = 8; this.etDepth.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etDepth.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etDepth.Value = new decimal(new int[] { 0, 0, 0, 0 }); // // etUseYn // this.etUseYn.Checked = false; this.etUseYn.FieldName = "use_yn"; this.etUseYn.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etUseYn.HeaderTextId = "use_yn"; this.etUseYn.Location = new System.Drawing.Point(7, 363); this.etUseYn.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etUseYn.Name = "etUseYn"; this.etUseYn.ResId = ""; this.etUseYn.Size = new System.Drawing.Size(314, 41); this.etUseYn.TabIndex = 7; this.etUseYn.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etUseYn.Value = "N"; this.etUseYn.FontChanged += new System.EventHandler(this.etUseYn_FontChanged); // // etClassName // this.etClassName.FieldName = "class_name"; this.etClassName.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etClassName.HeaderTextId = "class_name"; this.etClassName.Location = new System.Drawing.Point(330, 256); this.etClassName.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etClassName.MaxLengh = 0; this.etClassName.Name = "etClassName"; this.etClassName.ResId = ""; this.etClassName.SelectionStart = 0; this.etClassName.Size = new System.Drawing.Size(314, 41); this.etClassName.TabIndex = 6; this.etClassName.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etClassName.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etClassName.HbTextChanged += new HanbiControl.clsControl.ChangeTextEventHandler(this.etClassName_HbTextChanged); // // etDllName // this.etDllName.FieldName = "dll_name"; this.etDllName.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etDllName.HeaderTextId = "dll_name"; this.etDllName.Location = new System.Drawing.Point(7, 256); this.etDllName.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etDllName.MaxLengh = 0; this.etDllName.Name = "etDllName"; this.etDllName.ReadOnlyBackColorKeep = true; this.etDllName.ResId = ""; this.etDllName.SelectionStart = 0; this.etDllName.Size = new System.Drawing.Size(314, 41); this.etDllName.TabIndex = 5; this.etDllName.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etDllName.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etDllName.HbTextChanged += new HanbiControl.clsControl.ChangeTextEventHandler(this.etDllName_HbTextChanged); // // etMenuName // this.etMenuName.FieldName = "menu_name"; this.etMenuName.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etMenuName.HeaderTextId = "menu_name"; this.etMenuName.Location = new System.Drawing.Point(7, 149); this.etMenuName.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etMenuName.MaxLengh = 0; this.etMenuName.Name = "etMenuName"; this.etMenuName.ResId = ""; this.etMenuName.SelectionStart = 0; this.etMenuName.Size = new System.Drawing.Size(637, 41); this.etMenuName.TabIndex = 4; this.etMenuName.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etMenuName.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etMenuName.HbTextChanged += new HanbiControl.clsControl.ChangeTextEventHandler(this.etMenuName_HbTextChanged); // // etSort // this.etSort.DecimalPlaces = 0; this.etSort.DefaultValue = new decimal(new int[] { 0, 0, 0, 0 }); this.etSort.FieldName = "sort"; this.etSort.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etSort.HeaderTextId = "sort_seq"; this.etSort.Location = new System.Drawing.Point(330, 203); this.etSort.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etSort.MaxLengh = 0; this.etSort.Name = "etSort"; this.etSort.ReadOnly = true; this.etSort.ReadOnlyBackColorKeep = true; this.etSort.ResId = ""; this.etSort.SelectionStart = 0; this.etSort.Size = new System.Drawing.Size(314, 41); this.etSort.TabIndex = 3; this.etSort.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etSort.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etSort.Value = new decimal(new int[] { 0, 0, 0, 0 }); // // etMenuType // this.etMenuType.DataSource = null; this.etMenuType.DefaultRowName = "All"; this.etMenuType.DefaultRowValue = ""; this.etMenuType.DictionaryList = null; this.etMenuType.FieldName = "menu_type"; this.etMenuType.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.etMenuType.HeaderTextId = "menu_type"; this.etMenuType.Location = new System.Drawing.Point(330, 96); this.etMenuType.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6); this.etMenuType.Name = "etMenuType"; this.etMenuType.ProcAction = procAction2; this.etMenuType.ReadOnly = true; this.etMenuType.ReadOnlyBackColorKeep = true; this.etMenuType.ResId = ""; this.etMenuType.Size = new System.Drawing.Size(314, 41); this.etMenuType.TabIndex = 2; this.etMenuType.Text_Align = DevExpress.Utils.HorzAlignment.Default; this.etMenuType.TextFont = new System.Drawing.Font("맑은 고딕", 9F); this.etMenuType.Value = null; // // SYS_Menu // this.Appearance.BackColor = System.Drawing.Color.White; this.Appearance.Options.UseBackColor = true; this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 22F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.splitContainerControl1); this.Name = "SYS_Menu"; this.Size = new System.Drawing.Size(1386, 907); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.hbGroupControl1)).EndInit(); this.hbGroupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grpForm)).EndInit(); this.grpForm.ResumeLayout(false); this.ResumeLayout(false); }