private void uxFullTimerButton_Click(object sender, EventArgs e) { try { // Generate a new window using THE CURRENT ActionObject, this is important if they make changes in the new window // Using the current object, all changes in the new window will be reflected in this timer after the new one closes. uxFullSingleTimer newtimer = new uxFullSingleTimer(m_Action); newtimer.Show(); } catch { m_ErrorCount++; if (m_ErrorCount >= m_MaxError) { killControl(); } MessageBox.Show("Error in actionClockControl, uxFUllTimerButton_Click"); } }
private void uxFullTimerButton_Click(object sender, EventArgs e) { try { // Generate a new window using THE CURRENT ActionObject, this is important if they make changes in the new window // Using the current object, all changes in the new window will be reflected in this timer after the new one closes. uxFullSingleTimer newtimer = new uxFullSingleTimer(m_Action); newtimer.Show(); } catch { m_ErrorCount++; if (m_ErrorCount >= m_MaxError) killControl(); MessageBox.Show("Error in actionClockControl, uxFUllTimerButton_Click"); } }