示例#1
0
 protected void Checked(object sender, EventArgs e)
 {
     //System.Diagnostics.Debug.WriteLine(((CheckBox)sender).Checked);
     if (((CheckBox)sender).Checked)
     {
         Auxiliar.PlayedOrNotPlayed(true, Int32.Parse(Request.QueryString["id"]));
     }
     else
     {
         Auxiliar.PlayedOrNotPlayed(false, Int32.Parse(Request.QueryString["id"]));
     }
 }
示例#2
0
 protected void Played(object sender, EventArgs e)
 {
     System.Diagnostics.Debug.WriteLine(RadioButton1.Checked);
     if (RadioButton1.Checked == true)
     {
         Auxiliar.PlayedOrNotPlayed(true, Int32.Parse(Request.QueryString["id"]));
     }
     else
     {
         Auxiliar.PlayedOrNotPlayed(false, Int32.Parse(Request.QueryString["id"]));
         Rating1.CurrentRating = 0;
     }
 }