private void AddExecute() { AddOrUpdateManifest winAdd = new AddOrUpdateManifest(null); winAdd.Owner = Application.Current.MainWindow; winAdd.HandleCompleted += new EventHandler <EntityEventArgs>(AddOrUpdate_HandleCompleted); winAdd.ShowDialog(); }
private void UpdateExecute() { AddOrUpdateManifest winUpdate = new AddOrUpdateManifest(this.SelectedItem); winUpdate.Owner = Application.Current.MainWindow; winUpdate.HandleCompleted += new EventHandler <EntityEventArgs>(AddOrUpdate_HandleCompleted); winUpdate.ShowDialog(); }