示例#1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     iTimer++;
     if (iTimer % 5 == 0)
     {
         if (topMostFrm == null)
         {
             topMostFrm = new PopupTopMostForm();
         }
         topMostFrm.Activate();
         topMostFrm.Show();
     }
 }
示例#2
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            iTimer++;

            SelectAllButton.Text = "Timer Started.:" + (iTimer % 5);

            if (iTimer % 5 == 0)
            {
                if (topMostFrm == null)
                {
                    topMostFrm = new PopupTopMostForm();
                }
                topMostFrm.TopMost = true;
                topMostFrm.Show(this);
            }
            if (iTimer % 5 == 2)
            {
                if (topMostFrm == null)
                {
                    topMostFrm = new PopupTopMostForm();
                }
                topMostFrm.Hide();
            }
        }
示例#3
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            iTimer++;

            SelectAllButton.Text = "Timer Started.:" + (iTimer % 5);

            if (iTimer % 5 == 0)
            {
                if (topMostFrm == null)
                    topMostFrm = new PopupTopMostForm();
                topMostFrm.TopMost = true;
                topMostFrm.Show(this);
            }
            if (iTimer % 5 == 2)
            {
                if (topMostFrm == null)
                    topMostFrm = new PopupTopMostForm();
                topMostFrm.Hide();
            }
        }
示例#4
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     iTimer++;
     if (iTimer % 5 == 0)
     {
         if (topMostFrm == null)
             topMostFrm = new PopupTopMostForm();
         topMostFrm.Activate();
         topMostFrm.Show();
     }
 }