C # batch replace a string

An example of the daily 24 days 2020-04-02

1. New dialog box, drag the label / textbox / button controls;

2. The background code;

         textBox1.Text = textBox1.Text.Replace(textBox2.Text, textBox3.Text);

 

Guess you like

Origin www.cnblogs.com/ljs7490/p/12617057.html
Recommended