finish migration
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
using Pilz.UI.Telerik.Dialogs;
|
||||
using Pilz.Updating.Client.Gui.LangRes;
|
||||
using Pilz.Updating.Client.GUI;
|
||||
using Pilz.Updating.GUIBase;
|
||||
using System.ComponentModel;
|
||||
using Telerik.WinControls;
|
||||
|
||||
namespace Pilz.Updating.Client.Gui;
|
||||
@@ -45,6 +43,7 @@ public class UpdateClientGui
|
||||
|
||||
private void EndUpdating()
|
||||
{
|
||||
curProgressDialog.AllowClose = true;
|
||||
curProgressDialog?.Invoke(curProgressDialog.Close);
|
||||
}
|
||||
|
||||
@@ -107,13 +106,17 @@ public class UpdateClientGui
|
||||
{
|
||||
parentForm.Invoke(() =>
|
||||
{
|
||||
curProgressDialog = new UpdateWindow();
|
||||
curProgressDialog = new UpdateWindow(updateClient.ApplicationName);
|
||||
curProgressDialog.SetStatus(UpdateStatus.Waiting);
|
||||
curProgressDialog.Show(parentForm);
|
||||
});
|
||||
}
|
||||
|
||||
curProgressDialog?.Invoke(() => curProgressDialog.SetStatus(status));
|
||||
curProgressDialog?.Invoke(() =>
|
||||
{
|
||||
curProgressDialog.SetStatus(status);
|
||||
curProgressDialog.Show(); // Might be hidden between update check and installation.
|
||||
});
|
||||
}
|
||||
|
||||
private bool ShowUpdatesAvailable(UpdatePackageInfo pkg)
|
||||
|
||||
Reference in New Issue
Block a user