CP-23967: change two superclass to abstract class

Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
This commit is contained in:
Ji Jiang 2017-08-25 17:23:56 +01:00
parent 30400790c1
commit 41cec6e42b
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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()
{