Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~1K People Reached
Favorite Forums

2 Posted Topics

Member Avatar for Thobani_1

namespace CountDown public partial class Form1 : Form { public int counter = 0; public Form1() { InitializeComponent(); } private void btnStart_Click(object sender, EventArgs e) { int parsedValue; if (!int.TryParse(txtInput.Text, out parsedValue)) { MessageBox.Show("Please Enter Numbers Only"); } else { counter = Convert.ToInt32(txtInput.Text); timer1 = new Timer(); timer1.Tick += new …

Member Avatar for rproffitt
0
1K
Member Avatar for Gracie0180

try { MailMessage message = new MailMessage(); message.To.Add("[email protected]"); message.From = new MailAddress("[email protected]"); //See the note afterwards... message.Body = "Hi, How r you ?"; SmtpClient smtp = new SmtpClient("smtp.gmail.com"); smtp.EnableSsl = true; smtp.Port = 587; smtp.DeliveryMethod = SmtpDeliveryMethod.Network; smtp.Credentials = new NetworkCredential("[email protected]", "password"); smtp.Send(message); MessageBox.Show("Message sent successfully"); } catch (Exception ex) …

Member Avatar for Thobani_1
0
300

The End.