Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Simple question about where to put code

$
0
0
Im new to C# and I can't find where to put my code that draw lines on the form immediately when I debug my program. Currently, I have to click a button to draw lines but I thought if I put my code under InitializeComponent() it would draw the lines without me clicking the button. I believe I did this before correctly but I forgot so that's why i'm asking.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



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