public void FireFormChangeEvent(object sender) { if (PageLoaded) { View v = (View)sender; XForm.RunCalculates(); try { //bool result = await DLL.UpdateInstanceAsync(XForm.instance); DLL.UpdateInstance(XForm.instance); } catch (SQLite.SQLiteException ex) { Console.WriteLine(ex.ToString()); } OnFormChanged(v); } }