示例#1
0
        private void OpenExecutableOptions(Executable executable)
        {
            ExecutableOptions executableOptions = new ExecutableOptions()
            {
                DataContext = executable,
                Owner       = this
            };

            executableOptions.ShowDialog();
        }
示例#2
0
        private void ExecutableConfig_Click(object sender, RoutedEventArgs e)
        {
            Executable        executable        = ((FrameworkElement)sender).DataContext as Executable;
            ExecutableOptions executableOptions = new ExecutableOptions()
            {
                DataContext = executable,
                Owner       = this
            };

            executableOptions.ShowDialog();
        }