//Fill each comboBox with number 1 to 10 private void FillCombo(ref C1.Win.C1List.C1Combo comb) { for (int i = 1; i < 11; i++) { comb.AddItem(i.ToString()); } comb.SelectedIndex = 0; comb.ColumnHeaders = false; }
/// <summary> /// Set_ComboList : DataTable의 내용을 콤보리스트에 추가 /// </summary> /// <param name="dtcmb_list">콤보 박스에 추가될 리스트</param> /// <param name="arg_cmb">적용 대상 콤보 박스명</param> /// <param name="arg_cd_ix">코드로 사용될 필드 인덱스</param> /// <param name="arg_name_ix">코드명으로 사용될 필드 인덱스</param> /// <param name="arg_emptyrow">상단에 공백 넣을지 여부</param> /// <param name="arg_codewidth">Code Width 값</param> /// <param name="arg_namewidth">Name Width 값</param> public static void Set_ComboList(DataTable dtcmb_list, C1.Win.C1List.C1Combo arg_cmb, int arg_cd_ix, int arg_name_ix, bool arg_emptyrow, int arg_codewidth, int arg_namewidth) { DataTable temp_datatable = new DataTable("Combo List"); DataRow newrow; int dropdownwidth = arg_codewidth + arg_namewidth; if (arg_cmb.Width > dropdownwidth) { dropdownwidth = arg_cmb.Width; } try { temp_datatable.Columns.Add(new DataColumn("Code", Type.GetType("System.String"))); temp_datatable.Columns.Add(new DataColumn("Name", Type.GetType("System.String"))); if (arg_emptyrow == true) { newrow = temp_datatable.NewRow(); newrow["Code"] = " "; newrow["Name"] = "ALL"; temp_datatable.Rows.Add(newrow); } for (int i = 0; i < dtcmb_list.Rows.Count; i++) { newrow = temp_datatable.NewRow(); newrow["Code"] = dtcmb_list.Rows[i].ItemArray[arg_cd_ix]; newrow["Name"] = dtcmb_list.Rows[i].ItemArray[arg_name_ix]; temp_datatable.Rows.Add(newrow); } arg_cmb.DataSource = null; arg_cmb.DataSource = temp_datatable; arg_cmb.ValueMember = "Code"; arg_cmb.DisplayMember = "Name"; arg_cmb.SelectedIndex = -1; arg_cmb.MaxDropDownItems = 10; arg_cmb.DropDownWidth = dropdownwidth; arg_cmb.Splits[0].DisplayColumns["Code"].Width = arg_codewidth; arg_cmb.Splits[0].DisplayColumns["Name"].Width = arg_namewidth - 25;//스크롤 방지 arg_cmb.ExtendRightColumn = true; arg_cmb.CellTips = C1.Win.C1List.CellTipEnum.Anchored; } catch (Exception ex) { MessageBox.Show(ex.Message.ToString(), "Set_ComboList", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
/// <summary> /// Set_ComboList_3 : 컬럼 3개짜리 콤보리스트 /// </summary> /// <param name="dtcmb_list"></param> /// <param name="arg_cmb"></param> /// <param name="arg_1_pos"></param> /// <param name="arg_2_pos"></param> /// <param name="arg_3_pos"></param> public static void Set_ComboList_3(DataTable dtcmb_list, C1.Win.C1List.C1Combo arg_cmb, int arg_1_pos, int arg_2_pos, int arg_3_pos) { DataSet temp_dataset = new System.Data.DataSet(); DataTable temp_datatable; DataRow newrow; int i; temp_datatable = temp_dataset.Tables.Add("Combo List"); temp_datatable.Columns.Add(new DataColumn("Code", Type.GetType("System.String"))); temp_datatable.Columns.Add(new DataColumn("Name", Type.GetType("System.String"))); temp_datatable.Columns.Add(new DataColumn("Desc", Type.GetType("System.String"))); for (i = 0; i < dtcmb_list.Rows.Count; i++) { newrow = temp_datatable.NewRow(); newrow[0] = dtcmb_list.Rows[i].ItemArray[arg_1_pos]; newrow[1] = dtcmb_list.Rows[i].ItemArray[arg_2_pos]; newrow[2] = dtcmb_list.Rows[i].ItemArray[arg_3_pos]; temp_datatable.Rows.Add(newrow); } // arg_cmb.ClearItems(); // arg_cmb.DataSource = null; arg_cmb.DataSource = temp_datatable; arg_cmb.ValueMember = "Code"; arg_cmb.DisplayMember = "Name"; arg_cmb.SelectedIndex = -1; arg_cmb.MaxDropDownItems = 10; arg_cmb.Splits[0].DisplayColumns[0].Width = 50; arg_cmb.Splits[0].DisplayColumns[1].Width = 150; arg_cmb.Splits[0].DisplayColumns[2].Width = 150; arg_cmb.ExtendRightColumn = true; arg_cmb.CellTips = C1.Win.C1List.CellTipEnum.Anchored; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { C1.Win.C1List.Style style1 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style2 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style3 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style4 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style5 = new C1.Win.C1List.Style(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); C1.Win.C1List.Style style6 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style7 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style8 = new C1.Win.C1List.Style(); this.c1Combo1 = new C1.Win.C1List.C1Combo(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.dataSet11 = new Tutorial2.DataSet1(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); this.SuspendLayout(); // // c1Combo1 // this.c1Combo1.AddItemSeparator = ';'; this.c1Combo1.Caption = ""; this.c1Combo1.CaptionHeight = 17; this.c1Combo1.CaptionStyle = style1; this.c1Combo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.c1Combo1.ColumnCaptionHeight = 17; this.c1Combo1.ColumnFooterHeight = 17; this.c1Combo1.ColumnWidth = 100; this.c1Combo1.ContentHeight = 15; this.c1Combo1.DataMember = "Composer"; this.c1Combo1.DataSource = this.dataSet11; this.c1Combo1.DeadAreaBackColor = System.Drawing.Color.Empty; this.c1Combo1.EditorBackColor = System.Drawing.SystemColors.Window; this.c1Combo1.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.c1Combo1.EditorForeColor = System.Drawing.SystemColors.WindowText; this.c1Combo1.EditorHeight = 15; this.c1Combo1.EvenRowStyle = style2; this.c1Combo1.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.c1Combo1.FooterStyle = style3; this.c1Combo1.GapHeight = 2; this.c1Combo1.HeadingStyle = style4; this.c1Combo1.HighLightRowStyle = style5; this.c1Combo1.Images.Add(((System.Drawing.Image)(resources.GetObject("c1Combo1.Images")))); this.c1Combo1.ItemHeight = 15; this.c1Combo1.Location = new System.Drawing.Point(61, 112); this.c1Combo1.MatchEntryTimeout = ((long)(2000)); this.c1Combo1.MaxDropDownItems = ((short)(5)); this.c1Combo1.MaxLength = 32767; this.c1Combo1.MouseCursor = System.Windows.Forms.Cursors.Default; this.c1Combo1.Name = "c1Combo1"; this.c1Combo1.OddRowStyle = style6; this.c1Combo1.RowDivider.Color = System.Drawing.Color.DarkGray; this.c1Combo1.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.c1Combo1.RowSubDividerColor = System.Drawing.Color.DarkGray; this.c1Combo1.SelectedStyle = style7; this.c1Combo1.Size = new System.Drawing.Size(310, 21); this.c1Combo1.Style = style8; this.c1Combo1.TabIndex = 0; this.c1Combo1.Text = "c1Combo1"; this.c1Combo1.PropBag = resources.GetString("c1Combo1.PropBag"); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT Composer.*\r\nFROM Composer"; this.oleDbSelectCommand1.Connection = this.oleDbConnection1; // // oleDbDataAdapter1 // this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1; this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Composer", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("First", "First"), new System.Data.Common.DataColumnMapping("Last", "Last"), new System.Data.Common.DataColumnMapping("Country", "Country"), new System.Data.Common.DataColumnMapping("Birth", "Birth"), new System.Data.Common.DataColumnMapping("Death", "Death") }) }); // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\"..\\..\\..\\Data\\C1ListDemo.mdb\""; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(440, 273); this.Controls.Add(this.c1Combo1); this.Name = "Form1"; this.Text = "C1List .Net Tutorial2"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).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() { C1.Win.C1List.Style style1 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style2 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style3 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style4 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style5 = new C1.Win.C1List.Style(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); C1.Win.C1List.Style style6 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style7 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style8 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style9 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style10 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style11 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style12 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style13 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style14 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style15 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style16 = new C1.Win.C1List.Style(); this.dblOpus = new C1.Win.C1List.C1List(); this.dataSet21 = new Tutorial4.DataSet2(); this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbSelectCommand2 = new System.Data.OleDb.OleDbCommand(); this.oleDbDataAdapter2 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbInsertCommand = new System.Data.OleDb.OleDbCommand(); this.dbcCombo = new C1.Win.C1List.C1Combo(); this.dataSet11 = new Tutorial4.DataSet1(); ((System.ComponentModel.ISupportInitialize)(this.dblOpus)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet21)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dbcCombo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); this.SuspendLayout(); // // dblOpus // this.dblOpus.AddItemSeparator = ';'; this.dblOpus.CaptionHeight = 17; this.dblOpus.CaptionStyle = style1; this.dblOpus.ColumnCaptionHeight = 17; this.dblOpus.ColumnFooterHeight = 17; this.dblOpus.ColumnWidth = 100; this.dblOpus.DataMember = "Opus"; this.dblOpus.DataSource = this.dataSet21; this.dblOpus.DeadAreaBackColor = System.Drawing.SystemColors.ControlDark; this.dblOpus.EvenRowStyle = style2; this.dblOpus.FooterStyle = style3; this.dblOpus.HeadingStyle = style4; this.dblOpus.HighLightRowStyle = style5; this.dblOpus.Images.Add(((System.Drawing.Image)(resources.GetObject("dblOpus.Images")))); this.dblOpus.ItemHeight = 15; this.dblOpus.Location = new System.Drawing.Point(224, 24); this.dblOpus.MatchEntryTimeout = ((long)(2000)); this.dblOpus.Name = "dblOpus"; this.dblOpus.OddRowStyle = style6; this.dblOpus.RowDivider.Color = System.Drawing.Color.DarkGray; this.dblOpus.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.dblOpus.RowSubDividerColor = System.Drawing.Color.DarkGray; this.dblOpus.SelectedStyle = style7; this.dblOpus.Size = new System.Drawing.Size(224, 232); this.dblOpus.Style = style8; this.dblOpus.TabIndex = 0; this.dblOpus.Text = "c1List1"; this.dblOpus.PropBag = resources.GetString("dblOpus.PropBag"); // // dataSet21 // this.dataSet21.DataSetName = "DataSet2"; // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\"..\\..\\..\\Data\\C1ListDemo.mdb\""; // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT [Last]\r\nFROM Composer"; this.oleDbSelectCommand1.Connection = this.oleDbConnection1; // // oleDbDataAdapter1 // this.oleDbDataAdapter1.InsertCommand = this.oleDbInsertCommand; this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1; this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Composer", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Last", "Last") }) }); // // oleDbSelectCommand2 // this.oleDbSelectCommand2.CommandText = "SELECT [Last], Opus\r\nFROM Opus"; this.oleDbSelectCommand2.Connection = this.oleDbConnection1; // // oleDbDataAdapter2 // this.oleDbDataAdapter2.SelectCommand = this.oleDbSelectCommand2; this.oleDbDataAdapter2.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Opus", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Last", "Last"), new System.Data.Common.DataColumnMapping("Opus", "Opus") }) }); // // oleDbInsertCommand // this.oleDbInsertCommand.CommandText = "INSERT INTO `Composer` (`Last`) VALUES (?)"; this.oleDbInsertCommand.Connection = this.oleDbConnection1; this.oleDbInsertCommand.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("p1", System.Data.OleDb.OleDbType.VarWChar, 0, "Last") }); // // dbcCombo // this.dbcCombo.AddItemSeparator = ';'; this.dbcCombo.Caption = ""; this.dbcCombo.CaptionHeight = 17; this.dbcCombo.CaptionStyle = style9; this.dbcCombo.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.dbcCombo.ColumnCaptionHeight = 17; this.dbcCombo.ColumnFooterHeight = 17; this.dbcCombo.ColumnHeaders = false; this.dbcCombo.ColumnWidth = 100; this.dbcCombo.ContentHeight = 15; this.dbcCombo.DataMember = "Composer"; this.dbcCombo.DataSource = this.dataSet11; this.dbcCombo.DeadAreaBackColor = System.Drawing.Color.Empty; this.dbcCombo.DisplayMember = "Last"; this.dbcCombo.EditorBackColor = System.Drawing.SystemColors.Window; this.dbcCombo.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.dbcCombo.EditorForeColor = System.Drawing.SystemColors.WindowText; this.dbcCombo.EditorHeight = 15; this.dbcCombo.EvenRowStyle = style10; this.dbcCombo.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.dbcCombo.FooterStyle = style11; this.dbcCombo.GapHeight = 2; this.dbcCombo.HeadingStyle = style12; this.dbcCombo.HighLightRowStyle = style13; this.dbcCombo.Images.Add(((System.Drawing.Image)(resources.GetObject("dbcCombo.Images")))); this.dbcCombo.ItemHeight = 15; this.dbcCombo.Location = new System.Drawing.Point(32, 48); this.dbcCombo.MatchEntryTimeout = ((long)(100)); this.dbcCombo.MaxDropDownItems = ((short)(5)); this.dbcCombo.MaxLength = 32767; this.dbcCombo.MouseCursor = System.Windows.Forms.Cursors.Default; this.dbcCombo.Name = "dbcCombo"; this.dbcCombo.OddRowStyle = style14; this.dbcCombo.RowDivider.Color = System.Drawing.Color.DarkGray; this.dbcCombo.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.dbcCombo.RowSubDividerColor = System.Drawing.Color.DarkGray; this.dbcCombo.SelectedStyle = style15; this.dbcCombo.Size = new System.Drawing.Size(160, 21); this.dbcCombo.Style = style16; this.dbcCombo.TabIndex = 1; this.dbcCombo.Text = "c1Combo1"; this.dbcCombo.Change += new C1.Win.C1List.ChangeEventHandler(this.dbcCombo_Change); this.dbcCombo.PropBag = resources.GetString("dbcCombo.PropBag"); // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(480, 293); this.Controls.Add(this.dbcCombo); this.Controls.Add(this.dblOpus); this.Name = "Form1"; this.Text = "C1List .Net Tutorial4"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dblOpus)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet21)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dbcCombo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Set_ComboList : DataTable의 내용을 콤보리스트에 추가 /// </summary> /// <param name="dtcmb_list">콤보 박스에 추가될 리스트</param> /// <param name="arg_cmb">적용 대상 콤보 박스명</param> /// <param name="arg_cd_ix">코드로 사용될 필드 인덱스</param> /// <param name="arg_name_ix">코드명으로 사용될 필드 인덱스</param> public static void Set_ComboList(DataTable dtcmb_list, C1.Win.C1List.C1Combo arg_cmb, int arg_cd_ix, int arg_name_ix) { Set_ComboList(dtcmb_list, arg_cmb, arg_cd_ix, arg_name_ix, false); }
/// <summary> /// Set_ComboList : DataTable의 내용을 콤보리스트에 추가 /// </summary> /// <param name="dtcmb_list">콤보 박스에 추가될 리스트</param> /// <param name="arg_cmb">적용 대상 콤보 박스명</param> /// <param name="arg_cd_ix">코드로 사용될 필드 인덱스</param> /// <param name="arg_name_ix">코드명으로 사용될 필드 인덱스</param> /// <param name="arg_emptyrow">상단에 공백 넣을지 여부</param> /// <param name="arg_visible">보여줄 컬럼 선택</param> public static void Set_ComboList(DataTable dtcmb_list, C1.Win.C1List.C1Combo arg_cmb, int arg_cd_ix, int arg_name_ix, bool arg_emptyrow, COM.ComVar.ComboList_Visible arg_visible) { DataTable temp_datatable = new DataTable("Combo List"); DataRow newrow; try { temp_datatable.Columns.Add(new DataColumn("Code", Type.GetType("System.String"))); temp_datatable.Columns.Add(new DataColumn("Name", Type.GetType("System.String"))); if (arg_emptyrow) { newrow = temp_datatable.NewRow(); newrow["Code"] = " "; newrow["Name"] = "ALL"; temp_datatable.Rows.Add(newrow); } for (int i = 0; i < dtcmb_list.Rows.Count; i++) { newrow = temp_datatable.NewRow(); newrow["Code"] = dtcmb_list.Rows[i].ItemArray[arg_cd_ix]; newrow["Name"] = dtcmb_list.Rows[i].ItemArray[arg_name_ix]; temp_datatable.Rows.Add(newrow); } arg_cmb.DataSource = null; arg_cmb.DataSource = temp_datatable; arg_cmb.ValueMember = "Code"; arg_cmb.DisplayMember = "Name"; arg_cmb.SelectedIndex = -1; arg_cmb.MaxDropDownItems = 10; arg_cmb.Splits[0].DisplayColumns["Code"].Width = 50; arg_cmb.Splits[0].DisplayColumns["Name"].Width = 150; arg_cmb.ExtendRightColumn = true; arg_cmb.CellTips = C1.Win.C1List.CellTipEnum.Anchored; switch (arg_visible) { case COM.ComVar.ComboList_Visible.Code: arg_cmb.Splits[0].DisplayColumns["Name"].Visible = false; arg_cmb.DisplayMember = "Code"; break; case COM.ComVar.ComboList_Visible.Name: arg_cmb.Splits[0].DisplayColumns["Code"].Visible = false; break; //case COM.ComVar.ComboList_Visible.Code_Name: //break; } } catch (Exception ex) { MessageBox.Show(ex.Message.ToString(), "Set_ComboList", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { C1.Win.C1List.Style style1 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style2 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style3 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style4 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style5 = new C1.Win.C1List.Style(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); C1.Win.C1List.Style style6 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style7 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style8 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style9 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style10 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style11 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style12 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style13 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style14 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style15 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style16 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style17 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style18 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style19 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style20 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style21 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style22 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style23 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style24 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style25 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style26 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style27 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style28 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style29 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style30 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style31 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style32 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style33 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style34 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style35 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style36 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style37 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style38 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style39 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style40 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style41 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style42 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style43 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style44 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style45 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style46 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style47 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style48 = new C1.Win.C1List.Style(); this.C1List1 = new C1.Win.C1List.C1List(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.C1Combo4 = new C1.Win.C1List.C1Combo(); this.C1Combo3 = new C1.Win.C1List.C1Combo(); this.C1Combo2 = new C1.Win.C1List.C1Combo(); this.C1Combo1 = new C1.Win.C1List.C1Combo(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); this.C1Combo5 = new C1.Win.C1List.C1Combo(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.dsCustomer1 = new Tutorial16.DsCustomer(); ((System.ComponentModel.ISupportInitialize)(this.C1List1)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.C1Combo4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.C1Combo3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.C1Combo2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.C1Combo1)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.C1Combo5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsCustomer1)).BeginInit(); this.SuspendLayout(); // // C1List1 // this.C1List1.AddItemSeparator = ';'; this.C1List1.CaptionHeight = 17; this.C1List1.CaptionStyle = style1; this.C1List1.ColumnCaptionHeight = 17; this.C1List1.ColumnFooterHeight = 17; this.C1List1.ColumnWidth = 100; this.C1List1.DataMember = "Customer"; this.C1List1.DataSource = this.dsCustomer1; this.C1List1.DeadAreaBackColor = System.Drawing.SystemColors.ControlDark; this.C1List1.EvenRowStyle = style2; this.C1List1.FooterStyle = style3; this.C1List1.HeadingStyle = style4; this.C1List1.HighLightRowStyle = style5; this.C1List1.Images.Add(((System.Drawing.Image)(resources.GetObject("C1List1.Images")))); this.C1List1.ItemHeight = 15; this.C1List1.Location = new System.Drawing.Point(32, 16); this.C1List1.MatchEntryTimeout = ((long)(2000)); this.C1List1.Name = "C1List1"; this.C1List1.OddRowStyle = style6; this.C1List1.RowDivider.Color = System.Drawing.Color.DarkGray; this.C1List1.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.C1List1.RowSubDividerColor = System.Drawing.Color.DarkGray; this.C1List1.SelectedStyle = style7; this.C1List1.Size = new System.Drawing.Size(536, 328); this.C1List1.Style = style8; this.C1List1.TabIndex = 0; this.C1List1.Text = "C1List1"; this.C1List1.FetchScrollTips += new C1.Win.C1List.FetchScrollTipsEventHandler(this.C1List1_FetchScrollTips); this.C1List1.PropBag = resources.GetString("C1List1.PropBag"); // // groupBox1 // this.groupBox1.Controls.Add(this.C1Combo4); this.groupBox1.Controls.Add(this.C1Combo3); this.groupBox1.Controls.Add(this.C1Combo2); this.groupBox1.Controls.Add(this.C1Combo1); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Location = new System.Drawing.Point(32, 360); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(232, 224); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "Border Size"; // // C1Combo4 // this.C1Combo4.AddItemSeparator = ';'; this.C1Combo4.Caption = ""; this.C1Combo4.CaptionHeight = 17; this.C1Combo4.CaptionStyle = style9; this.C1Combo4.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.C1Combo4.ColumnCaptionHeight = 17; this.C1Combo4.ColumnFooterHeight = 17; this.C1Combo4.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.C1Combo4.ContentHeight = 15; this.C1Combo4.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.C1Combo4.DeadAreaBackColor = System.Drawing.Color.Empty; this.C1Combo4.EditorBackColor = System.Drawing.SystemColors.Window; this.C1Combo4.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.C1Combo4.EditorForeColor = System.Drawing.SystemColors.WindowText; this.C1Combo4.EditorHeight = 15; this.C1Combo4.EvenRowStyle = style10; this.C1Combo4.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.C1Combo4.FooterStyle = style11; this.C1Combo4.GapHeight = 2; this.C1Combo4.HeadingStyle = style12; this.C1Combo4.HighLightRowStyle = style13; this.C1Combo4.Images.Add(((System.Drawing.Image)(resources.GetObject("C1Combo4.Images")))); this.C1Combo4.ItemHeight = 15; this.C1Combo4.Location = new System.Drawing.Point(112, 176); this.C1Combo4.MatchEntryTimeout = ((long)(2000)); this.C1Combo4.MaxDropDownItems = ((short)(5)); this.C1Combo4.MaxLength = 32767; this.C1Combo4.MouseCursor = System.Windows.Forms.Cursors.Default; this.C1Combo4.Name = "C1Combo4"; this.C1Combo4.OddRowStyle = style14; this.C1Combo4.RowDivider.Color = System.Drawing.Color.DarkGray; this.C1Combo4.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.C1Combo4.RowSubDividerColor = System.Drawing.Color.DarkGray; this.C1Combo4.SelectedStyle = style15; this.C1Combo4.Size = new System.Drawing.Size(104, 21); this.C1Combo4.Style = style16; this.C1Combo4.TabIndex = 15; this.C1Combo4.TabStop = false; this.C1Combo4.RowChange += new System.EventHandler(this.C1Combo4_RowChange); this.C1Combo4.PropBag = resources.GetString("C1Combo4.PropBag"); // // C1Combo3 // this.C1Combo3.AddItemSeparator = ';'; this.C1Combo3.Caption = ""; this.C1Combo3.CaptionHeight = 17; this.C1Combo3.CaptionStyle = style17; this.C1Combo3.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.C1Combo3.ColumnCaptionHeight = 17; this.C1Combo3.ColumnFooterHeight = 17; this.C1Combo3.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.C1Combo3.ContentHeight = 15; this.C1Combo3.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.C1Combo3.DeadAreaBackColor = System.Drawing.Color.Empty; this.C1Combo3.EditorBackColor = System.Drawing.SystemColors.Window; this.C1Combo3.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.C1Combo3.EditorForeColor = System.Drawing.SystemColors.WindowText; this.C1Combo3.EditorHeight = 15; this.C1Combo3.EvenRowStyle = style18; this.C1Combo3.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.C1Combo3.FooterStyle = style19; this.C1Combo3.GapHeight = 2; this.C1Combo3.HeadingStyle = style20; this.C1Combo3.HighLightRowStyle = style21; this.C1Combo3.Images.Add(((System.Drawing.Image)(resources.GetObject("C1Combo3.Images")))); this.C1Combo3.ItemHeight = 15; this.C1Combo3.Location = new System.Drawing.Point(112, 128); this.C1Combo3.MatchEntryTimeout = ((long)(2000)); this.C1Combo3.MaxDropDownItems = ((short)(5)); this.C1Combo3.MaxLength = 32767; this.C1Combo3.MouseCursor = System.Windows.Forms.Cursors.Default; this.C1Combo3.Name = "C1Combo3"; this.C1Combo3.OddRowStyle = style22; this.C1Combo3.RowDivider.Color = System.Drawing.Color.DarkGray; this.C1Combo3.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.C1Combo3.RowSubDividerColor = System.Drawing.Color.DarkGray; this.C1Combo3.SelectedStyle = style23; this.C1Combo3.Size = new System.Drawing.Size(104, 21); this.C1Combo3.Style = style24; this.C1Combo3.TabIndex = 14; this.C1Combo3.TabStop = false; this.C1Combo3.RowChange += new System.EventHandler(this.C1Combo3_RowChange); this.C1Combo3.PropBag = resources.GetString("C1Combo3.PropBag"); // // C1Combo2 // this.C1Combo2.AddItemSeparator = ';'; this.C1Combo2.Caption = ""; this.C1Combo2.CaptionHeight = 17; this.C1Combo2.CaptionStyle = style25; this.C1Combo2.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.C1Combo2.ColumnCaptionHeight = 17; this.C1Combo2.ColumnFooterHeight = 17; this.C1Combo2.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.C1Combo2.ContentHeight = 15; this.C1Combo2.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.C1Combo2.DeadAreaBackColor = System.Drawing.Color.Empty; this.C1Combo2.EditorBackColor = System.Drawing.SystemColors.Window; this.C1Combo2.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.C1Combo2.EditorForeColor = System.Drawing.SystemColors.WindowText; this.C1Combo2.EditorHeight = 15; this.C1Combo2.EvenRowStyle = style26; this.C1Combo2.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.C1Combo2.FooterStyle = style27; this.C1Combo2.GapHeight = 2; this.C1Combo2.HeadingStyle = style28; this.C1Combo2.HighLightRowStyle = style29; this.C1Combo2.Images.Add(((System.Drawing.Image)(resources.GetObject("C1Combo2.Images")))); this.C1Combo2.ItemHeight = 15; this.C1Combo2.Location = new System.Drawing.Point(112, 80); this.C1Combo2.MatchEntryTimeout = ((long)(100)); this.C1Combo2.MaxDropDownItems = ((short)(5)); this.C1Combo2.MaxLength = 32767; this.C1Combo2.MouseCursor = System.Windows.Forms.Cursors.Default; this.C1Combo2.Name = "C1Combo2"; this.C1Combo2.OddRowStyle = style30; this.C1Combo2.RowDivider.Color = System.Drawing.Color.DarkGray; this.C1Combo2.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.C1Combo2.RowSubDividerColor = System.Drawing.Color.DarkGray; this.C1Combo2.SelectedStyle = style31; this.C1Combo2.Size = new System.Drawing.Size(104, 21); this.C1Combo2.Style = style32; this.C1Combo2.TabIndex = 13; this.C1Combo2.TabStop = false; this.C1Combo2.RowChange += new System.EventHandler(this.C1Combo2_RowChange); this.C1Combo2.PropBag = resources.GetString("C1Combo2.PropBag"); // // C1Combo1 // this.C1Combo1.AddItemSeparator = ';'; this.C1Combo1.Caption = ""; this.C1Combo1.CaptionHeight = 17; this.C1Combo1.CaptionStyle = style33; this.C1Combo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.C1Combo1.ColumnCaptionHeight = 17; this.C1Combo1.ColumnFooterHeight = 17; this.C1Combo1.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.C1Combo1.ContentHeight = 15; this.C1Combo1.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.C1Combo1.DeadAreaBackColor = System.Drawing.Color.Empty; this.C1Combo1.EditorBackColor = System.Drawing.SystemColors.Window; this.C1Combo1.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.C1Combo1.EditorForeColor = System.Drawing.SystemColors.WindowText; this.C1Combo1.EditorHeight = 15; this.C1Combo1.EvenRowStyle = style34; this.C1Combo1.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.C1Combo1.FooterStyle = style35; this.C1Combo1.GapHeight = 2; this.C1Combo1.HeadingStyle = style36; this.C1Combo1.HighLightRowStyle = style37; this.C1Combo1.Images.Add(((System.Drawing.Image)(resources.GetObject("C1Combo1.Images")))); this.C1Combo1.ItemHeight = 15; this.C1Combo1.Location = new System.Drawing.Point(112, 32); this.C1Combo1.MatchEntryTimeout = ((long)(100)); this.C1Combo1.MaxDropDownItems = ((short)(5)); this.C1Combo1.MaxLength = 32767; this.C1Combo1.MouseCursor = System.Windows.Forms.Cursors.Default; this.C1Combo1.Name = "C1Combo1"; this.C1Combo1.OddRowStyle = style38; this.C1Combo1.RowDivider.Color = System.Drawing.Color.DarkGray; this.C1Combo1.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.C1Combo1.RowSubDividerColor = System.Drawing.Color.DarkGray; this.C1Combo1.SelectedStyle = style39; this.C1Combo1.Size = new System.Drawing.Size(104, 21); this.C1Combo1.Style = style40; this.C1Combo1.TabIndex = 12; this.C1Combo1.TabStop = false; this.C1Combo1.RowChange += new System.EventHandler(this.C1Combo1_RowChange); this.C1Combo1.PropBag = resources.GetString("C1Combo1.PropBag"); // // label4 // this.label4.Location = new System.Drawing.Point(24, 182); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(80, 16); this.label4.TabIndex = 3; this.label4.Text = "Right Width:"; // // label3 // this.label3.Location = new System.Drawing.Point(24, 132); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(80, 16); this.label3.TabIndex = 2; this.label3.Text = "Left Width:"; // // label2 // this.label2.Location = new System.Drawing.Point(24, 82); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 16); this.label2.TabIndex = 1; this.label2.Text = "Bottom Width:"; // // label1 // this.label1.Location = new System.Drawing.Point(24, 32); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 16); this.label1.TabIndex = 0; this.label1.Text = "Top Width:"; // // label5 // this.label5.Location = new System.Drawing.Point(280, 400); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(128, 16); this.label5.TabIndex = 2; this.label5.Text = "Border Appearance:"; // // button1 // this.button1.Location = new System.Drawing.Point(304, 480); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(64, 48); this.button1.TabIndex = 4; this.button1.Text = "Border Color"; this.button1.Click += new System.EventHandler(this.button1_Click); // // groupBox2 // this.groupBox2.Controls.Add(this.checkBox2); this.groupBox2.Controls.Add(this.checkBox1); this.groupBox2.Location = new System.Drawing.Point(424, 392); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(152, 160); this.groupBox2.TabIndex = 5; this.groupBox2.TabStop = false; this.groupBox2.Text = "Scrolling"; // // checkBox2 // this.checkBox2.Location = new System.Drawing.Point(24, 104); this.checkBox2.Name = "checkBox2"; this.checkBox2.Size = new System.Drawing.Size(104, 16); this.checkBox2.TabIndex = 1; this.checkBox2.Text = "ScrollTracking"; this.checkBox2.Click += new System.EventHandler(this.checkBox2_Click); // // checkBox1 // this.checkBox1.Location = new System.Drawing.Point(24, 32); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(104, 24); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "ScrollTips"; this.checkBox1.Click += new System.EventHandler(this.checkBox1_Click); // // C1Combo5 // this.C1Combo5.AddItemSeparator = ';'; this.C1Combo5.Caption = ""; this.C1Combo5.CaptionHeight = 17; this.C1Combo5.CaptionStyle = style41; this.C1Combo5.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.C1Combo5.ColumnCaptionHeight = 17; this.C1Combo5.ColumnFooterHeight = 17; this.C1Combo5.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.C1Combo5.ContentHeight = 15; this.C1Combo5.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.C1Combo5.DeadAreaBackColor = System.Drawing.Color.Empty; this.C1Combo5.EditorBackColor = System.Drawing.SystemColors.Window; this.C1Combo5.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.C1Combo5.EditorForeColor = System.Drawing.SystemColors.WindowText; this.C1Combo5.EditorHeight = 15; this.C1Combo5.EvenRowStyle = style42; this.C1Combo5.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.C1Combo5.FooterStyle = style43; this.C1Combo5.GapHeight = 2; this.C1Combo5.HeadingStyle = style44; this.C1Combo5.HighLightRowStyle = style45; this.C1Combo5.Images.Add(((System.Drawing.Image)(resources.GetObject("C1Combo5.Images")))); this.C1Combo5.ItemHeight = 15; this.C1Combo5.Location = new System.Drawing.Point(280, 424); this.C1Combo5.MatchEntryTimeout = ((long)(2000)); this.C1Combo5.MaxDropDownItems = ((short)(5)); this.C1Combo5.MaxLength = 32767; this.C1Combo5.MouseCursor = System.Windows.Forms.Cursors.Default; this.C1Combo5.Name = "C1Combo5"; this.C1Combo5.OddRowStyle = style46; this.C1Combo5.RowDivider.Color = System.Drawing.Color.DarkGray; this.C1Combo5.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.C1Combo5.RowSubDividerColor = System.Drawing.Color.DarkGray; this.C1Combo5.SelectedStyle = style47; this.C1Combo5.Size = new System.Drawing.Size(120, 21); this.C1Combo5.Style = style48; this.C1Combo5.TabIndex = 16; this.C1Combo5.TabStop = false; this.C1Combo5.RowChange += new System.EventHandler(this.C1Combo5_RowChange); this.C1Combo5.PropBag = resources.GetString("C1Combo5.PropBag"); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT Customer.*\r\nFROM Customer"; this.oleDbSelectCommand1.Connection = this.oleDbConnection1; // // oleDbDataAdapter1 // this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1; this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Customer", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("UserCode", "UserCode"), new System.Data.Common.DataColumnMapping("LastName", "LastName"), new System.Data.Common.DataColumnMapping("FirstName", "FirstName"), new System.Data.Common.DataColumnMapping("Company", "Company"), new System.Data.Common.DataColumnMapping("Contacted", "Contacted"), new System.Data.Common.DataColumnMapping("Phone", "Phone") }) }); // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\"..\\..\\..\\Data\\C1ListDemo.mdb\""; // // dsCustomer1 // this.dsCustomer1.DataSetName = "DsCustomer"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(616, 605); this.Controls.Add(this.groupBox2); this.Controls.Add(this.button1); this.Controls.Add(this.label5); this.Controls.Add(this.groupBox1); this.Controls.Add(this.C1List1); this.Controls.Add(this.C1Combo5); this.Name = "Form1"; this.Text = "C1List .Net Tutorial16"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.C1List1)).EndInit(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.C1Combo4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.C1Combo3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.C1Combo2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.C1Combo1)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.C1Combo5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsCustomer1)).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() { this.c1DateEdit1 = new C1.Win.C1Input.C1DateEdit(); this.label1 = new System.Windows.Forms.Label(); this.cboCCN = new C1.Win.C1List.C1Combo(); this.lblCCN = new System.Windows.Forms.Label(); this.btnHelp = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.txtWorkOrder = new System.Windows.Forms.TextBox(); this.lblWorkOrder = new System.Windows.Forms.Label(); this.btnRollUp = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.c1DateEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cboCCN)).BeginInit(); this.SuspendLayout(); // // c1DateEdit1 // this.c1DateEdit1.AccessibleDescription = ""; this.c1DateEdit1.AccessibleName = ""; // // c1DateEdit1.Calendar // this.c1DateEdit1.Calendar.AccessibleDescription = ""; this.c1DateEdit1.Calendar.AccessibleName = ""; this.c1DateEdit1.Calendar.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.c1DateEdit1.CustomFormat = "dd-MM-yyyy"; this.c1DateEdit1.EmptyAsNull = true; this.c1DateEdit1.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat; this.c1DateEdit1.Location = new System.Drawing.Point(74, 30); this.c1DateEdit1.Name = "c1DateEdit1"; this.c1DateEdit1.Size = new System.Drawing.Size(87, 20); this.c1DateEdit1.TabIndex = 53; this.c1DateEdit1.Tag = null; this.c1DateEdit1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.c1DateEdit1.VisibleButtons = C1.Win.C1Input.DropDownControlButtonFlags.DropDown; // // label1 // this.label1.AccessibleDescription = ""; this.label1.AccessibleName = ""; this.label1.ForeColor = System.Drawing.Color.Maroon; this.label1.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.label1.Location = new System.Drawing.Point(5, 30); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(71, 20); this.label1.TabIndex = 54; this.label1.Text = "Rollup Date"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cboCCN // this.cboCCN.AccessibleDescription = ""; this.cboCCN.AccessibleName = ""; this.cboCCN.AddItemSeparator = ';'; this.cboCCN.Caption = ""; this.cboCCN.CaptionHeight = 17; this.cboCCN.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cboCCN.ColumnCaptionHeight = 17; this.cboCCN.ColumnFooterHeight = 17; this.cboCCN.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.cboCCN.ContentHeight = 15; this.cboCCN.DeadAreaBackColor = System.Drawing.Color.Empty; this.cboCCN.EditorBackColor = System.Drawing.SystemColors.Window; this.cboCCN.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cboCCN.EditorForeColor = System.Drawing.SystemColors.WindowText; this.cboCCN.EditorHeight = 15; this.cboCCN.GapHeight = 2; this.cboCCN.ItemHeight = 15; this.cboCCN.Location = new System.Drawing.Point(74, 6); this.cboCCN.MatchEntryTimeout = ((long)(2000)); this.cboCCN.MaxDropDownItems = ((short)(5)); this.cboCCN.MaxLength = 32767; this.cboCCN.MouseCursor = System.Windows.Forms.Cursors.Default; this.cboCCN.Name = "cboCCN"; this.cboCCN.RowDivider.Color = System.Drawing.Color.DarkGray; this.cboCCN.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.cboCCN.RowSubDividerColor = System.Drawing.Color.DarkGray; this.cboCCN.Size = new System.Drawing.Size(87, 21); this.cboCCN.TabIndex = 46; this.cboCCN.PropBag = "<?xml version=\"1.0\"?><Blob><Styles type=\"C1.Win.C1List.Design.ContextWrapper\"><Da" + "ta>Group{AlignVert:Center;Border:None,,0, 0, 0, 0;BackColor:ControlDark;}Style2{" + "}Style5{}Style4{}Style7{}Style6{}EvenRow{BackColor:Aqua;}Selected{ForeColor:High" + "lightText;BackColor:Highlight;}Style3{}Inactive{ForeColor:InactiveCaptionText;Ba" + "ckColor:InactiveCaption;}Footer{}Caption{AlignHorz:Center;}Normal{BackColor:Wind" + "ow;}HighlightRow{ForeColor:HighlightText;BackColor:Highlight;}Style1{}OddRow{}Re" + "cordSelector{AlignImage:Center;}Heading{Wrap:True;BackColor:Control;Border:Raise" + "d,,1, 1, 1, 1;ForeColor:ControlText;AlignVert:Center;}Style8{}Style10{}Style11{}" + "Style9{AlignHorz:Near;}</Data></Styles><Splits><C1.Win.C1List.ListBoxView AllowC" + "olSelect=\"False\" Name=\"\" CaptionHeight=\"17\" ColumnCaptionHeight=\"17\" ColumnFoote" + "rHeight=\"17\" VerticalScrollGroup=\"1\" HorizontalScrollGroup=\"1\"><ClientRect>0, 0," + " 116, 156</ClientRect><VScrollBar><Width>16</Width></VScrollBar><HScrollBar><Hei" + "ght>16</Height></HScrollBar><CaptionStyle parent=\"Style2\" me=\"Style9\" /><EvenRow" + "Style parent=\"EvenRow\" me=\"Style7\" /><FooterStyle parent=\"Footer\" me=\"Style3\" />" + "<GroupStyle parent=\"Group\" me=\"Style11\" /><HeadingStyle parent=\"Heading\" me=\"Sty" + "le2\" /><HighLightRowStyle parent=\"HighlightRow\" me=\"Style6\" /><InactiveStyle par" + "ent=\"Inactive\" me=\"Style4\" /><OddRowStyle parent=\"OddRow\" me=\"Style8\" /><RecordS" + "electorStyle parent=\"RecordSelector\" me=\"Style10\" /><SelectedStyle parent=\"Selec" + "ted\" me=\"Style5\" /><Style parent=\"Normal\" me=\"Style1\" /></C1.Win.C1List.ListBoxV" + "iew></Splits><NamedStyles><Style parent=\"\" me=\"Normal\" /><Style parent=\"Normal\" " + "me=\"Heading\" /><Style parent=\"Heading\" me=\"Footer\" /><Style parent=\"Heading\" me=" + "\"Caption\" /><Style parent=\"Heading\" me=\"Inactive\" /><Style parent=\"Normal\" me=\"S" + "elected\" /><Style parent=\"Normal\" me=\"HighlightRow\" /><Style parent=\"Normal\" me=" + "\"EvenRow\" /><Style parent=\"Normal\" me=\"OddRow\" /><Style parent=\"Heading\" me=\"Rec" + "ordSelector\" /><Style parent=\"Caption\" me=\"Group\" /></NamedStyles><vertSplits>1<" + "/vertSplits><horzSplits>1</horzSplits><Layout>Modified</Layout><DefaultRecSelWid" + "th>16</DefaultRecSelWidth></Blob>"; // // lblCCN // this.lblCCN.AccessibleDescription = ""; this.lblCCN.AccessibleName = ""; this.lblCCN.ForeColor = System.Drawing.Color.Maroon; this.lblCCN.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.lblCCN.Location = new System.Drawing.Point(5, 8); this.lblCCN.Name = "lblCCN"; this.lblCCN.Size = new System.Drawing.Size(71, 20); this.lblCCN.TabIndex = 51; this.lblCCN.Text = "CCN"; this.lblCCN.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnHelp // this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnHelp.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnHelp.Location = new System.Drawing.Point(224, 112); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(60, 23); this.btnHelp.TabIndex = 49; this.btnHelp.Text = "&Help"; // // btnClose // this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClose.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnClose.Location = new System.Drawing.Point(286, 112); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(60, 23); this.btnClose.TabIndex = 50; this.btnClose.Text = "&Close"; // // txtWorkOrder // this.txtWorkOrder.AccessibleDescription = ""; this.txtWorkOrder.AccessibleName = ""; this.txtWorkOrder.Location = new System.Drawing.Point(74, 53); this.txtWorkOrder.Name = "txtWorkOrder"; this.txtWorkOrder.Size = new System.Drawing.Size(87, 20); this.txtWorkOrder.TabIndex = 47; this.txtWorkOrder.Text = ""; // // lblWorkOrder // this.lblWorkOrder.AccessibleDescription = ""; this.lblWorkOrder.AccessibleName = ""; this.lblWorkOrder.ForeColor = System.Drawing.Color.Maroon; this.lblWorkOrder.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.lblWorkOrder.Location = new System.Drawing.Point(5, 53); this.lblWorkOrder.Name = "lblWorkOrder"; this.lblWorkOrder.Size = new System.Drawing.Size(71, 20); this.lblWorkOrder.TabIndex = 52; this.lblWorkOrder.Text = "From Year"; this.lblWorkOrder.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // btnRollUp // this.btnRollUp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnRollUp.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnRollUp.Location = new System.Drawing.Point(8, 114); this.btnRollUp.Name = "btnRollUp"; this.btnRollUp.Size = new System.Drawing.Size(73, 23); this.btnRollUp.TabIndex = 48; this.btnRollUp.Text = "Rollup"; // // StandardCostToActualCost // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(350, 143); this.Controls.Add(this.c1DateEdit1); this.Controls.Add(this.label1); this.Controls.Add(this.cboCCN); this.Controls.Add(this.lblCCN); this.Controls.Add(this.btnHelp); this.Controls.Add(this.btnClose); this.Controls.Add(this.txtWorkOrder); this.Controls.Add(this.lblWorkOrder); this.Controls.Add(this.btnRollUp); this.Name = "StandardCostToActualCost"; this.Text = "Standard Cost Rollup From Actual Cost"; ((System.ComponentModel.ISupportInitialize)(this.c1DateEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cboCCN)).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() { this.c1Combo1 = new C1.Win.C1List.C1Combo(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).BeginInit(); this.SuspendLayout(); // // c1Combo1 // this.c1Combo1.AddItemCols = 0; this.c1Combo1.AddItemSeparator = ';'; this.c1Combo1.AllowColMove = true; this.c1Combo1.AllowSort = true; this.c1Combo1.AlternatingRows = false; this.c1Combo1.Caption = ""; this.c1Combo1.CaptionHeight = 17; this.c1Combo1.CellTips = C1.Win.C1List.CellTipEnum.NoCellTips; this.c1Combo1.CellTipsWidth = 0; this.c1Combo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.c1Combo1.ColumnCaptionHeight = 17; this.c1Combo1.ColumnFooterHeight = 17; this.c1Combo1.ColumnWidth = -1; this.c1Combo1.ContentHeight = 17; this.c1Combo1.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.c1Combo1.DeadAreaBackColor = System.Drawing.Color.Empty; this.c1Combo1.DefColWidth = 0; this.c1Combo1.EditorBackColor = System.Drawing.SystemColors.Window; this.c1Combo1.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.c1Combo1.EditorForeColor = System.Drawing.SystemColors.WindowText; this.c1Combo1.EditorHeight = 17; this.c1Combo1.GapHeight = 2; this.c1Combo1.IntegralHeight = false; this.c1Combo1.ItemHeight = 15; this.c1Combo1.Location = new System.Drawing.Point(40, 48); this.c1Combo1.MatchEntryTimeout = ((long)(100)); this.c1Combo1.MaxDropDownItems = ((short)(5)); this.c1Combo1.MaxLength = 32767; this.c1Combo1.MouseCursor = System.Windows.Forms.Cursors.Default; this.c1Combo1.Name = "c1Combo1"; this.c1Combo1.PropBag = "<?xml version=\"1.0\"?><Blob><DataCols><C1DataColumn Level=\"0\" Caption=\"Name\" DataF" + "ield=\"Name\"><ValueItems /></C1DataColumn><C1DataColumn Level=\"0\" Caption=\"Contac" + "ted\" DataField=\"Contacted\"><ValueItems Translate=\"True\"><internalValues><ValueIt" + "em type=\"C1.Win.C1List.ValueItem\" Value=\"0\" dispVal=\"No\" /><ValueItem type=\"C1.W" + "in.C1List.ValueItem\" Value=\"1\" dispVal=\"Yes\" /></internalValues></ValueItems></C" + "1DataColumn></DataCols><Styles type=\"C1.Win.C1List.Design.ContextWrapper\"><Data>" + "Caption{AlignHorz:Center;}Normal{BackColor:Window;}Selected{ForeColor:HighlightT" + "ext;BackColor:Highlight;}Style18{AlignHorz:Near;}Style19{AlignHorz:Near;}Style14" + "{}Style15{AlignHorz:Near;}Style16{AlignHorz:Near;}Style17{}Style10{}Style11{}Odd" + "Row{}Style13{AlignHorz:Near;}Style12{AlignHorz:Near;}HighlightRow{ForeColor:High" + "lightText;BackColor:Highlight;}RecordSelector{AlignImage:Center;}Footer{}Style23" + "{}Style22{AlignHorz:Near;}Style21{AlignHorz:Near;}Style20{}Inactive{ForeColor:In" + "activeCaptionText;BackColor:InactiveCaption;}EvenRow{BackColor:Aqua;}Heading{Wra" + "p:True;BackColor:Control;Border:Raised,,1, 1, 1, 1;ForeColor:ControlText;AlignVe" + "rt:Center;}Style4{}Style9{AlignHorz:Near;}Style8{}Style5{}Group{AlignVert:Center" + ";Border:None,,0, 0, 0, 0;BackColor:ControlDark;}Style7{}Style6{}Style1{}Style3{}" + "Style2{}</Data></Styles><Splits><C1.Win.C1List.ListBoxView AllowColSelect=\"False" + "\" Name=\"\" CaptionHeight=\"17\" ColumnCaptionHeight=\"17\" ColumnFooterHeight=\"17\" Ve" + "rticalScrollGroup=\"1\" HorizontalScrollGroup=\"1\"><ClientRect>0, 0, 118, 158</Clie" + "ntRect><internalCols><C1DisplayColumn><HeadingStyle parent=\"Style2\" me=\"Style18\"" + " /><Style parent=\"Normal\" me=\"Style19\" /><FooterStyle parent=\"Style3\" me=\"Style2" + "0\" /><ColumnDivider><Color>DarkGray</Color><Style>Single</Style></ColumnDivider>" + "<Width>200</Width><Height>15</Height><DCIdx>0</DCIdx></C1DisplayColumn><C1Displa" + "yColumn><HeadingStyle parent=\"Style2\" me=\"Style21\" /><Style parent=\"Normal\" me=\"" + "Style22\" /><FooterStyle parent=\"Style3\" me=\"Style23\" /><ColumnDivider><Color>Dar" + "kGray</Color><Style>Single</Style></ColumnDivider><Height>15</Height><DCIdx>1</D" + "CIdx></C1DisplayColumn></internalCols><VScrollBar><Width>17</Width></VScrollBar>" + "<HScrollBar><Height>17</Height></HScrollBar><CaptionStyle parent=\"Style2\" me=\"St" + "yle9\" /><EvenRowStyle parent=\"EvenRow\" me=\"Style7\" /><FooterStyle parent=\"Footer" + "\" me=\"Style3\" /><GroupStyle parent=\"Group\" me=\"Style11\" /><HeadingStyle parent=\"" + "Heading\" me=\"Style2\" /><HighLightRowStyle parent=\"HighlightRow\" me=\"Style6\" /><I" + "nactiveStyle parent=\"Inactive\" me=\"Style4\" /><OddRowStyle parent=\"OddRow\" me=\"St" + "yle8\" /><RecordSelectorStyle parent=\"RecordSelector\" me=\"Style10\" /><SelectedSty" + "le parent=\"Selected\" me=\"Style5\" /><Style parent=\"\" me=\"Normal\" /></C1.Win.C1Lis" + "t.ListBoxView></Splits><NamedStyles><Style parent=\"\" me=\"Normal\" /><Style parent" + "=\"Normal\" me=\"Heading\" /><Style parent=\"Heading\" me=\"Footer\" /><Style parent=\"He" + "ading\" me=\"Caption\" /><Style parent=\"Heading\" me=\"Inactive\" /><Style parent=\"Nor" + "mal\" me=\"Selected\" /><Style parent=\"Normal\" me=\"HighlightRow\" /><Style parent=\"N" + "ormal\" me=\"EvenRow\" /><Style parent=\"Normal\" me=\"OddRow\" /><Style parent=\"Headin" + "g\" me=\"RecordSelector\" /><Style parent=\"Caption\" me=\"Group\" /></NamedStyles><ver" + "tSplits>1</vertSplits><horzSplits>1</horzSplits><Layout>Modified</Layout><Defaul" + "tRecSelWidth>17</DefaultRecSelWidth></Blob>"; this.c1Combo1.RowDivider.Color = System.Drawing.Color.DarkGray; this.c1Combo1.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.c1Combo1.RowSubDividerColor = System.Drawing.Color.DarkGray; this.c1Combo1.ScrollTips = false; this.c1Combo1.SelectionStart = 0; this.c1Combo1.Size = new System.Drawing.Size(352, 21); this.c1Combo1.TabIndex = 0; this.c1Combo1.Text = "c1Combo1"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(464, 272); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.c1Combo1 }); this.Name = "Form1"; this.Text = "C1List .Net Tutorial21"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).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() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ManufacturingClose)); this.dtmToDueDate = new C1.Win.C1Input.C1DateEdit(); this.dtmFromDueDate = new C1.Win.C1Input.C1DateEdit(); this.dtmPostDate = new C1.Win.C1Input.C1DateEdit(); this.btnSearchMasLoc = new System.Windows.Forms.Button(); this.txtMasLoc = new System.Windows.Forms.TextBox(); this.lblMasLoc = new System.Windows.Forms.Label(); this.lblPostDate = new System.Windows.Forms.Label(); this.gridWOClose = new C1.Win.C1TrueDBGrid.C1TrueDBGrid(); this.btnSearch = new System.Windows.Forms.Button(); this.btnCloseWO = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.btnHelp = new System.Windows.Forms.Button(); this.lblCCN = new System.Windows.Forms.Label(); this.chkSelectAllManuf = new System.Windows.Forms.CheckBox(); this.lblToDueDate = new System.Windows.Forms.Label(); this.lblFromDueDate = new System.Windows.Forms.Label(); this.cboCCN = new C1.Win.C1List.C1Combo(); ((System.ComponentModel.ISupportInitialize)(this.dtmToDueDate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtmFromDueDate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtmPostDate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridWOClose)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cboCCN)).BeginInit(); this.SuspendLayout(); // // dtmToDueDate // // // dtmToDueDate.Calendar // this.dtmToDueDate.Calendar.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.dtmToDueDate.CustomFormat = "dd-MM-yyyy"; this.dtmToDueDate.EmptyAsNull = true; this.dtmToDueDate.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat; this.dtmToDueDate.Location = new System.Drawing.Point(292, 48); this.dtmToDueDate.Name = "dtmToDueDate"; this.dtmToDueDate.Size = new System.Drawing.Size(93, 20); this.dtmToDueDate.TabIndex = 10; this.dtmToDueDate.Tag = null; this.dtmToDueDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.dtmToDueDate.VisibleButtons = C1.Win.C1Input.DropDownControlButtonFlags.DropDown; // // dtmFromDueDate // // // dtmFromDueDate.Calendar // this.dtmFromDueDate.Calendar.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.dtmFromDueDate.CustomFormat = "dd-MM-yyyy"; this.dtmFromDueDate.EmptyAsNull = true; this.dtmFromDueDate.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat; this.dtmFromDueDate.Location = new System.Drawing.Point(99, 48); this.dtmFromDueDate.Name = "dtmFromDueDate"; this.dtmFromDueDate.Size = new System.Drawing.Size(95, 20); this.dtmFromDueDate.TabIndex = 8; this.dtmFromDueDate.Tag = null; this.dtmFromDueDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.dtmFromDueDate.VisibleButtons = C1.Win.C1Input.DropDownControlButtonFlags.DropDown; // // dtmPostDate // // // dtmPostDate.Calendar // this.dtmPostDate.Calendar.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.dtmPostDate.CustomFormat = "dd-MM-yyyy"; this.dtmPostDate.EmptyAsNull = true; this.dtmPostDate.FormatType = C1.Win.C1Input.FormatTypeEnum.CustomFormat; this.dtmPostDate.Location = new System.Drawing.Point(100, 4); this.dtmPostDate.Name = "dtmPostDate"; this.dtmPostDate.Size = new System.Drawing.Size(93, 20); this.dtmPostDate.TabIndex = 3; this.dtmPostDate.Tag = null; this.dtmPostDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.dtmPostDate.VisibleButtons = C1.Win.C1Input.DropDownControlButtonFlags.DropDown; // // btnSearchMasLoc // this.btnSearchMasLoc.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSearchMasLoc.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnSearchMasLoc.Location = new System.Drawing.Point(194, 26); this.btnSearchMasLoc.Name = "btnSearchMasLoc"; this.btnSearchMasLoc.Size = new System.Drawing.Size(24, 20); this.btnSearchMasLoc.TabIndex = 6; this.btnSearchMasLoc.Text = "..."; this.btnSearchMasLoc.Click += new System.EventHandler(this.btnSearchMasLoc_Click); // // txtMasLoc // this.txtMasLoc.Location = new System.Drawing.Point(100, 26); this.txtMasLoc.Name = "txtMasLoc"; this.txtMasLoc.Size = new System.Drawing.Size(93, 20); this.txtMasLoc.TabIndex = 5; this.txtMasLoc.Text = ""; this.txtMasLoc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMasLoc_KeyDown); this.txtMasLoc.Leave += new System.EventHandler(this.txtMasLoc_Leave); // // lblMasLoc // this.lblMasLoc.ForeColor = System.Drawing.Color.Maroon; this.lblMasLoc.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.lblMasLoc.Location = new System.Drawing.Point(5, 26); this.lblMasLoc.Name = "lblMasLoc"; this.lblMasLoc.Size = new System.Drawing.Size(93, 20); this.lblMasLoc.TabIndex = 4; this.lblMasLoc.Text = "Mas. Location"; this.lblMasLoc.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblPostDate // this.lblPostDate.ForeColor = System.Drawing.Color.Maroon; this.lblPostDate.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.lblPostDate.Location = new System.Drawing.Point(5, 4); this.lblPostDate.Name = "lblPostDate"; this.lblPostDate.Size = new System.Drawing.Size(93, 20); this.lblPostDate.TabIndex = 2; this.lblPostDate.Text = "Post Date"; this.lblPostDate.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // gridWOClose // this.gridWOClose.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.gridWOClose.CaptionHeight = 17; this.gridWOClose.CollapseColor = System.Drawing.Color.Black; this.gridWOClose.ExpandColor = System.Drawing.Color.Black; this.gridWOClose.FilterBar = true; this.gridWOClose.FlatStyle = C1.Win.C1TrueDBGrid.FlatModeEnum.System; this.gridWOClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.gridWOClose.GroupByCaption = "Drag a column header here to group by that column"; this.gridWOClose.Images.Add(((System.Drawing.Image)(resources.GetObject("resource")))); this.gridWOClose.Location = new System.Drawing.Point(3, 72); this.gridWOClose.MarqueeStyle = C1.Win.C1TrueDBGrid.MarqueeEnum.DottedCellBorder; this.gridWOClose.Name = "gridWOClose"; this.gridWOClose.PreviewInfo.Location = new System.Drawing.Point(0, 0); this.gridWOClose.PreviewInfo.Size = new System.Drawing.Size(0, 0); this.gridWOClose.PreviewInfo.ZoomFactor = 75; this.gridWOClose.PrintInfo.ShowOptionsDialog = false; this.gridWOClose.RecordSelectorWidth = 17; this.gridWOClose.RowDivider.Color = System.Drawing.Color.DarkGray; this.gridWOClose.RowDivider.Style = C1.Win.C1TrueDBGrid.LineStyleEnum.Single; this.gridWOClose.RowHeight = 15; this.gridWOClose.RowSubDividerColor = System.Drawing.Color.DarkGray; this.gridWOClose.Size = new System.Drawing.Size(626, 352); this.gridWOClose.TabIndex = 12; this.gridWOClose.Text = "c1TrueDBGrid1"; this.gridWOClose.AfterColEdit += new C1.Win.C1TrueDBGrid.ColEventHandler(this.gridWOClose_AfterColEdit); this.gridWOClose.PropBag = "<?xml version=\"1.0\"?><Blob><DataCols><C1DataColumn Level=\"0\" Caption=\"Select\" Dat" + "aField=\"Selected\"><ValueItems Presentation=\"CheckBox\" /><GroupInfo /></C1DataCol" + "umn><C1DataColumn Level=\"0\" Caption=\"Work Order\" DataField=\"WorkOrderNo\"><ValueI" + "tems /><GroupInfo /></C1DataColumn><C1DataColumn Level=\"0\" Caption=\"WO Line\" Dat" + "aField=\"Line\"><ValueItems /><GroupInfo /></C1DataColumn><C1DataColumn Level=\"0\" " + "Caption=\"Open Quantity\" DataField=\"OpenQuantity\"><ValueItems /><GroupInfo /></C1" + "DataColumn><C1DataColumn Level=\"0\" Caption=\"Part Number\" DataField=\"PartNumber\">" + "<ValueItems /><GroupInfo /></C1DataColumn><C1DataColumn Level=\"0\" Caption=\"Part " + "Name\" DataField=\"Description\"><ValueItems /><GroupInfo /></C1DataColumn><C1DataC" + "olumn Level=\"0\" Caption=\"Model\" DataField=\"Revision\"><ValueItems /><GroupInfo />" + "</C1DataColumn><C1DataColumn Level=\"0\" Caption=\"UM\" DataField=\"UM\"><ValueItems /" + "><GroupInfo /></C1DataColumn><C1DataColumn Level=\"0\" Caption=\"Start Date, Time\" " + "DataField=\"StartDate\"><ValueItems /><GroupInfo /></C1DataColumn><C1DataColumn Le" + "vel=\"0\" Caption=\"Due Date, Time\" DataField=\"DueDate\"><ValueItems /><GroupInfo />" + "</C1DataColumn><C1DataColumn Level=\"0\" Caption=\"Category\" DataField=\"ITM_Categor" + "yCode\"><ValueItems /><GroupInfo /></C1DataColumn></DataCols><Styles type=\"C1.Win" + ".C1TrueDBGrid.Design.ContextWrapper\"><Data>HighlightRow{ForeColor:HighlightText;" + "BackColor:Highlight;}Inactive{ForeColor:InactiveCaptionText;BackColor:InactiveCa" + "ption;}Style78{}Style79{}Selected{ForeColor:HighlightText;BackColor:Highlight;}E" + "ditor{}Style72{}Style73{}Style70{AlignHorz:Center;}Style71{AlignHorz:Near;}Style" + "76{AlignHorz:Center;}Style77{AlignHorz:Near;}Style74{}Style75{}Style81{}Style80{" + "}FilterBar{}Heading{Wrap:True;AlignVert:Center;Border:Raised,,1, 1, 1, 1;ForeCol" + "or:ControlText;BackColor:Control;}Style18{}Style19{}Style14{}Style15{}Style16{Al" + "ignHorz:Center;}Style17{AlignHorz:Near;}Style10{AlignHorz:Near;}Style11{}Style12" + "{}Style13{}Style29{AlignHorz:Near;}Style27{}Style22{AlignHorz:Near;}Style28{Alig" + "nHorz:Center;}Style26{}Style9{}Style8{}Style25{}Style24{}Style5{}Style4{}Style7{" + "}Style6{}Style1{}Style23{AlignHorz:Near;}Style3{}Style2{}Style21{}Style20{}OddRo" + "w{}Style38{}Style39{}Style36{}Style37{}Style34{AlignHorz:Center;}Style35{AlignHo" + "rz:Near;}Style32{}Style33{}Style30{}Style49{}Style48{}Style31{}Normal{Font:Micro" + "soft Sans Serif, 8.25pt;}Style41{AlignHorz:Near;}Style40{AlignHorz:Center;}Style" + "43{}Style42{}Style45{}Style44{}Style47{AlignHorz:Near;}Style46{AlignHorz:Center;" + "}EvenRow{BackColor:Aqua;}Style59{AlignHorz:Near;}Style58{AlignHorz:Center;}Recor" + "dSelector{AlignImage:Center;}Style51{}Style50{}Footer{}Style52{AlignHorz:Center;" + "}Style53{AlignHorz:Near;}Style54{}Style55{}Style56{}Style57{}Caption{AlignHorz:C" + "enter;}Style69{}Style68{}Style63{}Style62{}Style61{}Style60{}Style67{}Style66{}S" + "tyle65{AlignHorz:Near;}Style64{AlignHorz:Center;}Group{BackColor:ControlDark;Bor" + "der:None,,0, 0, 0, 0;AlignVert:Center;}</Data></Styles><Splits><C1.Win.C1TrueDBG" + "rid.MergeView Name=\"\" CaptionHeight=\"17\" ColumnCaptionHeight=\"17\" ColumnFooterHe" + "ight=\"17\" FilterBar=\"True\" MarqueeStyle=\"DottedCellBorder\" RecordSelectorWidth=\"" + "17\" DefRecSelWidth=\"17\" VerticalScrollGroup=\"1\" HorizontalScrollGroup=\"1\"><Clien" + "tRect>0, 0, 622, 348</ClientRect><BorderSide>0</BorderSide><CaptionStyle parent=" + "\"Style2\" me=\"Style10\" /><EditorStyle parent=\"Editor\" me=\"Style5\" /><EvenRowStyle" + " parent=\"EvenRow\" me=\"Style8\" /><FilterBarStyle parent=\"FilterBar\" me=\"Style13\" " + "/><FooterStyle parent=\"Footer\" me=\"Style3\" /><GroupStyle parent=\"Group\" me=\"Styl" + "e12\" /><HeadingStyle parent=\"Heading\" me=\"Style2\" /><HighLightRowStyle parent=\"H" + "ighlightRow\" me=\"Style7\" /><InactiveStyle parent=\"Inactive\" me=\"Style4\" /><OddRo" + "wStyle parent=\"OddRow\" me=\"Style9\" /><RecordSelectorStyle parent=\"RecordSelector" + "\" me=\"Style11\" /><SelectedStyle parent=\"Selected\" me=\"Style6\" /><Style parent=\"N" + "ormal\" me=\"Style1\" /><internalCols><C1DisplayColumn><HeadingStyle parent=\"Style2" + "\" me=\"Style16\" /><Style parent=\"Style1\" me=\"Style17\" /><FooterStyle parent=\"Styl" + "e3\" me=\"Style18\" /><EditorStyle parent=\"Style5\" me=\"Style19\" /><GroupHeaderStyle" + " parent=\"Style1\" me=\"Style21\" /><GroupFooterStyle parent=\"Style1\" me=\"Style20\" /" + "><Visible>True</Visible><ColumnDivider>DarkGray,Single</ColumnDivider><Width>47<" + "/Width><Height>15</Height><DCIdx>0</DCIdx></C1DisplayColumn><C1DisplayColumn><He" + "adingStyle parent=\"Style2\" me=\"Style28\" /><Style parent=\"Style1\" me=\"Style29\" />" + "<FooterStyle parent=\"Style3\" me=\"Style30\" /><EditorStyle parent=\"Style5\" me=\"Sty" + "le31\" /><GroupHeaderStyle parent=\"Style1\" me=\"Style33\" /><GroupFooterStyle paren" + "t=\"Style1\" me=\"Style32\" /><Visible>True</Visible><ColumnDivider>DarkGray,Single<" + "/ColumnDivider><Width>119</Width><Height>15</Height><DCIdx>1</DCIdx></C1DisplayC" + "olumn><C1DisplayColumn><HeadingStyle parent=\"Style2\" me=\"Style34\" /><Style paren" + "t=\"Style1\" me=\"Style35\" /><FooterStyle parent=\"Style3\" me=\"Style36\" /><EditorSty" + "le parent=\"Style5\" me=\"Style37\" /><GroupHeaderStyle parent=\"Style1\" me=\"Style39\"" + " /><GroupFooterStyle parent=\"Style1\" me=\"Style38\" /><Visible>True</Visible><Colu" + "mnDivider>DarkGray,Single</ColumnDivider><Width>56</Width><Height>15</Height><DC" + "Idx>2</DCIdx></C1DisplayColumn><C1DisplayColumn><HeadingStyle parent=\"Style2\" me" + "=\"Style46\" /><Style parent=\"Style1\" me=\"Style47\" /><FooterStyle parent=\"Style3\" " + "me=\"Style48\" /><EditorStyle parent=\"Style5\" me=\"Style49\" /><GroupHeaderStyle par" + "ent=\"Style1\" me=\"Style51\" /><GroupFooterStyle parent=\"Style1\" me=\"Style50\" /><Vi" + "sible>True</Visible><ColumnDivider>DarkGray,Single</ColumnDivider><Width>110</Wi" + "dth><Height>15</Height><DCIdx>4</DCIdx></C1DisplayColumn><C1DisplayColumn><Headi" + "ngStyle parent=\"Style2\" me=\"Style52\" /><Style parent=\"Style1\" me=\"Style53\" /><Fo" + "oterStyle parent=\"Style3\" me=\"Style54\" /><EditorStyle parent=\"Style5\" me=\"Style5" + "5\" /><GroupHeaderStyle parent=\"Style1\" me=\"Style57\" /><GroupFooterStyle parent=\"" + "Style1\" me=\"Style56\" /><Visible>True</Visible><ColumnDivider>DarkGray,Single</Co" + "lumnDivider><Width>137</Width><Height>15</Height><DCIdx>5</DCIdx></C1DisplayColu" + "mn><C1DisplayColumn><HeadingStyle parent=\"Style2\" me=\"Style58\" /><Style parent=\"" + "Style1\" me=\"Style59\" /><FooterStyle parent=\"Style3\" me=\"Style60\" /><EditorStyle " + "parent=\"Style5\" me=\"Style61\" /><GroupHeaderStyle parent=\"Style1\" me=\"Style63\" />" + "<GroupFooterStyle parent=\"Style1\" me=\"Style62\" /><Visible>True</Visible><ColumnD" + "ivider>DarkGray,Single</ColumnDivider><Width>57</Width><Height>15</Height><DCIdx" + ">6</DCIdx></C1DisplayColumn><C1DisplayColumn><HeadingStyle parent=\"Style2\" me=\"S" + "tyle22\" /><Style parent=\"Style1\" me=\"Style23\" /><FooterStyle parent=\"Style3\" me=" + "\"Style24\" /><EditorStyle parent=\"Style5\" me=\"Style25\" /><GroupHeaderStyle parent" + "=\"Style1\" me=\"Style27\" /><GroupFooterStyle parent=\"Style1\" me=\"Style26\" /><Visib" + "le>True</Visible><ColumnDivider>DarkGray,Single</ColumnDivider><Height>15</Heigh" + "t><DCIdx>10</DCIdx></C1DisplayColumn><C1DisplayColumn><HeadingStyle parent=\"Styl" + "e2\" me=\"Style40\" /><Style parent=\"Style1\" me=\"Style41\" /><FooterStyle parent=\"St" + "yle3\" me=\"Style42\" /><EditorStyle parent=\"Style5\" me=\"Style43\" /><GroupHeaderSty" + "le parent=\"Style1\" me=\"Style45\" /><GroupFooterStyle parent=\"Style1\" me=\"Style44\"" + " /><Visible>True</Visible><ColumnDivider>DarkGray,Single</ColumnDivider><Width>8" + "6</Width><Height>15</Height><DCIdx>3</DCIdx></C1DisplayColumn><C1DisplayColumn><" + "HeadingStyle parent=\"Style2\" me=\"Style64\" /><Style parent=\"Style1\" me=\"Style65\" " + "/><FooterStyle parent=\"Style3\" me=\"Style66\" /><EditorStyle parent=\"Style5\" me=\"S" + "tyle67\" /><GroupHeaderStyle parent=\"Style1\" me=\"Style69\" /><GroupFooterStyle par" + "ent=\"Style1\" me=\"Style68\" /><Visible>True</Visible><ColumnDivider>DarkGray,Singl" + "e</ColumnDivider><Width>34</Width><Height>15</Height><DCIdx>7</DCIdx></C1Display" + "Column><C1DisplayColumn><HeadingStyle parent=\"Style2\" me=\"Style70\" /><Style pare" + "nt=\"Style1\" me=\"Style71\" /><FooterStyle parent=\"Style3\" me=\"Style72\" /><EditorSt" + "yle parent=\"Style5\" me=\"Style73\" /><GroupHeaderStyle parent=\"Style1\" me=\"Style75" + "\" /><GroupFooterStyle parent=\"Style1\" me=\"Style74\" /><Visible>True</Visible><Col" + "umnDivider>DarkGray,Single</ColumnDivider><Width>120</Width><Height>15</Height><" + "DCIdx>8</DCIdx></C1DisplayColumn><C1DisplayColumn><HeadingStyle parent=\"Style2\" " + "me=\"Style76\" /><Style parent=\"Style1\" me=\"Style77\" /><FooterStyle parent=\"Style3" + "\" me=\"Style78\" /><EditorStyle parent=\"Style5\" me=\"Style79\" /><GroupHeaderStyle p" + "arent=\"Style1\" me=\"Style81\" /><GroupFooterStyle parent=\"Style1\" me=\"Style80\" /><" + "Visible>True</Visible><ColumnDivider>DarkGray,Single</ColumnDivider><Width>120</" + "Width><Height>15</Height><DCIdx>9</DCIdx></C1DisplayColumn></internalCols></C1.W" + "in.C1TrueDBGrid.MergeView></Splits><NamedStyles><Style parent=\"\" me=\"Normal\" /><" + "Style parent=\"Normal\" me=\"Heading\" /><Style parent=\"Heading\" me=\"Footer\" /><Styl" + "e parent=\"Heading\" me=\"Caption\" /><Style parent=\"Heading\" me=\"Inactive\" /><Style" + " parent=\"Normal\" me=\"Selected\" /><Style parent=\"Normal\" me=\"Editor\" /><Style par" + "ent=\"Normal\" me=\"HighlightRow\" /><Style parent=\"Normal\" me=\"EvenRow\" /><Style pa" + "rent=\"Normal\" me=\"OddRow\" /><Style parent=\"Heading\" me=\"RecordSelector\" /><Style" + " parent=\"Normal\" me=\"FilterBar\" /><Style parent=\"Caption\" me=\"Group\" /></NamedSt" + "yles><vertSplits>1</vertSplits><horzSplits>1</horzSplits><Layout>Modified</Layou" + "t><DefaultRecSelWidth>17</DefaultRecSelWidth><ClientArea>0, 0, 622, 348</ClientA" + "rea><PrintPageHeaderStyle parent=\"\" me=\"Style14\" /><PrintPageFooterStyle parent=" + "\"\" me=\"Style15\" /></Blob>"; // // btnSearch // this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnSearch.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnSearch.Location = new System.Drawing.Point(569, 46); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(60, 23); this.btnSearch.TabIndex = 11; this.btnSearch.Text = "&Search"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // btnCloseWO // this.btnCloseWO.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnCloseWO.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnCloseWO.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnCloseWO.Location = new System.Drawing.Point(4, 426); this.btnCloseWO.Name = "btnCloseWO"; this.btnCloseWO.Size = new System.Drawing.Size(118, 23); this.btnCloseWO.TabIndex = 14; this.btnCloseWO.Text = "Close &Work Orders"; this.btnCloseWO.Click += new System.EventHandler(this.btnCloseWO_Click); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnClose.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnClose.Location = new System.Drawing.Point(569, 426); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(60, 23); this.btnClose.TabIndex = 16; this.btnClose.Text = "&Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnHelp // this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnHelp.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnHelp.Location = new System.Drawing.Point(509, 426); this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new System.Drawing.Size(60, 23); this.btnHelp.TabIndex = 15; this.btnHelp.Text = "&Help"; this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); // // lblCCN // this.lblCCN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblCCN.ForeColor = System.Drawing.Color.Maroon; this.lblCCN.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.lblCCN.Location = new System.Drawing.Point(516, 4); this.lblCCN.Name = "lblCCN"; this.lblCCN.Size = new System.Drawing.Size(32, 20); this.lblCCN.TabIndex = 0; this.lblCCN.Text = "CCN"; this.lblCCN.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // chkSelectAllManuf // this.chkSelectAllManuf.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.chkSelectAllManuf.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.chkSelectAllManuf.Location = new System.Drawing.Point(129, 426); this.chkSelectAllManuf.Name = "chkSelectAllManuf"; this.chkSelectAllManuf.Size = new System.Drawing.Size(85, 20); this.chkSelectAllManuf.TabIndex = 13; this.chkSelectAllManuf.Text = "Select &All"; this.chkSelectAllManuf.Enter += new System.EventHandler(this.chkSelectAllManuf_Enter); this.chkSelectAllManuf.Leave += new System.EventHandler(this.chkSelectAllManuf_Leave); this.chkSelectAllManuf.CheckedChanged += new System.EventHandler(this.chkSelectAllManuf_CheckedChanged); // // lblToDueDate // this.lblToDueDate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lblToDueDate.ForeColor = System.Drawing.Color.Black; this.lblToDueDate.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.lblToDueDate.Location = new System.Drawing.Point(220, 48); this.lblToDueDate.Name = "lblToDueDate"; this.lblToDueDate.Size = new System.Drawing.Size(70, 20); this.lblToDueDate.TabIndex = 9; this.lblToDueDate.Text = "To Due Date"; this.lblToDueDate.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblFromDueDate // this.lblFromDueDate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lblFromDueDate.ForeColor = System.Drawing.Color.Black; this.lblFromDueDate.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.lblFromDueDate.Location = new System.Drawing.Point(5, 48); this.lblFromDueDate.Name = "lblFromDueDate"; this.lblFromDueDate.Size = new System.Drawing.Size(93, 20); this.lblFromDueDate.TabIndex = 7; this.lblFromDueDate.Text = "From Due Date"; this.lblFromDueDate.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // cboCCN // this.cboCCN.AddItemSeparator = ';'; this.cboCCN.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cboCCN.Caption = ""; this.cboCCN.CaptionHeight = 17; this.cboCCN.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.cboCCN.ColumnCaptionHeight = 17; this.cboCCN.ColumnFooterHeight = 17; this.cboCCN.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.cboCCN.ContentHeight = 15; this.cboCCN.DeadAreaBackColor = System.Drawing.Color.Empty; this.cboCCN.EditorBackColor = System.Drawing.SystemColors.Window; this.cboCCN.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cboCCN.EditorForeColor = System.Drawing.SystemColors.WindowText; this.cboCCN.EditorHeight = 15; this.cboCCN.FlatStyle = C1.Win.C1List.FlatModeEnum.System; this.cboCCN.GapHeight = 2; this.cboCCN.ItemHeight = 15; this.cboCCN.Location = new System.Drawing.Point(550, 4); this.cboCCN.MatchEntryTimeout = ((long)(2000)); this.cboCCN.MaxDropDownItems = ((short)(5)); this.cboCCN.MaxLength = 32767; this.cboCCN.MouseCursor = System.Windows.Forms.Cursors.Default; this.cboCCN.Name = "cboCCN"; this.cboCCN.RowDivider.Color = System.Drawing.Color.DarkGray; this.cboCCN.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.cboCCN.RowSubDividerColor = System.Drawing.Color.DarkGray; this.cboCCN.Size = new System.Drawing.Size(78, 21); this.cboCCN.TabIndex = 1; this.cboCCN.Text = "CCN"; this.cboCCN.PropBag = "<?xml version=\"1.0\"?><Blob><Styles type=\"C1.Win.C1List.Design.ContextWrapper\"><Da" + "ta>Group{BackColor:ControlDark;Border:None,,0, 0, 0, 0;AlignVert:Center;}Style2{" + "}Style5{}Style4{}Style7{}Style6{}EvenRow{BackColor:Aqua;}Selected{ForeColor:High" + "lightText;BackColor:Highlight;}Style3{}Inactive{ForeColor:InactiveCaptionText;Ba" + "ckColor:InactiveCaption;}Footer{}Caption{AlignHorz:Center;}Normal{}HighlightRow{" + "ForeColor:HighlightText;BackColor:Highlight;}Style9{AlignHorz:Near;}OddRow{}Reco" + "rdSelector{AlignImage:Center;}Heading{Wrap:True;AlignVert:Center;Border:Raised,," + "1, 1, 1, 1;ForeColor:ControlText;BackColor:Control;}Style8{}Style10{}Style11{}St" + "yle1{}</Data></Styles><Splits><C1.Win.C1List.ListBoxView AllowColSelect=\"False\" " + "Name=\"\" CaptionHeight=\"17\" ColumnCaptionHeight=\"17\" ColumnFooterHeight=\"17\" Vert" + "icalScrollGroup=\"1\" HorizontalScrollGroup=\"1\"><ClientRect>0, 0, 118, 158</Client" + "Rect><VScrollBar><Width>17</Width></VScrollBar><HScrollBar><Height>17</Height></" + "HScrollBar><CaptionStyle parent=\"Style2\" me=\"Style9\" /><EvenRowStyle parent=\"Eve" + "nRow\" me=\"Style7\" /><FooterStyle parent=\"Footer\" me=\"Style3\" /><GroupStyle paren" + "t=\"Group\" me=\"Style11\" /><HeadingStyle parent=\"Heading\" me=\"Style2\" /><HighLight" + "RowStyle parent=\"HighlightRow\" me=\"Style6\" /><InactiveStyle parent=\"Inactive\" me" + "=\"Style4\" /><OddRowStyle parent=\"OddRow\" me=\"Style8\" /><RecordSelectorStyle pare" + "nt=\"RecordSelector\" me=\"Style10\" /><SelectedStyle parent=\"Selected\" me=\"Style5\" " + "/><Style parent=\"Normal\" me=\"Style1\" /></C1.Win.C1List.ListBoxView></Splits><Nam" + "edStyles><Style parent=\"\" me=\"Normal\" /><Style parent=\"Normal\" me=\"Heading\" /><S" + "tyle parent=\"Heading\" me=\"Footer\" /><Style parent=\"Heading\" me=\"Caption\" /><Styl" + "e parent=\"Heading\" me=\"Inactive\" /><Style parent=\"Normal\" me=\"Selected\" /><Style" + " parent=\"Normal\" me=\"HighlightRow\" /><Style parent=\"Normal\" me=\"EvenRow\" /><Styl" + "e parent=\"Normal\" me=\"OddRow\" /><Style parent=\"Heading\" me=\"RecordSelector\" /><S" + "tyle parent=\"Caption\" me=\"Group\" /></NamedStyles><vertSplits>1</vertSplits><horz" + "Splits>1</horzSplits><Layout>Modified</Layout><DefaultRecSelWidth>17</DefaultRec" + "SelWidth></Blob>"; // // ManufacturingClose // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(632, 453); this.Controls.Add(this.cboCCN); this.Controls.Add(this.dtmToDueDate); this.Controls.Add(this.dtmFromDueDate); this.Controls.Add(this.dtmPostDate); this.Controls.Add(this.btnSearchMasLoc); this.Controls.Add(this.txtMasLoc); this.Controls.Add(this.gridWOClose); this.Controls.Add(this.lblMasLoc); this.Controls.Add(this.lblPostDate); this.Controls.Add(this.btnSearch); this.Controls.Add(this.btnCloseWO); this.Controls.Add(this.btnClose); this.Controls.Add(this.btnHelp); this.Controls.Add(this.lblCCN); this.Controls.Add(this.chkSelectAllManuf); this.Controls.Add(this.lblToDueDate); this.Controls.Add(this.lblFromDueDate); this.KeyPreview = true; this.Name = "ManufacturingClose"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Manufacturing Close"; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ManufacturingClose_KeyDown); this.Closing += new System.ComponentModel.CancelEventHandler(this.ManufacturingClose_Closing); this.Load += new System.EventHandler(this.ManufacturingClose_Load); ((System.ComponentModel.ISupportInitialize)(this.dtmToDueDate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtmFromDueDate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtmPostDate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridWOClose)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cboCCN)).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() { C1.Win.C1List.Style style1 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style2 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style3 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style4 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style5 = new C1.Win.C1List.Style(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); C1.Win.C1List.Style style6 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style7 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style8 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style9 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style10 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style11 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style12 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style13 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style14 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style15 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style16 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style17 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style18 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style19 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style20 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style21 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style22 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style23 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style24 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style25 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style26 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style27 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style28 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style29 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style30 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style31 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style32 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style33 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style34 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style35 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style36 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style37 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style38 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style39 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style40 = new C1.Win.C1List.Style(); this.C1List1 = new C1.Win.C1List.C1List(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.c1Combo4 = new C1.Win.C1List.C1Combo(); this.c1Combo3 = new C1.Win.C1List.C1Combo(); this.c1Combo2 = new C1.Win.C1List.C1Combo(); this.c1Combo1 = new C1.Win.C1List.C1Combo(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.dsCustomers1 = new Tutorial18.DsCustomers(); ((System.ComponentModel.ISupportInitialize)(this.C1List1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsCustomers1)).BeginInit(); this.SuspendLayout(); // // C1List1 // this.C1List1.AddItemSeparator = ';'; this.C1List1.CaptionHeight = 17; this.C1List1.CaptionStyle = style1; this.C1List1.ColumnCaptionHeight = 17; this.C1List1.ColumnFooterHeight = 17; this.C1List1.ColumnWidth = 100; this.C1List1.DataMember = "Customer"; this.C1List1.DataSource = this.dsCustomers1; this.C1List1.DeadAreaBackColor = System.Drawing.SystemColors.ControlDark; this.C1List1.DisplayMember = "Company"; this.C1List1.EvenRowStyle = style2; this.C1List1.FooterStyle = style3; this.C1List1.HeadingStyle = style4; this.C1List1.HighLightRowStyle = style5; this.C1List1.Images.Add(((System.Drawing.Image)(resources.GetObject("C1List1.Images")))); this.C1List1.ItemHeight = 15; this.C1List1.Location = new System.Drawing.Point(32, 24); this.C1List1.MatchEntryTimeout = ((long)(2000)); this.C1List1.Name = "C1List1"; this.C1List1.OddRowStyle = style6; this.C1List1.RowDivider.Color = System.Drawing.Color.DarkGray; this.C1List1.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.C1List1.RowSubDividerColor = System.Drawing.Color.DarkGray; this.C1List1.SelectedStyle = style7; this.C1List1.Size = new System.Drawing.Size(496, 288); this.C1List1.Style = style8; this.C1List1.TabIndex = 0; this.C1List1.Text = "C1List1"; this.C1List1.PropBag = resources.GetString("C1List1.PropBag"); // // label1 // this.label1.Location = new System.Drawing.Point(32, 336); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 16); this.label1.TabIndex = 1; this.label1.Text = "MatchCol"; // // label2 // this.label2.Location = new System.Drawing.Point(168, 336); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(104, 16); this.label2.TabIndex = 2; this.label2.Text = "Compare Mode:"; // // label3 // this.label3.Location = new System.Drawing.Point(304, 336); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(112, 16); this.label3.TabIndex = 3; this.label3.Text = "MatchEntryTimeout:"; // // label4 // this.label4.Location = new System.Drawing.Point(448, 336); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(80, 16); this.label4.TabIndex = 4; this.label4.Text = "MatchEntry:"; // // c1Combo4 // this.c1Combo4.AddItemSeparator = ';'; this.c1Combo4.Caption = ""; this.c1Combo4.CaptionHeight = 17; this.c1Combo4.CaptionStyle = style9; this.c1Combo4.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.c1Combo4.ColumnCaptionHeight = 17; this.c1Combo4.ColumnFooterHeight = 17; this.c1Combo4.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.c1Combo4.ContentHeight = 15; this.c1Combo4.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.c1Combo4.DeadAreaBackColor = System.Drawing.Color.Empty; this.c1Combo4.EditorBackColor = System.Drawing.SystemColors.Window; this.c1Combo4.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.c1Combo4.EditorForeColor = System.Drawing.SystemColors.WindowText; this.c1Combo4.EditorHeight = 15; this.c1Combo4.EvenRowStyle = style10; this.c1Combo4.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.c1Combo4.FooterStyle = style11; this.c1Combo4.GapHeight = 2; this.c1Combo4.HeadingStyle = style12; this.c1Combo4.HighLightRowStyle = style13; this.c1Combo4.Images.Add(((System.Drawing.Image)(resources.GetObject("c1Combo4.Images")))); this.c1Combo4.ItemHeight = 15; this.c1Combo4.Location = new System.Drawing.Point(304, 360); this.c1Combo4.MatchEntryTimeout = ((long)(100)); this.c1Combo4.MaxDropDownItems = ((short)(5)); this.c1Combo4.MaxLength = 32767; this.c1Combo4.MouseCursor = System.Windows.Forms.Cursors.Default; this.c1Combo4.Name = "c1Combo4"; this.c1Combo4.OddRowStyle = style14; this.c1Combo4.RowDivider.Color = System.Drawing.Color.DarkGray; this.c1Combo4.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.c1Combo4.RowSubDividerColor = System.Drawing.Color.DarkGray; this.c1Combo4.SelectedStyle = style15; this.c1Combo4.Size = new System.Drawing.Size(104, 21); this.c1Combo4.Style = style16; this.c1Combo4.TabIndex = 19; this.c1Combo4.TabStop = false; this.c1Combo4.Text = "C1Combo4"; this.c1Combo4.Change += new C1.Win.C1List.ChangeEventHandler(this.C1Combo4_Change); this.c1Combo4.PropBag = resources.GetString("c1Combo4.PropBag"); // // c1Combo3 // this.c1Combo3.AddItemSeparator = ';'; this.c1Combo3.Caption = ""; this.c1Combo3.CaptionHeight = 17; this.c1Combo3.CaptionStyle = style17; this.c1Combo3.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.c1Combo3.ColumnCaptionHeight = 17; this.c1Combo3.ColumnFooterHeight = 17; this.c1Combo3.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.c1Combo3.ContentHeight = 15; this.c1Combo3.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.c1Combo3.DeadAreaBackColor = System.Drawing.Color.Empty; this.c1Combo3.EditorBackColor = System.Drawing.SystemColors.Window; this.c1Combo3.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.c1Combo3.EditorForeColor = System.Drawing.SystemColors.WindowText; this.c1Combo3.EditorHeight = 15; this.c1Combo3.EvenRowStyle = style18; this.c1Combo3.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.c1Combo3.FooterStyle = style19; this.c1Combo3.GapHeight = 2; this.c1Combo3.HeadingStyle = style20; this.c1Combo3.HighLightRowStyle = style21; this.c1Combo3.Images.Add(((System.Drawing.Image)(resources.GetObject("c1Combo3.Images")))); this.c1Combo3.ItemHeight = 15; this.c1Combo3.Location = new System.Drawing.Point(448, 360); this.c1Combo3.MatchEntryTimeout = ((long)(100)); this.c1Combo3.MaxDropDownItems = ((short)(5)); this.c1Combo3.MaxLength = 32767; this.c1Combo3.MouseCursor = System.Windows.Forms.Cursors.Default; this.c1Combo3.Name = "c1Combo3"; this.c1Combo3.OddRowStyle = style22; this.c1Combo3.RowDivider.Color = System.Drawing.Color.DarkGray; this.c1Combo3.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.c1Combo3.RowSubDividerColor = System.Drawing.Color.DarkGray; this.c1Combo3.SelectedStyle = style23; this.c1Combo3.Size = new System.Drawing.Size(80, 21); this.c1Combo3.Style = style24; this.c1Combo3.TabIndex = 18; this.c1Combo3.TabStop = false; this.c1Combo3.Text = "C1Combo3"; this.c1Combo3.Change += new C1.Win.C1List.ChangeEventHandler(this.C1Combo3_Change); this.c1Combo3.PropBag = resources.GetString("c1Combo3.PropBag"); // // c1Combo2 // this.c1Combo2.AddItemSeparator = ';'; this.c1Combo2.Caption = ""; this.c1Combo2.CaptionHeight = 17; this.c1Combo2.CaptionStyle = style25; this.c1Combo2.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.c1Combo2.ColumnCaptionHeight = 17; this.c1Combo2.ColumnFooterHeight = 17; this.c1Combo2.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.c1Combo2.ContentHeight = 15; this.c1Combo2.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.c1Combo2.DeadAreaBackColor = System.Drawing.Color.Empty; this.c1Combo2.EditorBackColor = System.Drawing.SystemColors.Window; this.c1Combo2.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.c1Combo2.EditorForeColor = System.Drawing.SystemColors.WindowText; this.c1Combo2.EditorHeight = 15; this.c1Combo2.EvenRowStyle = style26; this.c1Combo2.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.c1Combo2.FooterStyle = style27; this.c1Combo2.GapHeight = 2; this.c1Combo2.HeadingStyle = style28; this.c1Combo2.HighLightRowStyle = style29; this.c1Combo2.Images.Add(((System.Drawing.Image)(resources.GetObject("c1Combo2.Images")))); this.c1Combo2.ItemHeight = 15; this.c1Combo2.Location = new System.Drawing.Point(168, 360); this.c1Combo2.MatchEntryTimeout = ((long)(100)); this.c1Combo2.MaxDropDownItems = ((short)(5)); this.c1Combo2.MaxLength = 32767; this.c1Combo2.MouseCursor = System.Windows.Forms.Cursors.Default; this.c1Combo2.Name = "c1Combo2"; this.c1Combo2.OddRowStyle = style30; this.c1Combo2.RowDivider.Color = System.Drawing.Color.DarkGray; this.c1Combo2.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.c1Combo2.RowSubDividerColor = System.Drawing.Color.DarkGray; this.c1Combo2.SelectedStyle = style31; this.c1Combo2.Size = new System.Drawing.Size(88, 21); this.c1Combo2.Style = style32; this.c1Combo2.TabIndex = 17; this.c1Combo2.TabStop = false; this.c1Combo2.Text = "C1Combo2"; this.c1Combo2.Change += new C1.Win.C1List.ChangeEventHandler(this.C1Combo2_Change); this.c1Combo2.PropBag = resources.GetString("c1Combo2.PropBag"); // // c1Combo1 // this.c1Combo1.AddItemSeparator = ';'; this.c1Combo1.Caption = ""; this.c1Combo1.CaptionHeight = 17; this.c1Combo1.CaptionStyle = style33; this.c1Combo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.c1Combo1.ColumnCaptionHeight = 17; this.c1Combo1.ColumnFooterHeight = 17; this.c1Combo1.ComboStyle = C1.Win.C1List.ComboStyleEnum.DropdownList; this.c1Combo1.ContentHeight = 15; this.c1Combo1.DataMode = C1.Win.C1List.DataModeEnum.AddItem; this.c1Combo1.DeadAreaBackColor = System.Drawing.Color.Empty; this.c1Combo1.EditorBackColor = System.Drawing.SystemColors.Window; this.c1Combo1.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.c1Combo1.EditorForeColor = System.Drawing.SystemColors.WindowText; this.c1Combo1.EditorHeight = 15; this.c1Combo1.EvenRowStyle = style34; this.c1Combo1.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.c1Combo1.FooterStyle = style35; this.c1Combo1.GapHeight = 2; this.c1Combo1.HeadingStyle = style36; this.c1Combo1.HighLightRowStyle = style37; this.c1Combo1.Images.Add(((System.Drawing.Image)(resources.GetObject("c1Combo1.Images")))); this.c1Combo1.ItemHeight = 15; this.c1Combo1.Location = new System.Drawing.Point(32, 360); this.c1Combo1.MatchEntryTimeout = ((long)(100)); this.c1Combo1.MaxDropDownItems = ((short)(5)); this.c1Combo1.MaxLength = 32767; this.c1Combo1.MouseCursor = System.Windows.Forms.Cursors.Default; this.c1Combo1.Name = "c1Combo1"; this.c1Combo1.OddRowStyle = style38; this.c1Combo1.RowDivider.Color = System.Drawing.Color.DarkGray; this.c1Combo1.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.c1Combo1.RowSubDividerColor = System.Drawing.Color.DarkGray; this.c1Combo1.SelectedStyle = style39; this.c1Combo1.Size = new System.Drawing.Size(112, 21); this.c1Combo1.Style = style40; this.c1Combo1.TabIndex = 16; this.c1Combo1.TabStop = false; this.c1Combo1.Text = "C1Combo1"; this.c1Combo1.Change += new C1.Win.C1List.ChangeEventHandler(this.C1Combo1_Change); this.c1Combo1.PropBag = resources.GetString("c1Combo1.PropBag"); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT Customer.*\r\nFROM Customer"; this.oleDbSelectCommand1.Connection = this.oleDbConnection1; // // oleDbDataAdapter1 // this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1; this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Customer", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("UserCode", "UserCode"), new System.Data.Common.DataColumnMapping("LastName", "LastName"), new System.Data.Common.DataColumnMapping("FirstName", "FirstName"), new System.Data.Common.DataColumnMapping("Company", "Company"), new System.Data.Common.DataColumnMapping("Contacted", "Contacted"), new System.Data.Common.DataColumnMapping("Phone", "Phone"), new System.Data.Common.DataColumnMapping("CustType", "CustType") }) }); // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\"..\\..\\..\\Data\\C1ListDemo.mdb\""; // // dsCustomers1 // this.dsCustomers1.DataSetName = "DsCustomers"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(544, 397); this.Controls.Add(this.c1Combo4); this.Controls.Add(this.c1Combo3); this.Controls.Add(this.c1Combo2); this.Controls.Add(this.c1Combo1); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.C1List1); this.Name = "Form1"; this.Text = "C1List .Net Tutorial18"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.C1List1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsCustomers1)).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() { C1.Win.C1List.Style style1 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style2 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style3 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style4 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style5 = new C1.Win.C1List.Style(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); C1.Win.C1List.Style style6 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style7 = new C1.Win.C1List.Style(); C1.Win.C1List.Style style8 = new C1.Win.C1List.Style(); this.c1Combo1 = new C1.Win.C1List.C1Combo(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.button1 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.dsComposer1 = new Tutorial20.DsComposer(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsComposer1)).BeginInit(); this.SuspendLayout(); // // c1Combo1 // this.c1Combo1.AddItemSeparator = ';'; this.c1Combo1.Caption = ""; this.c1Combo1.CaptionHeight = 17; this.c1Combo1.CaptionStyle = style1; this.c1Combo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.c1Combo1.ColumnCaptionHeight = 17; this.c1Combo1.ColumnFooterHeight = 17; this.c1Combo1.ColumnWidth = 100; this.c1Combo1.ContentHeight = 15; this.c1Combo1.ContextMenu = this.contextMenu1; this.c1Combo1.DataMember = "Composer"; this.c1Combo1.DataSource = this.dsComposer1; this.c1Combo1.DeadAreaBackColor = System.Drawing.Color.Empty; this.c1Combo1.DisplayMember = "First"; this.c1Combo1.EditorBackColor = System.Drawing.SystemColors.Window; this.c1Combo1.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.c1Combo1.EditorForeColor = System.Drawing.SystemColors.WindowText; this.c1Combo1.EditorHeight = 15; this.c1Combo1.EvenRowStyle = style2; this.c1Combo1.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.c1Combo1.FooterStyle = style3; this.c1Combo1.GapHeight = 2; this.c1Combo1.HeadingStyle = style4; this.c1Combo1.HighLightRowStyle = style5; this.c1Combo1.Images.Add(((System.Drawing.Image)(resources.GetObject("c1Combo1.Images")))); this.c1Combo1.ItemHeight = 15; this.c1Combo1.Location = new System.Drawing.Point(40, 32); this.c1Combo1.MatchEntryTimeout = ((long)(100)); this.c1Combo1.MaxDropDownItems = ((short)(5)); this.c1Combo1.MaxLength = 32767; this.c1Combo1.MouseCursor = System.Windows.Forms.Cursors.Default; this.c1Combo1.Name = "c1Combo1"; this.c1Combo1.OddRowStyle = style6; this.c1Combo1.RowDivider.Color = System.Drawing.Color.DarkGray; this.c1Combo1.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.c1Combo1.RowSubDividerColor = System.Drawing.Color.DarkGray; this.c1Combo1.SelectedStyle = style7; this.c1Combo1.Size = new System.Drawing.Size(184, 21); this.c1Combo1.Style = style8; this.c1Combo1.TabIndex = 0; this.c1Combo1.Text = "c1Combo1"; this.c1Combo1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.c1Combo1_KeyPress); this.c1Combo1.PropBag = resources.GetString("c1Combo1.PropBag"); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem2, this.menuItem3 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "Welcome"; // // menuItem2 // this.menuItem2.Index = 1; this.menuItem2.Text = "to"; // // menuItem3 // this.menuItem3.Index = 2; this.menuItem3.Text = "ComponentOne"; // // button1 // this.button1.Location = new System.Drawing.Point(40, 88); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(168, 32); this.button1.TabIndex = 1; this.button1.Text = "Limit To List"; this.button1.Click += new System.EventHandler(this.button1_Click); // // label1 // this.label1.Location = new System.Drawing.Point(40, 144); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(328, 32); this.label1.TabIndex = 2; this.label1.Text = "Try right clicking on the C1Combo to popup the context menu."; // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT Composer.*\r\nFROM Composer"; this.oleDbSelectCommand1.Connection = this.oleDbConnection1; // // oleDbDataAdapter1 // this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1; this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Composer", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("First", "First"), new System.Data.Common.DataColumnMapping("Last", "Last"), new System.Data.Common.DataColumnMapping("Country", "Country"), new System.Data.Common.DataColumnMapping("Birth", "Birth"), new System.Data.Common.DataColumnMapping("Death", "Death") }) }); // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\"..\\..\\..\\Data\\C1ListDemo.mdb\""; // // dsComposer1 // this.dsComposer1.DataSetName = "DsComposer"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(408, 206); this.Controls.Add(this.label1); this.Controls.Add(this.button1); this.Controls.Add(this.c1Combo1); this.Name = "Form1"; this.Text = "C1List .Net Tutorial20"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsComposer1)).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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.button1 = new System.Windows.Forms.Button(); this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbConnection1 = new System.Data.OleDb.OleDbConnection(); this.oleDbInsertCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbUpdateCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbDeleteCommand1 = new System.Data.OleDb.OleDbCommand(); this.oleDbDataAdapter1 = new System.Data.OleDb.OleDbDataAdapter(); this.oleDbSelectCommand2 = new System.Data.OleDb.OleDbCommand(); this.oleDbInsertCommand2 = new System.Data.OleDb.OleDbCommand(); this.oleDbUpdateCommand2 = new System.Data.OleDb.OleDbCommand(); this.oleDbDeleteCommand2 = new System.Data.OleDb.OleDbCommand(); this.oleDbDataAdapter2 = new System.Data.OleDb.OleDbDataAdapter(); this.c1Combo1 = new C1.Win.C1List.C1Combo(); this.dataSet11 = new Tutorial19.DataSet1(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(432, 323); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(154, 37); this.button1.TabIndex = 2; this.button1.Text = "&Update To DataBase"; this.button1.Click += new System.EventHandler(this.button1_Click); // // oleDbSelectCommand1 // this.oleDbSelectCommand1.CommandText = "SELECT Company, Contacted, CustType, UserCode, LastName, FirstName, Phone\r\nFR" + "OM Customer"; this.oleDbSelectCommand1.Connection = this.oleDbConnection1; // // oleDbConnection1 // this.oleDbConnection1.ConnectionString = "provider=microsoft.jet.oledb.4.0;data source=C:\\Users\\magen_000\\Documents\\Compone" + "ntOne Samples\\Common\\c1nwind.mdb;"; // // oleDbInsertCommand1 // this.oleDbInsertCommand1.CommandText = "INSERT INTO `Customer` (`Company`, `Contacted`, `CustType`, `UserCode`, `LastName" + "`, `FirstName`, `Phone`) VALUES (?, ?, ?, ?, ?, ?, ?)"; this.oleDbInsertCommand1.Connection = this.oleDbConnection1; this.oleDbInsertCommand1.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("p1", System.Data.OleDb.OleDbType.VarWChar, 0, "Company"), new System.Data.OleDb.OleDbParameter("p2", System.Data.OleDb.OleDbType.Date, 0, "Contacted"), new System.Data.OleDb.OleDbParameter("p3", System.Data.OleDb.OleDbType.SmallInt, 0, "CustType"), new System.Data.OleDb.OleDbParameter("p4", System.Data.OleDb.OleDbType.VarWChar, 0, "UserCode"), new System.Data.OleDb.OleDbParameter("p5", System.Data.OleDb.OleDbType.VarWChar, 0, "LastName"), new System.Data.OleDb.OleDbParameter("p6", System.Data.OleDb.OleDbType.VarWChar, 0, "FirstName"), new System.Data.OleDb.OleDbParameter("p7", System.Data.OleDb.OleDbType.Double, 0, "Phone") }); // // oleDbUpdateCommand1 // this.oleDbUpdateCommand1.CommandText = resources.GetString("oleDbUpdateCommand1.CommandText"); this.oleDbUpdateCommand1.Connection = this.oleDbConnection1; this.oleDbUpdateCommand1.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("p1", System.Data.OleDb.OleDbType.VarWChar, 0, "Company"), new System.Data.OleDb.OleDbParameter("p2", System.Data.OleDb.OleDbType.Date, 0, "Contacted"), new System.Data.OleDb.OleDbParameter("p3", System.Data.OleDb.OleDbType.SmallInt, 0, "CustType"), new System.Data.OleDb.OleDbParameter("p4", System.Data.OleDb.OleDbType.VarWChar, 0, "UserCode"), new System.Data.OleDb.OleDbParameter("p5", System.Data.OleDb.OleDbType.VarWChar, 0, "LastName"), new System.Data.OleDb.OleDbParameter("p6", System.Data.OleDb.OleDbType.VarWChar, 0, "FirstName"), new System.Data.OleDb.OleDbParameter("p7", System.Data.OleDb.OleDbType.Double, 0, "Phone"), new System.Data.OleDb.OleDbParameter("p8", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Company", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p9", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Company", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p10", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Contacted", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p11", System.Data.OleDb.OleDbType.Date, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Contacted", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p12", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CustType", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p13", System.Data.OleDb.OleDbType.SmallInt, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustType", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p14", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UserCode", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p15", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "LastName", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p16", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "LastName", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p17", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "FirstName", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p18", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "FirstName", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p19", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Phone", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p20", System.Data.OleDb.OleDbType.Double, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Phone", System.Data.DataRowVersion.Original, null) }); // // oleDbDeleteCommand1 // this.oleDbDeleteCommand1.CommandText = resources.GetString("oleDbDeleteCommand1.CommandText"); this.oleDbDeleteCommand1.Connection = this.oleDbConnection1; this.oleDbDeleteCommand1.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("p1", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Company", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p2", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Company", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p3", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Contacted", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p4", System.Data.OleDb.OleDbType.Date, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Contacted", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p5", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CustType", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p6", System.Data.OleDb.OleDbType.SmallInt, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustType", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p7", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UserCode", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p8", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "LastName", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p9", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "LastName", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p10", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "FirstName", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p11", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "FirstName", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p12", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Phone", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p13", System.Data.OleDb.OleDbType.Double, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Phone", System.Data.DataRowVersion.Original, null) }); // // oleDbDataAdapter1 // this.oleDbDataAdapter1.DeleteCommand = this.oleDbDeleteCommand1; this.oleDbDataAdapter1.InsertCommand = this.oleDbInsertCommand1; this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1; this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Customer", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("Company", "Company"), new System.Data.Common.DataColumnMapping("Contacted", "Contacted"), new System.Data.Common.DataColumnMapping("CustType", "CustType"), new System.Data.Common.DataColumnMapping("UserCode", "UserCode"), new System.Data.Common.DataColumnMapping("LastName", "LastName"), new System.Data.Common.DataColumnMapping("FirstName", "FirstName"), new System.Data.Common.DataColumnMapping("Phone", "Phone") }) }); this.oleDbDataAdapter1.UpdateCommand = this.oleDbUpdateCommand1; // // oleDbSelectCommand2 // this.oleDbSelectCommand2.CommandText = "SELECT CustType.*\r\nFROM CustType"; this.oleDbSelectCommand2.Connection = this.oleDbConnection1; // // oleDbInsertCommand2 // this.oleDbInsertCommand2.CommandText = "INSERT INTO `CustType` (`TypeId`, `TypeDesc`) VALUES (?, ?)"; this.oleDbInsertCommand2.Connection = this.oleDbConnection1; this.oleDbInsertCommand2.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("p1", System.Data.OleDb.OleDbType.VarWChar, 0, "TypeId"), new System.Data.OleDb.OleDbParameter("p2", System.Data.OleDb.OleDbType.VarWChar, 0, "TypeDesc") }); // // oleDbUpdateCommand2 // this.oleDbUpdateCommand2.CommandText = "UPDATE `CustType` SET `TypeId` = ?, `TypeDesc` = ? WHERE ((`TypeId` = ?) AND ((? " + "= 1 AND `TypeDesc` IS NULL) OR (`TypeDesc` = ?)))"; this.oleDbUpdateCommand2.Connection = this.oleDbConnection1; this.oleDbUpdateCommand2.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("p1", System.Data.OleDb.OleDbType.VarWChar, 0, "TypeId"), new System.Data.OleDb.OleDbParameter("p2", System.Data.OleDb.OleDbType.VarWChar, 0, "TypeDesc"), new System.Data.OleDb.OleDbParameter("p3", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "TypeId", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p4", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "TypeDesc", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p5", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "TypeDesc", System.Data.DataRowVersion.Original, null) }); // // oleDbDeleteCommand2 // this.oleDbDeleteCommand2.CommandText = "DELETE FROM `CustType` WHERE ((`TypeId` = ?) AND ((? = 1 AND `TypeDesc` IS NULL) " + "OR (`TypeDesc` = ?)))"; this.oleDbDeleteCommand2.Connection = this.oleDbConnection1; this.oleDbDeleteCommand2.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] { new System.Data.OleDb.OleDbParameter("p1", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "TypeId", System.Data.DataRowVersion.Original, null), new System.Data.OleDb.OleDbParameter("p2", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "TypeDesc", System.Data.DataRowVersion.Original, true, null), new System.Data.OleDb.OleDbParameter("p3", System.Data.OleDb.OleDbType.VarWChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "TypeDesc", System.Data.DataRowVersion.Original, null) }); // // oleDbDataAdapter2 // this.oleDbDataAdapter2.DeleteCommand = this.oleDbDeleteCommand2; this.oleDbDataAdapter2.InsertCommand = this.oleDbInsertCommand2; this.oleDbDataAdapter2.SelectCommand = this.oleDbSelectCommand2; this.oleDbDataAdapter2.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "CustType", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("TypeId", "TypeId"), new System.Data.Common.DataColumnMapping("TypeDesc", "TypeDesc") }) }); this.oleDbDataAdapter2.UpdateCommand = this.oleDbUpdateCommand2; // // c1Combo1 // this.c1Combo1.AddItemSeparator = ';'; this.c1Combo1.Caption = ""; this.c1Combo1.CaptionHeight = 17; this.c1Combo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.c1Combo1.ColumnCaptionHeight = 17; this.c1Combo1.ColumnFooterHeight = 17; this.c1Combo1.ColumnWidth = 100; this.c1Combo1.DataMember = "CustType"; this.c1Combo1.DataSource = this.dataSet11; this.c1Combo1.DeadAreaBackColor = System.Drawing.Color.Empty; this.c1Combo1.DisplayMember = "CustType.TypeDesc"; this.c1Combo1.EditorBackColor = System.Drawing.SystemColors.Window; this.c1Combo1.EditorFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.c1Combo1.EditorForeColor = System.Drawing.SystemColors.WindowText; this.c1Combo1.FlatStyle = C1.Win.C1List.FlatModeEnum.Standard; this.c1Combo1.Images.Add(((System.Drawing.Image)(resources.GetObject("c1Combo1.Images")))); this.c1Combo1.ItemHeight = 15; this.c1Combo1.Location = new System.Drawing.Point(48, 323); this.c1Combo1.MatchEntryTimeout = ((long)(100)); this.c1Combo1.MaxDropDownItems = ((short)(5)); this.c1Combo1.MaxLength = 32767; this.c1Combo1.MouseCursor = System.Windows.Forms.Cursors.Default; this.c1Combo1.Name = "c1Combo1"; this.c1Combo1.RowDivider.Style = C1.Win.C1List.LineStyleEnum.None; this.c1Combo1.RowSubDividerColor = System.Drawing.Color.DarkGray; this.c1Combo1.Size = new System.Drawing.Size(240, 24); this.c1Combo1.TabIndex = 1; this.c1Combo1.Text = "c1Combo1"; this.c1Combo1.ValueMember = "CustType.TypeId"; this.c1Combo1.PropBag = resources.GetString("c1Combo1.PropBag"); // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dataGrid1 // this.dataGrid1.DataMember = "Customer"; this.dataGrid1.DataSource = this.dataSet11; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(48, 18); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(538, 268); this.dataGrid1.TabIndex = 0; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); this.ClientSize = new System.Drawing.Size(615, 377); this.Controls.Add(this.button1); this.Controls.Add(this.c1Combo1); this.Controls.Add(this.dataGrid1); this.Name = "Form1"; this.Text = "C1List .Net Tutorial19"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1Combo1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }