From 372287917b203dd7d26fe2c91ecefa9d53425cfb Mon Sep 17 00:00:00 2001 From: Emanuel Tilly Date: Sat, 20 Feb 2021 11:30:24 +0100 Subject: [PATCH] Release 1.0.0.0 --- ShotLog/Form1.Designer.cs | 54 +++++++++++++++++++++++------- ShotLog/Form1.cs | 16 +++++++++ ShotLog/Properties/AssemblyInfo.cs | 4 +-- ShotLog/ShotLog.csproj | 28 ++++++++++++++-- 4 files changed, 85 insertions(+), 17 deletions(-) diff --git a/ShotLog/Form1.Designer.cs b/ShotLog/Form1.Designer.cs index a84de47..c8519c6 100644 --- a/ShotLog/Form1.Designer.cs +++ b/ShotLog/Form1.Designer.cs @@ -49,10 +49,14 @@ private void InitializeComponent() this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.autosaveNewFilesOn = new System.Windows.Forms.ToolStripMenuItem(); this.autosaveNewFilesOff = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); + this.aboutButton = new System.Windows.Forms.ToolStripMenuItem(); + this.githubButton = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.lastSavedLabel = new System.Windows.Forms.ToolStripLabel(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.autosaveLabel = new System.Windows.Forms.ToolStripLabel(); + this.deleteRowButton = new System.Windows.Forms.ToolStripButton(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPageSettings = new System.Windows.Forms.TabPage(); this.newExposureButton = new System.Windows.Forms.Button(); @@ -142,7 +146,6 @@ private void InitializeComponent() this.dataGridViewStills = new System.Windows.Forms.DataGridView(); this.autosaveTimer = new System.Windows.Forms.Timer(this.components); this.autosaveChecker = new System.Windows.Forms.Timer(this.components); - this.deleteRowButton = new System.Windows.Forms.ToolStripButton(); this.toolStrip1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPageSettings.SuspendLayout(); @@ -209,7 +212,10 @@ private void InitializeComponent() this.exportVideoLogButton, this.exportStillsLogButton, this.toolStripSeparator2, - this.toolStripMenuItem1}); + this.toolStripMenuItem1, + this.toolStripSeparator7, + this.aboutButton, + this.githubButton}); this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image"))); this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; @@ -337,6 +343,25 @@ private void InitializeComponent() this.autosaveNewFilesOff.Text = "Autosave creates new files OFF"; this.autosaveNewFilesOff.Click += new System.EventHandler(this.AutosaveNewFilesOff_Click); // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(177, 6); + // + // aboutButton + // + this.aboutButton.Name = "aboutButton"; + this.aboutButton.Size = new System.Drawing.Size(180, 22); + this.aboutButton.Text = "About"; + this.aboutButton.Click += new System.EventHandler(this.AboutButton_Click); + // + // githubButton + // + this.githubButton.Name = "githubButton"; + this.githubButton.Size = new System.Drawing.Size(180, 22); + this.githubButton.Text = "GitHub"; + this.githubButton.Click += new System.EventHandler(this.GithubButton_Click); + // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; @@ -361,6 +386,17 @@ private void InitializeComponent() this.autosaveLabel.Size = new System.Drawing.Size(65, 22); this.autosaveLabel.Text = "AutoSave ?"; // + // deleteRowButton + // + this.deleteRowButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.deleteRowButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.deleteRowButton.Image = ((System.Drawing.Image)(resources.GetObject("deleteRowButton.Image"))); + this.deleteRowButton.ImageTransparentColor = System.Drawing.Color.Magenta; + this.deleteRowButton.Name = "deleteRowButton"; + this.deleteRowButton.Size = new System.Drawing.Size(113, 22); + this.deleteRowButton.Text = "Delete selected row"; + this.deleteRowButton.Click += new System.EventHandler(this.DeleteRowButton_Click); + // // tabControl1 // this.tabControl1.Controls.Add(this.tabPageSettings); @@ -1549,17 +1585,6 @@ private void InitializeComponent() this.autosaveChecker.Interval = 1000; this.autosaveChecker.Tick += new System.EventHandler(this.AutosaveChecker_Tick); // - // deleteRowButton - // - this.deleteRowButton.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - this.deleteRowButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.deleteRowButton.Image = ((System.Drawing.Image)(resources.GetObject("deleteRowButton.Image"))); - this.deleteRowButton.ImageTransparentColor = System.Drawing.Color.Magenta; - this.deleteRowButton.Name = "deleteRowButton"; - this.deleteRowButton.Size = new System.Drawing.Size(113, 22); - this.deleteRowButton.Text = "Delete selected row"; - this.deleteRowButton.Click += new System.EventHandler(this.DeleteRowButton_Click); - // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -1739,6 +1764,9 @@ private void InitializeComponent() private System.Windows.Forms.ToolStripMenuItem autosaveNewFilesOn; private System.Windows.Forms.ToolStripMenuItem autosaveNewFilesOff; private System.Windows.Forms.ToolStripButton deleteRowButton; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; + private System.Windows.Forms.ToolStripMenuItem aboutButton; + private System.Windows.Forms.ToolStripMenuItem githubButton; } } diff --git a/ShotLog/Form1.cs b/ShotLog/Form1.cs index 79f30ab..8f837bc 100644 --- a/ShotLog/Form1.cs +++ b/ShotLog/Form1.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.ComponentModel; using System.Data; +using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; @@ -392,6 +393,11 @@ private void DeleteSelectedRow() } + private void OpenInBrowser(string sourceUrl) + { + Process.Start(sourceUrl); + } + private void SaveProjectToolStripMenuItem_Click(object sender, EventArgs e) { SaveProject(); @@ -556,5 +562,15 @@ private void DeleteRowButton_Click(object sender, EventArgs e) { DeleteSelectedRow(); } + + private void GithubButton_Click(object sender, EventArgs e) + { + OpenInBrowser("https://github.com/emanueltilly/shotlog"); + } + + private void AboutButton_Click(object sender, EventArgs e) + { + MessageBox.Show("ShotLog\n\nVersion 1.0.0.0\n\nLicensed under the Apache 2.0 license.", "ShotLog", MessageBoxButtons.OK, MessageBoxIcon.Information); + } } } diff --git a/ShotLog/Properties/AssemblyInfo.cs b/ShotLog/Properties/AssemblyInfo.cs index 54ec8fc..dbbd278 100644 --- a/ShotLog/Properties/AssemblyInfo.cs +++ b/ShotLog/Properties/AssemblyInfo.cs @@ -7,11 +7,11 @@ // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("ShotLog")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyDescription("Logging application for film and photograph with features added for broadcast and shootout applications.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ShotLog")] -[assembly: AssemblyCopyright("")] +[assembly: AssemblyCopyright("Apache 2.0")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/ShotLog/ShotLog.csproj b/ShotLog/ShotLog.csproj index b427314..6de7723 100644 --- a/ShotLog/ShotLog.csproj +++ b/ShotLog/ShotLog.csproj @@ -11,6 +11,7 @@ v4.5 512 true + false publish\ true Disk @@ -21,10 +22,15 @@ false false true - 0 + https://github.com/emanueltilly/shotlog + https://github.com/emanueltilly/shotlog + en + ShotLog + 1 1.0.0.%2a - false false + true + true true @@ -49,6 +55,18 @@ Icons\clapper.ico + + 2642788BC1941AEEFC465EC7F273641C87FC3FDE + + + ShotLog_TemporaryKey.pfx + + + true + + + true + packages\CsvHelper.23.0.0\lib\net45\CsvHelper.dll @@ -122,6 +140,7 @@ Settings.settings True + @@ -131,6 +150,11 @@ + + False + Microsoft .NET Framework 4.5.2 %28x86 and x64%29 + true + False .NET Framework 3.5 SP1