Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

quesioning the value of the text of a button control [ if (button1.Text = "Start")]

$
0
0

how could the text value of a control be used in an if statment like

if (button1.text = "Start")

 {

   button1.text = "Stop";

 }

else

 {

   button1.text = "Start";

 }




Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>