public KindView()
 {
     InitializeComponent();
     DataContext = new KindPresenter(this);
 }
 private void ChangeCurrentRow(KindPresenter kindPresenter, KindEditPresenter kindpEdit,
   Kind obj)
 {
     Kind subgroup = ((Kind)kindpEdit.View.DataContext);
     obj.id = subgroup.id;
     obj.name = subgroup.name;
     kindPresenter.View.dataGridKinds.Items.Refresh();
 }