public Window() { parser = new Parser(); InitializeComponent(); urlTextBox.Text = parser.defaultURL; productSelector.DataSource = products; productSelector.DropDownStyle = ComboBoxStyle.DropDownList; productSelector.DisplayMember = "Name"; }
public void setParser(Parser parser) { this.parser = parser; }