ntwain/samples/WinForm32/Form1.Designer.cs

203 lines
7.5 KiB
C#
Raw Normal View History

namespace WinForm32
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
btnSelect = new System.Windows.Forms.Button();
label1 = new System.Windows.Forms.Label();
lblDefault = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
lblCurrent = new System.Windows.Forms.Label();
btnEnumSources = new System.Windows.Forms.Button();
listSources = new System.Windows.Forms.ListBox();
2023-04-02 07:38:04 +08:00
btnSetDef = new System.Windows.Forms.Button();
btnOpen = new System.Windows.Forms.Button();
splitContainer1 = new System.Windows.Forms.SplitContainer();
btnClose = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
splitContainer1.Panel1.SuspendLayout();
splitContainer1.Panel2.SuspendLayout();
splitContainer1.SuspendLayout();
SuspendLayout();
//
// btnSelect
//
2023-04-02 07:38:04 +08:00
btnSelect.Location = new System.Drawing.Point(13, 14);
btnSelect.Name = "btnSelect";
btnSelect.Size = new System.Drawing.Size(151, 23);
btnSelect.TabIndex = 0;
btnSelect.Text = "Select default source";
btnSelect.UseVisualStyleBackColor = true;
btnSelect.Click += btnSelect_Click;
//
// label1
//
label1.AutoSize = true;
2023-04-02 07:38:04 +08:00
label1.Location = new System.Drawing.Point(13, 53);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(98, 15);
label1.TabIndex = 1;
label1.Text = "Default Source = ";
//
// lblDefault
//
lblDefault.AutoSize = true;
2023-04-02 07:38:04 +08:00
lblDefault.Location = new System.Drawing.Point(116, 53);
lblDefault.Name = "lblDefault";
lblDefault.Size = new System.Drawing.Size(24, 15);
lblDefault.TabIndex = 2;
lblDefault.Text = "NA";
//
// label2
//
label2.AutoSize = true;
2023-04-02 07:38:04 +08:00
label2.Location = new System.Drawing.Point(13, 14);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(97, 15);
label2.TabIndex = 3;
label2.Text = "Current Source =";
//
// lblCurrent
//
lblCurrent.AutoSize = true;
2023-04-02 07:38:04 +08:00
lblCurrent.Location = new System.Drawing.Point(116, 14);
lblCurrent.Name = "lblCurrent";
lblCurrent.Size = new System.Drawing.Size(24, 15);
lblCurrent.TabIndex = 4;
lblCurrent.Text = "NA";
//
// btnEnumSources
//
2023-04-02 07:38:04 +08:00
btnEnumSources.Location = new System.Drawing.Point(13, 81);
btnEnumSources.Name = "btnEnumSources";
btnEnumSources.Size = new System.Drawing.Size(151, 23);
btnEnumSources.TabIndex = 5;
btnEnumSources.Text = "Enumerate sources";
btnEnumSources.UseVisualStyleBackColor = true;
btnEnumSources.Click += btnEnumSources_Click;
//
// listSources
//
2023-04-02 07:38:04 +08:00
listSources.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
listSources.FormattingEnabled = true;
listSources.ItemHeight = 15;
2023-04-02 07:38:04 +08:00
listSources.Location = new System.Drawing.Point(13, 115);
listSources.Name = "listSources";
2023-04-02 07:38:04 +08:00
listSources.Size = new System.Drawing.Size(289, 394);
listSources.TabIndex = 6;
//
2023-04-02 07:38:04 +08:00
// btnSetDef
//
btnSetDef.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
btnSetDef.Location = new System.Drawing.Point(12, 515);
btnSetDef.Name = "btnSetDef";
btnSetDef.Size = new System.Drawing.Size(169, 23);
btnSetDef.TabIndex = 7;
btnSetDef.Text = "Set selected as default";
btnSetDef.UseVisualStyleBackColor = true;
btnSetDef.Click += btnSetDef_Click;
//
// btnOpen
//
btnOpen.Anchor = System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left;
btnOpen.Location = new System.Drawing.Point(187, 515);
btnOpen.Name = "btnOpen";
btnOpen.Size = new System.Drawing.Size(104, 23);
btnOpen.TabIndex = 8;
btnOpen.Text = "Open selected";
btnOpen.UseVisualStyleBackColor = true;
btnOpen.Click += btnOpen_Click;
//
// splitContainer1
//
splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
splitContainer1.Location = new System.Drawing.Point(0, 0);
splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
splitContainer1.Panel1.Controls.Add(btnSelect);
splitContainer1.Panel1.Controls.Add(btnOpen);
splitContainer1.Panel1.Controls.Add(label1);
splitContainer1.Panel1.Controls.Add(btnSetDef);
splitContainer1.Panel1.Controls.Add(lblDefault);
splitContainer1.Panel1.Controls.Add(listSources);
splitContainer1.Panel1.Controls.Add(btnEnumSources);
//
// splitContainer1.Panel2
//
splitContainer1.Panel2.Controls.Add(btnClose);
splitContainer1.Panel2.Controls.Add(label2);
splitContainer1.Panel2.Controls.Add(lblCurrent);
splitContainer1.Size = new System.Drawing.Size(800, 564);
splitContainer1.SplitterDistance = 305;
splitContainer1.TabIndex = 9;
//
// btnClose
//
btnClose.Location = new System.Drawing.Point(13, 45);
btnClose.Name = "btnClose";
btnClose.Size = new System.Drawing.Size(142, 23);
btnClose.TabIndex = 0;
btnClose.Text = "Close current source";
btnClose.UseVisualStyleBackColor = true;
btnClose.Click += btnClose_Click;
//
// Form1
//
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
2023-04-02 07:38:04 +08:00
ClientSize = new System.Drawing.Size(800, 564);
Controls.Add(splitContainer1);
Name = "Form1";
Text = "TWAIN Test";
2023-04-02 07:38:04 +08:00
splitContainer1.Panel1.ResumeLayout(false);
splitContainer1.Panel1.PerformLayout();
splitContainer1.Panel2.ResumeLayout(false);
splitContainer1.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
splitContainer1.ResumeLayout(false);
ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button btnSelect;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label lblDefault;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label lblCurrent;
private System.Windows.Forms.Button btnEnumSources;
private System.Windows.Forms.ListBox listSources;
2023-04-02 07:38:04 +08:00
private System.Windows.Forms.Button btnSetDef;
private System.Windows.Forms.Button btnOpen;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Button btnClose;
}
}