private void BtnAddUnion_OnClick(object sender, RoutedEventArgs e)
        {
            Unions unions = new Unions();

            unions.ShowDialog();

            Context.SaveChanges();
            cmbBoxUnion.ItemsSource = Context.Unions.Local.OrderBy(p => p.UnionName).ToList();
        }
Beispiel #2
0
        private void Union_OnClick(object sender, RoutedEventArgs e)
        {
            Unions unions = new Unions();

            unions.ShowDialog();
        }