private void NavigateByTabDocType(string docTypeName) { SetDocTypeToTabApp(docTypeName); DDE dd = new DDE(); //DocumentDetails dd = new DocumentDetails(); //Label lblTitle = dd.FindByName<Label>("lblDDTitle"); //lblTitle.Text = docTypeName; Navigation.PushAsync(dd); dd = null; //lblTitle = null; }
private void NavigateByTabDocType(string docTypeName) { try{ SetDocTypeToTabApp(docTypeName); DDE dd = new DDE(); //DocumentDetails dd = new DocumentDetails(); //Label lblTitle = dd.FindByName<Label>("lblDDTitle"); //lblTitle.Text = docTypeName; Navigation.PushAsync(dd); dd = null; } catch (Exception ex) { //Debug.WriteLine(ex.Message); logger.Error(ex.Message); Navigation.PushAsync(new MasterDetailPage()); } //lblTitle = null; }