برنامه نویسی

private void taz_KeyPress(object sender, KeyPressEventArgs e)

{

// 8 ...

if (taz.Text.Length == 8)

{

MessageBox.Show("");

// /

}

if (taz.Text.Length == 2 || taz.Text.Length == 5)

{

taz.Text = "/" +taz.Text;

}

}

+ نوشته شده در  شنبه بیست و هشتم اسفند ۱۳۸۹ساعت 13:21  توسط ابراری |