public AddPouchWin8ViewModel() { Pouch = new PouchModel(); Nav.Configure("MainPage", typeof(MainPage)); Back = new RelayCommand(NavigateBack); AddPouch = new RelayCommand(NewPouch); }
public void SerializePouch(PouchModel pouch) { MemoryStream stream = new MemoryStream(); ser.WriteObject(stream, pouch); stream.Dispose(); }