// print button which gets the string of the block // and places it on the screen private void printBlock_Click(object sender, EventArgs e) { int index = 0; if (Int32.TryParse(printOutput.Text, out index)) { // getting the info to print from the mini text box to the // actual screen. richTextBox1.Text = blockchain.blockToString(index); } }