// Stack layout Is visible // private async void Calc(object sender, EventArgs e) { TotalGrams = 0; foreach (var item in SelectedOil) { TotalGrams = TotalGrams + double.Parse(item.WeightValue); } // First Table Results {Quality Summary} finalResult.Hardness = Clc.Hardness(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Cleansing = Clc.Cleansing(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Bubbly = Clc.Bubbly(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Conditioning = Clc.Conditioning(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Creamy = Clc.Creamy(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Silky = Clc.Silky(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Longevity = Clc.Longevity(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Comedogenic = Clc.Comedogenic(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Iodine = Clc.Iodine(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.INS = Clc.INS(SelectedOil, TotalGrams, SuperFat.Text).ToString(); // Seconde Table Results {Fatty Acid Summary} finalResult.Lauric = Clc.Lauric(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Myristic = Clc.Myristic(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Palmitic = Clc.Palmitic(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Stearic = Clc.Stearic(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Ricinoleic = Clc.Ricinoleic(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Oleic = Clc.Oleic(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Linoleic = Clc.Linoleic(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Linolenic = Clc.Linolenic(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Saturated = Clc.Saturated(SelectedOil, TotalGrams, SuperFat.Text).ToString(); finalResult.Unsaturated = Clc.Unsaturated(SelectedOil, TotalGrams, SuperFat.Text).ToString(); //Third Table {Recipe Summary} finalResult.MoldCapacity = Result.ToString() + " " + Clc.RadioUnit(Application.Current.Properties["RadioUnit"].ToString()); //finalResult.TotalBatchWeight; // finalResult.TotalOilWeight; finalResult.LyeDiscountSuperfat = SuperFat.Text; finalResult.LyeConcentration = LyeConcen.Text; finalResult.WaterDiscount = Clc.EmtyEntry(WaterDis.Text); finalResult.WaterSubstitution = Clc.EmtyEntry(WaterSub.Text); finalResult.DualLyeNaOH = Clc.EmtyEntry(Naoh.Text); finalResult.DualLyeNaOH = Clc.EmtyEntry(KOh.Text); finalResult.Fragrance = Frag.Text; //Fourth Table {Lye} NaohKoh(); var xxx = 0; await Navigation.PushAsync(new SoapResult()); }