using System.Windows.Forms;   namespace SyedT_UML_clock_meme {       public partial class UML : Form     {           int hours = 0;         int minute = 0;         int second = 0;         Error_form f2 = new Error_form();           public UML()         {             InitializeComponent();               //music here         }           private void BTB_Time_Click(object sender, EventArgs e)         {             try             {                 hours = int.Parse(txt_hour.Text);                 minute = int.Parse(txt_minute.Text);                 second = int.Parse(txt_second.Text);               }             catch (Exception)             {                 this.Hide();                 f2.Show();             }                   if (second > 59)             {                 minute += (second / 60);                 second = second % 60;             }               if (minute > 59)             {                 hours += (minute / 60);                 minute = minute % 60;             }               if (hours > 23)             {                 if (hours < 25)                 {                     hours = 0;                 }                 else                 {                     this.Hide();                     f2.Show();                 }             }               Lbl_Customtime.Text = (hours + ":" + minute + ":" + second);             lbl_standardtime.Text = DateTime.Now.ToString("HH:mm:ss");             lbl_t1h.Text = ((hours + 1) + ":" + minute + ":" + second);             lbl_t1m.Text = (hours + ":" + (minute + 1) + ":" + second);             lbl_t1s.Text = (hours + ":" + minute + ":" + (second + 1));               if ((Lbl_Customtime.Text).Equals(lbl_standardtime.Text))             {                 lbl_compare.Text = "TIME IS SAME! URRAAA!";             }             else             {                 lbl_compare.Text = "HET! TIME IS NOT SAME!";             }         }     } }