Skip to content

Commit

Permalink
add seconds to filename
Browse files Browse the repository at this point in the history
  • Loading branch information
EslaMx7 committed Jan 28, 2017
1 parent a62e23f commit 9b1364a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file removed PasteAsFile/bin/Debug/PasteAsFile.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions PasteAsFile/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public frmMain(string location)
}
private void frmMain_Load(object sender, EventArgs e)
{
txtFilename.Text = DateTime.Now.ToString("dd-MM-yyyy HH-mm");
txtFilename.Text = DateTime.Now.ToString("dd-MM-yyyy HH-mm-ss");
txtCurrentLocation.Text = CurrentLocation ?? @"C:\";

if (Registry.GetValue(@"HKEY_CLASSES_ROOT\Directory\Background\shell\Paste As File\command", "", null) == null)
Expand Down Expand Up @@ -131,7 +131,7 @@ private void lblMe_Click(object sender, EventArgs e)

private void lblHelp_Click(object sender, EventArgs e)
{
string msg = "Paste As File helps you paste any text or images in your system clipboard into a file directly instead of creating new file yourslef";
string msg = "Paste As File helps you paste any text or images in your system clipboard into a file directly instead of creating new file yourself";
msg += "\n--------------------\nTo Register the application to your system Context Menu run the program as Administrator with this argument : /reg";
msg += "\nto Unregister the application use this argument : /unreg\n";
msg += "\n--------------------\nSend Feedback to : [email protected]\n\nThanks :)";
Expand Down

0 comments on commit 9b1364a

Please sign in to comment.