private void LogIn(object sender, EventArgs e) { if (ButReg.Visible == true) { back.Visible = true; } else { back.Visible = false; } ButEnter.Hide(); ButReg.Hide(); WrName.Show(); WrPass.Show(); Enter.Show(); Enter1.Show(); Okenter.Show(); Okreg.Hide(); WrName.Clear(); WrPass.Clear(); }