Rename controls

This commit is contained in:
2018-03-17 20:37:48 +01:00
parent 954c34b6e0
commit 2ce6891569
6 changed files with 16 additions and 14 deletions

View File

@@ -7,11 +7,11 @@ using VAR.Json;
namespace VAR.Focus.Web.Controls
{
public class CardBoardControl : Control, INamingContainer
public class CtrCardBoard : Control, INamingContainer
{
#region Declarations
private string _serviceUrl = "CardBoardHandler";
private string _serviceUrl = nameof(HndCardBoard);
private int _idBoard = 0;
@@ -71,11 +71,13 @@ namespace VAR.Focus.Web.Controls
set { _timeMoveAnimation = value; }
}
public string ServiceUrl1 { get => _serviceUrl; set => _serviceUrl = value; }
#endregion Properties
#region Control Life cycle
public CardBoardControl()
public CtrCardBoard()
{
Init += ChatControl_Init;
}

View File

@@ -7,11 +7,11 @@ using VAR.Json;
namespace VAR.Focus.Web.Controls
{
public class ChatControl : Control, INamingContainer
public class CtrChat : Control, INamingContainer
{
#region Declarations
private string _serviceUrl = "ChatHandler";
private string _serviceUrl = nameof(HndChat);
private string _idMessageBoard = null;
@@ -84,7 +84,7 @@ namespace VAR.Focus.Web.Controls
#region Control Life cycle
public ChatControl()
public CtrChat()
{
Init += ChatControl_Init;
}

View File

@@ -9,7 +9,7 @@ using VAR.Focus.Web.Code;
namespace VAR.Focus.Web.Controls
{
public class CardBoardHandler : IHttpHandler
public class HndCardBoard : IHttpHandler
{
#region Declarations

View File

@@ -9,7 +9,7 @@ using VAR.Focus.Web.Code;
namespace VAR.Focus.Web.Controls
{
public class ChatHandler : IHttpHandler
public class HndChat : IHttpHandler
{
#region Declarations