Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.62 KB | None | 0 0
  1. UserDialogs.Instance.ActionSheet(new ActionSheetConfig().SetTitle("Wybierz jedną z opcji:")
  2.                     .Add("Wyświetl fakturę", () => Navigation.PushAsync(new InvoiceView(item)))
  3.                     .Add("Modyfikuj fakturę", () => Navigation.PushAsync(new InvoiceEditView(item, true)))
  4.                     .Add("Podgląd PDF", () => ViewModel.PdfPreviewCommand.Execute(ViewModel.SelectedInvoiceItem))
  5.                     .SetDestructive("Usuń fakturę", () => ViewModel.RemoveItemCommand.Execute(ViewModel.SelectedInvoiceItem.Id))
  6.                     .SetCancel("Anuluj")
  7.                     .SetUseBottomSheet(true));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement