private void timer1_Tick(object sender, EventArgs e) { iTimer++; if (iTimer % 5 == 0) { if (topMostFrm == null) { topMostFrm = new PopupTopMostForm(); } topMostFrm.Activate(); topMostFrm.Show(); } }
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(); } }
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(); } }
private void timer1_Tick(object sender, EventArgs e) { iTimer++; if (iTimer % 5 == 0) { if (topMostFrm == null) topMostFrm = new PopupTopMostForm(); topMostFrm.Activate(); topMostFrm.Show(); } }