Rename controls
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -9,7 +9,7 @@ using VAR.Focus.Web.Code;
|
||||
|
||||
namespace VAR.Focus.Web.Controls
|
||||
{
|
||||
public class CardBoardHandler : IHttpHandler
|
||||
public class HndCardBoard : IHttpHandler
|
||||
{
|
||||
#region Declarations
|
||||
|
||||
@@ -9,7 +9,7 @@ using VAR.Focus.Web.Code;
|
||||
|
||||
namespace VAR.Focus.Web.Controls
|
||||
{
|
||||
public class ChatHandler : IHttpHandler
|
||||
public class HndChat : IHttpHandler
|
||||
{
|
||||
#region Declarations
|
||||
|
||||
@@ -172,7 +172,7 @@ namespace VAR.Focus.Web.Pages
|
||||
|
||||
Title = board.Title;
|
||||
|
||||
CardBoardControl cardBoardControl = new CardBoardControl
|
||||
CtrCardBoard cardBoardControl = new CtrCardBoard
|
||||
{
|
||||
ID = "ctrCardBoard",
|
||||
IDBoard = board.IDBoard,
|
||||
@@ -180,7 +180,7 @@ namespace VAR.Focus.Web.Pages
|
||||
};
|
||||
Controls.Add(cardBoardControl);
|
||||
|
||||
ChatControl chatControl = new ChatControl
|
||||
CtrChat chatControl = new CtrChat
|
||||
{
|
||||
ID = "ctrChat",
|
||||
IDMessageBoard = string.Format("CardBoard_{0}", board.IDBoard),
|
||||
|
||||
@@ -83,11 +83,11 @@
|
||||
<Compile Include="Code\ExtensionMethods.cs" />
|
||||
<Compile Include="Code\StaticFileHelper.cs" />
|
||||
<Compile Include="Code\WebSessions.cs" />
|
||||
<Compile Include="Controls\CardBoardControl.cs" />
|
||||
<Compile Include="Controls\CardBoardHandler.cs" />
|
||||
<Compile Include="Controls\CtrCardBoard.cs" />
|
||||
<Compile Include="Controls\HndCardBoard.cs" />
|
||||
<Compile Include="Controls\CButton.cs" />
|
||||
<Compile Include="Controls\ChatControl.cs" />
|
||||
<Compile Include="Controls\ChatHandler.cs" />
|
||||
<Compile Include="Controls\CtrChat.cs" />
|
||||
<Compile Include="Controls\HndChat.cs" />
|
||||
<Compile Include="Controls\CLabel.cs" />
|
||||
<Compile Include="Controls\CTextBox.cs" />
|
||||
<Compile Include="Controls\IValidableControl.cs" />
|
||||
|
||||
Reference in New Issue
Block a user