private void btnEdit_Click(object sender, RoutedEventArgs e) { AutoAddEdit frmPredmetAddEdit = new AutoAddEdit(CurrentAuto); frmPredmetAddEdit.AutoCreated += new AutoHandler(Refresh); frmPredmetAddEdit.Show(); }
private void btnDodaj_Click(object sender, RoutedEventArgs e) { AutoAddEdit frmAutoAddEdit = new AutoAddEdit(new Auto()); frmAutoAddEdit.AutoCreated += new AutoHandler(Refresh); frmAutoAddEdit.Show(); }