Example #1
0
 private void NewVisitorCard_Click(object sender, RoutedEventArgs e)
 {
     var dialog = new EditVisitorCardView(0);
     dialog.Show();
 }
Example #2
0
        private void OnEdit()
        {
            var selected = SelectedCard;
            if ( selected == null )
            {
                ShowDialog( "You must select a visitor card in order to edit it" );
                return;
            }

            var id = selected.ID;
            var dialog = new EditVisitorCardView( id );
            dialog.Show();
        }