Syn undo

Syn undo

insmuratturna
Enthusiast Enthusiast
585 Views
1 Reply
Message 1 of 2

Syn undo

insmuratturna
Enthusiast
Enthusiast

I'm running the "undo" command on a form but the change is visible after closing the form.Can I see when the form is open it

 

 

public void Bg_Click(object sender, EventArgs e)
{ doc.SendStringToExecute("_UNDO ", true, false, true);
  doc.SendStringToExecute("1 ", true, false, true);

   doc.TransactionManager.EnableGraphicsFlush(true);
   doc.TransactionManager.QueueForGraphicsFlush();
   Autodesk.AutoCAD.Internal.Utils.FlushGraphics();
   System.Windows.Forms.Application.DoEvents();
}

 

 

0 Likes
586 Views
1 Reply
Reply (1)
Message 2 of 2

hosneyalaa
Advisor
Advisor
0 Likes