private void thisLevel()
        {
            int    tempNumber = 0;
            string tempPrefix = "";

            RenumberBlockParking.getLevelLastNumber(false, out tempPrefix, out tempNumber);

            txtPrefix.Text = tempPrefix;
            txtNumber.Text = (tempNumber + 1).ToString();
        }
        private void btnSelect_Click(object sender, RoutedEventArgs e)
        {
            if (txtPrefix.Text != null)
            {
                prefix = txtPrefix.Text;
            }
            int testInt;

            if (int.TryParse(txtNumber.Text, out testInt) == false)
            {
                MessageBox.Show(Properties.Messages.RenumberParking_IntegerNumber);
                return;
            }
            else
            {
                this.Close();
                number = (int.Parse(txtNumber.Text) - 1).ToString();
                RenumberBlockParking.renameBlock(prefix, number, true);
            }
        }
 private void btnMultipleClear_Click(object sender, RoutedEventArgs e)
 {
     this.Close();
     RenumberBlockParking.RenumCleanSelected(prefix, number);
 }