private void comboBoxLineStyleChoice_SelectedIndexChanged(object sender, EventArgs e) { UpdateSampleLine(); }