mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-27 02:56:01 +01:00
In preparation for [CA-112247], change an abstract base class into non-abstract, because there is a Designer bug that can't load controls derived from ABCs.
This commit is contained in:
parent
cf4d7a55a3
commit
f6cfb5bd7e
@ -44,7 +44,7 @@ using XenAPI;
|
||||
|
||||
namespace XenAdmin.Controls
|
||||
{
|
||||
public abstract class HaNtolControl : UserControl
|
||||
public class HaNtolControl : UserControl
|
||||
{
|
||||
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
@ -243,9 +243,11 @@ namespace XenAdmin.Controls
|
||||
log.Debug("Thread exiting");
|
||||
}
|
||||
|
||||
protected abstract void LoadCalculatingMode();
|
||||
protected abstract void LoadCalculationSucceededMode(decimal value);
|
||||
protected abstract void LoadCalculationFailedMode();
|
||||
// These functions should be abstract, but the Designer can't display
|
||||
// a control that is derived from an abstract base class.
|
||||
protected virtual void LoadCalculatingMode() { }
|
||||
protected virtual void LoadCalculationSucceededMode(decimal value) { }
|
||||
protected virtual void LoadCalculationFailedMode() { }
|
||||
|
||||
internal void StartNtolUpdate()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user