43dfcc51cb
- The cancel button during program selection will now cancel scanning instead of closing the form - Added a rescan button to the program selection form - Fixed tabbing on the install form - Fixed accuracy of program selections list
204 lines
9.9 KiB
C#
204 lines
9.9 KiB
C#
|
|
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace CreamInstaller
|
|
{
|
|
partial class SelectForm
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SelectForm));
|
|
this.acceptButton = new System.Windows.Forms.Button();
|
|
this.cancelButton = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.allCheckBox = new System.Windows.Forms.CheckBox();
|
|
this.noneFoundLabel = new System.Windows.Forms.Label();
|
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.scanButton = new System.Windows.Forms.Button();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// acceptButton
|
|
//
|
|
this.acceptButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.acceptButton.Enabled = false;
|
|
this.acceptButton.Location = new System.Drawing.Point(322, 254);
|
|
this.acceptButton.Name = "acceptButton";
|
|
this.acceptButton.Size = new System.Drawing.Size(150, 23);
|
|
this.acceptButton.TabIndex = 102;
|
|
this.acceptButton.Text = "Download and Install";
|
|
this.acceptButton.UseVisualStyleBackColor = true;
|
|
this.acceptButton.Click += new System.EventHandler(this.OnAccept);
|
|
//
|
|
// cancelButton
|
|
//
|
|
this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.cancelButton.Location = new System.Drawing.Point(12, 254);
|
|
this.cancelButton.Name = "cancelButton";
|
|
this.cancelButton.Size = new System.Drawing.Size(75, 23);
|
|
this.cancelButton.TabIndex = 100;
|
|
this.cancelButton.Text = "Cancel";
|
|
this.cancelButton.UseVisualStyleBackColor = true;
|
|
this.cancelButton.Click += new System.EventHandler(this.OnCancel);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Location = new System.Drawing.Point(0, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(100, 23);
|
|
this.label1.TabIndex = 0;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox1.Controls.Add(this.allCheckBox);
|
|
this.groupBox1.Controls.Add(this.noneFoundLabel);
|
|
this.groupBox1.Controls.Add(this.flowLayoutPanel1);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(460, 236);
|
|
this.groupBox1.TabIndex = 8;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Programs / Games";
|
|
//
|
|
// allCheckBox
|
|
//
|
|
this.allCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.allCheckBox.AutoSize = true;
|
|
this.allCheckBox.Checked = true;
|
|
this.allCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.allCheckBox.Enabled = false;
|
|
this.allCheckBox.Location = new System.Drawing.Point(414, 0);
|
|
this.allCheckBox.Name = "allCheckBox";
|
|
this.allCheckBox.Size = new System.Drawing.Size(40, 19);
|
|
this.allCheckBox.TabIndex = 1;
|
|
this.allCheckBox.Text = "All";
|
|
this.allCheckBox.UseVisualStyleBackColor = true;
|
|
this.allCheckBox.CheckedChanged += new System.EventHandler(this.OnAllCheckBoxChanged);
|
|
//
|
|
// noneFoundLabel
|
|
//
|
|
this.noneFoundLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.noneFoundLabel.Enabled = false;
|
|
this.noneFoundLabel.Location = new System.Drawing.Point(3, 19);
|
|
this.noneFoundLabel.Name = "noneFoundLabel";
|
|
this.noneFoundLabel.Size = new System.Drawing.Size(454, 214);
|
|
this.noneFoundLabel.TabIndex = 0;
|
|
this.noneFoundLabel.Text = "No CreamAPI-applicable programs or games were found on your computer!";
|
|
this.noneFoundLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
this.noneFoundLabel.Visible = false;
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 19);
|
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(454, 214);
|
|
this.flowLayoutPanel1.TabIndex = 1000;
|
|
//
|
|
// progressBar1
|
|
//
|
|
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.progressBar1.Location = new System.Drawing.Point(12, 225);
|
|
this.progressBar1.Name = "progressBar1";
|
|
this.progressBar1.Size = new System.Drawing.Size(460, 23);
|
|
this.progressBar1.TabIndex = 9;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.label2.Location = new System.Drawing.Point(12, 207);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(460, 15);
|
|
this.label2.TabIndex = 10;
|
|
this.label2.Text = "Loading . . .";
|
|
//
|
|
// scanButton
|
|
//
|
|
this.scanButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.scanButton.Enabled = false;
|
|
this.scanButton.Location = new System.Drawing.Point(110, 254);
|
|
this.scanButton.Name = "scanButton";
|
|
this.scanButton.Size = new System.Drawing.Size(190, 23);
|
|
this.scanButton.TabIndex = 101;
|
|
this.scanButton.Text = "Rescan for Programs / Games";
|
|
this.scanButton.UseVisualStyleBackColor = true;
|
|
this.scanButton.Click += new System.EventHandler(this.OnScan);
|
|
//
|
|
// SelectForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(484, 289);
|
|
this.Controls.Add(this.scanButton);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.progressBar1);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.cancelButton);
|
|
this.Controls.Add(this.acceptButton);
|
|
this.Controls.Add(this.label2);
|
|
this.DoubleBuffered = true;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(500, 328);
|
|
this.Name = "SelectForm";
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "SelectForm";
|
|
this.TopMost = true;
|
|
this.Load += new System.EventHandler(this.OnLoad);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button acceptButton;
|
|
private System.Windows.Forms.Button cancelButton;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
|
private System.Windows.Forms.ProgressBar progressBar1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.CheckBox allCheckBox;
|
|
private Label noneFoundLabel;
|
|
private Button scanButton;
|
|
}
|
|
}
|
|
|