Diff_WPF code
Diff_WPF Repository
Compare files using file dialog lookup and fc.exe
Quick Status
Code functions correctly
no known defects
Demonstration code
yes
Documentation
yes
Test cases
no
Static library
no
Build requires
Windows, C# 7.0
Planned design changes
Update with new CodeUtilities
Responsibilities:
Diff_WPF provides a Windows Presentation Foundation (WPF) GUI for the Windows
fc.exe, file compare utility. The GUI provides the user a file dialog to
find two files to compare. It then spawns a process running fc and displays the
results in a textarea.
Design:
The Diff_WPF uses a fairly simple Windows Presentation Foundation (WPF) display
with buttons to open a file dialog to find each of two files to compare.
After each dialog closes, the file text is shown in the text area. When the compare
button is pressed, the GUI spawns windows diff.exe with the fully-qualified names of
both files on its command line. The diff process writes the comparison result to a string that
the GUI displays in its text area.
Build:
Diff_WPF was built with Visual Studio Community Edition - 2019, and tested on Windows 10.