I am new with WPF, I have done some work with C# and created a few small apps for my company. I am starting to dabble with this as the main developer said that he doesn't use this due to familiarity with Win Forms. I want to branch out however and know something new and something he doesn't.

Basically I am trying to assign the value of a combo box and a textbox to their own variables so I can process them within a udf.


I have this code contained in the MainWindow.Xaml.cs file

Code:
public static class OpenEnroll
{
      public bool SuppADD_AmtTooMuch(ComboBox Amt, TextBox Hourly)
      {
            Amt = ???


      }

}
Any Help would be appreciated.


Thanks,

Garrett