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

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

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