private void PrintRecipe_Click(object sender, EventArgs e) { var printer = new RecipePrinter(dataGridView3, RecipeNameBox.Text, richTextBox1.Text, recipePictureBox.ImageLocation); printer.Show(); }