Ejemplo n.º 1
0
        private void AddItemCommandAction(object obj)
        {
            var form = new AddInstansi();

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