mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-17 04:22:54 +08:00
d7938dd1d8
- Added bool app setting for remember GTA folder (vs. prompt every start) - Added checkbox to folder selection dialog for remember GTA folder - Changed folder selection dialog to fixed dialog window border - Set default Enter/Esc buttons on folder selection dialog
140 lines
6.9 KiB
C#
140 lines
6.9 KiB
C#
namespace CodeWalker
|
|
{
|
|
partial class SelectFolderForm
|
|
{
|
|
/// <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(SelectFolderForm));
|
|
this.OkButton = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.FolderBrowseButton = new System.Windows.Forms.Button();
|
|
this.FolderTextBox = new System.Windows.Forms.TextBox();
|
|
this.FolderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
|
|
this.CancelButt = new System.Windows.Forms.Button();
|
|
this.RememberFolderCheckbox = new System.Windows.Forms.CheckBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// OkButton
|
|
//
|
|
this.OkButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.OkButton.Location = new System.Drawing.Point(319, 78);
|
|
this.OkButton.Name = "OkButton";
|
|
this.OkButton.Size = new System.Drawing.Size(75, 23);
|
|
this.OkButton.TabIndex = 64;
|
|
this.OkButton.Text = "Ok";
|
|
this.OkButton.UseVisualStyleBackColor = true;
|
|
this.OkButton.Click += new System.EventHandler(this.OkButton_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(157, 13);
|
|
this.label1.TabIndex = 63;
|
|
this.label1.Text = "Please select your GTAV folder:";
|
|
//
|
|
// FolderBrowseButton
|
|
//
|
|
this.FolderBrowseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.FolderBrowseButton.Location = new System.Drawing.Point(367, 35);
|
|
this.FolderBrowseButton.Name = "FolderBrowseButton";
|
|
this.FolderBrowseButton.Size = new System.Drawing.Size(27, 23);
|
|
this.FolderBrowseButton.TabIndex = 62;
|
|
this.FolderBrowseButton.Text = "...";
|
|
this.FolderBrowseButton.UseVisualStyleBackColor = true;
|
|
this.FolderBrowseButton.Click += new System.EventHandler(this.FolderBrowseButton_Click);
|
|
//
|
|
// FolderTextBox
|
|
//
|
|
this.FolderTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.FolderTextBox.Location = new System.Drawing.Point(12, 36);
|
|
this.FolderTextBox.Name = "FolderTextBox";
|
|
this.FolderTextBox.Size = new System.Drawing.Size(345, 20);
|
|
this.FolderTextBox.TabIndex = 61;
|
|
this.FolderTextBox.TextChanged += new System.EventHandler(this.FolderTextBox_TextChanged);
|
|
//
|
|
// CancelButt
|
|
//
|
|
this.CancelButt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.CancelButt.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.CancelButt.Location = new System.Drawing.Point(238, 78);
|
|
this.CancelButt.Name = "CancelButt";
|
|
this.CancelButt.Size = new System.Drawing.Size(75, 23);
|
|
this.CancelButt.TabIndex = 65;
|
|
this.CancelButt.Text = "Cancel";
|
|
this.CancelButt.UseVisualStyleBackColor = true;
|
|
this.CancelButt.Click += new System.EventHandler(this.CancelButton_Click);
|
|
//
|
|
// RememberFolderCheckbox
|
|
//
|
|
this.RememberFolderCheckbox.AutoSize = true;
|
|
this.RememberFolderCheckbox.Location = new System.Drawing.Point(12, 82);
|
|
this.RememberFolderCheckbox.Name = "RememberFolderCheckbox";
|
|
this.RememberFolderCheckbox.Size = new System.Drawing.Size(134, 17);
|
|
this.RememberFolderCheckbox.TabIndex = 66;
|
|
this.RememberFolderCheckbox.Text = "Remember GTA Folder";
|
|
this.RememberFolderCheckbox.UseVisualStyleBackColor = true;
|
|
this.RememberFolderCheckbox.CheckedChanged += new System.EventHandler(this.RememberFolderCheckbox_CheckedChanged);
|
|
//
|
|
// SelectFolderForm
|
|
//
|
|
this.AcceptButton = this.OkButton;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.CancelButt;
|
|
this.ClientSize = new System.Drawing.Size(406, 113);
|
|
this.Controls.Add(this.RememberFolderCheckbox);
|
|
this.Controls.Add(this.CancelButt);
|
|
this.Controls.Add(this.OkButton);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.FolderBrowseButton);
|
|
this.Controls.Add(this.FolderTextBox);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(422, 152);
|
|
this.Name = "SelectFolderForm";
|
|
this.Text = "Select GTAV folder - CodeWalker by dexyfex";
|
|
this.Load += new System.EventHandler(this.SelectFolderForm_Load);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button OkButton;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button FolderBrowseButton;
|
|
private System.Windows.Forms.TextBox FolderTextBox;
|
|
private System.Windows.Forms.FolderBrowserDialog FolderBrowserDialog;
|
|
private System.Windows.Forms.Button CancelButt;
|
|
private System.Windows.Forms.CheckBox RememberFolderCheckbox;
|
|
}
|
|
} |