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