private void btnsetting_Click(object sender, EventArgs e) { if (SettingBox.Visible) { SettingBox.Hide(); } else { SettingBox.Show(); } }