Exemplo n.º 1
0
        private void AddExecute()
        {
            AddOrUpdateManifest winAdd = new AddOrUpdateManifest(null);

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

            winUpdate.Owner            = Application.Current.MainWindow;
            winUpdate.HandleCompleted += new EventHandler <EntityEventArgs>(AddOrUpdate_HandleCompleted);
            winUpdate.ShowDialog();
        }