how to make objects are visble/invisble..
-
hi friends..am stroing graphics..for example rectangle,ellipse,line,round rect etc each graphic in seperate object..so now i want to make invisble/visble using button click events..plzzzzzzzz help me... txs in advance...
-
hi friends..am stroing graphics..for example rectangle,ellipse,line,round rect etc each graphic in seperate object..so now i want to make invisble/visble using button click events..plzzzzzzzz help me... txs in advance...
I wrote a simple code for help
Bitmap b1 = new Bitmap(256, 256); Bitmap b2 = new Bitmap(256, 256); Bitmap final = new Bitmap(256, 256); Graphics g = Graphics.FromImage(b1); g.DrawRectangle(Pens.Red, 0, 0, 150, 150); g.Dispose(); g = Graphics.FromImage(b2); g.DrawEllipse(Pens.Black, 100, 100, 50, 50); g.Dispose(); g = Graphics.FromImage(final); g.DrawImage(b1, new Point(0, 0)); // Delete this line if you dont want to draw b1 image g.DrawImage(b2, new Point(0, 0)); g.Dispose(); pictureBox1.BackgroundImage = final;
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia> -------------------------------------------------------- 128 bit encrypted signature, crack if you can