private void button1_Click(object sender, EventArgs e) { if (bnbox == null) { if (enbox != null) { enbox.Close(); enbox = null; } bnbox = new BNBox(); } else if (bnbox != null) { bnbox.Close(); bnbox = null; } }
private void button2_Click_1(object sender, EventArgs e) { if (enbox == null) { if (bnbox != null) { bnbox.Close(); bnbox = null; } enbox = new english.BNBox(); } else if (enbox != null) { enbox.Close(); enbox = null; } }