Skip to content

Commit

Permalink
The code responsible for responding to the close button is commented …
Browse files Browse the repository at this point in the history
…out. The file name for auto-update has also been changed.
  • Loading branch information
KagamineP committed Aug 16, 2019
1 parent 54aca97 commit 41e56fb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions TPLRAP/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public void InitializeChromium()
#endregion


#region Form closing
protected override void OnFormClosing(FormClosingEventArgs e)
#region Response to clicking the close button is DISABLED. If you need this function, uncomment it.
/* protected override void OnFormClosing(FormClosingEventArgs e)
{
if (CloseCancel()==false)
{
Expand All @@ -61,13 +61,14 @@ public static bool CloseCancel()
else
return false;
}

*/
#endregion


#region AutoUpdater
private void FrmMain_Load(object sender, EventArgs e)
{
AutoUpdater.Start("http://kagaminep.ru/tplrap/updates/AutoUpdaterTest.xml");
AutoUpdater.Start("http://kagaminep.ru/tplrap/updates/tplrap.xml");
}
#endregion
}
Expand Down

0 comments on commit 41e56fb

Please sign in to comment.