private void ButtonViewCardUsage_Click(object sender, EventArgs e) { try { CardUsageView view = new CardUsageView(countDownTimer.ProxyServices, countDownTimer.CardNumber); view.ShowDialog(); }catch (Exception) { MessageBox.Show("Your Server is not running"); } }
private void ButtonViewCardUsage_Click(object sender, EventArgs e) { try { CardUsageView view = new CardUsageView(countDownTimer.ProxyServices, countDownTimer.CardNumber); view.ShowDialog(); }catch(Exception) { MessageBox.Show("Your Server is not running"); } }