Download Pythagorean Theorem in WPF
Description
This project shows off using the Pythagorean Theorem in a simple drawing WPF Application. Measuring the distance between 2 objects in WPF can easily be achieved using this approach.
Source Files
The download file pythagoreantheorem.zip has the following entries.
BuildProcessTemplates/DefaultTemplate.11.1.xaml
BuildProcessTemplates/DefaultTemplate.xaml
BuildProcessTemplates/LabDefaultTemplate.11.xaml
BuildProcessTemplates/UpgradeTemplate.xaml
PythagoreanTheoremControl/MyCanvas.xaml//from w w w . j ava 2 s .c o m
PythagoreanTheoremControl/MyCanvas.xaml.cs
PythagoreanTheoremControl/Properties/AssemblyInfo.cs
PythagoreanTheoremControl/Properties/Resources.Designer.cs
PythagoreanTheoremControl/Properties/Resources.resx
PythagoreanTheoremControl/Properties/Settings.Designer.cs
PythagoreanTheoremControl/Properties/Settings.settings
PythagoreanTheoremControl/PythagoreanTheoremControl.csproj
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost.sln
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost.suo
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/App.xaml
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/App.xaml.cs
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/Properties/AssemblyInfo.cs
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/Properties/Resources.Designer.cs
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/Properties/Resources.resx
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/Properties/Settings.Designer.cs
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/Properties/Settings.settings
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost.csproj
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/Window1.xaml
PythagoreanTheoremWPFHost/PythagoreanTheoremWPFHost/Window1.xaml.cs
Download
Click the following link to download pythagoreantheorem.zip.
pythagoreantheorem.zipHome »
C# Free Code »
Windows Presentation Foundation »
C# Free Code »
Windows Presentation Foundation »