Conditions


SUBMITTED BY: Guest

DATE: Nov. 21, 2013, 12:06 a.m.

FORMAT: Text only

SIZE: 691 Bytes

HITS: 738

  1. private void richTextMSG_TextChanged(object sender, EventArgs e)
  2. {
  3. compteur = richTextMSG.Text.Length;
  4. if (richTextMSG.Text.Length == 0)
  5. label6.Text = "message Length : 0";
  6. else
  7. label6.Text = "message Length : " + compteur;
  8. }
  9. private void btnRest_Click(object sender, EventArgs e)
  10. {
  11. this.txtFrom.Text="";
  12. this.txtMdp.Text = "";
  13. this.txtSubject.Text = "";
  14. this.txtTo.Text = "";
  15. this.richTextMSG.Text = "";
  16. label6.Text = "message Length : 0";
  17. }

comments powered by Disqus