Example #1
0
        private void EditMenuItem_Click(object sender, RoutedEventArgs e)
        {
            EditWindow editAsset = new EditWindow(this.Assets.SelectedItem as Asset);

            editAsset.Owner = this;
            editAsset.ShowDialog();
        }
Example #2
0
        private void AddMenuItem_Click(object sender, RoutedEventArgs e)
        {
            EditWindow addAsset = new EditWindow();

            addAsset.Owner = this;
            addAsset.ShowDialog();
        }