- 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.
290 lines
14 KiB
C#
290 lines
14 KiB
C#
namespace ROMVault2
|
|
{
|
|
partial class FrmProgressWindowFix
|
|
{
|
|
/// <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.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmProgressWindowFix));
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.progressBar = new System.Windows.Forms.ProgressBar();
|
|
this.label = new System.Windows.Forms.Label();
|
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
|
this.DatTo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.GameTo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.RomTo = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.FileSize = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Status = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.DatFrom = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.GameFrom = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ROMFrom = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.bgWork = new System.ComponentModel.BackgroundWorker();
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
this.splitContainer1.Panel1.SuspendLayout();
|
|
this.splitContainer1.Panel2.SuspendLayout();
|
|
this.splitContainer1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// splitContainer1
|
|
//
|
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
|
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
|
this.splitContainer1.Name = "splitContainer1";
|
|
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
|
//
|
|
// splitContainer1.Panel1
|
|
//
|
|
this.splitContainer1.Panel1.Controls.Add(this.cancelButton);
|
|
this.splitContainer1.Panel1.Controls.Add(this.progressBar);
|
|
this.splitContainer1.Panel1.Controls.Add(this.label);
|
|
//
|
|
// splitContainer1.Panel2
|
|
//
|
|
this.splitContainer1.Panel2.Controls.Add(this.dataGridView1);
|
|
this.splitContainer1.Size = new System.Drawing.Size(1027, 500);
|
|
this.splitContainer1.SplitterDistance = 64;
|
|
this.splitContainer1.TabIndex = 7;
|
|
//
|
|
// cancelButton
|
|
//
|
|
this.cancelButton.Location = new System.Drawing.Point(759, 32);
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.Size = new System.Drawing.Size(75, 23);
|
|
this.cancelButton.TabIndex = 9;
|
|
this.cancelButton.Text = "Cancel";
|
|
this.cancelButton.Click += new System.EventHandler(this.CancelButtonClick);
|
|
//
|
|
// progressBar
|
|
//
|
|
this.progressBar.Location = new System.Drawing.Point(12, 32);
|
|
this.progressBar.Name = "progressBar";
|
|
this.progressBar.Size = new System.Drawing.Size(741, 23);
|
|
this.progressBar.TabIndex = 8;
|
|
//
|
|
// label
|
|
//
|
|
this.label.Location = new System.Drawing.Point(13, 9);
|
|
this.label.Name = "label";
|
|
this.label.Size = new System.Drawing.Size(480, 20);
|
|
this.label.TabIndex = 4;
|
|
this.label.Text = "Starting operation...";
|
|
//
|
|
// dataGridView1
|
|
//
|
|
this.dataGridView1.AllowUserToAddRows = false;
|
|
this.dataGridView1.AllowUserToDeleteRows = false;
|
|
this.dataGridView1.AllowUserToResizeRows = false;
|
|
this.dataGridView1.BackgroundColor = System.Drawing.Color.White;
|
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.DatTo,
|
|
this.GameTo,
|
|
this.RomTo,
|
|
this.FileSize,
|
|
this.Status,
|
|
this.DatFrom,
|
|
this.GameFrom,
|
|
this.ROMFrom});
|
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.dataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
|
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
|
this.dataGridView1.MultiSelect = false;
|
|
this.dataGridView1.Name = "dataGridView1";
|
|
this.dataGridView1.ReadOnly = true;
|
|
this.dataGridView1.RowHeadersVisible = false;
|
|
this.dataGridView1.RowTemplate.Height = 17;
|
|
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
this.dataGridView1.ShowCellErrors = false;
|
|
this.dataGridView1.ShowCellToolTips = false;
|
|
this.dataGridView1.ShowEditingIcon = false;
|
|
this.dataGridView1.ShowRowErrors = false;
|
|
this.dataGridView1.Size = new System.Drawing.Size(1027, 432);
|
|
this.dataGridView1.TabIndex = 7;
|
|
this.dataGridView1.SelectionChanged += new System.EventHandler(this.DataGridView1SelectionChanged);
|
|
//
|
|
// DatTo
|
|
//
|
|
this.DatTo.HeaderText = "Directory (Fixing)";
|
|
this.DatTo.Name = "DatTo";
|
|
this.DatTo.ReadOnly = true;
|
|
this.DatTo.Width = 250;
|
|
//
|
|
// GameTo
|
|
//
|
|
this.GameTo.HeaderText = "Archive (Fixing)";
|
|
this.GameTo.Name = "GameTo";
|
|
this.GameTo.ReadOnly = true;
|
|
this.GameTo.Width = 200;
|
|
//
|
|
// RomTo
|
|
//
|
|
this.RomTo.HeaderText = "File (Fixing)";
|
|
this.RomTo.Name = "RomTo";
|
|
this.RomTo.ReadOnly = true;
|
|
this.RomTo.Width = 200;
|
|
//
|
|
// FileSize
|
|
//
|
|
this.FileSize.HeaderText = "Size (Fixing)";
|
|
this.FileSize.Name = "FileSize";
|
|
this.FileSize.ReadOnly = true;
|
|
//
|
|
// Status
|
|
//
|
|
this.Status.HeaderText = "Status";
|
|
this.Status.Name = "Status";
|
|
this.Status.ReadOnly = true;
|
|
//
|
|
// DatFrom
|
|
//
|
|
this.DatFrom.HeaderText = "Directory (From)";
|
|
this.DatFrom.Name = "DatFrom";
|
|
this.DatFrom.ReadOnly = true;
|
|
this.DatFrom.Width = 150;
|
|
//
|
|
// GameFrom
|
|
//
|
|
this.GameFrom.HeaderText = "Archive (From)";
|
|
this.GameFrom.Name = "GameFrom";
|
|
this.GameFrom.ReadOnly = true;
|
|
//
|
|
// ROMFrom
|
|
//
|
|
this.ROMFrom.HeaderText = "File (From)";
|
|
this.ROMFrom.Name = "ROMFrom";
|
|
this.ROMFrom.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn1
|
|
//
|
|
this.dataGridViewTextBoxColumn1.HeaderText = "Dat (Fixing)";
|
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
|
this.dataGridViewTextBoxColumn1.Width = 150;
|
|
//
|
|
// dataGridViewTextBoxColumn2
|
|
//
|
|
this.dataGridViewTextBoxColumn2.HeaderText = "Game (Fixing)";
|
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
|
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn3
|
|
//
|
|
this.dataGridViewTextBoxColumn3.HeaderText = "ROM (Fixing)";
|
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
|
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn4
|
|
//
|
|
this.dataGridViewTextBoxColumn4.HeaderText = "Status";
|
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
|
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn5
|
|
//
|
|
this.dataGridViewTextBoxColumn5.HeaderText = "Dat (From)";
|
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
|
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
|
this.dataGridViewTextBoxColumn5.Width = 150;
|
|
//
|
|
// dataGridViewTextBoxColumn6
|
|
//
|
|
this.dataGridViewTextBoxColumn6.HeaderText = "Game (From)";
|
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
|
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
|
//
|
|
// dataGridViewTextBoxColumn7
|
|
//
|
|
this.dataGridViewTextBoxColumn7.HeaderText = "Rom (From)";
|
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
|
this.dataGridViewTextBoxColumn7.ReadOnly = true;
|
|
//
|
|
// bgWork
|
|
//
|
|
this.bgWork.WorkerReportsProgress = true;
|
|
this.bgWork.WorkerSupportsCancellation = true;
|
|
//
|
|
// timer1
|
|
//
|
|
this.timer1.Tick += new System.EventHandler(this.Timer1Tick);
|
|
//
|
|
// FrmProgressWindowFix
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
this.BackColor = System.Drawing.Color.White;
|
|
this.ClientSize = new System.Drawing.Size(1027, 500);
|
|
this.Controls.Add(this.splitContainer1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "FrmProgressWindowFix";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Fixing Files";
|
|
this.Shown += new System.EventHandler(this.FrmProgressWindowFixShown);
|
|
this.Resize += new System.EventHandler(this.FrmProgressWindowFixResize);
|
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
|
this.splitContainer1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
|
private System.Windows.Forms.Label label;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.ProgressBar progressBar;
|
|
private System.ComponentModel.BackgroundWorker bgWork;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn DatTo;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn GameTo;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn RomTo;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Status;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn DatFrom;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn GameFrom;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn ROMFrom;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn FileSize;
|
|
private System.Windows.Forms.DataGridView dataGridView1;
|
|
private System.Windows.Forms.Timer timer1;
|
|
}
|
|
} |