View Complete Post
I have a picture box in my page..i am drawing some graphics like circle ,ellipse and arrow on the picture box in the picturebox_mouseup event .I need to undo or redo the drawing that i have drawn on the picture box after clicking undo
or redo button..i don't know how to implement this in my page..Can you please help me with code...Here is my code in the picturebox mouse_up event..
private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
blnDrawing = false;
blnErasing = false;
if (circle == 1 || text == 1 || ellipse == 1 || arrow == 1)
Add support for work items to the Team Foundation Server version control add-in.
Brian A. Randell
MSDN Magazine September 2007
The common user interface technique of confirmation, popping a dialog box into the user's face and asking, "Are you really REALLY sure you want to do that?" is evil. It's unfriendly, it's distracting, and it's completely ineffective.
David S. Platt
MSDN Magazine March 2005
Does anyone know if there is a way to disable the Undo feature within VS2005? I searched through the options but nothing jumped out at me.
I successfully managed to synchronize the active directory with Sharepoint 2010. Unfortunately, the farm I was on has different FQDN /Netbios domain names. So all ~1000 user profiles are now imported with the wrong domain, and the subsequent
errors one would expect.
Is there a way to get back to a blank slate? technet has an article on "resetting" profile synchronization (http://technet.microsoft.com/en-us/library/ff681014.aspx), but that requires being able to verify the GUID of the user profile synchronization
database, which I am also unaware of how to do.
Please help, and thank you in advance.
I can't repro this on my machine, but on a customers machine my app throws the following exception:
The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread
and not reverted(undone).
at System.Threading.ExecutionContext.runFinallyCode(Object userData, Boolean exceptionThrown)
I just need to get the web part back! I accidentally deleted it! Please help!
If there is no way to do this, I could start over. I tried to add a new web part but the "Rich Text Box" isn't showing up in the "Content Query Web Part" box.
HELP ME! I NEED TO GET THE WEBPART BACK!!!!!
this keeps popping up intermittantly, and i have not been able to find a reason on these forums or the web as to why this happens.
the error keeps referring to a designer.cs file.
does anyone have any remedies for this?
i am using vs2005 team edition with sp1, running a vs2003 .net 1.1 project that has been converted to vs2005 .net 2.0 (version v2.0.50727)