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

            unions.ShowDialog();
        }