Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
stamepicmorg committed Mar 25, 2022
1 parent 0d7267a commit 90b560b
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 18 deletions.
8 changes: 7 additions & 1 deletion src/UI/FormMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 64 additions & 17 deletions src/UI/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,26 @@ public FormMain()
InitializeComponent();
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
private void checkAll()
{
Expand Down Expand Up @@ -240,23 +260,6 @@ private void resetVTools()

#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
private void resetAllToolStripMenuItem_Click(object sender, EventArgs e)
{
Expand Down Expand Up @@ -340,5 +343,49 @@ private void buttonBrowseVTools_Click(object sender, EventArgs e)
}
}
#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


}
}

0 comments on commit 90b560b

Please sign in to comment.