private void CloseToolStripButton_Click(object sender, EventArgs e) { if (CurrentTB != null) { CurrentTB.Close(); } }