Thank you, but got it today.
The issue was mainly two things.
(1) The CoboBox was not tied into an event. Ended up doubleclicking the ComoBox on the XAML design page, which created an event tied to the box, at the very bottom of MainWindow.xaml.cs.
(2) Then there was a background worker, working with other information from the GUI, and I threw the variable in there, and kept passing the variable though until it got into the OutputFile.cs, and I am able to grab it from there.
MainWindow.xaml.cs the event just looks like
namespace myProgram
{
public partial class MainWindow : Window
{
string comboBoxValue;
string destinationDir;
private void BackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
{
var bgw = sender as BackgroundWorker;
e.Result = _processor.Load( ...args... , comboBoxValue); }
Private void myComboBox_SelectionCHanged(object sender, SelectionChangedEventArgs e)
{
comboBoxValue = myComboBoxName.SelectedIndex.ToString();
}
}
}
Then there was a background worker, working with other information from the GUI, and I threw the variable in there, and kept passing the variable though until it got into the OutputFile.cs, and I am able to grab it from there.
Since I was only using the index (0,1,2,3, or 4). It was just a matter of using a String to Int, and applying a Case/Switch to that int, and returning the VALUE and assigned color (i.e. "abc red").