2010-12-27 02:47:10 +00:00
|
|
|
using Android.Widget;
|
|
|
|
|
2010-12-27 04:18:10 +00:00
|
|
|
namespace MonoStockPortfolio.Activites
|
2010-12-27 02:47:10 +00:00
|
|
|
{
|
2011-01-02 21:51:19 +00:00
|
|
|
public partial class EditPositionActivity
|
2010-12-27 02:47:10 +00:00
|
|
|
{
|
2011-01-02 21:51:19 +00:00
|
|
|
public static string ClassName { get { return "monostockportfolio.activites.EditPositionActivity"; } }
|
|
|
|
public static string Extra_PortfolioID { get { return "monoStockPortfolio.EditPositionActivity.PortfolioID"; } }
|
2011-01-02 22:47:20 +00:00
|
|
|
public long ThisPortfolioId { get { return Intent.GetLongExtra(Extra_PortfolioID, -1); } }
|
2011-01-02 21:51:19 +00:00
|
|
|
public static string Extra_PositionID { get { return "monoStockPortfolio.EditPositionActivity.PositionID"; } }
|
2011-01-02 22:47:20 +00:00
|
|
|
public long ThisPositionId { get { return Intent.GetLongExtra(Extra_PositionID, -1); } }
|
2010-12-27 02:47:10 +00:00
|
|
|
|
|
|
|
protected EditText TickerTextBox { get { return FindViewById<EditText>(Resource.id.addPositionTicker); } }
|
|
|
|
protected EditText PriceTextBox { get { return FindViewById<EditText>(Resource.id.addPositionPrice); } }
|
|
|
|
protected EditText SharesTextBox { get { return FindViewById<EditText>(Resource.id.addPositionShares); } }
|
|
|
|
protected Button SaveButton { get { return FindViewById<Button>(Resource.id.addPositionSaveButton); } }
|
|
|
|
}
|
|
|
|
}
|