MehmetErdo287du Posted April 17, 2015 Share Posted April 17, 2015 System.Drawing.Graphics Cizgi; Cizgi = this.CreateGraphics(); Pen Kablo = new Pen(System.Drawing.Color.Red, 5); Cizgi.DrawLine(Kablo, Konum1, Konum2); Komutuyla çizgi çiziyorum. formda paneller var her hangi birinin yerini değiştirdiğimde ya da formda refresh yaptığımda çizgiler siliniyor. alternatif bir çözüm önerir misiniz. Quote Link to comment Share on other sites More sharing options...
galetis Posted April 17, 2015 Share Posted April 17, 2015 Çizgiyi yeniden çiz? Quote Link to comment Share on other sites More sharing options...
MehmetErdo287du Posted April 17, 2015 Author Share Posted April 17, 2015 Çizgiyi yeniden çiz? kalıcı bir doğru lazım Quote Link to comment Share on other sites More sharing options...
neco4545 Posted April 17, 2015 Share Posted April 17, 2015 Sorununuzu anlayamadım ancak şunu arıyorsunuz. Form'un resize olayınada aynı kodu yazarsanız çözüleceğini düşünüyorum. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.