Project Description
The project is a windows store runtime component which provides some of the handy controls which may be needed in developing LOB apps on windows 8.

As of now I have only added signature control and in coming future in will be adding more components such as winrt nav bar control, and some handy helper methods to make working on store apps easier.


1. Signature Control

add reference to control


declare signature controls as below


Title: sets title of the control

FileName: the drawing on canvas is saved as an image, file name give user defined name to the signature image file





Now, to read the signature back

  private async Task<Stream> GetLocalResource(string fileName)         {             try             {                 var file = await ApplicationData.Current.LocalFolder.GetFileAsync(fileName);                 var stream = await file.OpenAsync(FileAccessMode.ReadWrite);                 return stream.AsStreamForWrite();             }             catch (Exception)             {                 return Stream.Null;             }         }

Last edited Nov 25, 2013 at 12:43 PM by syyad, version 3