示例#1
0
文件: MDI.cs 项目: Vinaymohite/Abc
        private void lOGOUTToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.IsMdiContainer = true;
            LOGIN f = new LOGIN();

            f.MdiParent = this;
            f.Show();
        }
示例#2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     do
     {
         progressBar1.Value += 2000;
         lbl        += (float)2.0;
         label2.Text = lbl + "% ";
         if (progressBar1.Value == 100000)
         {
             label2.Text = "100";
             this.Hide();
             LOGIN frm = new LOGIN();
             frm.Show();
             timer1.Stop();
         }
     }while (progressBar1.Value < 10000);
 }