- on initial rendering mono likes to send a resize event where the width is 0, ignore it. This was causing gbDatInfo to not render until a manual resize was done. - set AutoScaleMode to System.Windows.Forms.AutoScaleMode.None. This fixes a number of rendering issues under mono and didnt seem to have any negative effect under c#/windows builds. - tweak some of the initial form sizes and locations on FrmMain. A number of the setting didnt make sense based on the size of the panel they were put it. This resolves an issue with the gbDatInfo and gbSetInfo starting off with the wrong size under mono.
121 lines
4.8 KiB
C#
121 lines
4.8 KiB
C#
namespace ROMVault2
|
|
{
|
|
partial class FrmRegistration
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtName = new System.Windows.Forms.TextBox();
|
|
this.txtEmail = new System.Windows.Forms.TextBox();
|
|
this.btnOK = new System.Windows.Forms.Button();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(420, 49);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "To make RomVault 2 the best is can be, RomVault 2 will send error reports to the " +
|
|
"author. Please fill out this from so that the Author can contact you in the case" +
|
|
" of a crash.";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(12, 58);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(120, 13);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Your Name: (Username)";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(12, 100);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(103, 13);
|
|
this.label3.TabIndex = 2;
|
|
this.label3.Text = "Your Contact Email :";
|
|
//
|
|
// txtName
|
|
//
|
|
this.txtName.Location = new System.Drawing.Point(15, 74);
|
|
this.txtName.Name = "txtName";
|
|
this.txtName.Size = new System.Drawing.Size(417, 20);
|
|
this.txtName.TabIndex = 3;
|
|
//
|
|
// txtEmail
|
|
//
|
|
this.txtEmail.Location = new System.Drawing.Point(15, 116);
|
|
this.txtEmail.Name = "txtEmail";
|
|
this.txtEmail.Size = new System.Drawing.Size(417, 20);
|
|
this.txtEmail.TabIndex = 4;
|
|
//
|
|
// btnOK
|
|
//
|
|
this.btnOK.Location = new System.Drawing.Point(303, 145);
|
|
this.btnOK.Name = "btnOK";
|
|
this.btnOK.Size = new System.Drawing.Size(128, 23);
|
|
this.btnOK.TabIndex = 5;
|
|
this.btnOK.Text = "OK";
|
|
this.btnOK.UseVisualStyleBackColor = true;
|
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
|
//
|
|
// FrmRegistration
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
this.ClientSize = new System.Drawing.Size(444, 178);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.btnOK);
|
|
this.Controls.Add(this.txtEmail);
|
|
this.Controls.Add(this.txtName);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
this.Name = "FrmRegistration";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Registration";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtName;
|
|
private System.Windows.Forms.TextBox txtEmail;
|
|
private System.Windows.Forms.Button btnOK;
|
|
}
|
|
} |