private void buttonCubed_Click(object sender, EventArgs e) { double num = this.InputValue; this.textBox.Text = Convert.ToString(num * num * num); this.inputstatus = false; }