private void LogInForm_Load(object sender, EventArgs e) { if (ButReg.Visible == true) { back.Visible = false; } else { back.Visible = true; } WrName.Hide(); WrPass.Hide(); Enter.Hide(); Enter1.Hide(); Reges.Hide(); Reges1.Hide(); Okenter.Hide(); Okreg.Hide(); MyList = Seria.In("1.xml", MyList); }
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(); }