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 Back(object sender, EventArgs e) { if (ButReg.Visible == true) { back.Visible = true; } else { back.Visible = false; } ButEnter.Show(); ButReg.Show(); WrName.Hide(); WrPass.Hide(); Enter.Hide(); Enter1.Hide(); Reges.Hide(); Reges1.Hide(); Okenter.Hide(); Okreg.Hide(); WrName.Clear(); WrPass.Clear(); }