Exemplo n.º 1
0
        public RemoveDialogController(RemoveDialog view)
        {
            if (view == null)
            {
                throw new ArgumentNullException("view");
            }

            View = view;
        }
Exemplo n.º 2
0
        public override async void Remove()
        {
            var isDelete = await RemoveDialog.AskQuestion();

            if (isDelete)
            {
                Order.Instances.Remove(SelectedEntity);
                RaiseStateChanged();
            }
        }
Exemplo n.º 3
0
        private void RemoveButton_Click(object sender, RoutedEventArgs e)
        {
            RemoveDialog dialog = new RemoveDialog();

            dialog.ShowDialog();
        }