Skip to content
This repository has been archived by the owner on Mar 21, 2020. It is now read-only.

Commit

Permalink
Add in credits via the [?] form button.
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsch committed Sep 20, 2015
1 parent 6ac1c05 commit c37641c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Main.Designer.cs

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

20 changes: 16 additions & 4 deletions Main.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Threading;
Expand Down Expand Up @@ -48,7 +49,6 @@ private void tabMain_DragDrop(object sender, DragEventArgs e)
return;
}

string path = files[0]; // open first D&D
long len = new FileInfo(files[0]).Length;
if (len == 0x80000 || len == 0xC0000 || len == 0x121000 || len == 0x130000) // RAM
{
Expand Down Expand Up @@ -152,7 +152,7 @@ private void clickExhibition(object sender, EventArgs e)
catch (Exception ex)
{
// Error
MessageBox.Show("Error:" + Environment.NewLine + ex);
Util.Error("Error:" + Environment.NewLine + ex);
}
}
private void clickGarden(object sender, EventArgs e)
Expand All @@ -175,7 +175,7 @@ private void clickGarden(object sender, EventArgs e)
catch (Exception ex)
{
// Error
MessageBox.Show("Error:" + Environment.NewLine + ex);
Util.Error("Error:" + Environment.NewLine + ex);
}
}
private void clickFriend(object sender, EventArgs e)
Expand All @@ -198,8 +198,20 @@ private void clickFriend(object sender, EventArgs e)
catch (Exception ex)
{
// Error
MessageBox.Show("Error:" + Environment.NewLine + ex);
Util.Error("Error:" + Environment.NewLine + ex);
}
}

private void clickHelp(object sender, CancelEventArgs e)
{
Util.Alert(String.Format("NLSE - By Kaphotics{0}" +
"{0}" +
"To begin, drag the folder that contains your exported save file (garden.dat) onto the program window.{0}" +
"{0}" +
"Credits:{0}" +
"Big thanks to marc_max (ACNL Save Editor), NeoKamek (LeafTools), and the many other contributors to the scene!",
Environment.NewLine));
e.Cancel = true; // remove ? cursor
}
}
}

0 comments on commit c37641c

Please sign in to comment.