예제 #1
0
        private void Edit_Click(object sender, RoutedEventArgs e)
        {
            var window = new AddComponentWindow(Komponente[gridObjects.SelectedIndex], true)
            {
                Owner = this
            };

            window.Show();
        }
예제 #2
0
        private void AddButtonClick(object sender, RoutedEventArgs e)
        {
            var window = new AddComponentWindow
            {
                Owner = this
            };

            window.ShowDialog();
        }