public void Init(string title, string message, List <string> mValues, ref string Value) { GingerCore.General.FillComboFromList(ValueComboBox, mValues); winTitle.Content = title; MessageLabel.Text = message; ValueComboBox.Text = Value; ValueComboBox.Focus(); }
public void Init(string title, string message, List <string> mValues, Object obj, string Property) { GingerCore.General.FillComboFromList(ValueComboBox, mValues); winTitle.Content = title; MessageLabel.Text = message; ObjFieldBinding(ValueComboBox, ComboBox.SelectedValueProperty, obj, Property); mOriginalValue = ValueComboBox.Text; ValueComboBox.Focus(); }