private void buttonFlash_Click(object sender, EventArgs e) { this.Hide(); Logger.WriteLine(l, "Hiding Main Form..."); DevBoard DevBoard = new DevBoard(); Logger.WriteLine(l, "Loading Flash Manager..."); DevBoard.ShowDialog(); if (DevBoard.DialogResult == DialogResult.Cancel) { this.Show(); Logger.WriteLine(l, "Flash Manager Unloaded..."); } }