Beispiel #1
0
        void CalcuatePayoffButton_Clicked(object sender, EventArgs e)
        {
            PricingFinancialOptions callPrice = new PricingFinancialOptions(Double.Parse(callValueEntry.Text));
            PricingFinancialOptions putPrice  = new PricingFinancialOptions(Double.Parse(putValueEntry.Text));

            Navigation.PushAsync(new CalcuateCallPutPayoffChartPage(callPrice.CallPayoff, putPrice.PutPayoff));
        }
		void CalcuatePayoffButton_Clicked (object sender, EventArgs e)
		{
			PricingFinancialOptions callPrice = new PricingFinancialOptions (Double.Parse (callValueEntry.Text));
			PricingFinancialOptions putPrice = new PricingFinancialOptions (Double.Parse (putValueEntry.Text));

			Navigation.PushAsync (new CalcuateCallPutPayoffChartPage (callPrice.CallPayoff, putPrice.PutPayoff));
		}