<%@ Page Language="C#"
   AutoEventWireup="true"
   CodeFile="Default.aspx.cs"
   Inherits="_Default" %>

<%@Register
   tagprefix="OReilly"
   Tagname="copyright"
   src="copyright.ascx" %>

<%@Register
   tagprefix="OReilly"
   Tagname="customerDL"
   src="CustomerDataList.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
   <title>Kontrolki uytkownika</title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
      <asp:Table ID="table1" runat="server">
         <asp:TableRow>
            <asp:TableCell ColumnSpan="3">
               <asp:Label ID="Label1" runat="server" Text="Witaj" /> &nbsp;
               <asp:Button ID="Button1" runat="server"
               OnClick="Button1_Click" Text="Zmiana" />
            </asp:TableCell>
         </asp:TableRow>
         <asp:TableRow>
            <asp:TableCell>
               <asp:Label ID="Label2" runat="server" Text="Kolumny" />
               &nbsp;
               <asp:TextBox ID="txtNumberColumns" runat="server"
                  width="25"/>
            </asp:TableCell>
            <asp:TableCell>
               <asp:Label ID="Label3" runat="server" Text="Kierunek" />
               &nbsp;
                  <asp:DropDownList ID="ddlDirection" runat="server" >
                     <asp:ListItem Value="H">Poziomy</asp:ListItem>
                     <asp:ListItem Value="V">Pionowy</asp:ListItem>
                  </asp:DropDownList>
            </asp:TableCell>
            <asp:TableCell>
               <asp:Button ID="btnSetProperties" runat="server"
                  Text="Ustaw waciwoci"
                  OnClick="btnSetProperties_OnClick" />
            </asp:TableCell>
         </asp:TableRow>
         <asp:TableRow>
            <asp:TableCell ColumnSpan="3">
               <OReilly:customerDL ID="custDL1" runat="server" />
            </asp:TableCell>
         </asp:TableRow>
      </asp:Table>
   </div>
   </form>
   <OReilly:copyright ID="Copyright1" runat="server" />

</body>
</html>
