📄 pictureproperty.cs
字号:
using System;
using System.Drawing;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Resources;
using System.Windows.Forms;
using Addot.Drawing;
namespace Pex
{
/// <summary>
/// Summary description for PictureProperty.
/// </summary>
public class PictureProperty : System.Windows.Forms.Form
{
private string picture;
#region Controls
private System.Windows.Forms.Label lbNameLabel;
private System.Windows.Forms.Label lbName;
private System.Windows.Forms.Label lbAttributesLabel;
private System.Windows.Forms.CheckBox chReadOnly;
private System.Windows.Forms.CheckBox chArchive;
private System.Windows.Forms.CheckBox chSystem;
private System.Windows.Forms.CheckBox chHidden;
private System.Windows.Forms.Label lbPictSizeLabel;
private System.Windows.Forms.Label lbFileSizeLabel;
private System.Windows.Forms.Label lbModified;
private System.Windows.Forms.Label lbModifiedLabel;
private System.Windows.Forms.Label lbCreated;
private System.Windows.Forms.Label lbCreatedLabel;
private System.Windows.Forms.Label lbLocation;
private System.Windows.Forms.Label lbLocationLabel;
private System.Windows.Forms.PictureBox pbThumbnail;
private System.Windows.Forms.Panel pa1;
private System.Windows.Forms.Panel pa2;
private System.Windows.Forms.Label lbSize;
private System.Windows.Forms.Label lbFileSize;
private System.Windows.Forms.CheckBox chCompressed;
private System.Windows.Forms.CheckBox chDevice;
private System.Windows.Forms.CheckBox chNormal;
private System.Windows.Forms.CheckBox chTemporary;
private System.Windows.Forms.Panel pa;
#endregion
public PictureProperty()
{
Cursor.Current = Cursors.WaitCursor;
//
// Required for Windows Form Designer support
//
InitializeComponent();
}
#region Windows Form Designer generated code
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
base.Dispose( disposing );
}
/// <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(PictureProperty));
//
// PictureProperty
//
this.ClientSize = ((System.Drawing.Size)(resources.GetObject("$this.ClientSize")));
this.Font = ((System.Drawing.Font)(resources.GetObject("$this.Font")));
this.Location = new System.Drawing.Point(0,0);
//
// lbNameLabel
//
this.lbNameLabel = new System.Windows.Forms.Label();
this.lbNameLabel.Parent = this;
this.lbNameLabel.Location = ((System.Drawing.Point)(resources.GetObject("lbNameLabel.Location")));
this.lbNameLabel.Font = ((System.Drawing.Font)(resources.GetObject("lbNameLabel.Font")));
this.lbNameLabel.Size = ((System.Drawing.Size)(resources.GetObject("lbNameLabel.Size")));
this.lbNameLabel.Text = resources.GetString("lbNameLabel.Text");
//
// lbName
//
this.lbName = new System.Windows.Forms.Label();
this.lbName.Parent = this;
this.lbName.Location = ((System.Drawing.Point)(resources.GetObject("lbName.Location")));
this.lbName.Font = ((System.Drawing.Font)(resources.GetObject("lbName.Font")));
this.lbName.Size = ((System.Drawing.Size)(resources.GetObject("lbName.Size")));
//
// lbPictSizeLabel
//
this.lbPictSizeLabel = new System.Windows.Forms.Label();
this.lbPictSizeLabel.Parent = this;
this.lbPictSizeLabel.Font = ((System.Drawing.Font)(resources.GetObject("lbPictSizeLabel.Font")));
this.lbPictSizeLabel.Location = ((System.Drawing.Point)(resources.GetObject("lbPictSizeLabel.Location")));
this.lbPictSizeLabel.Size = ((System.Drawing.Size)(resources.GetObject("lbPictSizeLabel.Size")));
this.lbPictSizeLabel.Text = resources.GetString("lbPictSizeLabel.Text");
//
// lbSize
//
this.lbSize = new System.Windows.Forms.Label();
this.lbSize.Parent = this;
this.lbSize.Font = ((System.Drawing.Font)(resources.GetObject("lbSize.Font")));
this.lbSize.Location = ((System.Drawing.Point)(resources.GetObject("lbSize.Location")));
this.lbSize.Size = ((System.Drawing.Size)(resources.GetObject("lbSize.Size")));
//
// lbFileSizeLabel
//
this.lbFileSizeLabel = new System.Windows.Forms.Label();
this.lbFileSizeLabel.Parent = this;
this.lbFileSizeLabel.Font = ((System.Drawing.Font)(resources.GetObject("lbFileSizeLabel.Font")));
this.lbFileSizeLabel.Location = ((System.Drawing.Point)(resources.GetObject("lbFileSizeLabel.Location")));
this.lbFileSizeLabel.Size = ((System.Drawing.Size)(resources.GetObject("lbFileSizeLabel.Size")));
this.lbFileSizeLabel.Text = resources.GetString("lbFileSizeLabel.Text");
//
// lbFileSize
//
this.lbFileSize = new System.Windows.Forms.Label();
this.lbFileSize.Parent = this;
this.lbFileSize.Font = ((System.Drawing.Font)(resources.GetObject("lbFileSize.Font")));
this.lbFileSize.Location = ((System.Drawing.Point)(resources.GetObject("lbFileSize.Location")));
this.lbFileSize.Size = ((System.Drawing.Size)(resources.GetObject("lbFileSize.Size")));
//
// lbAttributesLabel
//
this.lbAttributesLabel = new System.Windows.Forms.Label();
this.lbAttributesLabel.Parent = this;
this.lbAttributesLabel.Font = ((System.Drawing.Font)(resources.GetObject("lbAttributesLabel.Font")));
this.lbAttributesLabel.Location = ((System.Drawing.Point)(resources.GetObject("lbAttributesLabel.Location")));
this.lbAttributesLabel.Size = ((System.Drawing.Size)(resources.GetObject("lbAttributesLabel.Size")));
this.lbAttributesLabel.Text = resources.GetString("lbAttributesLabel.Text");
//
// chReadOnly
//
this.chReadOnly = new System.Windows.Forms.CheckBox();
this.chReadOnly.Parent = this;
this.chReadOnly.Enabled = false;
this.chReadOnly.Font = ((System.Drawing.Font)(resources.GetObject("chReadOnly.Font")));
this.chReadOnly.Location = ((System.Drawing.Point)(resources.GetObject("chReadOnly.Location")));
this.chReadOnly.Size = ((System.Drawing.Size)(resources.GetObject("chReadOnly.Size")));
this.chReadOnly.Text = resources.GetString("chReadOnly.Text");
//
// chArchive
//
this.chArchive = new System.Windows.Forms.CheckBox();
this.chArchive.Parent = this;
this.chArchive.Enabled = false;
this.chArchive.Font = ((System.Drawing.Font)(resources.GetObject("chArchive.Font")));
this.chArchive.Location = ((System.Drawing.Point)(resources.GetObject("chArchive.Location")));
this.chArchive.Size = ((System.Drawing.Size)(resources.GetObject("chArchive.Size")));
this.chArchive.Text = resources.GetString("chArchive.Text");
//
// chSystem
//
this.chSystem = new System.Windows.Forms.CheckBox();
this.chSystem.Parent = this;
this.chSystem.Enabled = false;
this.chSystem.Font = ((System.Drawing.Font)(resources.GetObject("chSystem.Font")));
this.chSystem.Location = ((System.Drawing.Point)(resources.GetObject("chSystem.Location")));
this.chSystem.Size = ((System.Drawing.Size)(resources.GetObject("chSystem.Size")));
this.chSystem.Text = resources.GetString("chSystem.Text");
//
// chHidden
//
this.chHidden = new System.Windows.Forms.CheckBox();
this.chHidden.Parent = this;
this.chHidden.Enabled = false;
this.chHidden.Font = ((System.Drawing.Font)(resources.GetObject("chHidden.Font")));
this.chHidden.Location = ((System.Drawing.Point)(resources.GetObject("chHidden.Location")));
this.chHidden.Size = ((System.Drawing.Size)(resources.GetObject("chHidden.Size")));
this.chHidden.Text = resources.GetString("chHidden.Text");
//
// pa
//
this.pa = new System.Windows.Forms.Panel();
this.pa.Parent = this;
this.pa.BackColor = System.Drawing.Color.Gray;
this.pa.Location = ((System.Drawing.Point)(resources.GetObject("pa.Location")));
this.pa.Size = new System.Drawing.Size(224, 2);
//
// lbModified
//
this.lbModified = new System.Windows.Forms.Label();
this.lbModified.Parent = this;
this.lbModified.Font = ((System.Drawing.Font)(resources.GetObject("lbModified.Font")));
this.lbModified.Location = ((System.Drawing.Point)(resources.GetObject("lbModified.Location")));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -