private void StartTimer_Tick(object sender, EventArgs e)
 {
     this.Opacity += .03;
     if (this.Opacity == 1)
     {
         if (time == 100)
         {
             StartTimer.Stop();
             regForm registr = new regForm();
             this.Hide();
             registr.Show();
         }
         else
             time += 1;
     }
 }
 private void выйтиToolStripMenuItem_Click(object sender, EventArgs e)
 {
     regForm rg = new regForm();
     rg.Show();
     this.Hide();
 }
 private void administrator_FormClosing(object sender, FormClosingEventArgs e)
 {
     regForm rf = new regForm();
     rf.Show();
 }