private void cmdClose_Click(object sender, EventArgs e) { if (frmListing != null) { frmListing.Close(); frmListing = null; } }
private void cmdShowList_Click(object sender, EventArgs e) { if (frmListing == null) { frmListing = new frmListing(); frmListing.Show(); } }