private void button2_Click(object sender, EventArgs e) { if (!renderShown) { HtmlRender form = new HtmlRender(); form.Show(); renderShown = true; } }