public GetCustomer()
        {
            InitializeComponent();
            context = new KundenverwaltungEntities();
            var names = context.Kundenverwaltung.OrderBy(n => n.Name).Select(n => n.Name).ToList();

            foreach (var n in names)
            {
                NameComboBox.Items.Add(n);
            }
        }
 public f()
 {
     InitializeComponent();
     context = new KundenverwaltungEntities();
 }