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