// Decompiled with JetBrains decompiler // Type: HPG_68D.MsgForm // 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; using Microsoft.VisualBasic.CompilerServices; using System; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Text; using System.Windows.Forms; namespace HPG_68D { [DesignerGenerated] public class MsgForm : Form { private static ArrayList __ENCList = new ArrayList(); private IContainer components; [AccessedThroughProperty("Panel1")] private Panel _Panel1; [AccessedThroughProperty("TextBox嵌入信息")] private TextBox _TextBox嵌入信息; [AccessedThroughProperty("Button3")] private Button _Button3; [AccessedThroughProperty("Button2")] private Button _Button2; [AccessedThroughProperty("Button1")] private Button _Button1; [DebuggerNonUserCode] static MsgForm() { } [DebuggerNonUserCode] public MsgForm() { this.Deactivate += new EventHandler(this.MsgForm_Deactivate); this.FormClosing += new FormClosingEventHandler(this.MsgForm_FormClosing); this.Load += new EventHandler(this.MsgForm_Load); MsgForm.__ENCList.Add((object) new WeakReference((object) this)); this.InitializeComponent(); } [DebuggerNonUserCode] protected override void Dispose(bool disposing) { if (disposing && this.components != null) this.components.Dispose(); base.Dispose(disposing); } [DebuggerStepThrough] private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (MsgForm)); this.Panel1 = new Panel(); this.TextBox嵌入信息 = new TextBox(); this.Button3 = new Button(); this.Button2 = new Button(); this.Button1 = new Button(); this.Panel1.SuspendLayout(); this.SuspendLayout(); componentResourceManager.ApplyResources((object) this.Panel1, "Panel1"); this.Panel1.BorderStyle = BorderStyle.Fixed3D; this.Panel1.Controls.Add((Control) this.TextBox嵌入信息); this.Panel1.Name = "Panel1"; componentResourceManager.ApplyResources((object) this.TextBox嵌入信息, "TextBox嵌入信息"); this.TextBox嵌入信息.Name = "TextBox嵌入信息"; componentResourceManager.ApplyResources((object) this.Button3, "Button3"); this.Button3.Name = "Button3"; this.Button3.UseVisualStyleBackColor = true; componentResourceManager.ApplyResources((object) this.Button2, "Button2"); this.Button2.Name = "Button2"; this.Button2.UseVisualStyleBackColor = true; componentResourceManager.ApplyResources((object) this.Button1, "Button1"); this.Button1.Name = "Button1"; this.Button1.UseVisualStyleBackColor = true; componentResourceManager.ApplyResources((object) this, "$this"); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control) this.Button3); this.Controls.Add((Control) this.Button2); this.Controls.Add((Control) this.Button1); this.Controls.Add((Control) this.Panel1); this.Name = nameof (MsgForm); this.Panel1.ResumeLayout(false); this.Panel1.PerformLayout(); this.ResumeLayout(false); } internal virtual Panel Panel1 { [DebuggerNonUserCode] get => this._Panel1; [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set => this._Panel1 = value; } internal virtual TextBox TextBox嵌入信息 { [DebuggerNonUserCode] get => this._TextBox嵌入信息; [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set { this._TextBox嵌入信息 = value; } } internal virtual Button Button3 { [DebuggerNonUserCode] get => this._Button3; [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set { this._Button3 = value; } } internal virtual Button Button2 { [DebuggerNonUserCode] get => this._Button2; [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set { this._Button2 = value; } } internal virtual Button Button1 { [DebuggerNonUserCode] get => this._Button1; [DebuggerNonUserCode, MethodImpl(MethodImplOptions.Synchronized)] set { if (this._Button1 != null) this._Button1.Click -= new EventHandler(this.Button1_Click); this._Button1 = value; if (this._Button1 == null) return; this._Button1.Click += new EventHandler(this.Button1_Click); } } private void Button1_Click(object sender, EventArgs e) => this.Close(); public void MsgForm_Deactivate(object sender, EventArgs e) { int num = 5248; Encoding.ASCII.GetBytes(this.TextBox嵌入信息.Text.PadRight(128), 0, 128, publicva.EEPROM_Byte, checked (num + 0)); } private void MsgForm_FormClosing(object sender, FormClosingEventArgs e) { MyProject.Forms.MDIParent1.嵌入信息IToolStripMenuItem.Checked = false; } public void MsgForm_Load(object sender, EventArgs e) { MyProject.Forms.MDIParent1.嵌入信息IToolStripMenuItem.Checked = true; int num = 5248; this.TextBox嵌入信息.Text = Strings.RTrim(Encoding.ASCII.GetString(publicva.EEPROM_Byte, checked (num + 0), 128)); } } }