private void textBox1_Leave(object sender, EventArgs e) } string t = string.Format ("{0}{1}{2}", textBox1.Text, ":", "00"); textBox1.Text = string.Format("{0:HH:mm}", Convert.ToDateTime(t)); {
تو رویداد Leave اینطور بنویسین
private void textBox1_Leave(object sender, EventArgs e) { textBox1.Text = textBox1.Text + ":00"; }
2,336 سوال
2,871 پاسخ
3,725 دیدگاه
3,917 کاربر