private void AeroWindow_Loaded(object sender, RoutedEventArgs e) { mainAssembly = entryPoint.Assembly; taskClassName = entryPoint.ClassName; entryPoint.References.ForEach(x => listReferences.Items.Add(x)); textBoxTaskClass.Text = taskClassName; textBoxMainAssembly.Text = mainAssembly.ToString(); }
private void OkButton_Click(object sender, RoutedEventArgs e) { if (listFiles.SelectedItem != null) { result = listFiles.SelectedItem as FileRequest; Close(); } }
private void SelectAssembly_Click(object sender, RoutedEventArgs e) { var file = AddFileView.Select(files, list => list.OfType<UploadFileRequest>().Cast<FileRequest>(), canCreate: false); if (file != null) { mainAssembly = file; textBoxMainAssembly.Text = mainAssembly.ToString(); } }