Reorder namespaces of pages and controls
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
using System.Web.UI.WebControls;
|
|
||||||
|
|
||||||
namespace Scrummer.Code.Controls
|
|
||||||
{
|
|
||||||
public class CButton : Button
|
|
||||||
{
|
|
||||||
public CButton()
|
|
||||||
{
|
|
||||||
CssClass = "button";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Scrummer.Code.Controls
|
|
||||||
{
|
|
||||||
public interface IValidableControl
|
|
||||||
{
|
|
||||||
bool IsValid();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using Scrummer.Code.Pages;
|
using Scrummer.Pages;
|
||||||
|
|
||||||
namespace Scrummer.Code
|
namespace Scrummer.Code
|
||||||
{
|
{
|
||||||
|
|||||||
12
Scrummer/Controls/CButton.cs
Normal file
12
Scrummer/Controls/CButton.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
namespace Scrummer.Controls
|
||||||
|
{
|
||||||
|
public class CButton : Button
|
||||||
|
{
|
||||||
|
public CButton()
|
||||||
|
{
|
||||||
|
CssClass = "button";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System.Web.UI;
|
using System.Web.UI;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
namespace Scrummer.Code.Controls
|
namespace Scrummer.Controls
|
||||||
{
|
{
|
||||||
public class CLabel : Label
|
public class CLabel : Label
|
||||||
{
|
{
|
||||||
@@ -1,11 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
using System.Web.UI;
|
using System.Web.UI;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
namespace Scrummer.Code.Controls
|
namespace Scrummer.Controls
|
||||||
{
|
{
|
||||||
public class CTextBox : TextBox, IValidableControl
|
public class CTextBox : TextBox, IValidableControl
|
||||||
{
|
{
|
||||||
@@ -3,7 +3,7 @@ using System.Text;
|
|||||||
using System.Web.UI;
|
using System.Web.UI;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
namespace Scrummer.Code.Controls
|
namespace Scrummer.Controls
|
||||||
{
|
{
|
||||||
public class ChatControl : Control, INamingContainer
|
public class ChatControl : Control, INamingContainer
|
||||||
{
|
{
|
||||||
@@ -6,7 +6,7 @@ using Scrummer.Code.BusinessLogic;
|
|||||||
using Scrummer.Code.Entities;
|
using Scrummer.Code.Entities;
|
||||||
using Scrummer.Code.JSON;
|
using Scrummer.Code.JSON;
|
||||||
|
|
||||||
namespace Scrummer.Code
|
namespace Scrummer.Controls
|
||||||
{
|
{
|
||||||
public class ChatHandler : IHttpHandler
|
public class ChatHandler : IHttpHandler
|
||||||
{
|
{
|
||||||
8
Scrummer/Controls/IValidableControl.cs
Normal file
8
Scrummer/Controls/IValidableControl.cs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
namespace Scrummer.Controls
|
||||||
|
{
|
||||||
|
public interface IValidableControl
|
||||||
|
{
|
||||||
|
bool IsValid();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,12 +1,8 @@
|
|||||||
using System;
|
using System.Web.UI;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Web;
|
|
||||||
using System.Web.UI;
|
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using Scrummer.Code.Controls;
|
using Scrummer.Controls;
|
||||||
|
|
||||||
namespace Scrummer.Code.Pages
|
namespace Scrummer.Pages
|
||||||
{
|
{
|
||||||
public class FormUtils
|
public class FormUtils
|
||||||
{
|
{
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using Scrummer.Code.Controls;
|
using Scrummer.Controls;
|
||||||
|
|
||||||
namespace Scrummer.Code.Pages
|
namespace Scrummer.Pages
|
||||||
{
|
{
|
||||||
public class FrmBoard : PageCommon
|
public class FrmBoard : PageCommon
|
||||||
{
|
{
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using Scrummer.Code.JSON;
|
using Scrummer.Code.JSON;
|
||||||
|
|
||||||
namespace Scrummer.Code.Pages
|
namespace Scrummer.Pages
|
||||||
{
|
{
|
||||||
public class FrmEcho : IHttpHandler
|
public class FrmEcho : IHttpHandler
|
||||||
{
|
{
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.UI;
|
using System.Web.UI;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using Scrummer.Code.Controls;
|
using Scrummer.Controls;
|
||||||
|
|
||||||
namespace Scrummer.Code.Pages
|
namespace Scrummer.Pages
|
||||||
{
|
{
|
||||||
public class FrmError : PageCommon
|
public class FrmError : PageCommon
|
||||||
{
|
{
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using Scrummer.Code.BusinessLogic;
|
using Scrummer.Code.BusinessLogic;
|
||||||
using Scrummer.Code.Controls;
|
using Scrummer.Controls;
|
||||||
|
|
||||||
namespace Scrummer.Code.Pages
|
namespace Scrummer.Pages
|
||||||
{
|
{
|
||||||
public class FrmLogin : PageCommon
|
public class FrmLogin : PageCommon
|
||||||
{
|
{
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using Scrummer.Code.BusinessLogic;
|
using Scrummer.Code.BusinessLogic;
|
||||||
using Scrummer.Code.Controls;
|
|
||||||
using Scrummer.Code.Entities;
|
using Scrummer.Code.Entities;
|
||||||
|
using Scrummer.Controls;
|
||||||
|
|
||||||
namespace Scrummer.Code.Pages
|
namespace Scrummer.Pages
|
||||||
{
|
{
|
||||||
public class FrmRegister : PageCommon
|
public class FrmRegister : PageCommon
|
||||||
{
|
{
|
||||||
@@ -5,10 +5,10 @@ using System.Web.UI;
|
|||||||
using System.Web.UI.HtmlControls;
|
using System.Web.UI.HtmlControls;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using Scrummer.Code.BusinessLogic;
|
using Scrummer.Code.BusinessLogic;
|
||||||
using Scrummer.Code.Controls;
|
|
||||||
using Scrummer.Code.Entities;
|
using Scrummer.Code.Entities;
|
||||||
|
using Scrummer.Controls;
|
||||||
|
|
||||||
namespace Scrummer.Code.Pages
|
namespace Scrummer.Pages
|
||||||
{
|
{
|
||||||
public class PageCommon : Page
|
public class PageCommon : Page
|
||||||
{
|
{
|
||||||
@@ -70,12 +70,12 @@
|
|||||||
<Compile Include="Code\BusinessLogic\Persistence.cs" />
|
<Compile Include="Code\BusinessLogic\Persistence.cs" />
|
||||||
<Compile Include="Code\BusinessLogic\Sessions.cs" />
|
<Compile Include="Code\BusinessLogic\Sessions.cs" />
|
||||||
<Compile Include="Code\BusinessLogic\Users.cs" />
|
<Compile Include="Code\BusinessLogic\Users.cs" />
|
||||||
<Compile Include="Code\Controls\CButton.cs" />
|
<Compile Include="Controls\CButton.cs" />
|
||||||
<Compile Include="Code\Controls\ChatControl.cs" />
|
<Compile Include="Controls\ChatControl.cs" />
|
||||||
<Compile Include="Code\Controls\ChatHandler.cs" />
|
<Compile Include="Controls\ChatHandler.cs" />
|
||||||
<Compile Include="Code\Controls\CLabel.cs" />
|
<Compile Include="Controls\CLabel.cs" />
|
||||||
<Compile Include="Code\Controls\CTextBox.cs" />
|
<Compile Include="Controls\CTextBox.cs" />
|
||||||
<Compile Include="Code\Controls\IValidableControl.cs" />
|
<Compile Include="Controls\IValidableControl.cs" />
|
||||||
<Compile Include="Code\CryptoUtils.cs" />
|
<Compile Include="Code\CryptoUtils.cs" />
|
||||||
<Compile Include="Code\Entities\Message.cs" />
|
<Compile Include="Code\Entities\Message.cs" />
|
||||||
<Compile Include="Code\Entities\OperationStatus.cs" />
|
<Compile Include="Code\Entities\OperationStatus.cs" />
|
||||||
@@ -83,18 +83,18 @@
|
|||||||
<Compile Include="Code\Entities\User.cs" />
|
<Compile Include="Code\Entities\User.cs" />
|
||||||
<Compile Include="Code\GlobalErrorHandler.cs" />
|
<Compile Include="Code\GlobalErrorHandler.cs" />
|
||||||
<Compile Include="Code\JSON\ParserContext.cs" />
|
<Compile Include="Code\JSON\ParserContext.cs" />
|
||||||
<Compile Include="Code\Pages\FormUtils.cs" />
|
<Compile Include="Pages\FormUtils.cs" />
|
||||||
<Compile Include="Code\Pages\FrmBoard.cs">
|
<Compile Include="Pages\FrmBoard.cs">
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Code\Pages\FrmEcho.cs" />
|
<Compile Include="Pages\FrmEcho.cs" />
|
||||||
<Compile Include="Code\Pages\FrmLogin.cs">
|
<Compile Include="Pages\FrmLogin.cs">
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Code\Pages\FrmRegister.cs">
|
<Compile Include="Pages\FrmRegister.cs">
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Code\Pages\PageCommon.cs">
|
<Compile Include="Pages\PageCommon.cs">
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Code\ScriptsBundler.cs" />
|
<Compile Include="Code\ScriptsBundler.cs" />
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
<Compile Include="GlobalRouter.cs" />
|
<Compile Include="GlobalRouter.cs" />
|
||||||
<Compile Include="Code\JSON\JSONParser.cs" />
|
<Compile Include="Code\JSON\JSONParser.cs" />
|
||||||
<Compile Include="Code\JSON\JSONWriter.cs" />
|
<Compile Include="Code\JSON\JSONWriter.cs" />
|
||||||
<Compile Include="Code\Pages\FrmError.cs">
|
<Compile Include="Pages\FrmError.cs">
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Globals.cs" />
|
<Compile Include="Globals.cs" />
|
||||||
|
|||||||
Reference in New Issue
Block a user