using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class UsingCSS : System.Web.UI.Page
{
   /// <summary>
   /// Procedura obsługi listy rozwijanej z przekształceniem tekstu
   /// </summary>
   protected void drpParagraph_SelectedIndexChanged(object sender, EventArgs e)
   {
      if (drpParagraph.SelectedIndex > 0)
      {
         labOne.Style["text-transform"] = drpParagraph.SelectedValue;
         labTwo.Style["text-transform"] = drpParagraph.SelectedValue;
      }
   }
   /// <summary>
   /// Procedura wyboru klasy CSS
   /// </summary>
   protected void drpPull_SelectedIndexChanged(object sender, EventArgs e)
   {
      if (drpPull.SelectedIndex > 0)
         labPullQuote.CssClass = drpPull.SelectedValue; 
   }
}
