Zastone/HPG-68D/AboutForm.cs
2024-06-26 00:21:14 +02:00

171 lines
5.0 KiB
C#

using HPG_68D.My;
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
namespace HPG_68D
{
[DesignerGenerated]
public class AboutForm : Form
{
private static ArrayList __ENCList = new ArrayList();
private IContainer components;
[AccessedThroughProperty("PictureBox1")]
private PictureBox _PictureBox1;
[AccessedThroughProperty("Label1")]
private Label _Label1;
[AccessedThroughProperty("Label2")]
private Label _Label2;
[AccessedThroughProperty("Label版本")]
private Label _Label版本;
[AccessedThroughProperty("Button1")]
private Button _Button1;
[AccessedThroughProperty("Label发布时间")]
private Label _Label发布时间;
[AccessedThroughProperty("Label5")]
private Label _Label5;
[DebuggerNonUserCode]
static AboutForm()
{
}
[DebuggerNonUserCode]
public AboutForm()
{
Load += AboutForm_Load;
__ENCList.Add(new WeakReference(this));
InitializeComponent();
}
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
if (disposing && components != null)
components.Dispose();
base.Dispose(disposing);
}
[DebuggerStepThrough]
private void InitializeComponent()
{
var componentResourceManager = new ComponentResourceManager(typeof (AboutForm));
PictureBox1 = new PictureBox();
Label1 = new Label();
Label2 = new Label();
Label版本 = new Label();
Button1 = new Button();
Label发布时间 = new Label();
Label5 = new Label();
((ISupportInitialize) PictureBox1).BeginInit();
SuspendLayout();
componentResourceManager.ApplyResources(PictureBox1, "PictureBox1");
PictureBox1.Name = "PictureBox1";
PictureBox1.TabStop = false;
componentResourceManager.ApplyResources(Label1, "Label1");
Label1.Name = "Label1";
componentResourceManager.ApplyResources(Label2, "Label2");
Label2.Name = "Label2";
componentResourceManager.ApplyResources(Label版本, "Label版本");
Label版本.Name = "Label版本";
componentResourceManager.ApplyResources(Button1, "Button1");
Button1.Name = "Button1";
Button1.UseVisualStyleBackColor = true;
componentResourceManager.ApplyResources(Label发布时间, "Label发布时间");
Label发布时间.Name = "Label发布时间";
componentResourceManager.ApplyResources(Label5, "Label5");
Label5.Name = "Label5";
componentResourceManager.ApplyResources(this, "$this");
AutoScaleMode = AutoScaleMode.Font;
Controls.Add(Label5);
Controls.Add(Label发布时间);
Controls.Add(Button1);
Controls.Add(Label版本);
Controls.Add(Label2);
Controls.Add(Label1);
Controls.Add(PictureBox1);
FormBorderStyle = FormBorderStyle.FixedDialog;
MaximizeBox = false;
MinimizeBox = false;
Name = nameof (AboutForm);
((ISupportInitialize) PictureBox1).EndInit();
ResumeLayout(false);
PerformLayout();
}
internal virtual PictureBox PictureBox1
{
[DebuggerNonUserCode] get => _PictureBox1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
_PictureBox1 = value;
}
}
internal virtual Label Label1
{
[DebuggerNonUserCode] get => _Label1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => _Label1 = value;
}
internal virtual Label Label2
{
[DebuggerNonUserCode] get => _Label2;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => _Label2 = value;
}
internal virtual Label Label版本
{
[DebuggerNonUserCode] get => _Label版本;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
_Label版本 = value;
}
}
internal virtual Button Button1
{
[DebuggerNonUserCode] get => _Button1;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set
{
if (_Button1 != null)
_Button1.Click -= Button1_Click;
_Button1 = value;
if (_Button1 == null)
return;
_Button1.Click += Button1_Click;
}
}
internal virtual Label Label发布时间
{
[DebuggerNonUserCode]
get => _Label发布时间;
[DebuggerNonUserCode][MethodImpl(MethodImplOptions.Synchronized)]
set
{
_Label发布时间 = value;
}
}
internal virtual Label Label5
{
[DebuggerNonUserCode] get => _Label5;
[DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => _Label5 = value;
}
private void Button1_Click(object sender, EventArgs e) => Close();
private void AboutForm_Load(object sender, EventArgs e)
{
Label版本.Text = "Version " + MyProject.Application.Info.Version;
Label发布时间.Text = MyProject.Application.Info.Description;
}
}
}