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();
        }
Exemple #2
0
        private void Union_OnClick(object sender, RoutedEventArgs e)
        {
            Unions unions = new Unions();

            unions.ShowDialog();
        }