Time for action - building a basic sketching application
Let's build out a sketching application in Silverlight using the
InkPresenter control and a little bit of code.
- Launch Visual Studio and create a new Silverlight application by choosing File|New|Project from the file menu and choosing Silverlight Application in the dialog box that follows.
- Name the solution SilverInk.
- Once the solution is created, we'll want to add the following line of XAML inside the Grid element already in our
<InkPresenter x:Name="inkPresenter" Background="LightBlue" MouseLeftButtonDown="inkPresenter_MouseLeftButtonDown"
- The fastest and easiest way to create event handlers ...