Site hosted by Angelfire.com: Build your free website today!
Open Community
Post to this Blog
« July 2009 »
S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Entries by Topic
All topics  «
C# Visual Express
Visual C#
Friday, 3 July 2009
C#
Topic: C# Visual Express

To cut text from a text box use the following code:

  private void copyToolStripButton_Click(object sender, EventArgs e)
        {

            if (richTextBox1.SelectionLength > 0)
            {
                richTextBox1.Cut();
            }
       }


Posted by globalskytec at 8:53 PM
Post Comment | Permalink | Share This Post

Newer | Latest | Older