Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated version information to match github tag. #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions PasteIntoFile/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
[assembly: AssemblyTitle("PasteIntoFile")]
[assembly: AssemblyDescription("Paste Clipboard Contents Into Files")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("EslaMxSoft 2014")]
[assembly: AssemblyProduct("PasteIntoFile v1.4")]
[assembly: AssemblyCopyright("Copyright © EslaMxSoft 2014")]
[assembly: AssemblyCompany("EslaMxSoft 2021")]
[assembly: AssemblyProduct("PasteIntoFile v1.5")]
[assembly: AssemblyCopyright("Copyright © EslaMxSoft 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.0.1")]
[assembly: AssemblyFileVersion("1.4.0.1")]
[assembly: AssemblyVersion("1.5.0.0")]
[assembly: AssemblyFileVersion("1.5.0.0")]
2 changes: 1 addition & 1 deletion PasteIntoFile/frmMain.Designer.cs

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

6 changes: 5 additions & 1 deletion PasteIntoFile/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
Expand Down Expand Up @@ -35,6 +36,9 @@ private void frmMain_Load(object sender, EventArgs e)
txtFilename.Text = DateTime.Now.ToString(filename);
txtCurrentLocation.Text = CurrentLocation ?? @"C:\";

var appVersion = Assembly.GetExecutingAssembly().GetName().Version;
Text += String.Format(" v{0}", appVersion);

if (Registry.GetValue(@"HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\Paste Into File\command", "", null) == null)
{
if (MessageBox.Show("Seems that you are running this application for the first time,\nDo you want to Register it with your system Context Menu ?", "Paste Into File", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
Expand Down Expand Up @@ -138,7 +142,7 @@ private void lblHelp_Click(object sender, EventArgs e)
msg += "\nto Unregister the application use this argument : /unreg\n";
msg += "\nTo change the format of the default filename, use this argument: /filename yyyy-MM-dd_HHmm\n";
msg += "\n--------------------\nSend Feedback to : eslamx7@gmail.com\n\nThanks :)";
MessageBox.Show(msg, "Paste As File Help", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show(msg, "Paste Into File Help", MessageBoxButtons.OK, MessageBoxIcon.Information);



Expand Down