Пример #1
0
        private void CompareAndBindTemplates()
        {
            _templatesOnlyLeft.Clear();
            _templatesOnlyRight.Clear();

            var leftData  = _left.GetAllTemplates(ConnectionString1TextBox.Text);
            var rightData = _right.GetAllTemplates(ConnectionString2TextBox.Text);

            CompareAndFill(leftData, rightData, _templatesOnlyLeft, _templatesOnlyRight);

            OutputTemplatesLeft.ItemsSource  = _templatesOnlyLeft;
            OutputTemplatesRight.ItemsSource = _templatesOnlyRight;
        }