graphics

C

chris

I'm a VB.net developer and I'm finding good C Sharp forums hard to come by,
so please let me know if this is the wrong place.

I've create a C Sharp VS2008 Windows App that captures the screen and allows
cropping, drawing, and text. The issue is that I'm trying to add an "undo"
button. I can easily undo a crop but when a user draws (a free pen) or place
text on the image (Picturebox ctrl), I can't undo? After the intial capture I
take the img and place it into another, I've tried clone, etc. Then if the
user presses undo button I attempt to take that image and put into the
Picture box.
I thought about using an ImageList but that seems to stop at 256x256, a
screen capture is much larger than that. This isn't a pint refesh issue, I
use refresh, etc.
Again, after crop I can revert back (I assume since the underlying img is
still there in the object). Thanx.
Help?
 
J

Jeff Johnson

I'm a VB.net developer and I'm finding good C Sharp forums hard to come
by,
so please let me know if this is the wrong place.

For reference, this isn't a "forum," it's a USENET newsgroup. It just looks
like a Web forum because you're using the Microsoft Web interface. FYI.
I've create a C Sharp VS2008 Windows App that captures the screen and
allows
cropping, drawing, and text. The issue is that I'm trying to add an "undo"
button. I can easily undo a crop but when a user draws (a free pen) or
place
text on the image (Picturebox ctrl), I can't undo? After the intial
capture I
take the img and place it into another, I've tried clone, etc. Then if the
user presses undo button I attempt to take that image and put into the
Picture box.
I thought about using an ImageList but that seems to stop at 256x256, a
screen capture is much larger than that. This isn't a pint refesh issue, I
use refresh, etc.
Again, after crop I can revert back (I assume since the underlying img is
still there in the object). Thanx.

Just use a List<Image> object instead of an ImageList.
 
V

vanderghast

This is not a USENET newsgroup either, accordingly to Microsoft, at least.
There is no binding to USENET rules (whatever they can be), as example.


Vanderghast, Access MVP
 
F

Family Tree Mike

V

vanderghast

It follows the NNTP protocol, but is not formely a member of USENET
"organisation" (if such thing exists) as it is not a member of 'comp.*' or
'alt.*' like hiearchy, but of 'microsoft.*'. This is a subtle difference,
mostly that while the NNTP protocol is respected, how it is used, by the
various users, is mostly under Microsoft 'supervision' (as far as the NNTP
protocol allows it). In fact, many years ago, Microsoft representatives were
clearly stating that their newsgroups were NOT USENET newsgroups, but that
is a long time I haven't seen them posting anything about it.

Vanderghast, Access MVP
 
J

Jeff Johnson

It follows the NNTP protocol, but is not formely a member of USENET
"organisation" (if such thing exists) as it is not a member of 'comp.*'
or 'alt.*' like hiearchy, but of 'microsoft.*'. This is a subtle
difference, mostly that while the NNTP protocol is respected, how it is
used, by the various users, is mostly under Microsoft 'supervision' (as
far as the NNTP protocol allows it). In fact, many years ago, Microsoft
representatives were clearly stating that their newsgroups were NOT USENET
newsgroups, but that is a long time I haven't seen them posting anything
about it.

Egad. Let me go get some glue to put those split hairs back together....

USENET has gone the way of Kleenex and Band-Aid. It's a generic term now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top