Exemple #1
0
        private void btDeletar2_Click(object sender, RoutedEventArgs e)
        {
            Acordo acordo = (Acordo)AcordosListView.SelectedItem;

            if (acordo != null)
            {
                ViewModel.ApAtual.Acordos.Remove(acordo);
                Update();
            }
        }
Exemple #2
0
        /******************************ACORDOS****************************************************/

        public void addAcordo(Acordo acordo)
        {
            acordos.Add(acordo);
        }