//edit menu Handlers private void UndoPreviousAction(object sender, EventArgs e) { if (MDockArea.ActiveDocument.GetType().Equals(typeof(CodeEditor))) { CodeEditor ce = (CodeEditor)MDockArea.ActiveDocument; ce.UndoAction(); } }
//edit menu Handlers private void UndoPreviousAction(object sender, EventArgs e) { if (MDockArea.ActiveDocument.GetType().Equals(typeof(CodeEditor))) { CodeEditor ce = (CodeEditor)MDockArea.ActiveDocument; ce.UndoAction(); } }