예제 #1
0
        private void btnEditar_Click(object sender, RoutedEventArgs e)
        {
            AltaEmpresa alta = new AltaEmpresa();

            if (dgEmpresas.SelectedItem != null)
            {
                SelectedCompany();
                alta.loadCompanyToUpdate(_empresaUpdate, true);
                alta.ShowDialog();
            }
        }
예제 #2
0
        private void btnAgregar_Click(object sender, RoutedEventArgs e)
        {
            AltaEmpresa altaEmpresa = AltaEmpresa.GetInstancia();

            altaEmpresa.ShowDialog();
        }