71 lines
2.3 KiB
C#
71 lines
2.3 KiB
C#
namespace GeneralDWGViewer
|
|
{
|
|
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()
|
|
{
|
|
loadButton = new Button();
|
|
progressBar = new ProgressBar();
|
|
SuspendLayout();
|
|
//
|
|
// loadButton
|
|
//
|
|
loadButton.Location = new Point(12, 12);
|
|
loadButton.Name = "loadButton";
|
|
loadButton.Size = new Size(75, 23);
|
|
loadButton.TabIndex = 0;
|
|
loadButton.Text = "Load File";
|
|
loadButton.UseVisualStyleBackColor = true;
|
|
loadButton.Click += loadButton_Click; // 直接使用方法名
|
|
//
|
|
// progressBar
|
|
//
|
|
progressBar.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
progressBar.Location = new Point(12, 415);
|
|
progressBar.Name = "progressBar";
|
|
progressBar.Size = new Size(776, 23);
|
|
progressBar.TabIndex = 1;
|
|
progressBar.Visible = false;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(progressBar);
|
|
Controls.Add(loadButton);
|
|
Name = "Form1";
|
|
Text = "General DWG Viewer";
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button loadButton;
|
|
private ProgressBar progressBar;
|
|
}
|
|
} |