* DarkUI
* Update check
This commit is contained in:
STAM 2022-04-02 19:50:38 +05:00
parent e31c4cdb04
commit 24195592b4
Signed by: stam
GPG Key ID: E149C3760CFA3C7E
16 changed files with 2219 additions and 120 deletions

View File

@ -70,6 +70,16 @@ namespace SourceSDK.ENV.Editor.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap apply {
get {
object obj = ResourceManager.GetObject("apply", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -83,9 +93,9 @@ namespace SourceSDK.ENV.Editor.Properties {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap cancel {
internal static System.Drawing.Bitmap browse {
get {
object obj = ResourceManager.GetObject("cancel", resourceCulture);
object obj = ResourceManager.GetObject("browse", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@ -93,9 +103,9 @@ namespace SourceSDK.ENV.Editor.Properties {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap check {
internal static System.Drawing.Bitmap cancel {
get {
object obj = ResourceManager.GetObject("check", resourceCulture);
object obj = ResourceManager.GetObject("cancel", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@ -130,16 +140,6 @@ namespace SourceSDK.ENV.Editor.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap open_folder {
get {
object obj = ResourceManager.GetObject("open-folder", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -163,9 +163,9 @@ namespace SourceSDK.ENV.Editor.Properties {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap remove {
internal static System.Drawing.Bitmap reset {
get {
object obj = ResourceManager.GetObject("remove", resourceCulture);
object obj = ResourceManager.GetObject("reset", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}

View File

@ -118,11 +118,14 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="crowbar512" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\crowbar512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="about" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\about.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="remove" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\remove.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="power_on" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\power-on.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="refresh16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\refresh16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="cancel" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\cancel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@ -130,28 +133,25 @@
<data name="done" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\done.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="arrows" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\arrows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="power_on" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\power-on.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="crowbar.64" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\crowbar.64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="about" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\about.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="arrows" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\arrows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="wait" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\wait.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="check" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\check.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="crowbar512" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\crowbar512.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="refresh16" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\refresh16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="apply" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\apply.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="open-folder" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\open-folder.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="browse" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\browse.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="reset" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\reset.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

BIN
src/Resources/apply.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

BIN
src/Resources/browse.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 B

BIN
src/Resources/reset.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

View File

@ -9,12 +9,34 @@
<StartupObject>SourceSDK.ENV.Editor.Program</StartupObject>
<ApplicationIcon>crowbar.ico</ApplicationIcon>
<SignAssembly>False</SignAssembly>
<AssemblyVersion>1.0.0.1</AssemblyVersion>
<FileVersion>1.0.0.1</FileVersion>
<Version>1.0.0.1</Version>
<Company>EpicMorg</Company>
<Copyright>EpicMorg</Copyright>
<PackageProjectUrl>https://github.com/EpicMorg/SourceSDK.ENV.Editor</PackageProjectUrl>
<PackageIcon>crowbar.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/EpicMorg/SourceSDK.ENV.Editor</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<ItemGroup>
<Content Include="crowbar.ico" />
</ItemGroup>
<ItemGroup>
<None Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="DarkUI.Net5" Version="1.0.0" />
<PackageReference Include="Octokit" Version="0.50.0" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
@ -30,4 +52,11 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Update="crowbar.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
</Project>

126
src/UI/FormAbout.Designer.cs generated Normal file
View File

@ -0,0 +1,126 @@
namespace SourceSDK.ENV.Editor.UI
{
partial class FormAbout
{
/// <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(FormAbout));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.darkLabelProductVersion = new DarkUI.Controls.DarkLabel();
this.darkButtonOK = new DarkUI.Controls.DarkButton();
this.darkLabelCopyright = new DarkUI.Controls.DarkLabel();
this.darkButtonDonate = new DarkUI.Controls.DarkButton();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Image = global::SourceSDK.ENV.Editor.Properties.Resources.crowbar_64;
this.pictureBox1.Location = new System.Drawing.Point(12, 12);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(64, 64);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// darkLabelProductVersion
//
this.darkLabelProductVersion.AutoSize = true;
this.darkLabelProductVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
this.darkLabelProductVersion.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.darkLabelProductVersion.Location = new System.Drawing.Point(82, 12);
this.darkLabelProductVersion.Name = "darkLabelProductVersion";
this.darkLabelProductVersion.Size = new System.Drawing.Size(241, 16);
this.darkLabelProductVersion.TabIndex = 2;
this.darkLabelProductVersion.Text = "Application.ProductName (0.0.0.0)";
//
// darkButtonOK
//
this.darkButtonOK.Location = new System.Drawing.Point(262, 64);
this.darkButtonOK.Name = "darkButtonOK";
this.darkButtonOK.Padding = new System.Windows.Forms.Padding(5);
this.darkButtonOK.Size = new System.Drawing.Size(75, 23);
this.darkButtonOK.TabIndex = 3;
this.darkButtonOK.Text = "OK";
this.darkButtonOK.Click += new System.EventHandler(this.darkButtonOK_Click);
//
// darkLabelCopyright
//
this.darkLabelCopyright.AutoSize = true;
this.darkLabelCopyright.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
this.darkLabelCopyright.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.darkLabelCopyright.Location = new System.Drawing.Point(82, 37);
this.darkLabelCopyright.Name = "darkLabelCopyright";
this.darkLabelCopyright.Size = new System.Drawing.Size(194, 15);
this.darkLabelCopyright.TabIndex = 2;
this.darkLabelCopyright.Text = "Copyright (Company) (c) Year";
//
// darkButtonDonate
//
this.darkButtonDonate.Location = new System.Drawing.Point(82, 64);
this.darkButtonDonate.Name = "darkButtonDonate";
this.darkButtonDonate.Padding = new System.Windows.Forms.Padding(5);
this.darkButtonDonate.Size = new System.Drawing.Size(75, 23);
this.darkButtonDonate.TabIndex = 3;
this.darkButtonDonate.Text = "Donate";
this.darkButtonDonate.Click += new System.EventHandler(this.darkButtonDonate_Click);
//
// FormAbout
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.ClientSize = new System.Drawing.Size(349, 99);
this.Controls.Add(this.darkButtonDonate);
this.Controls.Add(this.darkButtonOK);
this.Controls.Add(this.darkLabelCopyright);
this.Controls.Add(this.darkLabelProductVersion);
this.Controls.Add(this.pictureBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "FormAbout";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "About";
this.Load += new System.EventHandler(this.FormAbout_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private PictureBox pictureBox1;
private DarkUI.Controls.DarkLabel darkLabelProductVersion;
private DarkUI.Controls.DarkButton darkButtonOK;
private DarkUI.Controls.DarkLabel darkLabelCopyright;
private DarkUI.Controls.DarkButton darkButtonDonate;
}
}

89
src/UI/FormAbout.cs Normal file
View File

@ -0,0 +1,89 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using Octokit;
namespace SourceSDK.ENV.Editor.UI
{
public partial class FormAbout : Form
{
public FormAbout()
{
InitializeComponent();
this.Text = String.Format("{0} {1} ({2})", "About ::", System.Windows.Forms.Application.ProductName, System.Windows.Forms.Application.ProductVersion);
darkLabelProductVersion.Text = String.Format("{0} ({1})", System.Windows.Forms.Application.ProductName, System.Windows.Forms.Application.ProductVersion);
darkLabelCopyright.Text = String.Format(" Copyright {1} \u00a9 {0}", System.Windows.Forms.Application.CompanyName, DateTime.Now.Year);
}
private void FormAbout_Load(object sender, EventArgs e)
{
CheckGitHubNewerVersion();
}
private async System.Threading.Tasks.Task CheckGitHubNewerVersion()
{
//Get all releases from GitHub
//Source: https://octokitnet.readthedocs.io/en/latest/getting-started/
GitHubClient client = new GitHubClient(new ProductHeaderValue("SourceSDK.ENV.Editor"));
IReadOnlyList<Release> releases = await client.Repository.Release.GetAll("EpicMorg", "SourceSDK.ENV.Editor");
//Setup the versions
Version latestGitHubVersion = new Version(releases[0].TagName);
Version localVersion = new Version(System.Windows.Forms.Application.ProductVersion); //Replace this with your local version.
//Only tested with numeric values.
//Compare the Versions
//Source: https://stackoverflow.com/questions/7568147/compare-version-numbers-without-using-split-function
int versionComparison = localVersion.CompareTo(latestGitHubVersion);
if (versionComparison < 0)
{
MessageBox.Show("The version on GitHub is more up to date than this local release.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
//The version on GitHub is more up to date than this local release.
}
else if (versionComparison > 0)
{
MessageBox.Show("This local version is greater than the release version on GitHub.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
//This local version is greater than the release version on GitHub.
}
else
{
MessageBox.Show("This local Version and the Version on GitHub are equal.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
//This local Version and the Version on GitHub are equal.
}
}
private void darkButtonDonate_Click(object sender, EventArgs e)
{
var url = "https://ko-fi.com/epicmorg";
try
{
Process.Start(url);
}
catch
{
// hack because of this: https://github.com/dotnet/corefx/issues/10361
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
url = url.Replace("&", "^&");
Process.Start(new ProcessStartInfo(url) { UseShellExecute = true });
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
Process.Start("xdg-open", url);
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
{
Process.Start("open", url);
}
else
{
throw;
}
}
}
private void darkButtonOK_Click(object sender, EventArgs e)
{
this.Close();
}
}
}

1799
src/UI/FormAbout.resx Normal file

File diff suppressed because it is too large Load Diff

View File

@ -30,7 +30,7 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.menuStrip = new DarkUI.Controls.DarkMenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.resetAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@ -38,37 +38,38 @@
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.groupBoxVMod = new System.Windows.Forms.GroupBox();
this.buttonResetVMod = new System.Windows.Forms.Button();
this.buttonApplyVMod = new System.Windows.Forms.Button();
this.textBoxVMod = new System.Windows.Forms.TextBox();
this.groupBoxVMod = new DarkUI.Controls.DarkGroupBox();
this.buttonResetVMod = new DarkUI.Controls.DarkButton();
this.buttonApplyVMod = new DarkUI.Controls.DarkButton();
this.textBoxVMod = new DarkUI.Controls.DarkTextBox();
this.pictureBoxVMod = new System.Windows.Forms.PictureBox();
this.groupBoxVProject = new System.Windows.Forms.GroupBox();
this.buttonBrowseVProject = new System.Windows.Forms.Button();
this.buttonResetVProject = new System.Windows.Forms.Button();
this.buttonApplyVProject = new System.Windows.Forms.Button();
this.textBoxVProject = new System.Windows.Forms.TextBox();
this.groupBoxVProject = new DarkUI.Controls.DarkGroupBox();
this.buttonBrowseVProject = new DarkUI.Controls.DarkButton();
this.buttonResetVProject = new DarkUI.Controls.DarkButton();
this.buttonApplyVProject = new DarkUI.Controls.DarkButton();
this.textBoxVProject = new DarkUI.Controls.DarkTextBox();
this.pictureBoxVProject = new System.Windows.Forms.PictureBox();
this.groupBoxVGame = new System.Windows.Forms.GroupBox();
this.buttonBrowseVGame = new System.Windows.Forms.Button();
this.buttonResetVGame = new System.Windows.Forms.Button();
this.buttonApplyVGame = new System.Windows.Forms.Button();
this.textBoxVGame = new System.Windows.Forms.TextBox();
this.groupBoxVGame = new DarkUI.Controls.DarkGroupBox();
this.buttonBrowseVGame = new DarkUI.Controls.DarkButton();
this.buttonResetVGame = new DarkUI.Controls.DarkButton();
this.buttonApplyVGame = new DarkUI.Controls.DarkButton();
this.textBoxVGame = new DarkUI.Controls.DarkTextBox();
this.pictureBoxVGame = new System.Windows.Forms.PictureBox();
this.groupBoxVContent = new System.Windows.Forms.GroupBox();
this.buttonBrowseVContent = new System.Windows.Forms.Button();
this.buttonResetVContent = new System.Windows.Forms.Button();
this.buttonApplyVContent = new System.Windows.Forms.Button();
this.textBoxVContent = new System.Windows.Forms.TextBox();
this.groupBoxVContent = new DarkUI.Controls.DarkGroupBox();
this.buttonBrowseVContent = new DarkUI.Controls.DarkButton();
this.buttonResetVContent = new DarkUI.Controls.DarkButton();
this.buttonApplyVContent = new DarkUI.Controls.DarkButton();
this.textBoxVContent = new DarkUI.Controls.DarkTextBox();
this.pictureBoxVContent = new System.Windows.Forms.PictureBox();
this.groupBoxVTools = new System.Windows.Forms.GroupBox();
this.buttonBrowseVTools = new System.Windows.Forms.Button();
this.buttonResetVTools = new System.Windows.Forms.Button();
this.buttonApplyVTools = new System.Windows.Forms.Button();
this.textBoxVTools = new System.Windows.Forms.TextBox();
this.groupBoxVTools = new DarkUI.Controls.DarkGroupBox();
this.buttonBrowseVTools = new DarkUI.Controls.DarkButton();
this.buttonResetVTools = new DarkUI.Controls.DarkButton();
this.buttonApplyVTools = new DarkUI.Controls.DarkButton();
this.textBoxVTools = new DarkUI.Controls.DarkTextBox();
this.pictureBoxVTools = new System.Windows.Forms.PictureBox();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
this.darkStatusStrip = new DarkUI.Controls.DarkStatusStrip();
this.menuStrip.SuspendLayout();
this.groupBoxVMod.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxVMod)).BeginInit();
@ -84,28 +85,35 @@
//
// menuStrip
//
this.menuStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.menuStrip.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.helpToolStripMenuItem});
this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.Name = "menuStrip";
this.menuStrip.Padding = new System.Windows.Forms.Padding(3, 2, 0, 2);
this.menuStrip.Size = new System.Drawing.Size(653, 24);
this.menuStrip.TabIndex = 0;
this.menuStrip.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.refreshToolStripMenuItem,
this.resetAllToolStripMenuItem,
this.toolStripSeparator1,
this.exitToolStripMenuItem});
this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
this.fileToolStripMenuItem.Text = "File";
//
// refreshToolStripMenuItem
//
this.refreshToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.refreshToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.refreshToolStripMenuItem.Image = global::SourceSDK.ENV.Editor.Properties.Resources.refresh16;
this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem";
this.refreshToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
@ -114,6 +122,8 @@
//
// resetAllToolStripMenuItem
//
this.resetAllToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.resetAllToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.resetAllToolStripMenuItem.Image = global::SourceSDK.ENV.Editor.Properties.Resources.power_on;
this.resetAllToolStripMenuItem.Name = "resetAllToolStripMenuItem";
this.resetAllToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
@ -122,11 +132,15 @@
//
// toolStripSeparator1
//
this.toolStripSeparator1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.toolStripSeparator1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(114, 6);
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.exitToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.exitToolStripMenuItem.Image = global::SourceSDK.ENV.Editor.Properties.Resources.arrows;
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
@ -135,22 +149,27 @@
//
// helpToolStripMenuItem
//
this.helpToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.aboutToolStripMenuItem});
this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
this.helpToolStripMenuItem.Text = "Help";
//
// aboutToolStripMenuItem
//
this.aboutToolStripMenuItem.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.aboutToolStripMenuItem.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.aboutToolStripMenuItem.Image = global::SourceSDK.ENV.Editor.Properties.Resources.about;
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
this.aboutToolStripMenuItem.Text = "About";
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
//
// groupBoxVMod
//
this.groupBoxVMod.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.groupBoxVMod.Controls.Add(this.buttonResetVMod);
this.groupBoxVMod.Controls.Add(this.buttonApplyVMod);
this.groupBoxVMod.Controls.Add(this.textBoxVMod);
@ -164,33 +183,36 @@
//
// buttonResetVMod
//
this.buttonResetVMod.Image = global::SourceSDK.ENV.Editor.Properties.Resources.remove;
this.buttonResetVMod.Image = global::SourceSDK.ENV.Editor.Properties.Resources.reset;
this.buttonResetVMod.Location = new System.Drawing.Point(467, 51);
this.buttonResetVMod.Name = "buttonResetVMod";
this.buttonResetVMod.Padding = new System.Windows.Forms.Padding(5);
this.buttonResetVMod.Size = new System.Drawing.Size(75, 23);
this.buttonResetVMod.TabIndex = 2;
this.toolTip.SetToolTip(this.buttonResetVMod, "Reset");
this.buttonResetVMod.UseVisualStyleBackColor = true;
this.buttonResetVMod.Click += new System.EventHandler(this.buttonResetVMod_Click);
//
// buttonApplyVMod
//
this.buttonApplyVMod.Image = global::SourceSDK.ENV.Editor.Properties.Resources.check;
this.buttonApplyVMod.Image = global::SourceSDK.ENV.Editor.Properties.Resources.apply;
this.buttonApplyVMod.Location = new System.Drawing.Point(548, 51);
this.buttonApplyVMod.Name = "buttonApplyVMod";
this.buttonApplyVMod.Padding = new System.Windows.Forms.Padding(5);
this.buttonApplyVMod.Size = new System.Drawing.Size(75, 23);
this.buttonApplyVMod.TabIndex = 2;
this.toolTip.SetToolTip(this.buttonApplyVMod, "Apply");
this.buttonApplyVMod.UseVisualStyleBackColor = true;
this.buttonApplyVMod.Click += new System.EventHandler(this.buttonApplyVMod_Click);
//
// textBoxVMod
//
this.textBoxVMod.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(73)))), ((int)(((byte)(74)))));
this.textBoxVMod.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBoxVMod.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.textBoxVMod.Location = new System.Drawing.Point(28, 22);
this.textBoxVMod.Name = "textBoxVMod";
this.textBoxVMod.PlaceholderText = "MyMod";
this.textBoxVMod.Size = new System.Drawing.Size(595, 23);
this.textBoxVMod.TabIndex = 1;
this.textBoxVMod.TabIndex = 0;
this.toolTip.SetToolTip(this.textBoxVMod, "Your sourcemod name");
//
// pictureBoxVMod
@ -205,6 +227,7 @@
//
// groupBoxVProject
//
this.groupBoxVProject.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.groupBoxVProject.Controls.Add(this.buttonBrowseVProject);
this.groupBoxVProject.Controls.Add(this.buttonResetVProject);
this.groupBoxVProject.Controls.Add(this.buttonApplyVProject);
@ -219,39 +242,42 @@
//
// buttonBrowseVProject
//
this.buttonBrowseVProject.Image = global::SourceSDK.ENV.Editor.Properties.Resources.open_folder;
this.buttonBrowseVProject.Image = global::SourceSDK.ENV.Editor.Properties.Resources.browse;
this.buttonBrowseVProject.Location = new System.Drawing.Point(548, 22);
this.buttonBrowseVProject.Name = "buttonBrowseVProject";
this.buttonBrowseVProject.Padding = new System.Windows.Forms.Padding(5);
this.buttonBrowseVProject.Size = new System.Drawing.Size(75, 23);
this.buttonBrowseVProject.TabIndex = 3;
this.toolTip.SetToolTip(this.buttonBrowseVProject, "Browse");
this.buttonBrowseVProject.UseVisualStyleBackColor = true;
this.buttonBrowseVProject.Click += new System.EventHandler(this.buttonBrowseVProject_Click);
//
// buttonResetVProject
//
this.buttonResetVProject.Image = global::SourceSDK.ENV.Editor.Properties.Resources.remove;
this.buttonResetVProject.Image = global::SourceSDK.ENV.Editor.Properties.Resources.reset;
this.buttonResetVProject.Location = new System.Drawing.Point(467, 51);
this.buttonResetVProject.Name = "buttonResetVProject";
this.buttonResetVProject.Padding = new System.Windows.Forms.Padding(5);
this.buttonResetVProject.Size = new System.Drawing.Size(75, 23);
this.buttonResetVProject.TabIndex = 2;
this.toolTip.SetToolTip(this.buttonResetVProject, "Reset");
this.buttonResetVProject.UseVisualStyleBackColor = true;
this.buttonResetVProject.Click += new System.EventHandler(this.buttonResetVProject_Click);
//
// buttonApplyVProject
//
this.buttonApplyVProject.Image = global::SourceSDK.ENV.Editor.Properties.Resources.check;
this.buttonApplyVProject.Image = global::SourceSDK.ENV.Editor.Properties.Resources.apply;
this.buttonApplyVProject.Location = new System.Drawing.Point(548, 51);
this.buttonApplyVProject.Name = "buttonApplyVProject";
this.buttonApplyVProject.Padding = new System.Windows.Forms.Padding(5);
this.buttonApplyVProject.Size = new System.Drawing.Size(75, 23);
this.buttonApplyVProject.TabIndex = 2;
this.toolTip.SetToolTip(this.buttonApplyVProject, "Apply");
this.buttonApplyVProject.UseVisualStyleBackColor = true;
this.buttonApplyVProject.Click += new System.EventHandler(this.buttonApplyVProject_Click);
//
// textBoxVProject
//
this.textBoxVProject.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(73)))), ((int)(((byte)(74)))));
this.textBoxVProject.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBoxVProject.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.textBoxVProject.Location = new System.Drawing.Point(28, 22);
this.textBoxVProject.Name = "textBoxVProject";
this.textBoxVProject.PlaceholderText = "C:\\Program Files\\Steam\\steamapps\\sourcemods\\MyMod";
@ -271,6 +297,7 @@
//
// groupBoxVGame
//
this.groupBoxVGame.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.groupBoxVGame.Controls.Add(this.buttonBrowseVGame);
this.groupBoxVGame.Controls.Add(this.buttonResetVGame);
this.groupBoxVGame.Controls.Add(this.buttonApplyVGame);
@ -285,39 +312,42 @@
//
// buttonBrowseVGame
//
this.buttonBrowseVGame.Image = global::SourceSDK.ENV.Editor.Properties.Resources.open_folder;
this.buttonBrowseVGame.Image = global::SourceSDK.ENV.Editor.Properties.Resources.browse;
this.buttonBrowseVGame.Location = new System.Drawing.Point(548, 22);
this.buttonBrowseVGame.Name = "buttonBrowseVGame";
this.buttonBrowseVGame.Padding = new System.Windows.Forms.Padding(5);
this.buttonBrowseVGame.Size = new System.Drawing.Size(75, 23);
this.buttonBrowseVGame.TabIndex = 3;
this.toolTip.SetToolTip(this.buttonBrowseVGame, "Browse");
this.buttonBrowseVGame.UseVisualStyleBackColor = true;
this.buttonBrowseVGame.Click += new System.EventHandler(this.buttonBrowseVGame_Click);
//
// buttonResetVGame
//
this.buttonResetVGame.Image = global::SourceSDK.ENV.Editor.Properties.Resources.remove;
this.buttonResetVGame.Image = global::SourceSDK.ENV.Editor.Properties.Resources.reset;
this.buttonResetVGame.Location = new System.Drawing.Point(467, 51);
this.buttonResetVGame.Name = "buttonResetVGame";
this.buttonResetVGame.Padding = new System.Windows.Forms.Padding(5);
this.buttonResetVGame.Size = new System.Drawing.Size(75, 23);
this.buttonResetVGame.TabIndex = 2;
this.toolTip.SetToolTip(this.buttonResetVGame, "Reset");
this.buttonResetVGame.UseVisualStyleBackColor = true;
this.buttonResetVGame.Click += new System.EventHandler(this.buttonResetVGame_Click);
//
// buttonApplyVGame
//
this.buttonApplyVGame.Image = global::SourceSDK.ENV.Editor.Properties.Resources.check;
this.buttonApplyVGame.Image = global::SourceSDK.ENV.Editor.Properties.Resources.apply;
this.buttonApplyVGame.Location = new System.Drawing.Point(548, 51);
this.buttonApplyVGame.Name = "buttonApplyVGame";
this.buttonApplyVGame.Padding = new System.Windows.Forms.Padding(5);
this.buttonApplyVGame.Size = new System.Drawing.Size(75, 23);
this.buttonApplyVGame.TabIndex = 2;
this.toolTip.SetToolTip(this.buttonApplyVGame, "Apply");
this.buttonApplyVGame.UseVisualStyleBackColor = true;
this.buttonApplyVGame.Click += new System.EventHandler(this.buttonApplyVGame_Click);
//
// textBoxVGame
//
this.textBoxVGame.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(73)))), ((int)(((byte)(74)))));
this.textBoxVGame.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBoxVGame.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.textBoxVGame.Location = new System.Drawing.Point(28, 22);
this.textBoxVGame.Name = "textBoxVGame";
this.textBoxVGame.PlaceholderText = "C:\\Program Files\\Steam\\steamapps\\common\\SourceFilmmaker\\game";
@ -337,6 +367,7 @@
//
// groupBoxVContent
//
this.groupBoxVContent.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.groupBoxVContent.Controls.Add(this.buttonBrowseVContent);
this.groupBoxVContent.Controls.Add(this.buttonResetVContent);
this.groupBoxVContent.Controls.Add(this.buttonApplyVContent);
@ -351,39 +382,42 @@
//
// buttonBrowseVContent
//
this.buttonBrowseVContent.Image = global::SourceSDK.ENV.Editor.Properties.Resources.open_folder;
this.buttonBrowseVContent.Image = global::SourceSDK.ENV.Editor.Properties.Resources.browse;
this.buttonBrowseVContent.Location = new System.Drawing.Point(548, 22);
this.buttonBrowseVContent.Name = "buttonBrowseVContent";
this.buttonBrowseVContent.Padding = new System.Windows.Forms.Padding(5);
this.buttonBrowseVContent.Size = new System.Drawing.Size(75, 23);
this.buttonBrowseVContent.TabIndex = 3;
this.toolTip.SetToolTip(this.buttonBrowseVContent, "Browse");
this.buttonBrowseVContent.UseVisualStyleBackColor = true;
this.buttonBrowseVContent.Click += new System.EventHandler(this.buttonBrowseVContent_Click);
//
// buttonResetVContent
//
this.buttonResetVContent.Image = global::SourceSDK.ENV.Editor.Properties.Resources.remove;
this.buttonResetVContent.Image = global::SourceSDK.ENV.Editor.Properties.Resources.reset;
this.buttonResetVContent.Location = new System.Drawing.Point(467, 51);
this.buttonResetVContent.Name = "buttonResetVContent";
this.buttonResetVContent.Padding = new System.Windows.Forms.Padding(5);
this.buttonResetVContent.Size = new System.Drawing.Size(75, 23);
this.buttonResetVContent.TabIndex = 2;
this.toolTip.SetToolTip(this.buttonResetVContent, "Reset");
this.buttonResetVContent.UseVisualStyleBackColor = true;
this.buttonResetVContent.Click += new System.EventHandler(this.buttonResetVContent_Click);
//
// buttonApplyVContent
//
this.buttonApplyVContent.Image = global::SourceSDK.ENV.Editor.Properties.Resources.check;
this.buttonApplyVContent.Image = global::SourceSDK.ENV.Editor.Properties.Resources.apply;
this.buttonApplyVContent.Location = new System.Drawing.Point(548, 51);
this.buttonApplyVContent.Name = "buttonApplyVContent";
this.buttonApplyVContent.Padding = new System.Windows.Forms.Padding(5);
this.buttonApplyVContent.Size = new System.Drawing.Size(75, 23);
this.buttonApplyVContent.TabIndex = 2;
this.toolTip.SetToolTip(this.buttonApplyVContent, "Apply");
this.buttonApplyVContent.UseVisualStyleBackColor = true;
this.buttonApplyVContent.Click += new System.EventHandler(this.buttonApplyVContent_Click);
//
// textBoxVContent
//
this.textBoxVContent.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(73)))), ((int)(((byte)(74)))));
this.textBoxVContent.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBoxVContent.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.textBoxVContent.Location = new System.Drawing.Point(28, 22);
this.textBoxVContent.Name = "textBoxVContent";
this.textBoxVContent.PlaceholderText = "C:\\Program Files\\Steam\\steamapps\\common\\SourceFilmmaker\\content";
@ -403,6 +437,7 @@
//
// groupBoxVTools
//
this.groupBoxVTools.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
this.groupBoxVTools.Controls.Add(this.buttonBrowseVTools);
this.groupBoxVTools.Controls.Add(this.buttonResetVTools);
this.groupBoxVTools.Controls.Add(this.buttonApplyVTools);
@ -417,39 +452,42 @@
//
// buttonBrowseVTools
//
this.buttonBrowseVTools.Image = global::SourceSDK.ENV.Editor.Properties.Resources.open_folder;
this.buttonBrowseVTools.Image = global::SourceSDK.ENV.Editor.Properties.Resources.browse;
this.buttonBrowseVTools.Location = new System.Drawing.Point(548, 22);
this.buttonBrowseVTools.Name = "buttonBrowseVTools";
this.buttonBrowseVTools.Padding = new System.Windows.Forms.Padding(5);
this.buttonBrowseVTools.Size = new System.Drawing.Size(75, 23);
this.buttonBrowseVTools.TabIndex = 3;
this.toolTip.SetToolTip(this.buttonBrowseVTools, "Browse");
this.buttonBrowseVTools.UseVisualStyleBackColor = true;
this.buttonBrowseVTools.Click += new System.EventHandler(this.buttonBrowseVTools_Click);
//
// buttonResetVTools
//
this.buttonResetVTools.Image = global::SourceSDK.ENV.Editor.Properties.Resources.remove;
this.buttonResetVTools.Image = global::SourceSDK.ENV.Editor.Properties.Resources.reset;
this.buttonResetVTools.Location = new System.Drawing.Point(467, 51);
this.buttonResetVTools.Name = "buttonResetVTools";
this.buttonResetVTools.Padding = new System.Windows.Forms.Padding(5);
this.buttonResetVTools.Size = new System.Drawing.Size(75, 23);
this.buttonResetVTools.TabIndex = 0;
this.buttonResetVTools.TabIndex = 99;
this.toolTip.SetToolTip(this.buttonResetVTools, "Reset");
this.buttonResetVTools.UseVisualStyleBackColor = true;
this.buttonResetVTools.Click += new System.EventHandler(this.buttonResetVTools_Click);
//
// buttonApplyVTools
//
this.buttonApplyVTools.Image = global::SourceSDK.ENV.Editor.Properties.Resources.check;
this.buttonApplyVTools.Image = global::SourceSDK.ENV.Editor.Properties.Resources.apply;
this.buttonApplyVTools.Location = new System.Drawing.Point(548, 51);
this.buttonApplyVTools.Name = "buttonApplyVTools";
this.buttonApplyVTools.Padding = new System.Windows.Forms.Padding(5);
this.buttonApplyVTools.Size = new System.Drawing.Size(75, 23);
this.buttonApplyVTools.TabIndex = 2;
this.toolTip.SetToolTip(this.buttonApplyVTools, "Apply");
this.buttonApplyVTools.UseVisualStyleBackColor = true;
this.buttonApplyVTools.Click += new System.EventHandler(this.buttonApplyVTools_Click);
//
// textBoxVTools
//
this.textBoxVTools.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(69)))), ((int)(((byte)(73)))), ((int)(((byte)(74)))));
this.textBoxVTools.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textBoxVTools.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.textBoxVTools.Location = new System.Drawing.Point(28, 22);
this.textBoxVTools.Name = "textBoxVTools";
this.textBoxVTools.PlaceholderText = "C:\\Program Files\\Steam\\steamapps\\common\\SourceFilmmaker\\game\\sdktools";
@ -471,11 +509,26 @@
//
this.folderBrowserDialog.UseDescriptionForTitle = true;
//
// darkStatusStrip
//
this.darkStatusStrip.AutoSize = false;
this.darkStatusStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.darkStatusStrip.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(220)))), ((int)(((byte)(220)))));
this.darkStatusStrip.Location = new System.Drawing.Point(0, 496);
this.darkStatusStrip.Name = "darkStatusStrip";
this.darkStatusStrip.Padding = new System.Windows.Forms.Padding(0, 5, 0, 3);
this.darkStatusStrip.Size = new System.Drawing.Size(653, 24);
this.darkStatusStrip.SizingGrip = false;
this.darkStatusStrip.TabIndex = 2;
this.darkStatusStrip.Text = "darkStatusStrip1";
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(653, 502);
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65)))));
this.ClientSize = new System.Drawing.Size(653, 520);
this.Controls.Add(this.darkStatusStrip);
this.Controls.Add(this.groupBoxVTools);
this.Controls.Add(this.groupBoxVContent);
this.Controls.Add(this.groupBoxVGame);
@ -490,7 +543,6 @@
this.Name = "FormMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "FormMain";
this.toolTip.SetToolTip(this, "asd");
this.Load += new System.EventHandler(this.FormMain_Load);
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
@ -515,45 +567,45 @@
}
#endregion
private MenuStrip menuStrip;
private ToolStripMenuItem fileToolStripMenuItem;
private ToolStripMenuItem helpToolStripMenuItem;
private ToolStripMenuItem aboutToolStripMenuItem;
private ToolStripMenuItem refreshToolStripMenuItem;
private ToolStripMenuItem exitToolStripMenuItem;
private GroupBox groupBoxVMod;
private Button buttonResetVMod;
private Button buttonApplyVMod;
private TextBox textBoxVMod;
private DarkUI.Controls.DarkGroupBox groupBoxVMod;
private DarkUI.Controls.DarkButton buttonResetVMod;
private DarkUI.Controls.DarkButton buttonApplyVMod;
private DarkUI.Controls.DarkTextBox textBoxVMod;
private PictureBox pictureBoxVMod;
private GroupBox groupBoxVProject;
private Button buttonBrowseVProject;
private Button buttonResetVProject;
private Button buttonApplyVProject;
private TextBox textBoxVProject;
private DarkUI.Controls.DarkGroupBox groupBoxVProject;
private DarkUI.Controls.DarkButton buttonBrowseVProject;
private DarkUI.Controls.DarkButton buttonResetVProject;
private DarkUI.Controls.DarkButton buttonApplyVProject;
private DarkUI.Controls.DarkTextBox textBoxVProject;
private PictureBox pictureBoxVProject;
private GroupBox groupBoxVGame;
private Button buttonBrowseVGame;
private Button buttonResetVGame;
private Button buttonApplyVGame;
private TextBox textBoxVGame;
private DarkUI.Controls.DarkGroupBox groupBoxVGame;
private DarkUI.Controls.DarkButton buttonBrowseVGame;
private DarkUI.Controls.DarkButton buttonResetVGame;
private DarkUI.Controls.DarkButton buttonApplyVGame;
private DarkUI.Controls.DarkTextBox textBoxVGame;
private PictureBox pictureBoxVGame;
private GroupBox groupBoxVContent;
private Button buttonBrowseVContent;
private Button buttonResetVContent;
private Button buttonApplyVContent;
private TextBox textBoxVContent;
private DarkUI.Controls.DarkGroupBox groupBoxVContent;
private DarkUI.Controls.DarkButton buttonBrowseVContent;
private DarkUI.Controls.DarkButton buttonResetVContent;
private DarkUI.Controls.DarkButton buttonApplyVContent;
private DarkUI.Controls.DarkTextBox textBoxVContent;
private PictureBox pictureBoxVContent;
private GroupBox groupBoxVTools;
private Button buttonBrowseVTools;
private Button buttonResetVTools;
private Button buttonApplyVTools;
private TextBox textBoxVTools;
private DarkUI.Controls.DarkGroupBox groupBoxVTools;
private DarkUI.Controls.DarkButton buttonBrowseVTools;
private DarkUI.Controls.DarkButton buttonResetVTools;
private DarkUI.Controls.DarkButton buttonApplyVTools;
private DarkUI.Controls.DarkTextBox textBoxVTools;
private PictureBox pictureBoxVTools;
private ToolTip toolTip;
private ToolStripMenuItem resetAllToolStripMenuItem;
private ToolStripSeparator toolStripSeparator1;
private FolderBrowserDialog folderBrowserDialog;
private DarkUI.Controls.DarkMenuStrip menuStrip;
private DarkUI.Controls.DarkStatusStrip darkStatusStrip;
}
}

View File

@ -15,7 +15,7 @@ namespace SourceSDK.ENV.Editor.UI
public FormMain()
{
InitializeComponent();
this.Text = String.Format("{0} ({1})", Application.ProductName, Application.ProductVersion); ;
this.Text = String.Format("{0} ({1})", System.Windows.Forms.Application.ProductName, System.Windows.Forms.Application.ProductVersion); ;
}
private void FormMain_Load(object sender, EventArgs e)
@ -34,7 +34,8 @@ namespace SourceSDK.ENV.Editor.UI
}
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
{
FormAbout? frmAbout = new();
frmAbout.ShowDialog();
}
#region checks

View File

@ -66,6 +66,9 @@
<metadata name="folderBrowserDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>215, 17</value>
</metadata>
<metadata name="darkStatusStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>378, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>

BIN
src/crowbar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB