mirror of
https://github.com/EpicMorg/SourceSDK.ENV.Editor.git
synced 2025-07-02 23:09:28 +03:00
cleanup
This commit is contained in:
parent
0d7267a516
commit
90b560b558
8
src/UI/FormMain.Designer.cs
generated
8
src/UI/FormMain.Designer.cs
generated
@ -145,8 +145,9 @@
|
|||||||
//
|
//
|
||||||
this.aboutToolStripMenuItem.Image = global::SourceSDK.ENV.Editor.Properties.Resources.about;
|
this.aboutToolStripMenuItem.Image = global::SourceSDK.ENV.Editor.Properties.Resources.about;
|
||||||
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
|
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||||
this.aboutToolStripMenuItem.Text = "About";
|
this.aboutToolStripMenuItem.Text = "About";
|
||||||
|
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
// groupBoxVMod
|
// groupBoxVMod
|
||||||
//
|
//
|
||||||
@ -181,6 +182,7 @@
|
|||||||
this.buttonApplyVMod.TabIndex = 2;
|
this.buttonApplyVMod.TabIndex = 2;
|
||||||
this.toolTip.SetToolTip(this.buttonApplyVMod, "Apply");
|
this.toolTip.SetToolTip(this.buttonApplyVMod, "Apply");
|
||||||
this.buttonApplyVMod.UseVisualStyleBackColor = true;
|
this.buttonApplyVMod.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonApplyVMod.Click += new System.EventHandler(this.buttonApplyVMod_Click);
|
||||||
//
|
//
|
||||||
// textBoxVMod
|
// textBoxVMod
|
||||||
//
|
//
|
||||||
@ -246,6 +248,7 @@
|
|||||||
this.buttonApplyVProject.TabIndex = 2;
|
this.buttonApplyVProject.TabIndex = 2;
|
||||||
this.toolTip.SetToolTip(this.buttonApplyVProject, "Apply");
|
this.toolTip.SetToolTip(this.buttonApplyVProject, "Apply");
|
||||||
this.buttonApplyVProject.UseVisualStyleBackColor = true;
|
this.buttonApplyVProject.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonApplyVProject.Click += new System.EventHandler(this.buttonApplyVProject_Click);
|
||||||
//
|
//
|
||||||
// textBoxVProject
|
// textBoxVProject
|
||||||
//
|
//
|
||||||
@ -311,6 +314,7 @@
|
|||||||
this.buttonApplyVGame.TabIndex = 2;
|
this.buttonApplyVGame.TabIndex = 2;
|
||||||
this.toolTip.SetToolTip(this.buttonApplyVGame, "Apply");
|
this.toolTip.SetToolTip(this.buttonApplyVGame, "Apply");
|
||||||
this.buttonApplyVGame.UseVisualStyleBackColor = true;
|
this.buttonApplyVGame.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonApplyVGame.Click += new System.EventHandler(this.buttonApplyVGame_Click);
|
||||||
//
|
//
|
||||||
// textBoxVGame
|
// textBoxVGame
|
||||||
//
|
//
|
||||||
@ -376,6 +380,7 @@
|
|||||||
this.buttonApplyVContent.TabIndex = 2;
|
this.buttonApplyVContent.TabIndex = 2;
|
||||||
this.toolTip.SetToolTip(this.buttonApplyVContent, "Apply");
|
this.toolTip.SetToolTip(this.buttonApplyVContent, "Apply");
|
||||||
this.buttonApplyVContent.UseVisualStyleBackColor = true;
|
this.buttonApplyVContent.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonApplyVContent.Click += new System.EventHandler(this.buttonApplyVContent_Click);
|
||||||
//
|
//
|
||||||
// textBoxVContent
|
// textBoxVContent
|
||||||
//
|
//
|
||||||
@ -441,6 +446,7 @@
|
|||||||
this.buttonApplyVTools.TabIndex = 2;
|
this.buttonApplyVTools.TabIndex = 2;
|
||||||
this.toolTip.SetToolTip(this.buttonApplyVTools, "Apply");
|
this.toolTip.SetToolTip(this.buttonApplyVTools, "Apply");
|
||||||
this.buttonApplyVTools.UseVisualStyleBackColor = true;
|
this.buttonApplyVTools.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonApplyVTools.Click += new System.EventHandler(this.buttonApplyVTools_Click);
|
||||||
//
|
//
|
||||||
// textBoxVTools
|
// textBoxVTools
|
||||||
//
|
//
|
||||||
|
@ -17,6 +17,26 @@ namespace SourceSDK.ENV.Editor.UI
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
this.Text = String.Format("{0} ({1})", Application.ProductName, Application.ProductVersion); ;
|
this.Text = String.Format("{0} ({1})", Application.ProductName, Application.ProductVersion); ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void FormMain_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
checkAll();
|
||||||
|
folderBrowserDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); //set defaut directory
|
||||||
|
}
|
||||||
|
private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
checkAll();
|
||||||
|
MessageBox.Show("Information updated!", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
}
|
||||||
|
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Application.Exit();
|
||||||
|
}
|
||||||
|
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#region checks
|
#region checks
|
||||||
private void checkAll()
|
private void checkAll()
|
||||||
{
|
{
|
||||||
@ -240,23 +260,6 @@ namespace SourceSDK.ENV.Editor.UI
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private void FormMain_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
checkAll();
|
|
||||||
folderBrowserDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); //set defaut directory
|
|
||||||
}
|
|
||||||
|
|
||||||
private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
checkAll();
|
|
||||||
MessageBox.Show("Information updated!", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
Application.Exit();
|
|
||||||
}
|
|
||||||
|
|
||||||
#region btn-reset
|
#region btn-reset
|
||||||
private void resetAllToolStripMenuItem_Click(object sender, EventArgs e)
|
private void resetAllToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@ -340,5 +343,49 @@ namespace SourceSDK.ENV.Editor.UI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region btn-apply
|
||||||
|
private void buttonApplyVMod_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (MessageBox.Show("Are you sure?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.Yes)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buttonApplyVProject_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (MessageBox.Show("Are you sure?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.Yes)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buttonApplyVGame_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (MessageBox.Show("Are you sure?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.Yes)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buttonApplyVContent_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (MessageBox.Show("Are you sure?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.Yes)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buttonApplyVTools_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (MessageBox.Show("Are you sure?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) == DialogResult.Yes)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user