DELETE ONE STRING FROM YOUR TEXTBOX (Work as Calculator's Textbox/Backspace)


//CLICK ON BUTTON1

 private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text.Length > 1)
            {
                textBox1.Text = textBox1.Text.Substring(0, textBox1.Text.Length - 1);
            }![enter image description here][1]
            else
            {
                textBox1.Text = "0";
            }
        }

No comments:

Post a Comment

360 Virtual Tour 3D VR 360 Walkthrough Matterport The One Spa Abu Dhabi

360 Virtual Tour 3D VR 360 Walkthrough Matterport The One Spa Abu Dhabi Other videos with more in depth information about virtual tour creat...

Share now

Popular