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