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

<!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>Aplikacja StockTickerConsumer</title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
      <h1>Konsumet usugi sieciowej StockTicker</h1>
      <br/>
      Nazwa firmy:&nbsp;&nbsp;&nbsp;
      <asp:textBox id="txtFirmNameStockSymbol" runat="server"
         OnTextChanged="txtFirmNameStockSymbol_TextChanged"
         width="120"
         text="Podaj symbol giedowy."
         AutoPostBack="true" />
      &nbsp;&nbsp;&nbsp;
      <asp:label id="lblFirmName" runat="server"/>
      <br/>
      Cena waloru:&nbsp;&nbsp;&nbsp;
      <asp:textBox id="txtPriceStockSymbol" runat="server"
         OnTextChanged="txtPriceStockSymbol_TextChanged"
         width="120"
         text="Podaj giedow cen waloru."
       AutoPostBack="true"/>
      &nbsp;&nbsp;&nbsp;
      <asp:label id="lblStockPrice" runat="server"/>
      <br/>
      Giedowa nazwa firmy:&nbsp;&nbsp;&nbsp;
      <asp:textBox id="txtStockExchange" runat="server"
         width="120" />
      &nbsp;&nbsp;&nbsp;
      <asp:button id="btnStockExchangeSet" runat="server"
         text="Ustaw"
         onClick="btnStockExchangeSet_Click" />
      &nbsp;&nbsp;&nbsp;
      <asp:button id="btnStockExchangeGet" runat="server"
         text="Pobierz"
         onClick="btnStockExchangeGet_Click" />
      <br/>
      Historia kursu waloru:&nbsp;&nbsp;&nbsp;
      <asp:textBox id="txtHistoryStockSymbol" runat="server"
         width="120"
         text="Podaj symbol giedowy." />
      &nbsp;&nbsp;&nbsp;
      <asp:button id="btnGetHistory" runat="server"
         text="Pobierz histori"
         onClick="btnGetHistory_Click" />
      <br/>
      <asp:Panel id="pnlHistory" runat="Server" visible="false">
         <br/>
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         Nazwa waloru:&nbsp;&nbsp;&nbsp;
         <asp:label id="lblHistoryStockName" runat="server"/>
         <br/>
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         Cena waloru:&nbsp;&nbsp;&nbsp;
         <asp:label id="lblHistoryStockPrice" runat="server"/>
         <br/>
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         Transakcja 1:&nbsp;&nbsp;&nbsp;
         <asp:label id="lblHistoryDate1" runat="server"/>
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         <asp:label id="lblHistoryPrice1" runat="server"/>
         <br/>
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         Transakcja 2:&nbsp;&nbsp;&nbsp;
         <asp:label id="lblHistoryDate2" runat="server"/>
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         <asp:label id="lblHistoryPrice2" runat="server"/>
      </asp:Panel>
   </div>
   </form>
</body>
</html>
