Example #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();
     }
 }
Example #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();
            }
        }
Example #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();
            }
        }
Example #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();
     }
 }