public void Undo() { switch (_CurrentTab) { case "design": dcDesign.Undo(); break; case "edit": tbEditor.Undo(); break; default: break; } }
public void Undo() { switch (_CurrentTab) { case DesignTabs.Design: dcDesign.Undo(); break; case DesignTabs.Edit: scintilla1.Undo(); break; default: break; } }