private void rbButton_Click(object sender, EventArgs e) { if (rb == null) { rb = new ProjectSDL2.Form1(); rb.FormClosed += rbClose; rb.Show(); } }
private void rbClose(object sender, EventArgs e) { rb = null; }