gui: add event to handle EndUpdating
This commit is contained in:
3
Pilz.Updating.Client.Gui/Delegates.cs
Normal file
3
Pilz.Updating.Client.Gui/Delegates.cs
Normal file
@@ -0,0 +1,3 @@
|
||||
namespace Pilz.Updating.Client.Gui;
|
||||
|
||||
public delegate void UpdateEndedEventHandler(object sender, UpdateEndedEventArgs e);
|
||||
6
Pilz.Updating.Client.Gui/UpdateEndedEventArgs.cs
Normal file
6
Pilz.Updating.Client.Gui/UpdateEndedEventArgs.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Pilz.Updating.Client.Gui;
|
||||
|
||||
public class UpdateEndedEventArgs(bool success) : EventArgs
|
||||
{
|
||||
public bool Success { get; } = success;
|
||||
}
|
||||
@@ -4,7 +4,7 @@ using System.Diagnostics;
|
||||
namespace Pilz.Updating.Client.Gui
|
||||
{
|
||||
[DesignerGenerated()]
|
||||
public partial class UpdateWindow
|
||||
internal partial class UpdateWindow
|
||||
{
|
||||
|
||||
// Das Formular überschreibt den Löschvorgang, um die Komponentenliste zu bereinigen.
|
||||
|
||||
@@ -4,7 +4,7 @@ using Telerik.WinControls;
|
||||
|
||||
namespace Pilz.Updating.Client.Gui;
|
||||
|
||||
public partial class UpdateWindow : Telerik.WinControls.UI.RadForm
|
||||
internal partial class UpdateWindow : Telerik.WinControls.UI.RadForm
|
||||
{
|
||||
// P r o p e r t i e s
|
||||
|
||||
|
||||
Reference in New Issue
Block a user