private void RadioButton2_Click(object sender, EventArgs e) { radioButton1.Checked = false; label1.Show(); label5.Show(); usernameBox.Show(); PswdBox.Show(); }
public Login() { InitializeComponent(); timer1.Enabled = true; timer1.Interval = 4000; timer1.Start(); timer1.Tick += new System.EventHandler(timer1_Tick); Slideshow.ImageLocation = "Images/1.jpg"; Slideshow.SizeMode = PictureBoxSizeMode.StretchImage; connection.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Users.mdb;"; label1.Hide(); label5.Hide(); usernameBox.Hide(); PswdBox.Hide(); }