void OnAddClicked(object sender, EventArgs args) { if (DetailsViewController.EditorEngaged) { return; } DetailsViewController.Edit(new Aircraft(), false); }
void OnAddClicked(object sender, EventArgs args) { if (DetailsViewController.EditorEngaged) { return; } DetailsViewController.Edit(new Flight(DateTime.Today), false); }