示例#1
0
        private void buttonForLog_Click(object sender, EventArgs e)
        {
            this.Visible  = false;
            ShowInTaskbar = false;

            userPassForm pass = new userPassForm();

            pass.Show();
        }
示例#2
0
文件: introForm.cs 项目: spyrax10/POS
 void timer1_Tick(object sender, EventArgs e)
 {
     try
     {
         timeleft--;
         if (progressBar1.Value != 43)
         {
             progressBar1.Value++;
             if (timeleft == 0)
             {
                 timer1.Stop();
                 this.Visible  = false;
                 ShowInTaskbar = false;
                 userPassForm pass = new userPassForm();
                 pass.Show();
             }
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }