405 lines
22 KiB
C#
405 lines
22 KiB
C#
|
|
namespace SoFii
|
|
{
|
|
partial class MainWindow
|
|
{
|
|
/// <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(MainWindow));
|
|
this.serverBox = new System.Windows.Forms.GroupBox();
|
|
this.serverUseCustom = new System.Windows.Forms.CheckBox();
|
|
this.serverAddressLabel = new System.Windows.Forms.Label();
|
|
this.serverAddressInput = new System.Windows.Forms.TextBox();
|
|
this.serverResetButton = new System.Windows.Forms.Button();
|
|
this.launchGameButton = new System.Windows.Forms.Button();
|
|
this.gameBox = new System.Windows.Forms.GroupBox();
|
|
this.gameLocationLabel = new System.Windows.Forms.Label();
|
|
this.gameLocationInput = new System.Windows.Forms.TextBox();
|
|
this.gameBrowseButton = new System.Windows.Forms.Button();
|
|
this.mainTabs = new System.Windows.Forms.TabControl();
|
|
this.locationsTabPage = new System.Windows.Forms.TabPage();
|
|
this.playerTabPage = new System.Windows.Forms.TabPage();
|
|
this.gfxBox = new System.Windows.Forms.GroupBox();
|
|
this.gfxResolutionLabel = new System.Windows.Forms.Label();
|
|
this.gfxResolutionSelect = new System.Windows.Forms.ComboBox();
|
|
this.gfxFullscreen = new System.Windows.Forms.CheckBox();
|
|
this.playerNameBox = new System.Windows.Forms.GroupBox();
|
|
this.playerNamePreview = new System.Windows.Forms.Panel();
|
|
this.playerNameColoursBox = new System.Windows.Forms.GroupBox();
|
|
this.playerNameColourButton = new System.Windows.Forms.Button();
|
|
this.playerNameLabel = new System.Windows.Forms.Label();
|
|
this.playerNameInput = new System.Windows.Forms.TextBox();
|
|
this.versionLabel = new System.Windows.Forms.Label();
|
|
this.mainOpenFileDiag = new System.Windows.Forms.OpenFileDialog();
|
|
this.serverBox.SuspendLayout();
|
|
this.gameBox.SuspendLayout();
|
|
this.mainTabs.SuspendLayout();
|
|
this.locationsTabPage.SuspendLayout();
|
|
this.playerTabPage.SuspendLayout();
|
|
this.gfxBox.SuspendLayout();
|
|
this.playerNameBox.SuspendLayout();
|
|
this.playerNameColoursBox.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// serverBox
|
|
//
|
|
this.serverBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.serverBox.Controls.Add(this.serverUseCustom);
|
|
this.serverBox.Controls.Add(this.serverAddressLabel);
|
|
this.serverBox.Controls.Add(this.serverAddressInput);
|
|
this.serverBox.Controls.Add(this.serverResetButton);
|
|
this.serverBox.Location = new System.Drawing.Point(6, 65);
|
|
this.serverBox.Name = "serverBox";
|
|
this.serverBox.Size = new System.Drawing.Size(540, 71);
|
|
this.serverBox.TabIndex = 300;
|
|
this.serverBox.TabStop = false;
|
|
this.serverBox.Text = "Server";
|
|
//
|
|
// serverUseCustom
|
|
//
|
|
this.serverUseCustom.AutoSize = true;
|
|
this.serverUseCustom.Location = new System.Drawing.Point(87, 47);
|
|
this.serverUseCustom.Name = "serverUseCustom";
|
|
this.serverUseCustom.Size = new System.Drawing.Size(154, 17);
|
|
this.serverUseCustom.TabIndex = 304;
|
|
this.serverUseCustom.Text = "Use custom server address";
|
|
this.serverUseCustom.UseVisualStyleBackColor = true;
|
|
this.serverUseCustom.CheckedChanged += new System.EventHandler(this.serverUseCustom_CheckedChanged);
|
|
//
|
|
// serverAddressLabel
|
|
//
|
|
this.serverAddressLabel.AutoSize = true;
|
|
this.serverAddressLabel.Location = new System.Drawing.Point(36, 24);
|
|
this.serverAddressLabel.Name = "serverAddressLabel";
|
|
this.serverAddressLabel.Size = new System.Drawing.Size(45, 13);
|
|
this.serverAddressLabel.TabIndex = 301;
|
|
this.serverAddressLabel.Text = "Address";
|
|
//
|
|
// serverAddressInput
|
|
//
|
|
this.serverAddressInput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.serverAddressInput.Location = new System.Drawing.Point(87, 21);
|
|
this.serverAddressInput.Name = "serverAddressInput";
|
|
this.serverAddressInput.Size = new System.Drawing.Size(360, 20);
|
|
this.serverAddressInput.TabIndex = 302;
|
|
//
|
|
// serverResetButton
|
|
//
|
|
this.serverResetButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.serverResetButton.Location = new System.Drawing.Point(453, 19);
|
|
this.serverResetButton.Name = "serverResetButton";
|
|
this.serverResetButton.Size = new System.Drawing.Size(75, 23);
|
|
this.serverResetButton.TabIndex = 303;
|
|
this.serverResetButton.Text = "Reset";
|
|
this.serverResetButton.UseVisualStyleBackColor = true;
|
|
this.serverResetButton.Click += new System.EventHandler(this.serverResetButton_Click);
|
|
//
|
|
// launchGameButton
|
|
//
|
|
this.launchGameButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.launchGameButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.launchGameButton.Location = new System.Drawing.Point(448, 526);
|
|
this.launchGameButton.Name = "launchGameButton";
|
|
this.launchGameButton.Size = new System.Drawing.Size(124, 23);
|
|
this.launchGameButton.TabIndex = 11;
|
|
this.launchGameButton.Text = "Launch SoF2";
|
|
this.launchGameButton.UseVisualStyleBackColor = true;
|
|
this.launchGameButton.Click += new System.EventHandler(this.launchGameButton_Click);
|
|
//
|
|
// gameBox
|
|
//
|
|
this.gameBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.gameBox.Controls.Add(this.gameLocationLabel);
|
|
this.gameBox.Controls.Add(this.gameLocationInput);
|
|
this.gameBox.Controls.Add(this.gameBrowseButton);
|
|
this.gameBox.Location = new System.Drawing.Point(6, 6);
|
|
this.gameBox.Name = "gameBox";
|
|
this.gameBox.Size = new System.Drawing.Size(540, 53);
|
|
this.gameBox.TabIndex = 200;
|
|
this.gameBox.TabStop = false;
|
|
this.gameBox.Text = "Game";
|
|
//
|
|
// gameLocationLabel
|
|
//
|
|
this.gameLocationLabel.AutoSize = true;
|
|
this.gameLocationLabel.Location = new System.Drawing.Point(33, 23);
|
|
this.gameLocationLabel.Name = "gameLocationLabel";
|
|
this.gameLocationLabel.Size = new System.Drawing.Size(48, 13);
|
|
this.gameLocationLabel.TabIndex = 201;
|
|
this.gameLocationLabel.Text = "Location";
|
|
//
|
|
// gameLocationInput
|
|
//
|
|
this.gameLocationInput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.gameLocationInput.Enabled = false;
|
|
this.gameLocationInput.Location = new System.Drawing.Point(87, 20);
|
|
this.gameLocationInput.Name = "gameLocationInput";
|
|
this.gameLocationInput.Size = new System.Drawing.Size(360, 20);
|
|
this.gameLocationInput.TabIndex = 202;
|
|
//
|
|
// gameBrowseButton
|
|
//
|
|
this.gameBrowseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.gameBrowseButton.Location = new System.Drawing.Point(453, 18);
|
|
this.gameBrowseButton.Name = "gameBrowseButton";
|
|
this.gameBrowseButton.Size = new System.Drawing.Size(75, 23);
|
|
this.gameBrowseButton.TabIndex = 203;
|
|
this.gameBrowseButton.Text = "Browse...";
|
|
this.gameBrowseButton.UseVisualStyleBackColor = true;
|
|
this.gameBrowseButton.Click += new System.EventHandler(this.gameBrowseButton_Click);
|
|
//
|
|
// mainTabs
|
|
//
|
|
this.mainTabs.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.mainTabs.Controls.Add(this.locationsTabPage);
|
|
this.mainTabs.Controls.Add(this.playerTabPage);
|
|
this.mainTabs.Location = new System.Drawing.Point(12, 12);
|
|
this.mainTabs.Name = "mainTabs";
|
|
this.mainTabs.SelectedIndex = 0;
|
|
this.mainTabs.Size = new System.Drawing.Size(560, 508);
|
|
this.mainTabs.TabIndex = 12;
|
|
this.mainTabs.SelectedIndexChanged += new System.EventHandler(this.mainTabs_SelectedIndexChanged);
|
|
//
|
|
// locationsTabPage
|
|
//
|
|
this.locationsTabPage.AutoScroll = true;
|
|
this.locationsTabPage.Controls.Add(this.gameBox);
|
|
this.locationsTabPage.Controls.Add(this.serverBox);
|
|
this.locationsTabPage.Location = new System.Drawing.Point(4, 22);
|
|
this.locationsTabPage.Name = "locationsTabPage";
|
|
this.locationsTabPage.Padding = new System.Windows.Forms.Padding(3);
|
|
this.locationsTabPage.Size = new System.Drawing.Size(552, 482);
|
|
this.locationsTabPage.TabIndex = 0;
|
|
this.locationsTabPage.Text = "Locations";
|
|
this.locationsTabPage.UseVisualStyleBackColor = true;
|
|
//
|
|
// playerTabPage
|
|
//
|
|
this.playerTabPage.AutoScroll = true;
|
|
this.playerTabPage.Controls.Add(this.gfxBox);
|
|
this.playerTabPage.Controls.Add(this.playerNameBox);
|
|
this.playerTabPage.Location = new System.Drawing.Point(4, 22);
|
|
this.playerTabPage.Name = "playerTabPage";
|
|
this.playerTabPage.Padding = new System.Windows.Forms.Padding(3);
|
|
this.playerTabPage.Size = new System.Drawing.Size(552, 482);
|
|
this.playerTabPage.TabIndex = 1;
|
|
this.playerTabPage.Text = "Settings";
|
|
this.playerTabPage.UseVisualStyleBackColor = true;
|
|
//
|
|
// gfxBox
|
|
//
|
|
this.gfxBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.gfxBox.Controls.Add(this.gfxResolutionLabel);
|
|
this.gfxBox.Controls.Add(this.gfxResolutionSelect);
|
|
this.gfxBox.Controls.Add(this.gfxFullscreen);
|
|
this.gfxBox.Location = new System.Drawing.Point(6, 372);
|
|
this.gfxBox.Name = "gfxBox";
|
|
this.gfxBox.Size = new System.Drawing.Size(540, 72);
|
|
this.gfxBox.TabIndex = 500;
|
|
this.gfxBox.TabStop = false;
|
|
this.gfxBox.Text = "Graphics";
|
|
//
|
|
// gfxResolutionLabel
|
|
//
|
|
this.gfxResolutionLabel.AutoSize = true;
|
|
this.gfxResolutionLabel.Location = new System.Drawing.Point(24, 22);
|
|
this.gfxResolutionLabel.Name = "gfxResolutionLabel";
|
|
this.gfxResolutionLabel.Size = new System.Drawing.Size(57, 13);
|
|
this.gfxResolutionLabel.TabIndex = 502;
|
|
this.gfxResolutionLabel.Text = "Resolution";
|
|
//
|
|
// gfxResolutionSelect
|
|
//
|
|
this.gfxResolutionSelect.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.gfxResolutionSelect.FormattingEnabled = true;
|
|
this.gfxResolutionSelect.Location = new System.Drawing.Point(87, 19);
|
|
this.gfxResolutionSelect.Name = "gfxResolutionSelect";
|
|
this.gfxResolutionSelect.Size = new System.Drawing.Size(360, 21);
|
|
this.gfxResolutionSelect.TabIndex = 503;
|
|
this.gfxResolutionSelect.SelectedIndexChanged += new System.EventHandler(this.gfxResolutionSelect_SelectedIndexChanged);
|
|
//
|
|
// gfxFullscreen
|
|
//
|
|
this.gfxFullscreen.AutoSize = true;
|
|
this.gfxFullscreen.Location = new System.Drawing.Point(87, 46);
|
|
this.gfxFullscreen.Name = "gfxFullscreen";
|
|
this.gfxFullscreen.Size = new System.Drawing.Size(74, 17);
|
|
this.gfxFullscreen.TabIndex = 501;
|
|
this.gfxFullscreen.Text = "Fullscreen";
|
|
this.gfxFullscreen.UseVisualStyleBackColor = true;
|
|
this.gfxFullscreen.CheckedChanged += new System.EventHandler(this.gfxFullscreen_CheckedChanged);
|
|
//
|
|
// playerNameBox
|
|
//
|
|
this.playerNameBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.playerNameBox.Controls.Add(this.playerNamePreview);
|
|
this.playerNameBox.Controls.Add(this.playerNameColoursBox);
|
|
this.playerNameBox.Controls.Add(this.playerNameLabel);
|
|
this.playerNameBox.Controls.Add(this.playerNameInput);
|
|
this.playerNameBox.Location = new System.Drawing.Point(6, 6);
|
|
this.playerNameBox.Name = "playerNameBox";
|
|
this.playerNameBox.Size = new System.Drawing.Size(540, 360);
|
|
this.playerNameBox.TabIndex = 400;
|
|
this.playerNameBox.TabStop = false;
|
|
this.playerNameBox.Text = "Player Name";
|
|
//
|
|
// playerNamePreview
|
|
//
|
|
this.playerNamePreview.Location = new System.Drawing.Point(87, 46);
|
|
this.playerNamePreview.Name = "playerNamePreview";
|
|
this.playerNamePreview.Size = new System.Drawing.Size(360, 18);
|
|
this.playerNamePreview.TabIndex = 410;
|
|
this.playerNamePreview.Paint += new System.Windows.Forms.PaintEventHandler(this.playerNamePreview_Paint);
|
|
//
|
|
// playerNameColoursBox
|
|
//
|
|
this.playerNameColoursBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.playerNameColoursBox.Controls.Add(this.playerNameColourButton);
|
|
this.playerNameColoursBox.Location = new System.Drawing.Point(49, 70);
|
|
this.playerNameColoursBox.Name = "playerNameColoursBox";
|
|
this.playerNameColoursBox.Size = new System.Drawing.Size(442, 279);
|
|
this.playerNameColoursBox.TabIndex = 450;
|
|
this.playerNameColoursBox.TabStop = false;
|
|
this.playerNameColoursBox.Text = "Colours";
|
|
//
|
|
// playerNameColourButton
|
|
//
|
|
this.playerNameColourButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.playerNameColourButton.Location = new System.Drawing.Point(18, 27);
|
|
this.playerNameColourButton.Name = "playerNameColourButton";
|
|
this.playerNameColourButton.Size = new System.Drawing.Size(32, 32);
|
|
this.playerNameColourButton.TabIndex = 451;
|
|
this.playerNameColourButton.Text = "A";
|
|
this.playerNameColourButton.TextAlign = System.Drawing.ContentAlignment.BottomRight;
|
|
this.playerNameColourButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// playerNameLabel
|
|
//
|
|
this.playerNameLabel.AutoSize = true;
|
|
this.playerNameLabel.Location = new System.Drawing.Point(46, 23);
|
|
this.playerNameLabel.Name = "playerNameLabel";
|
|
this.playerNameLabel.Size = new System.Drawing.Size(35, 13);
|
|
this.playerNameLabel.TabIndex = 401;
|
|
this.playerNameLabel.Text = "Name";
|
|
//
|
|
// playerNameInput
|
|
//
|
|
this.playerNameInput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.playerNameInput.Location = new System.Drawing.Point(87, 20);
|
|
this.playerNameInput.Name = "playerNameInput";
|
|
this.playerNameInput.Size = new System.Drawing.Size(360, 20);
|
|
this.playerNameInput.TabIndex = 402;
|
|
this.playerNameInput.TextChanged += new System.EventHandler(this.playerNameInput_TextChanged);
|
|
//
|
|
// versionLabel
|
|
//
|
|
this.versionLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.versionLabel.AutoSize = true;
|
|
this.versionLabel.ForeColor = System.Drawing.SystemColors.GrayText;
|
|
this.versionLabel.Location = new System.Drawing.Point(13, 533);
|
|
this.versionLabel.Name = "versionLabel";
|
|
this.versionLabel.Size = new System.Drawing.Size(117, 13);
|
|
this.versionLabel.TabIndex = 13;
|
|
this.versionLabel.Text = "SoFii version goes here";
|
|
//
|
|
// mainOpenFileDiag
|
|
//
|
|
this.mainOpenFileDiag.DefaultExt = "exe";
|
|
this.mainOpenFileDiag.Filter = "SoF2 Multiplayer Executable|SoF2MP.exe";
|
|
this.mainOpenFileDiag.RestoreDirectory = true;
|
|
//
|
|
// MainWindow
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(584, 561);
|
|
this.Controls.Add(this.versionLabel);
|
|
this.Controls.Add(this.mainTabs);
|
|
this.Controls.Add(this.launchGameButton);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.Name = "MainWindow";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|
this.Text = "SoFii :: Soldier of Fortune 2 Tool for Flashii";
|
|
this.serverBox.ResumeLayout(false);
|
|
this.serverBox.PerformLayout();
|
|
this.gameBox.ResumeLayout(false);
|
|
this.gameBox.PerformLayout();
|
|
this.mainTabs.ResumeLayout(false);
|
|
this.locationsTabPage.ResumeLayout(false);
|
|
this.playerTabPage.ResumeLayout(false);
|
|
this.gfxBox.ResumeLayout(false);
|
|
this.gfxBox.PerformLayout();
|
|
this.playerNameBox.ResumeLayout(false);
|
|
this.playerNameBox.PerformLayout();
|
|
this.playerNameColoursBox.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox serverBox;
|
|
private System.Windows.Forms.Button launchGameButton;
|
|
private System.Windows.Forms.Label serverAddressLabel;
|
|
private System.Windows.Forms.TextBox serverAddressInput;
|
|
private System.Windows.Forms.Button serverResetButton;
|
|
private System.Windows.Forms.GroupBox gameBox;
|
|
private System.Windows.Forms.Label gameLocationLabel;
|
|
private System.Windows.Forms.TextBox gameLocationInput;
|
|
private System.Windows.Forms.Button gameBrowseButton;
|
|
private System.Windows.Forms.TabControl mainTabs;
|
|
private System.Windows.Forms.TabPage locationsTabPage;
|
|
private System.Windows.Forms.Label versionLabel;
|
|
private System.Windows.Forms.OpenFileDialog mainOpenFileDiag;
|
|
private System.Windows.Forms.CheckBox serverUseCustom;
|
|
private System.Windows.Forms.TabPage playerTabPage;
|
|
private System.Windows.Forms.GroupBox playerNameBox;
|
|
private System.Windows.Forms.Label playerNameLabel;
|
|
private System.Windows.Forms.TextBox playerNameInput;
|
|
private System.Windows.Forms.GroupBox playerNameColoursBox;
|
|
private System.Windows.Forms.Button playerNameColourButton;
|
|
private System.Windows.Forms.Panel playerNamePreview;
|
|
private System.Windows.Forms.GroupBox gfxBox;
|
|
private System.Windows.Forms.CheckBox gfxFullscreen;
|
|
private System.Windows.Forms.Label gfxResolutionLabel;
|
|
private System.Windows.Forms.ComboBox gfxResolutionSelect;
|
|
}
|
|
}
|
|
|