BMTuneSource/frmChangelog.cs

118 lines
5.4 KiB
C#

using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
internal class frmChangelog : Form
{
private IContainer icontainer_0;
private Label labelProductName;
private Button okButton;
private TextBox textBoxDescription;
private Class18 Class18_0;
public frmChangelog(ref Class18 Class18_1)
{
this.InitializeComponent();
Class18_0 = Class18_1;
//this.Class18_0.LoadBinaryFiles();
textBoxDescription.Text = Class18_0.Binary_Files_0.Changelogs;
//this.Class18_0.CloseBinaryFiles();
foreach (Control control in base.Controls)
{
float emSize = control.Font.Size * (Class18_0.class10_settings_0.scaleRate / 100f);
control.Font = new Font(control.Font.Name, emSize, control.Font.Style, control.Font.Unit);
}
}
protected override void Dispose(bool disposing)
{
if (disposing && (this.icontainer_0 != null))
{
this.icontainer_0.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChangelog));
this.labelProductName = new System.Windows.Forms.Label();
this.okButton = new System.Windows.Forms.Button();
this.textBoxDescription = new System.Windows.Forms.TextBox();
this.SuspendLayout();
//
// labelProductName
//
this.labelProductName.AutoSize = true;
this.labelProductName.Font = new System.Drawing.Font("Lucida Sans", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelProductName.Location = new System.Drawing.Point(102, 10);
this.labelProductName.Margin = new System.Windows.Forms.Padding(7, 0, 3, 0);
this.labelProductName.MaximumSize = new System.Drawing.Size(0, 18);
this.labelProductName.Name = "labelProductName";
this.labelProductName.Size = new System.Drawing.Size(387, 15);
this.labelProductName.TabIndex = 19;
this.labelProductName.Text = "BASEROMS VERSIONS CHANGELOGS AND INFORMATIONS";
this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// okButton
//
this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.okButton.AutoSize = true;
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
this.okButton.Location = new System.Drawing.Point(460, 557);
this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(87, 25);
this.okButton.TabIndex = 24;
this.okButton.Text = "&Close";
//
// textBoxDescription
//
this.textBoxDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBoxDescription.Location = new System.Drawing.Point(10, 28);
this.textBoxDescription.Margin = new System.Windows.Forms.Padding(7, 3, 3, 3);
this.textBoxDescription.Multiline = true;
this.textBoxDescription.Name = "textBoxDescription";
this.textBoxDescription.ReadOnly = true;
this.textBoxDescription.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBoxDescription.Size = new System.Drawing.Size(573, 523);
this.textBoxDescription.TabIndex = 23;
this.textBoxDescription.TabStop = false;
this.textBoxDescription.Text = "\r\n© BMTune, LLC (BMDevs) 2017";
//
// frmChangelog
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(594, 590);
this.Controls.Add(this.textBoxDescription);
this.Controls.Add(this.labelProductName);
this.Controls.Add(this.okButton);
this.Font = new System.Drawing.Font("Lucida Sans", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmChangelog";
this.Padding = new System.Windows.Forms.Padding(10);
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Baseroms Versions Changelogs";
this.Load += new System.EventHandler(this.frmChangelog_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
private void frmChangelog_Load(object sender, EventArgs e)
{
}
}