/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

anonymous

0

private void SetLabelText()
{
    Label1.Text = dateFirst.ToShortDateString();
            Label2.Text = dateFirst.AddDays(1).ToShortDateString();
            Label3.Text = dateFirst.AddDays(2).ToShortDateString();
            Label4.Text = dateFirst.AddDays(3).ToShortDateString();
            Label5.Text = dateFirst.AddDays(4).ToShortDateString(); 
            Label6.Text = dateFirst.AddDays(5).ToShortDateString();
            Label7.Text = dateFirst.AddDays(6).ToShortDateString();
            Label8.Text = dateFirst.AddDays(7).ToShortDateString();
            Label9.Text = dateFirst.AddDays(8).ToShortDateString();
            Label10.Text = dateFirst.AddDays(9).ToShortDateString();
            Label11.Text = dateFirst.AddDays(10).ToShortDateString();
            Label12.Text = dateFirst.AddDays(11).ToShortDateString();
            Label13.Text = dateFirst.AddDays(12).ToShortDateString();
            Label14.Text = dateFirst.AddDays(13).ToShortDateString();
            Label15.Text = dateFirst.AddDays(14).ToShortDateString();
            Label16.Text = dateFirst.AddDays(15).ToShortDateString();
            Label17.Text = dateFirst.AddDays(16).ToShortDateString();
            Label18.Text = dateFirst.AddDays(17).ToShortDateString();
            Label19.Text = dateFirst.AddDays(18).ToShortDateString();
            Label20.Text = dateFirst.AddDays(19).ToShortDateString();
            Label21.Text = dateFirst.AddDays(20).ToShortDateString();
            Label22.Text = dateFirst.AddDays(21).ToShortDateString();
            Label23.Text = dateFirst.AddDays(22).ToShortDateString();
            Label24.Text = dateFirst.AddDays(23).ToShortDateString();
            Label25.Text = dateFirst.AddDays(24).ToShortDateString();
            Label26.Text = dateFirst.AddDays(25).ToShortDateString();
            Label27.Text = dateFirst.AddDays(26).ToShortDateString();
            Label28.Text = dateFirst.AddDays(27).ToShortDateString();
            Label29.Text = dateFirst.AddDays(28).ToShortDateString();
            Label30.Text = dateFirst.AddDays(29).ToShortDateString();
            Label31.Text = dateFirst.AddDays(30).ToShortDateString()

}

private void setLabelVisibility()
{

             xrLabel1.Visible = Label1.Visible = (iCounter >= 1);
            xrLabel2.Visible = Label2.Visible = (iCounter >= 2);
            xrLabel3.Visible = Label3.Visible = (iCounter >= 3);
            xrLabel4.Visible = Label4.Visible = (iCounter >= 4);
            xrLabel5.Visible = Label5.Visible = (iCounter >= 5);
            xrLabel6.Visible = Label6.Visible = (iCounter >= 6);
            xrLabel7.Visible = Label7.Visible = (iCounter >= 7);
            xrLabel8.Visible = Label8.Visible = (iCounter >= 8);
            xrLabel9.Visible = Label9.Visible = (iCounter >= 9);
            xrLabel10.Visible = Label10.Visible = (iCounter >= 10);
            xrLabel11.Visible = Label11.Visible = (iCounter >= 11);
            xrLabel12.Visible = Label12.Visible = (iCounter >= 12);
            xrLabel13.Visible = Label13.Visible = (iCounter >= 13);
            xrLabel14.Visible = Label14.Visible = (iCounter >= 14);
            xrLabel15.Visible = Label15.Visible = (iCounter >= 15);
            xrLabel16.Visible = Label16.Visible = (iCounter >= 16);
            xrLabel17.Visible = Label17.Visible = (iCounter >= 17);
            xrLabel18.Visible = Label18.Visible = (iCounter >= 18);
            xrLabel19.Visible = Label19.Visible = (iCounter >= 19);
            xrLabel20.Visible = Label20.Visible = (iCounter >= 20);
            xrLabel21.Visible = Label21.Visible = (iCounter >= 21);
            xrLabel22.Visible = Label22.Visible = (iCounter >= 22);
            xrLabel23.Visible = Label23.Visible = (iCounter >= 23);
            xrLabel24.Visible = Label24.Visible = (iCounter >= 24);
            xrLabel25.Visible = Label25.Visible = (iCounter >= 25);
            xrLabel26.Visible = Label26.Visible = (iCounter >= 26);
            xrLabel27.Visible = Label27.Visible = (iCounter >= 27);
            xrLabel28.Visible = Label28.Visible = (iCounter >= 28);
            xrLabel29.Visible = Label29.Visible = (iCounter >= 29);
            xrLabel30.Visible = Label30.Visible = (iCounter >= 30);
            xrLabel31.Visible = Label31.Visible = (iCounter >= 31);
}
 

Browse all snippets