This commit is contained in:
2022-07-07 19:31:11 +00:00
parent 32c9ef078f
commit 217206c687
3 changed files with 51 additions and 13 deletions

View File

@@ -4,6 +4,7 @@ using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -47,6 +48,7 @@ namespace AyaNovaQBI
// MessageBox.Show("STUB: mainform,no maps, no integration data set");
//}
}
Text = "AyaNova QBI - " + util.QCompanyName;
grid.Visible = true;
menuStrip1.Enabled = true;
//MessageBox.Show("DONE / OK");
@@ -128,5 +130,22 @@ namespace AyaNovaQBI
//todo: this.InitInvoices();
}
}
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
{
Assembly a = Assembly.GetExecutingAssembly();
string sVersion = "AyaNova QBI version " + util.DisplayVersion(a.GetName().Version) + "\r\n";
System.Diagnostics.FileVersionInfo fileVersion = System.Diagnostics.FileVersionInfo.GetVersionInfo(a.Location);
if (fileVersion.FileBuildPart > 0)
sVersion += " (Patch " + fileVersion.FileBuildPart.ToString() + ")\r\n";
sVersion += "Copyright 2000-2022 Ground Zero Tech-Works Inc.\r\n";
MessageBox.Show(sVersion, "About");
}
private void onlineManualToolStripMenuItem_Click(object sender, EventArgs e)
{
util.OpenWebURL("https://ayanova.com/qbi/docs");
}
}
}