private void ButtonLogClick(object sender, EventArgs e) { var btn = (Button)sender; var operation = btn.Name.Replace("button", string.Empty); testAppHelper.PerformSelectedOperation(operation); }
public void PerformOperation(string operation) { testAppHelper.PerformSelectedOperation(operation); }