private void CreateSaleButton_Click(object sender, EventArgs e) { Sales sales = null; if (sales != null) { sales.Activate(); } else { sales = new Sales(); sales.Show(); } }