예제 #1
0
 /// <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(Form1));
     this.label1   = new System.Windows.Forms.Label();
     this.label2   = new System.Windows.Forms.Label();
     this.label3   = new System.Windows.Forms.Label();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.button1  = new System.Windows.Forms.Button();
     this.button2  = new System.Windows.Forms.Button();
     this.button3  = new System.Windows.Forms.Button();
     this.C1List1  = new C1.Win.C1List.C1List();
     ((System.ComponentModel.ISupportInitialize)(this.C1List1)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(48, 224);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(88, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "First Name:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(216, 224);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(80, 16);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Last Name:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(376, 224);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(80, 16);
     this.label3.TabIndex = 3;
     this.label3.Text     = "Phone:";
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(48, 240);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(88, 20);
     this.textBox1.TabIndex = 4;
     this.textBox1.Text     = "textBox1";
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(216, 240);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(88, 20);
     this.textBox2.TabIndex = 5;
     this.textBox2.Text     = "textBox2";
     //
     // textBox3
     //
     this.textBox3.Location = new System.Drawing.Point(376, 240);
     this.textBox3.Name     = "textBox3";
     this.textBox3.Size     = new System.Drawing.Size(88, 20);
     this.textBox3.TabIndex = 6;
     this.textBox3.Text     = "textBox3";
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(48, 280);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(88, 32);
     this.button1.TabIndex = 7;
     this.button1.Text     = "Add Record";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(216, 280);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(88, 32);
     this.button2.TabIndex = 8;
     this.button2.Text     = "Delete Record";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(376, 280);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(88, 32);
     this.button3.TabIndex = 9;
     this.button3.Text     = "Clear All";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // C1List1
     //
     this.C1List1.AddItemCols         = 0;
     this.C1List1.AddItemSeparator    = ';';
     this.C1List1.AllowSort           = true;
     this.C1List1.AlternatingRows     = false;
     this.C1List1.CaptionHeight       = 17;
     this.C1List1.ColumnCaptionHeight = 17;
     this.C1List1.ColumnFooterHeight  = 17;
     this.C1List1.DataMode            = C1.Win.C1List.DataModeEnum.AddItem;
     this.C1List1.DeadAreaBackColor   = System.Drawing.SystemColors.ControlDark;
     this.C1List1.Images.Add(((System.Drawing.Bitmap)(resources.GetObject("C1List1.Images.Images"))));
     this.C1List1.ItemHeight        = 15;
     this.C1List1.Location          = new System.Drawing.Point(48, 16);
     this.C1List1.MatchCol          = C1.Win.C1List.MatchColEnum.DisplayMember;
     this.C1List1.MatchEntry        = C1.Win.C1List.MatchEntryEnum.None;
     this.C1List1.MatchEntryTimeout = ((long)(2000));
     this.C1List1.Name               = "C1List1";
     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.ScrollTips         = false;
     this.C1List1.Size               = new System.Drawing.Size(416, 192);
     this.C1List1.TabIndex           = 11;
     this.C1List1.Text               = "c1List2";
     this.C1List1.PropBag            = ((string)(resources.GetObject("C1List1.PropBag")));
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(496, 341);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.C1List1,
         this.button3,
         this.button2,
         this.button1,
         this.textBox3,
         this.textBox2,
         this.textBox1,
         this.label3,
         this.label2,
         this.label1
     });
     this.Name  = "Form1";
     this.Text  = "C1List .Net Tutorial3";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.C1List1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 /// <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);
 }
예제 #4
0
 /// <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.C1List1             = new C1.Win.C1List.C1List();
     this.c1List2             = new C1.Win.C1List.C1List();
     this.button1             = new System.Windows.Forms.Button();
     this.button2             = new System.Windows.Forms.Button();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbDataAdapter1   = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbConnection1    = new System.Data.OleDb.OleDbConnection();
     this.dsComposer1         = new Tutorial12.DsComposer();
     ((System.ComponentModel.ISupportInitialize)(this.C1List1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1List2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsComposer1)).BeginInit();
     this.SuspendLayout();
     //
     // C1List1
     //
     this.C1List1.AddItemSeparator     = ';';
     this.C1List1.AllowHorizontalSplit = true;
     this.C1List1.CaptionHeight        = 17;
     this.C1List1.CaptionStyle         = style1;
     this.C1List1.ColumnCaptionHeight  = 17;
     this.C1List1.ColumnFooterHeight   = 17;
     this.C1List1.ColumnWidth          = 100;
     this.C1List1.DataMember           = "Composer";
     this.C1List1.DataSource           = this.dsComposer1;
     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(56, 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(408, 136);
     this.C1List1.Style              = style8;
     this.C1List1.TabIndex           = 0;
     this.C1List1.Text               = "C1List1";
     this.C1List1.PropBag            = resources.GetString("C1List1.PropBag");
     //
     // c1List2
     //
     this.c1List2.AddItemSeparator    = ';';
     this.c1List2.CaptionHeight       = 17;
     this.c1List2.CaptionStyle        = style9;
     this.c1List2.ColumnCaptionHeight = 17;
     this.c1List2.ColumnFooterHeight  = 17;
     this.c1List2.ColumnWidth         = 100;
     this.c1List2.DataMember          = "Composer";
     this.c1List2.DataSource          = this.dsComposer1;
     this.c1List2.DeadAreaBackColor   = System.Drawing.SystemColors.ControlDark;
     this.c1List2.EvenRowStyle        = style10;
     this.c1List2.FooterStyle         = style11;
     this.c1List2.HeadingStyle        = style12;
     this.c1List2.HighLightRowStyle   = style13;
     this.c1List2.Images.Add(((System.Drawing.Image)(resources.GetObject("c1List2.Images"))));
     this.c1List2.ItemHeight        = 15;
     this.c1List2.Location          = new System.Drawing.Point(56, 176);
     this.c1List2.MatchEntryTimeout = ((long)(2000));
     this.c1List2.Name               = "c1List2";
     this.c1List2.OddRowStyle        = style14;
     this.c1List2.RowDivider.Color   = System.Drawing.Color.DarkGray;
     this.c1List2.RowDivider.Style   = C1.Win.C1List.LineStyleEnum.None;
     this.c1List2.RowSubDividerColor = System.Drawing.Color.DarkGray;
     this.c1List2.SelectedStyle      = style15;
     this.c1List2.Size               = new System.Drawing.Size(408, 120);
     this.c1List2.Style              = style16;
     this.c1List2.TabIndex           = 1;
     this.c1List2.Text               = "c1List2";
     this.c1List2.PropBag            = resources.GetString("c1List2.PropBag");
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(112, 312);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(112, 32);
     this.button1.TabIndex = 2;
     this.button1.Text     = "&Fix Columns";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(296, 312);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(112, 32);
     this.button2.TabIndex = 3;
     this.button2.Text     = "&Unfix Columns";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // 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(496, 349);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.c1List2);
     this.Controls.Add(this.C1List1);
     this.Name  = "Form1";
     this.Text  = "C1List .Net Tutorial12";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.C1List1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1List2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsComposer1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #5
0
 /// <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.C1List1             = new C1.Win.C1List.C1List();
     this.button1             = new System.Windows.Forms.Button();
     this.button2             = new System.Windows.Forms.Button();
     this.button3             = new System.Windows.Forms.Button();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbDataAdapter1   = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbConnection1    = new System.Data.OleDb.OleDbConnection();
     this.dsCustomers1        = new Tutorial10.DsCustomers();
     ((System.ComponentModel.ISupportInitialize)(this.C1List1)).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.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(40, 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(560, 240);
     this.C1List1.Style              = style8;
     this.C1List1.TabIndex           = 0;
     this.C1List1.Text               = "C1List1";
     this.C1List1.FetchRowStyle     += new C1.Win.C1List.FetchRowStyleEventHandler(this.C1List1_FetchRowStyle);
     this.C1List1.PropBag            = resources.GetString("C1List1.PropBag");
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(40, 280);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(128, 32);
     this.button1.TabIndex = 1;
     this.button1.Text     = "Prospective Customers";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(256, 280);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(128, 32);
     this.button2.TabIndex = 2;
     this.button2.Text     = "Distributors";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(472, 280);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(128, 32);
     this.button3.TabIndex = 3;
     this.button3.Text     = "Reset the List";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // 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(632, 325);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.C1List1);
     this.Name  = "Form1";
     this.Text  = "C1List .Net Tutorial10";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.C1List1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCustomers1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #6
0
 /// <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.C1List1             = new C1.Win.C1List.C1List();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbDataAdapter1   = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbConnection1    = new System.Data.OleDb.OleDbConnection();
     this.dsContacts1         = new Tutorial9.DsContacts();
     ((System.ComponentModel.ISupportInitialize)(this.C1List1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsContacts1)).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          = "Contacts";
     this.C1List1.DataSource          = this.dsContacts1;
     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.Images.Add(((System.Drawing.Image)(resources.GetObject("C1List1.Images1"))));
     this.C1List1.Images.Add(((System.Drawing.Image)(resources.GetObject("C1List1.Images2"))));
     this.C1List1.Images.Add(((System.Drawing.Image)(resources.GetObject("C1List1.Images3"))));
     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(416, 224);
     this.C1List1.Style              = style8;
     this.C1List1.TabIndex           = 0;
     this.C1List1.Text               = "C1List1";
     this.C1List1.PropBag            = resources.GetString("C1List1.PropBag");
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT     Contacts.*, Customer.*\r\nFROM         (Contacts INNER JOIN\r\n          " +
                                            "            Customer ON Contacts.UserCode = Customer.UserCode)";
     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", "Contacts", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("Contacts.UserCode", "Contacts.UserCode"),
             new System.Data.Common.DataColumnMapping("ContactDate", "ContactDate"),
             new System.Data.Common.DataColumnMapping("Callback", "Callback"),
             new System.Data.Common.DataColumnMapping("Comments", "Comments"),
             new System.Data.Common.DataColumnMapping("ContactType", "ContactType"),
             new System.Data.Common.DataColumnMapping("Customers.UserCode", "Customers.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\"";
     //
     // dsContacts1
     //
     this.dsContacts1.DataSetName = "DsContacts";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(480, 273);
     this.Controls.Add(this.C1List1);
     this.Name  = "Form1";
     this.Text  = "C1List .Net Tutorial9";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.C1List1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsContacts1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #7
0
 /// <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.textBox1            = new System.Windows.Forms.TextBox();
     this.button1             = new System.Windows.Forms.Button();
     this.c1List1             = new C1.Win.C1List.C1List();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     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.oleDbConnection1    = new System.Data.OleDb.OleDbConnection();
     this.dsComposer1         = new Tutorial5.DsComposer();
     ((System.ComponentModel.ISupportInitialize)(this.c1List1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsComposer1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Location  = new System.Drawing.Point(40, 272);
     this.textBox1.Multiline = true;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(416, 88);
     this.textBox1.TabIndex  = 1;
     this.textBox1.Text      = "Enter SQL Statement Here";
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(40, 224);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(200, 32);
     this.button1.TabIndex = 2;
     this.button1.Text     = "Execute SQL";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // 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          = "Composer";
     this.c1List1.DataSource          = this.dsComposer1;
     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(40, 12);
     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(416, 193);
     this.c1List1.Style              = style8;
     this.c1List1.TabIndex           = 3;
     this.c1List1.Text               = "c1List1";
     this.c1List1.PropBag            = resources.GetString("c1List1.PropBag");
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT     Composer.*\r\nFROM         Composer";
     this.oleDbSelectCommand1.Connection  = this.oleDbConnection1;
     //
     // oleDbInsertCommand1
     //
     this.oleDbInsertCommand1.CommandText = "INSERT INTO `Composer` (`First`, `Last`, `Country`, `Birth`, `Death`) 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, "First"),
         new System.Data.OleDb.OleDbParameter("p2", System.Data.OleDb.OleDbType.VarWChar, 0, "Last"),
         new System.Data.OleDb.OleDbParameter("p3", System.Data.OleDb.OleDbType.VarWChar, 0, "Country"),
         new System.Data.OleDb.OleDbParameter("p4", System.Data.OleDb.OleDbType.Date, 0, "Birth"),
         new System.Data.OleDb.OleDbParameter("p5", System.Data.OleDb.OleDbType.Date, 0, "Death")
     });
     //
     // oleDbUpdateCommand1
     //
     this.oleDbUpdateCommand1.Connection = this.oleDbConnection1;
     //
     // oleDbDeleteCommand1
     //
     this.oleDbDeleteCommand1.Connection = this.oleDbConnection1;
     //
     // 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", "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")
         })
     });
     this.oleDbDataAdapter1.UpdateCommand = this.oleDbUpdateCommand1;
     //
     // 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(496, 381);
     this.Controls.Add(this.c1List1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.textBox1);
     this.Name  = "Form1";
     this.Text  = "C1List .Net Tutorial5";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1List1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsComposer1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }