예제 #1
0
        /// <summary>
        /// Open the build form
        /// </summary>
        /// <param name="sender">The sender of the event</param>
        /// <param name="e">The event arguments</param>
        private void cmdBuild_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            if (dataSet.AssemblyLocations.Count == 0 || !dataSet.IncludedAssemblies.Any())
            {
                MessageBox.Show("You must add at least one location with included assemblies to build",
                                "Build Reflection Data", MessageBoxButton.OK, MessageBoxImage.Exclamation);
                return;
            }

            var buildDlg = new BuildReflectionDataDlg(dataSet);

            buildDlg.ShowDialog();
        }
예제 #2
0
        /// <summary>
        /// Open the build form
        /// </summary>
        /// <param name="sender">The sender of the event</param>
        /// <param name="e">The event arguments</param>
        private void cmdBuild_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            if(dataSet.AssemblyLocations.Count == 0 || !dataSet.IncludedAssemblies.Any())
            {
                MessageBox.Show("You must add at least one location with included assemblies to build",
                    "Build Reflection Data", MessageBoxButton.OK, MessageBoxImage.Exclamation);
                return;
            }

            var buildDlg = new BuildReflectionDataDlg(dataSet);

            buildDlg.ShowDialog();
        }