From c2c499caecdd2e1d0faf428311df66af0e273cf1 Mon Sep 17 00:00:00 2001 From: "Matthew D. Groves" Date: Mon, 20 Dec 2010 00:04:46 -0500 Subject: [PATCH] minor clean up --- MonoStockPortfolio/MainActivity.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MonoStockPortfolio/MainActivity.cs b/MonoStockPortfolio/MainActivity.cs index 6df4cd8..122b77c 100644 --- a/MonoStockPortfolio/MainActivity.cs +++ b/MonoStockPortfolio/MainActivity.cs @@ -59,11 +59,11 @@ namespace MonoStockPortfolio var dialogBuilder = new AlertDialog.Builder(this); dialogBuilder.SetTitle("Options"); dialogBuilder.SetItems(_longClickOptions, - (senderi, ei) => tr_LongClick_Options(senderi, ei, selectedPortfolio)); + (senderi, ei) => tr_LongClick_Options(ei, selectedPortfolio)); dialogBuilder.Create().Show(); } - private void tr_LongClick_Options(object sender, DialogClickEventArgs e, Portfolio selectedPortfolio) + private void tr_LongClick_Options(DialogClickEventArgs e, Portfolio selectedPortfolio) { if(_longClickOptions[e.Which] == "Edit") {