Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<%@ Register Src="~/MyChild.ascx" TagName="MyChild" TagPrefix="uc1" %>
<%@ Register Src="~/MyParent.ascx" TagName="MyParent" TagPrefix="uc1" %>
<uc1:MyChild runat="server" Imageurl="~/App_Themes/Black/Images/button-login.gif" skinid="login" />
<uc1:MyParent runat="server" Imageurl="~/App_Themes/Black/Images/button-login.gif" skinid="login" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

View File

@@ -0,0 +1,8 @@
<%@ Page Language="C#" CodeFile="Default.aspx.cs" Inherits="MyDefault"
MasterPageFile="~/Default.master" Title="Your Name Here | Home" Theme ="Black" %>
<%@ Register Src="MyParent.ascx" TagName="MyParent" TagPrefix="uc1" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="Main">
<uc1:MyParent id="Parent1" runat="server" skinid="login"/>
</asp:Content>

View File

@@ -0,0 +1,19 @@
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Diagnostics;
public partial class MyDefault : System.Web.UI.Page
{
protected void Page_Load (object sender, EventArgs e)
{
}
protected override void OnInit (EventArgs e)
{
Debug.WriteLine ("page.OnInit");
base.OnInit (e);
}
}

View File

@@ -0,0 +1,18 @@
<%@ Master Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:contentplaceholder id="Main" runat="server" />
</form>
</body>
</html>

View File

@@ -0,0 +1,2 @@
<%@ Control Language="C#" CodeFile="MyChild.ascx.cs" Inherits="MyChild" %>
<asp:Image ID="Image1" runat="server" />

View File

@@ -0,0 +1,29 @@
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Diagnostics;
[Themeable (true)]
public partial class MyChild : System.Web.UI.UserControl
{
protected override void OnInit (EventArgs e)
{
Debug.WriteLine ("child.OnInit");
base.OnInit (e);
}
[Themeable (true)]
public string ImageUrl
{
get
{
return ((Image) Controls[0]).ImageUrl;
}
set
{
Debug.WriteLine ("child.set_ImageUrl");
((Image) Controls[0]).ImageUrl = value;
}
}
}

View File

@@ -0,0 +1,3 @@
<%@ Control Language="C#" CodeFile="MyParent.ascx.cs" Inherits="MyParent" %>
<%@ Register Src="MyChild.ascx" TagName="MyChild" TagPrefix="uc1" %>
<uc1:MyChild id="Child1" runat="server" skinid="login"/>

View File

@@ -0,0 +1,28 @@
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Diagnostics;
[Themeable (true)]
public partial class MyParent : System.Web.UI.UserControl
{
protected override void OnInit (EventArgs e)
{
Debug.WriteLine ("parent.OnInit");
base.OnInit (e);
}
[Themeable (true)]
public string ImageUrl
{
get
{
return null;
}
set
{
Debug.WriteLine ("parent.set_ImageUrl");
}
}
}

View File

@@ -0,0 +1,69 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9804A80F-B4EA-4E4D-9653-8AF5196B856E}</ProjectGuid>
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<RootNamespace>PageLinks</RootNamespace>
<AssemblyName>PageLinks</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Content Include="App_Themes\Black\Images\button-login.gif" />
<Content Include="MyChild.ascx" />
<Content Include="Default.aspx" />
<Content Include="MyParent.ascx" />
</ItemGroup>
<ItemGroup>
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="MyChild.ascx.cs">
<DependentUpon>MyChild.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="MyParent.ascx.cs">
<DependentUpon>MyParent.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App_Themes\Black\Default.skin" />
<None Include="Default.master" />
<None Include="Web.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PageLinks", "PageLinks.csproj", "{9804A80F-B4EA-4E4D-9653-8AF5196B856E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9804A80F-B4EA-4E4D-9653-8AF5196B856E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9804A80F-B4EA-4E4D-9653-8AF5196B856E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9804A80F-B4EA-4E4D-9653-8AF5196B856E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9804A80F-B4EA-4E4D-9653-8AF5196B856E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

View File

@@ -0,0 +1,6 @@
<asp:Button runat="server"
SkinID=""
BackColor="Green"
ForeColor="White"
Font-Name="Arial"
Font-Size="9px" />

View File

@@ -0,0 +1,19 @@
<asp:Button runat="server"
SkinID="Red"
BackColor="Red"
ForeColor="White"
Font-Name="Arial"
Font-Size="9px" />
<asp:Button runat="server"
SkinID="Green"
BackColor="Green"
ForeColor="White"
Font-Name="Arial"
Font-Size="9px" />
<asp:Button runat="server"
BackColor="White"
ForeColor="Black"
Font-Name="Arial"
Font-Size="15px" />

View File

@@ -0,0 +1,6 @@
<asp:Button runat="server"
SkinID=""
BackColor="Red"
ForeColor="White"
Font-Name="Arial"
Font-Size="9px" />

View File

@@ -0,0 +1,19 @@
<%@ Page Language="C#" %>
<script runat="server">
protected override void OnPreInit (EventArgs e)
{
string t = Context.Request["theme"];
if (t == null)
t = "MyTheme";
Console.WriteLine ("setting theme");
Theme = t;
base.OnPreInit (e);
}
</script>
<form runat="server">
<asp:Button runat="server" id="button1" Text="Button"/>
<asp:Button runat="server" id="button2" Text="Button"/>
<asp:Button runat="server" id="button3" Text="Button"/>
</form>

View File

@@ -0,0 +1,6 @@
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
</configuration>

View File

@@ -0,0 +1,6 @@
<asp:Button runat="server"
SkinID=""
BackColor="Green"
ForeColor="White"
Font-Name="Arial"
Font-Size="9px" />

View File

@@ -0,0 +1,6 @@
<asp:Label runat="server"
SkinID=""
BackColor="Green"
ForeColor="White"
Font-Name="Arial"
Font-Size="9px" />

View File

@@ -0,0 +1,19 @@
<asp:Button runat="server"
SkinID="Red"
BackColor="Red"
ForeColor="White"
Font-Name="Arial"
Font-Size="9px" />
<asp:Button runat="server"
SkinID="Green"
BackColor="Green"
ForeColor="White"
Font-Name="Arial"
Font-Size="9px" />
<asp:Button runat="server"
BackColor="White"
ForeColor="Black"
Font-Name="Arial"
Font-Size="15px" />

Some files were not shown because too many files have changed in this diff Show More