added updater
This commit is contained in:
parent
8e8df13b19
commit
144172a752
|
@ -89,6 +89,7 @@
|
|||
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "MD5 Generator v1.0 | © 2019-2020 by mk0.at";
|
||||
this.Load += new System.EventHandler(this.Main_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
using System.IO;
|
||||
using System.Security.Cryptography;
|
||||
using System.Windows.Forms;
|
||||
using Mk0.Software.OnlineUpdater;
|
||||
|
||||
namespace Mk0.Software.MD5Generator
|
||||
{
|
||||
|
@ -39,5 +40,11 @@ namespace Mk0.Software.MD5Generator
|
|||
Clipboard.SetText(textBoxMD5.Text);
|
||||
}
|
||||
}
|
||||
|
||||
private void Main_Load(object sender, EventArgs e)
|
||||
{
|
||||
AutoUpdater.ShowSkipButton = false;
|
||||
AutoUpdater.Start("https://software.mk0.at/update/md5generator.xml");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,9 @@
|
|||
<ApplicationIcon>md5.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="OnlineUpdater">
|
||||
<HintPath>..\..\Mk0.Software.OnlineUpdater\Mk0.Software.OnlineUpdater\bin\Debug\OnlineUpdater.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
|
|
Loading…
Reference in New Issue