Exemple #1
0
        public ShareDetails(int SecurityEntityId)
        {
            InitializeComponent();
            VMSecurityShareDetail vm = BindingContext as VMSecurityShareDetail;

            vm.SecurityEntityId = SecurityEntityId;
        }
Exemple #2
0
        protected override void OnAppearing()
        {
            base.OnAppearing();
            VMSecurityShareDetail vm = BindingContext as VMSecurityShareDetail;

            vm.LoadSecurityShareDetail();

            MessagingCenter.Subscribe <VMSecurityShareDetail> (this, Strings.ShareDetails_Success, async(VMSecurityShareDetail sender) => {
                {
                    await DisplayAlert("Success", Strings.ShareDetails_Success, "OK");
                    //await	Navigation.PopAsync();
                }
            });

            MessagingCenter.Subscribe <VMSecurityShareDetail> (this, Strings.Display_Message, async(VMSecurityShareDetail sender) => {
                await DisplayAlert(null, GlobalVariables.DisplayMessage, "Ok");
            });
        }