コード例 #1
0
 private void RadioButton2_Click(object sender, EventArgs e)
 {
     radioButton1.Checked = false;
     label1.Show();
     label5.Show();
     usernameBox.Show();
     PswdBox.Show();
 }
コード例 #2
0
 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();
 }