//Clear button private void btnClear_Click(object sender, EventArgs e) { if (CurrentEditor == null) { return; } CurrentEditor.ClearList(); CurrentEditor.Refresh(); }