Beispiel #1
0
        private void AddItemCommandAction(object obj)
        {
            var form = new AddInstansi();

            form.DataContext = new AddInstansiViewModel()
            {
                WindowClose = form.Close
            };
            form.ShowDialog();
            DataInstansi.Refresh();
        }
Beispiel #2
0
 private void DeleteItemCommandAction(object obj)
 {
     DataBasic.DataInstansi.Remove(obj as Instansi);
     DataInstansi.Refresh();
 }