<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" Culture="auto:en-US" UICulture="auto"%>

<!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" >
<head runat="server">
    <title>Kolory</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center">
        <h1><asp:Label ID="Label4" runat="server" Text="<%$ Resources:Resource, Naglowek %>"></asp:Label></h1>
        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
            <asp:ListItem></asp:ListItem>
            <asp:ListItem Value="pl-PL">Polski</asp:ListItem>
            <asp:ListItem Value="en-US">English</asp:ListItem>
        </asp:DropDownList><br />
        <br />
        <asp:Panel ID="Panel1" runat="server" Height="200px" Width="300px" BackColor="Black">
        </asp:Panel>
        <br />
        <asp:Label ID="Label1" runat="server" Text="Czerwony(R):" meta:resourceKey="Label1"></asp:Label>
        <asp:TextBox ID="TextBox1" runat="server" Width="100px" OnTextChanged="TextBox1_TextChanged" AutoPostBack="True" CausesValidation="True">0</asp:TextBox>&nbsp;<asp:Label
            ID="Label2" runat="server" Text="Zielony(G):" meta:resourceKey="Label2"></asp:Label>
        <asp:TextBox ID="TextBox2" runat="server" Width="100px" AutoPostBack="True" OnTextChanged="TextBox1_TextChanged" CausesValidation="True">0</asp:TextBox>&nbsp;<asp:Label
            ID="Label3" runat="server" Text="Niebieski(B):" meta:resourceKey="Label3"></asp:Label>
        <asp:TextBox ID="TextBox3" runat="server" Width="100px" AutoPostBack="True" OnTextChanged="TextBox1_TextChanged" CausesValidation="True">0</asp:TextBox><br />
        <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="TextBox1"
            ErrorMessage="Wartość R spoza dopuszczalnego zakresu" MaximumValue="255" MinimumValue="0" Type="Integer"></asp:RangeValidator><br />
        &nbsp;
        <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="TextBox2"
            ErrorMessage="Wartość G spoza dopuszczalnego zakresu" MaximumValue="255" MinimumValue="0" Type="Integer"></asp:RangeValidator><br />
        &nbsp;
        <asp:RangeValidator ID="RangeValidator3" runat="server" ControlToValidate="TextBox3"
            ErrorMessage="Wartość B spoza dopuszczalnego zakresu" MaximumValue="255" MinimumValue="0" Type="Integer"></asp:RangeValidator>
        <br />
        <br />
        <asp:AdRotator ID="AdRotator1" runat="server" AdvertisementFile="~/banners.xml" />
    </div>
    </form>
</body>
</html>
