mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CP-23967: change two superclass to abstract class
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
This commit is contained in:
parent
30400790c1
commit
41cec6e42b
@ -41,7 +41,7 @@ using XenAPI;
|
||||
|
||||
namespace XenAdmin.Controls.DataGridViewEx
|
||||
{
|
||||
public partial class CollapsingPoolHostDataGridView : DataGridViewEx
|
||||
public abstract partial class CollapsingPoolHostDataGridView : DataGridViewEx
|
||||
{
|
||||
public event EventHandler CheckBoxClicked;
|
||||
|
||||
@ -91,10 +91,9 @@ namespace XenAdmin.Controls.DataGridViewEx
|
||||
{}
|
||||
|
||||
/// <summary>
|
||||
/// Hook in order that sorting may be added for additional columns rather than those
|
||||
/// provided by the base class
|
||||
/// Subclass needs to implement the sorter
|
||||
/// </summary>
|
||||
protected virtual void SortColumns() { }
|
||||
protected abstract void SortColumns();
|
||||
|
||||
/// <summary>
|
||||
/// Sort the rows but then remove and read the rows that should be expandable to be placed back under
|
||||
|
@ -43,7 +43,7 @@ using System.Collections;
|
||||
namespace XenAdmin.Controls.DataGridViewEx
|
||||
{
|
||||
[ToolboxBitmap(typeof(DataGridView))]
|
||||
public partial class PoolHostDataGridViewOneCheckbox : CollapsingPoolHostDataGridView
|
||||
public abstract partial class PoolHostDataGridViewOneCheckbox : CollapsingPoolHostDataGridView
|
||||
{
|
||||
public PoolHostDataGridViewOneCheckbox()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user