From 6f2ae30e7ecb95448f504dbbf0a805e7a610037f Mon Sep 17 00:00:00 2001 From: Greg Edwards Date: Sat, 7 Nov 2015 19:56:17 -0500 Subject: [PATCH] Added DnsAddress user control. --- web/Default.aspx | 1 + web/controls/DnsAddress.ascx | 3 +++ web/controls/DnsAddress.ascx.cs | 17 +++++++++++++++++ web/controls/DnsAddress.ascx.designer.cs | 17 +++++++++++++++++ web/masters/MasterPage.master | 5 +++-- web/web.csproj | 1 + 6 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 web/controls/DnsAddress.ascx create mode 100644 web/controls/DnsAddress.ascx.cs create mode 100644 web/controls/DnsAddress.ascx.designer.cs diff --git a/web/Default.aspx b/web/Default.aspx index 7fd97e58..ce56f964 100644 --- a/web/Default.aspx +++ b/web/Default.aspx @@ -1,6 +1,7 @@ <%@ Page Title="Pokémon Classic Network" Language="C#" MasterPageFile="~/masters/ThreeColumn.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PkmnFoundations.GTS.Default" %> <%@ Register TagPrefix="pf" Namespace="PkmnFoundations.Web" Assembly="PkmnFoundations.Web" %> <%@ Register TagPrefix="pf" TagName="LabelTextBox" Src="~/controls/LabelTextBox.ascx" %> +<%@ Register TagPrefix="pf" TagName="DnsAddress" Src="~/controls/DnsAddress.ascx" %> diff --git a/web/controls/DnsAddress.ascx b/web/controls/DnsAddress.ascx new file mode 100644 index 00000000..5814be86 --- /dev/null +++ b/web/controls/DnsAddress.ascx @@ -0,0 +1,3 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DnsAddress.ascx.cs" Inherits="PkmnFoundations.Web.controls.DnsAddress" %> + +104.131.93.87 \ No newline at end of file diff --git a/web/controls/DnsAddress.ascx.cs b/web/controls/DnsAddress.ascx.cs new file mode 100644 index 00000000..b32b3fa8 --- /dev/null +++ b/web/controls/DnsAddress.ascx.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace PkmnFoundations.Web.controls +{ + public partial class DnsAddress : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file diff --git a/web/controls/DnsAddress.ascx.designer.cs b/web/controls/DnsAddress.ascx.designer.cs new file mode 100644 index 00000000..c9cfc2db --- /dev/null +++ b/web/controls/DnsAddress.ascx.designer.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace PkmnFoundations.Web.controls +{ + + + public partial class DnsAddress + { + } +} diff --git a/web/masters/MasterPage.master b/web/masters/MasterPage.master index f5436b64..9e084b25 100644 --- a/web/masters/MasterPage.master +++ b/web/masters/MasterPage.master @@ -1,5 +1,6 @@ <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="MasterPage.master.cs" Inherits="PkmnFoundations.GTS.MasterPage" %> <%@ Register TagPrefix="pf" Namespace="PkmnFoundations.Web" Assembly="PkmnFoundations.Web" %> +<%@ Register TagPrefix="pf" TagName="DnsAddress" Src="~/controls/DnsAddress.ascx" %> @@ -30,13 +31,13 @@
- Custom servers for classic Pokémon + Unofficial server for classic Pokémon
  • Powered by AltWFC
  • -
  • DNS: 104.131.93.87
  • +
  • DNS:
  • Pokémon available for offer.
  • diff --git a/web/web.csproj b/web/web.csproj index 2786a7a0..8d894e52 100644 --- a/web/web.csproj +++ b/web/web.csproj @@ -70,6 +70,7 @@ +