Zastone/HPG-68D/AboutForm.cs
2024-06-25 23:18:56 +02:00

175 lines
5.6 KiB
C#

// Decompiled with JetBrains decompiler
// Type: HPG_68D.AboutForm
// Assembly: HPG-68D, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 530C99A8-8EEF-42C8-8A74-66FDE7B322C3
// Assembly location: C:\Program Files (x86)\HONGKAIDE\HPG-68D\HPG-68D.exe
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((object) new WeakReference((object) this));
InitializeComponent();
}
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
if (disposing && components != null)
components.Dispose();
base.Dispose(disposing);
}
[DebuggerStepThrough]
private void InitializeComponent()
{
ComponentResourceManager 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((object) PictureBox1, "PictureBox1");
PictureBox1.Name = "PictureBox1";
PictureBox1.TabStop = false;
componentResourceManager.ApplyResources((object) Label1, "Label1");
Label1.Name = "Label1";
componentResourceManager.ApplyResources((object) Label2, "Label2");
Label2.Name = "Label2";
componentResourceManager.ApplyResources((object) Label版本, "Label版本");
Label版本.Name = "Label版本";
componentResourceManager.ApplyResources((object) Button1, "Button1");
Button1.Name = "Button1";
Button1.UseVisualStyleBackColor = true;
componentResourceManager.ApplyResources((object) Label发布时间, "Label发布时间");
Label发布时间.Name = "Label发布时间";
componentResourceManager.ApplyResources((object) Label5, "Label5");
Label5.Name = "Label5";
componentResourceManager.ApplyResources((object) this, "$this");
AutoScaleMode = AutoScaleMode.Font;
Controls.Add((Control) Label5);
Controls.Add((Control) Label发布时间);
Controls.Add((Control) Button1);
Controls.Add((Control) Label版本);
Controls.Add((Control) Label2);
Controls.Add((Control) Label1);
Controls.Add((Control) 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 = Operators.CompareString(publicva.Language, "zh-CN", false) != 0 ? "Version " + MyProject.Application.Info.Version.ToString() : "版本 " + MyProject.Application.Info.Version.ToString();
Label发布时间.Text = MyProject.Application.Info.Description.ToString();
}
}
}