예제 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lstIcons = new vbAccelerator.Controls.ListBox.IconPickerListBox();
     this.txtTarget = new vbAccelerator.Controls.TextBox.AutoCompleteTextBox();
     this.lblTarget = new System.Windows.Forms.Label();
     this.btnPick = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.btnOK = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // lstIcons
     //
     this.lstIcons.ColumnWidth = 36;
     this.lstIcons.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.lstIcons.HorizontalScrollbar = true;
     this.lstIcons.IconSize = vbAccelerator.Controls.ListBox.IconPickerListBox.IconPickerIconSize.large;
     this.lstIcons.ItemHeight = 36;
     this.lstIcons.Location = new System.Drawing.Point(8, 80);
     this.lstIcons.MultiColumn = true;
     this.lstIcons.Name = "lstIcons";
     this.lstIcons.Size = new System.Drawing.Size(304, 148);
     this.lstIcons.TabIndex = 0;
     this.lstIcons.SelectedIndexChanged += new System.EventHandler(this.lstIcons_SelectedIndexChanged);
     //
     // txtTarget
     //
     this.txtTarget.AutoCompleteFlags = vbAccelerator.Controls.TextBox.AutoCompleteTextBox.SHAutoCompleteFlags.SHACF_FILESYS_ONLY;
     this.txtTarget.Location = new System.Drawing.Point(8, 24);
     this.txtTarget.Name = "txtTarget";
     this.txtTarget.Size = new System.Drawing.Size(228, 21);
     this.txtTarget.TabIndex = 4;
     this.txtTarget.Text = "";
     //
     // lblTarget
     //
     this.lblTarget.Location = new System.Drawing.Point(8, 4);
     this.lblTarget.Name = "lblTarget";
     this.lblTarget.Size = new System.Drawing.Size(228, 20);
     this.lblTarget.TabIndex = 3;
     this.lblTarget.Text = "&Look for icons in this file:";
     //
     // btnPick
     //
     this.btnPick.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnPick.Location = new System.Drawing.Point(240, 24);
     this.btnPick.Name = "btnPick";
     this.btnPick.Size = new System.Drawing.Size(75, 24);
     this.btnPick.TabIndex = 5;
     this.btnPick.Text = "&Browse...";
     this.btnPick.Click += new System.EventHandler(this.btnPick_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(12, 60);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(300, 16);
     this.label1.TabIndex = 6;
     this.label1.Text = "Select an icon from the list below:";
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnOK.Location = new System.Drawing.Point(152, 248);
     this.btnOK.Name = "btnOK";
     this.btnOK.Size = new System.Drawing.Size(80, 28);
     this.btnOK.TabIndex = 7;
     this.btnOK.Text = "OK";
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnCancel.Location = new System.Drawing.Point(232, 248);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(80, 28);
     this.btnCancel.TabIndex = 8;
     this.btnCancel.Text = "Cancel";
     //
     // frmIconPicker
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize = new System.Drawing.Size(322, 284);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.btnCancel,
                                                                   this.btnOK,
                                                                   this.label1,
                                                                   this.btnPick,
                                                                   this.txtTarget,
                                                                   this.lblTarget,
                                                                   this.lstIcons});
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmIconPicker";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Choose Icon";
     this.Load += new System.EventHandler(this.frmIconPicker_Load);
     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()
 {
     this.lstIcons  = new vbAccelerator.Controls.ListBox.IconPickerListBox();
     this.txtTarget = new vbAccelerator.Controls.TextBox.AutoCompleteTextBox();
     this.lblTarget = new System.Windows.Forms.Label();
     this.btnPick   = new System.Windows.Forms.Button();
     this.label1    = new System.Windows.Forms.Label();
     this.btnOK     = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // lstIcons
     //
     this.lstIcons.ColumnWidth         = 36;
     this.lstIcons.DrawMode            = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.lstIcons.HorizontalScrollbar = true;
     this.lstIcons.IconSize            = vbAccelerator.Controls.ListBox.IconPickerListBox.IconPickerIconSize.large;
     this.lstIcons.ItemHeight          = 36;
     this.lstIcons.Location            = new System.Drawing.Point(8, 80);
     this.lstIcons.MultiColumn         = true;
     this.lstIcons.Name                  = "lstIcons";
     this.lstIcons.Size                  = new System.Drawing.Size(304, 148);
     this.lstIcons.TabIndex              = 0;
     this.lstIcons.SelectedIndexChanged += new System.EventHandler(this.lstIcons_SelectedIndexChanged);
     //
     // txtTarget
     //
     this.txtTarget.AutoCompleteFlags = vbAccelerator.Controls.TextBox.AutoCompleteTextBox.SHAutoCompleteFlags.SHACF_FILESYS_ONLY;
     this.txtTarget.Location          = new System.Drawing.Point(8, 24);
     this.txtTarget.Name     = "txtTarget";
     this.txtTarget.Size     = new System.Drawing.Size(228, 21);
     this.txtTarget.TabIndex = 4;
     this.txtTarget.Text     = "";
     //
     // lblTarget
     //
     this.lblTarget.Location = new System.Drawing.Point(8, 4);
     this.lblTarget.Name     = "lblTarget";
     this.lblTarget.Size     = new System.Drawing.Size(228, 20);
     this.lblTarget.TabIndex = 3;
     this.lblTarget.Text     = "&Look for icons in this file:";
     //
     // btnPick
     //
     this.btnPick.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnPick.Location  = new System.Drawing.Point(240, 24);
     this.btnPick.Name      = "btnPick";
     this.btnPick.Size      = new System.Drawing.Size(75, 24);
     this.btnPick.TabIndex  = 5;
     this.btnPick.Text      = "&Browse...";
     this.btnPick.Click    += new System.EventHandler(this.btnPick_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(12, 60);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(300, 16);
     this.label1.TabIndex = 6;
     this.label1.Text     = "Select an icon from the list below:";
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnOK.Location     = new System.Drawing.Point(152, 248);
     this.btnOK.Name         = "btnOK";
     this.btnOK.Size         = new System.Drawing.Size(80, 28);
     this.btnOK.TabIndex     = 7;
     this.btnOK.Text         = "OK";
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnCancel.Location     = new System.Drawing.Point(232, 248);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(80, 28);
     this.btnCancel.TabIndex     = 8;
     this.btnCancel.Text         = "Cancel";
     //
     // frmIconPicker
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(322, 284);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnCancel,
         this.btnOK,
         this.label1,
         this.btnPick,
         this.txtTarget,
         this.lblTarget,
         this.lstIcons
     });
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmIconPicker";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Choose Icon";
     this.Load           += new System.EventHandler(this.frmIconPicker_Load);
     this.ResumeLayout(false);
 }