CapDemo.GUI.User_Controls.Competition_Setting.txt_TimeForSupport_TextChanged C# (CSharp) Method

txt_TimeForSupport_TextChanged() private method

private txt_TimeForSupport_TextChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void txt_TimeForSupport_TextChanged(object sender, EventArgs e)
        {
            //if (txt_TimeForSupport.Text != "")
            //{
            //    if (Convert.ToInt32(txt_TimeForSupport.Text) == 0)
            //    {
            //        MessageBox.Show("Vui lòng nhập thời gian cho quyền trợ giúp lớn hơn 0", "Cảnh báo", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //        txt_TimeForSupport.Text = "";
            //    }
            //    else
            //    {
            //        if (Convert.ToInt32(txt_TimeForSupport.Text) > 3600)
            //        {
            //            MessageBox.Show("Vui lòng nhập thời gian cho quyền trợ giúp nhỏ hơn 3600", "Cảnh báo", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            //            txt_TimeForSupport.Text = "";
            //        }
            //    }
            //}
        }