private void designButton_Click(object sender, EventArgs e) { DesignForm lf = new DesignForm(ledDisplay1); lf.ShowDialog(); lf.Dispose(); }