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