Windows 10 RTM Release - June 2016 Update

This commit is contained in:
Raymond Chen 2016-06-01 17:00:00 -07:00
Родитель 6b625670fa
Коммит 259ad12119
105 изменённых файлов: 219 добавлений и 215 удалений

Просмотреть файл

@ -31,7 +31,7 @@ The samples use Linked files in Visual Studio to reduce duplication of common fi
**Reminder:** If you unzip individual samples, they will not build due to references to other portions of the ZIP file that were not unzipped. You must unzip the entire archive if you intend to build the samples.
For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance, tutorials, and reference topics provided in the Windows 10 documentation available in the [Windows Developer Center](https://dev.windows.com). These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows.
For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance, tutorials, and reference topics provided in the Windows 10 documentation available in the [Windows Developer Center](http://go.microsoft.com/fwlink/?LinkID=532421). These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows.
## Contributions

Просмотреть файл

@ -19,7 +19,7 @@ Specifically, this sample covers:
**Note** The Universal Windows samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -19,7 +19,7 @@ Specifically, this sample covers:
**Note** The Universal Windows samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -36,7 +36,7 @@ This sample is written in HTML, CSS, and JavaScript. For the XAML version, see t
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -14,7 +14,7 @@ The sample shows the metrics involved in the following scenarios:
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -13,7 +13,7 @@ We encourage you to separate your resources, such as strings and files, from you
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -36,7 +36,7 @@ In addition to the devices listed, you can use barcode scanners from various man
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -22,7 +22,7 @@ to communicate over sockets.
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -450,29 +450,29 @@ task<void> MainPage::ReencodeAndSavePhotoAsync(Streams::IRandomAccessStream^ str
{
// Using this state variable to pass multiple values through our task chain
ReencodeState^ state = ref new ReencodeState();
state->_orientation = photoOrientation;
state->Orientation = photoOrientation;
return create_task(BitmapDecoder::CreateAsync(stream))
.then([state](BitmapDecoder^ decoder)
{
state->_decoder = decoder;
state->Decoder = decoder;
return create_task(KnownFolders::PicturesLibrary->CreateFileAsync("SimplePhoto.jpg", CreationCollisionOption::GenerateUniqueName));
}).then([](StorageFile^ file)
{
return create_task(file->OpenAsync(FileAccessMode::ReadWrite));
}).then([state](Streams::IRandomAccessStream^ outputStream)
{
return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->_decoder));
return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->Decoder));
}).then([state](BitmapEncoder^ encoder)
{
state->_encoder = encoder;
state->Encoder = encoder;
auto properties = ref new Windows::Graphics::Imaging::BitmapPropertySet();
properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->_orientation, Windows::Foundation::PropertyType::UInt16));
properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->Orientation, Windows::Foundation::PropertyType::UInt16));
return create_task(state->_encoder->BitmapProperties->SetPropertiesAsync(properties));
return create_task(state->Encoder->BitmapProperties->SetPropertiesAsync(properties));
}).then([state]()
{
return state->_encoder->FlushAsync();
return state->Encoder->FlushAsync();
});
}

Просмотреть файл

@ -18,9 +18,9 @@ namespace FaceDetection
ref class ReencodeState sealed
{
internal:
Windows::Graphics::Imaging::BitmapDecoder^ _decoder;
Windows::Graphics::Imaging::BitmapEncoder^ _encoder;
Windows::Storage::FileProperties::PhotoOrientation _orientation;
Windows::Graphics::Imaging::BitmapDecoder^ Decoder;
Windows::Graphics::Imaging::BitmapEncoder^ Encoder;
Windows::Storage::FileProperties::PhotoOrientation Orientation;
};
public ref class MainPage sealed

Просмотреть файл

@ -444,14 +444,14 @@ task<void> MainPage::TakeHdrPhotoAsync()
auto context = ref new AdvancedCaptureContext();
// Create file based off the current time
context->_captureFileName = L"SimplePhoto_" + GetTimeStr() + L".jpg";;
context->_captureOrientation = ConvertOrientationToPhotoOrientation(GetCameraOrientation());
context->CaptureFileName = L"SimplePhoto_" + GetTimeStr() + L".jpg";
context->CaptureOrientation = ConvertOrientationToPhotoOrientation(GetCameraOrientation());
return create_task(_advancedCapture->CaptureAsync(context))
.then([this, context](Capture::AdvancedCapturedPhoto^ photo)
{
WriteLine("HDR photo taken!");
return ReencodeAndSavePhotoAsync(photo->Frame, context->_captureFileName, context->_captureOrientation);
return ReencodeAndSavePhotoAsync(photo->Frame, context->CaptureFileName, context->CaptureOrientation);
}).then([this](task<void> previousTask)
{
try
@ -509,29 +509,29 @@ task<void> MainPage::ReencodeAndSavePhotoAsync(Streams::IRandomAccessStream^ str
{
// Using this state variable to pass multiple values through our task chain
ReencodeState^ state = ref new ReencodeState();
state->_orientation = photoOrientation;
state->Orientation = photoOrientation;
return create_task(BitmapDecoder::CreateAsync(stream))
.then([state, fileName](BitmapDecoder^ decoder)
{
state->_decoder = decoder;
state->Decoder = decoder;
return create_task(KnownFolders::PicturesLibrary->CreateFileAsync(fileName, CreationCollisionOption::GenerateUniqueName));
}).then([](StorageFile^ file)
{
return create_task(file->OpenAsync(FileAccessMode::ReadWrite));
}).then([state](Streams::IRandomAccessStream^ outputStream)
{
return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->_decoder));
return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->Decoder));
}).then([state](BitmapEncoder^ encoder)
{
state->_encoder = encoder;
state->Encoder = encoder;
auto properties = ref new Windows::Graphics::Imaging::BitmapPropertySet();
properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->_orientation, Windows::Foundation::PropertyType::UInt16));
properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->Orientation, Windows::Foundation::PropertyType::UInt16));
return create_task(state->_encoder->BitmapProperties->SetPropertiesAsync(properties));
return create_task(state->Encoder->BitmapProperties->SetPropertiesAsync(properties));
}).then([state]()
{
return state->_encoder->FlushAsync();
return state->Encoder->FlushAsync();
});
}
@ -1005,14 +1005,14 @@ void MainPage::AdvancedCapture_OptionalReferencePhotoCaptured(Capture::AdvancedP
// Retrieve the context (i.e. what capture does this belong to?)
auto context = static_cast<AdvancedCaptureContext^>(args->Context);
WriteLine("AdvancedCapture_OptionalReferencePhotoCaptured for " + context->_captureFileName);
WriteLine("AdvancedCapture_OptionalReferencePhotoCaptured for " + context->CaptureFileName);
// Remove "_HDR" from the name of the capture to create the name of the reference
std::wstringstream fileName;
fileName << context->_captureFileName->Data();
fileName << context->CaptureFileName->Data();
StringReplace(fileName.str(), std::wstring(L"_HDR"), std::wstring(L""));
ReencodeAndSavePhotoAsync(args->Frame, ref new String(fileName.str().c_str()), context->_captureOrientation);
ReencodeAndSavePhotoAsync(args->Frame, ref new String(fileName.str().c_str()), context->CptureOrientation);
}
/// <summary>

Просмотреть файл

@ -18,9 +18,9 @@ namespace CameraHdr
ref class ReencodeState sealed
{
internal:
Windows::Graphics::Imaging::BitmapDecoder^ _decoder;
Windows::Graphics::Imaging::BitmapEncoder^ _encoder;
Windows::Storage::FileProperties::PhotoOrientation _orientation;
Windows::Graphics::Imaging::BitmapDecoder^ Decoder;
Windows::Graphics::Imaging::BitmapEncoder^ Encoder;
Windows::Storage::FileProperties::PhotoOrientation Orientation;
};
/// <summary>
@ -29,8 +29,8 @@ namespace CameraHdr
ref class AdvancedCaptureContext
{
internal:
Platform::String^ _captureFileName;
Windows::Storage::FileProperties::PhotoOrientation _captureOrientation;
Platform::String^ CaptureFileName;
Windows::Storage::FileProperties::PhotoOrientation CaptureOrientation;
};
public ref class MainPage sealed

Просмотреть файл

@ -384,29 +384,29 @@ task<void> MainPage::ReencodeAndSavePhotoAsync(Streams::IRandomAccessStream^ str
{
// Using this state variable to pass multiple values through our task chain
ReencodeState^ state = ref new ReencodeState();
state->_orientation = photoOrientation;
state->Orientation = photoOrientation;
return create_task(BitmapDecoder::CreateAsync(stream))
.then([state](BitmapDecoder^ decoder)
{
state->_decoder = decoder;
state->Decoder = decoder;
return create_task(KnownFolders::PicturesLibrary->CreateFileAsync("SimplePhoto.jpg", CreationCollisionOption::GenerateUniqueName));
}).then([](StorageFile^ file)
{
return create_task(file->OpenAsync(FileAccessMode::ReadWrite));
}).then([state](Streams::IRandomAccessStream^ outputStream)
{
return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->_decoder));
return create_task(BitmapEncoder::CreateForTranscodingAsync(outputStream, state->Decoder));
}).then([state](BitmapEncoder^ encoder)
{
state->_encoder = encoder;
state->Encoder = encoder;
auto properties = ref new Windows::Graphics::Imaging::BitmapPropertySet();
properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->_orientation, Windows::Foundation::PropertyType::UInt16));
properties->Insert("System.Photo.Orientation", ref new BitmapTypedValue((unsigned short)state->Orientation, Windows::Foundation::PropertyType::UInt16));
return create_task(state->_encoder->BitmapProperties->SetPropertiesAsync(properties));
return create_task(state->Encoder->BitmapProperties->SetPropertiesAsync(properties));
}).then([state]()
{
return state->_encoder->FlushAsync();
return state->Encoder->FlushAsync();
});
}

Просмотреть файл

@ -18,9 +18,9 @@ namespace CameraStarterKit
ref class ReencodeState sealed
{
internal:
Windows::Graphics::Imaging::BitmapDecoder^ _decoder;
Windows::Graphics::Imaging::BitmapEncoder^ _encoder;
Windows::Storage::FileProperties::PhotoOrientation _orientation;
Windows::Graphics::Imaging::BitmapDecoder^ Decoder;
Windows::Graphics::Imaging::BitmapEncoder^ Encoder;
Windows::Storage::FileProperties::PhotoOrientation Orientation;
};
public ref class MainPage sealed

Просмотреть файл

@ -24,7 +24,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ This sample covers the following:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -30,7 +30,7 @@ a communication blocking and filtering app must declare.
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -23,7 +23,7 @@ Specifically, this sample covers using the [**Windows.UI.Input.Inking**](http://
- All buttons and menu choices can be activated with mouse, pen, or touch.
- Message box at the bottom of the page will report any events generated by current active inking input devices.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -27,7 +27,7 @@ The sample demonstrates the following:
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
(See additional discussion below under **Prerequisites**.)
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com).
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421).
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422).

Просмотреть файл

@ -20,7 +20,7 @@ Specifically, this sample shows the following:
- Read the compressed data from a file.
- Decompress the data.
To obtain the Windows 10 developer tools preview, go to [Windows 10 developer tools](https://dev.windows.com/en-us/downloads/windows-10-developer-tools).
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
## Operating system requirements

Просмотреть файл

@ -9,7 +9,7 @@ This sample shows how to integrate your app into the People App's contact card a
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -38,7 +38,7 @@ The samples also demonstrate how to detect support for mini contact cards.
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -18,7 +18,7 @@ The sample demonstrates the following tasks:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -39,7 +39,7 @@ The sample demonstrates these tasks:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -22,7 +22,7 @@ Additional APIs for this sample include:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -15,7 +15,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -23,7 +23,7 @@ This sample uses the following Direct2D effects:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -12,7 +12,7 @@ This sample shows how to use the [**DataReader**](http://msdn.microsoft.com/libr
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -20,7 +20,7 @@ The sample consists of the following scenarios:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -23,7 +23,7 @@ see the Orientation Changed scenario of the [the Accelerometer sample](../Accele
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -23,7 +23,7 @@ Important APIs in this sample include:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -67,7 +67,7 @@ Here are some general Windows Store app features demonstrated by this app.
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -63,7 +63,7 @@ The sample demonstrates these tasks:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -109,21 +109,17 @@ void Scenario7::OpenFromListButton_Click(Object^ sender, RoutedEventArgs^ e)
{
if (rootPage->MruToken != nullptr)
{
// Open the file via the token that was stored when adding this file into the MRU list
fileTask = create_task(StorageApplicationPermissions::MostRecentlyUsedList->GetFileAsync(rootPage->MruToken)).then([this](task<StorageFile^> task)
// When the MRU becomes full, older entries are automatically deleted, so check if the
// token is still valid before using it.
if (StorageApplicationPermissions::MostRecentlyUsedList->ContainsItem(rootPage->MruToken))
{
StorageFile^ file = nullptr;
try
{
file = task.get();
}
catch (InvalidArgumentException^)
{
// When the MRU becomes full, older entries are automatically deleted.
rootPage->NotifyUser("The token is no longer valid.", NotifyType::ErrorMessage);
}
return file;
});
// Open the file via the token that was stored when adding this file into the MRU list
fileTask = create_task(StorageApplicationPermissions::MostRecentlyUsedList->GetFileAsync(rootPage->MruToken));
}
else
{
rootPage->NotifyUser("The token is no longer valid.", NotifyType::ErrorMessage);
}
}
else
{
@ -134,7 +130,8 @@ void Scenario7::OpenFromListButton_Click(Object^ sender, RoutedEventArgs^ e)
{
if (rootPage->FalToken != nullptr)
{
// Open the file via the token that was stored when adding this file into the FAL list
// Open the file via the token that was stored when adding this file into the FAL list.
// The token remains valid until we explicitly remove it.
fileTask = create_task(StorageApplicationPermissions::FutureAccessList->GetFileAsync(rootPage->FalToken));
}
else

Просмотреть файл

@ -116,14 +116,15 @@ namespace SDKTemplate
{
if (rootPage.mruToken != null)
{
try
// When the MRU becomes full, older entries are automatically deleted, so check if the
// token is still valid before using it.
if (StorageApplicationPermissions.MostRecentlyUsedList.ContainsItem(rootPage.mruToken))
{
// Open the file via the token that was stored when adding this file into the MRU list
file = await StorageApplicationPermissions.MostRecentlyUsedList.GetFileAsync(rootPage.mruToken);
}
catch (ArgumentException)
else
{
// When the MRU becomes full, older entries are automatically deleted.
rootPage.NotifyUser("The token is no longer valid.", NotifyType.ErrorMessage);
}
}
@ -137,6 +138,7 @@ namespace SDKTemplate
if (rootPage.falToken != null)
{
// Open the file via the token that was stored when adding this file into the FAL list.
// The token remains valid until we explicitly remove it.
file = await StorageApplicationPermissions.FutureAccessList.GetFileAsync(rootPage.falToken);
}
else

Просмотреть файл

@ -6,6 +6,8 @@
var FA_E_MAX_PERSISTED_ITEMS_REACHED = 0x80270220 | 0;
var E_INVALIDARG = 0x80070057 | 0;
var StorageApplicationPermissions = Windows.Storage.AccessCache.StorageApplicationPermissions;
var page = WinJS.UI.Pages.define("/html/scenario7_TrackAFileOrFolderSoThatYouCanAccessItLater.html", {
ready: function (element, options) {
document.getElementById("addToList").addEventListener("click", addToList, false);
@ -23,12 +25,12 @@
var visibility = systemMRUcheckbox.checked ?
Windows.Storage.AccessCache.RecentStorageItemVisibility.appAndSystem :
Windows.Storage.AccessCache.RecentStorageItemVisibility.appOnly;
SdkSample.mruToken = Windows.Storage.AccessCache.StorageApplicationPermissions.mostRecentlyUsedList.add(SdkSample.sampleFile, SdkSample.sampleFile.name,
SdkSample.mruToken = StorageApplicationPermissions.mostRecentlyUsedList.add(SdkSample.sampleFile, SdkSample.sampleFile.name,
visibility);
WinJS.log && WinJS.log("The file '" + SdkSample.sampleFile.name + "' was added to the MRU list and a token was stored.", "sample", "status");
} else {
try {
SdkSample.falToken = Windows.Storage.AccessCache.StorageApplicationPermissions.futureAccessList.add(SdkSample.sampleFile, SdkSample.sampleFile.name);
SdkSample.falToken = StorageApplicationPermissions.futureAccessList.add(SdkSample.sampleFile, SdkSample.sampleFile.name);
WinJS.log && WinJS.log("The file '" + SdkSample.sampleFile.name + "' was added to the FAL list and a token was stored.", "sample", "status");
} catch (error) {
if (error.number == FA_E_MAX_PERSISTED_ITEMS_REACHED) {
@ -50,10 +52,10 @@
var MRUradio = document.getElementById("MRUradio");
if (MRUradio.checked) {
listName = "MRU";
entries = Windows.Storage.AccessCache.StorageApplicationPermissions.mostRecentlyUsedList.entries;
entries = StorageApplicationPermissions.mostRecentlyUsedList.entries;
} else {
listName = "FAL";
entries = Windows.Storage.AccessCache.StorageApplicationPermissions.futureAccessList.entries;
entries = StorageApplicationPermissions.futureAccessList.entries;
}
if (entries.size > 0) {
@ -73,24 +75,23 @@
var MRUradio = document.getElementById("MRUradio");
if (MRUradio.checked) {
if (SdkSample.mruToken !== null) {
// Open the 'sample.dat' via the token that was stored when adding this file into the MRU list
try {
fileTask = Windows.Storage.AccessCache.StorageApplicationPermissions.mostRecentlyUsedList.getFileAsync(SdkSample.mruToken);
} catch (error) {
// When the MRU becomes full, older entries are automatically deleted, so check if the
// token is still valid before using it.
if (StorageApplicationPermissions.mostRecentlyUsedList.containsItem(SdkSample.mruToken)) {
// Open the 'sample.dat' via the token that was stored when adding this file into the MRU list.
fileTask = StorageApplicationPermissions.mostRecentlyUsedList.getFileAsync(SdkSample.mruToken);
} else {
// When the MRU becomes full, older entries are automatically deleted.
if (error.number == E_INVALIDARG) {
WinJS.log && WinJS.log("The token is no longer valid.", "sample", "error");
} else {
throw error;
}
WinJS.log && WinJS.log("The token is no longer valid.", "sample", "error");
}
} else {
WinJS.log && WinJS.log("This operation requires a token. Add file to the MRU list first.", "sample", "error");
}
} else {
if (SdkSample.falToken !== null) {
// Open the 'sample.dat' via the token that was stored when adding this file into the FAL list
fileTask = Windows.Storage.AccessCache.StorageApplicationPermissions.futureAccessList.getFileAsync(SdkSample.falToken);
// Open the 'sample.dat' via the token that was stored when adding this file into the FAL list.
// The token remains valid until we explicitly remove it.
fileTask = StorageApplicationPermissions.futureAccessList.getFileAsync(SdkSample.falToken);
} else {
WinJS.log && WinJS.log("This operation requires a token. Add file to the FAL list first.", "sample", "error");
}

Просмотреть файл

@ -41,7 +41,7 @@ To learn more about accessing and saving files and folders through file pickers,
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ For a walkthrough, see [Quickstart: Accessing files programmatically](http://msd
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -35,7 +35,7 @@ Important APIs in this sample include:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -41,7 +41,7 @@ Additional important APIs in this sample include:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ The sample shows the following techniques:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -35,7 +35,7 @@ class also enables the caller to obtain details about a given geographic region
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -16,7 +16,7 @@ This sample covers the following processes:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -37,14 +37,12 @@ Specifically, this sample covers using the [**Windows.UI.Input.Inking**](http://
- Use **Save** and **Load** to read and write Ink Serialized Format (ISF) files to the Libraries or Pictures folder or both.
- All buttons and menu choices can be activated with mouse, pen, or touch.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)
## Related topics
[Getting started with apps](https://dev.windows.com/getstarted)
[Responding to pen and stylus interactions](http://msdn.microsoft.com/library/windows/apps/hh700425)
[Responding to user interaction](http://msdn.microsoft.com/library/windows/apps/hh700412)
@ -76,4 +74,4 @@ To obtain information about Microsoft Visual Studio 2015 and the tools for devel
## Run the sample
To debug the app and then run it, press F5 or use **Debug** \> **Start Debugging**. To run the app without debugging, press Ctrl+F5 or use **Debug** \> **Start Without Debugging**.
To debug the app and then run it, press F5 or use **Debug** \> **Start Debugging**. To run the app without debugging, press Ctrl+F5 or use **Debug** \> **Start Without Debugging**.

Просмотреть файл

@ -16,7 +16,7 @@ The sample demonstrates these tasks:
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -16,7 +16,7 @@ Be aware that if the content to which the font is applied contains text that is
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -23,7 +23,7 @@ The sample demonstrates these tasks:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -25,7 +25,7 @@ The scenarios demonstrate the use of the these services:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -38,7 +38,7 @@ Toolkit (WPT), as well as utilities such as tracerpt.exe or xperf.exe.
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ Specifically, this sample shows:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -39,7 +39,7 @@ The following list shows the magnetic stripe readers that were used with this co
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -18,7 +18,7 @@ Important APIs in this sample include:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -11,7 +11,7 @@ The [**Windows.UI.Popups**](http://msdn.microsoft.com/library/windows/apps/br242
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -12,7 +12,7 @@ This sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -14,7 +14,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ The [**Windows.Globalization.NumberFormatting**](http://msdn.microsoft.com/libra
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -27,7 +27,7 @@ The sample covers these new tasks for Windows 10:
- Getting package logo using [**Package.Logo**](http://msdn.microsoft.com/library/windows/apps/dn175747)
- Getting publisher display name of the package using [**Package.PublisherDisplayName**](http://msdn.microsoft.com/library/windows/apps/dn175748)
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -32,7 +32,7 @@ User Accounts, Credential Manager.
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ The sample shows the following techniques:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -31,7 +31,7 @@ This sample uses classes that are in the [**Windows.Media.Playlists**](http://ms
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -23,7 +23,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -9,7 +9,7 @@ Create proxies and stubs for a Windows Runtime in-process component that is cons
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -18,7 +18,7 @@ In particular, the view resizing feature is not enabled on phones or on PCs in T
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -15,7 +15,7 @@ The sample demonstrates the following scenarios:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -24,7 +24,7 @@ Also, this sample shows how to display text when your app can't support a share
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -26,7 +26,7 @@ Both versions share significant amounts of logic: the Common and GameContent fol
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -27,7 +27,7 @@ Both versions share significant amounts of logic: the Common and GameContent fol
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -18,7 +18,7 @@ Specifically, this sample demonstrates how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -27,7 +27,7 @@ Specifically, this sample covers hosting the HRTF xAPO in an XAudio2 graph for r
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -9,7 +9,7 @@ This sample shows how to identify separate boundaries of individual words in tex
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -18,7 +18,7 @@ The sample shows the following techniques:
**Note** Not all of the title bar functionality is available in all builds. Functionality will arrive gradually as newer builds are released.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -13,7 +13,7 @@ To obtain an evaluation copy of Microsoft Visual Studio 2013, go to [Visual Stu
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -17,7 +17,7 @@ Specifically, this sample demonstrates the following scenarios:
**Note** The Universal Windows app samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -14,7 +14,7 @@ The sample shows the following techniques:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -9,7 +9,7 @@ Create an in-process component in C++ using WRL that is consumed in C++, JS, and
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -9,7 +9,7 @@ This sample shows how to create an out-of-process component in C++ using WRL tha
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -19,7 +19,7 @@ Specifically, this sample demonstrates the following scenarios:
**Note 2** The app as provided will not be able to get tokens without having it's app manifest being modified to use the App Identity of a registered Microsoft Store/registered AAD app. See 'Related Topics' for instructions on how to register an app.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -8,7 +8,7 @@ This sample demonstrates a solution for playback of animated GIF images using Wi
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -52,16 +52,9 @@ namespace AnimatedGif
private GifPresenter _gifPresenter;
private bool _isLoaded;
private CancellationTokenSource _initializationCancellationTokenSource;
public GifView()
{
this.InitializeComponent();
// Register for visibility changed to stop the timer when minimized
Window.Current.VisibilityChanged += Window_VisibilityChanged;
// Register for SurfaceContentsLost to recreate the image source if necessary
CompositionTarget.SurfaceContentsLost += CompositionTarget_SurfaceContentsLost;
}
private async static void OnSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
@ -73,7 +66,6 @@ namespace AnimatedGif
private async Task UpdateSourceAsync()
{
_gifPresenter?.StopAnimation();
_initializationCancellationTokenSource?.Cancel();
GifImage.Source = null;
_gifPresenter = null;
@ -81,48 +73,43 @@ namespace AnimatedGif
if (UriSource != null)
{
var uriSource = UriSource;
var cancellationTokenSource = new CancellationTokenSource();
_initializationCancellationTokenSource = cancellationTokenSource;
try
{
var streamReference = RandomAccessStreamReference.CreateFromUri(uriSource);
var inMemoryStream = new InMemoryRandomAccessStream();
var readStream = await streamReference.OpenReadAsync();
using (inMemoryStream)
if (readStream.ContentType.ToLowerInvariant() != "image/gif")
{
var readStream = await streamReference.OpenReadAsync().AsTask(cancellationTokenSource.Token);
throw new ArgumentException("Unsupported content type: " + readStream.ContentType);
}
using (readStream)
using (var inMemoryStream = new InMemoryRandomAccessStream())
{
await RandomAccessStream.CopyAndCloseAsync(
readStream.GetInputStreamAt(0L),
inMemoryStream.GetOutputStreamAt(0L)
);
if (readStream.ContentType.ToLowerInvariant() != "image/gif")
{
throw new ArgumentException("Unsupported content type: " + readStream.ContentType);
}
var copyAction = RandomAccessStream.CopyAndCloseAsync(
readStream.GetInputStreamAt(0L),
inMemoryStream.GetOutputStreamAt(0L)
);
await copyAction.AsTask(cancellationTokenSource.Token);
if (uriSource.Equals(UriSource))
{
var gifPresenter = new GifPresenter();
GifImage.Source = await gifPresenter.InitializeAsync(inMemoryStream);
_gifPresenter = gifPresenter;
if (_isLoaded)
if (uriSource.Equals(UriSource))
{
_gifPresenter.StartAnimation();
_gifPresenter?.StopAnimation();
_gifPresenter = gifPresenter;
if (_isLoaded)
{
_gifPresenter.StartAnimation();
}
}
}
}
}
catch (TaskCanceledException)
{
// Just keep the empty image source.
}
catch (FileNotFoundException)
{
// Just keep the empty image source.
@ -146,12 +133,22 @@ namespace AnimatedGif
private void GifImage_Loaded(object sender, RoutedEventArgs e)
{
// Register for visibility changed to stop the timer when minimized
Window.Current.VisibilityChanged += Window_VisibilityChanged;
// Register for SurfaceContentsLost to recreate the image source if necessary
CompositionTarget.SurfaceContentsLost += CompositionTarget_SurfaceContentsLost;
_isLoaded = true;
_gifPresenter?.StartAnimation();
}
private void GifImage_Unloaded(object sender, RoutedEventArgs e)
{
// Register for visibility changed to stop the timer when minimized
Window.Current.VisibilityChanged -= Window_VisibilityChanged;
// Register for SurfaceContentsLost to recreate the image source if necessary
CompositionTarget.SurfaceContentsLost -= CompositionTarget_SurfaceContentsLost;
_isLoaded = false;
_gifPresenter?.StopAnimation();
}
@ -205,7 +202,7 @@ namespace AnimatedGif
private BitmapDecoder _bitmapDecoder;
private ImageProperties _imageProperties;
private IList<FrameProperties> _frameProperties;
private FrameProperties?[] _frameProperties;
private CanvasImageSource _canvasImageSource;
private CanvasRenderTarget _accumulationRenderTarget;
@ -218,15 +215,8 @@ namespace AnimatedGif
{
var bitmapDecoder = await BitmapDecoder.CreateAsync(BitmapDecoder.GifDecoderId, streamSource);
var imageProperties = await RetrieveImagePropertiesAsync(bitmapDecoder);
var frameProperties = new List<FrameProperties>();
for (var i = 0u; i < bitmapDecoder.FrameCount; i++)
{
var bitmapFrame = await bitmapDecoder.GetFrameAsync(i);
frameProperties.Add(await RetrieveFramePropertiesAsync(bitmapFrame));
}
_frameProperties = frameProperties;
_frameProperties = new FrameProperties?[bitmapDecoder.FrameCount];
_bitmapDecoder = bitmapDecoder;
_imageProperties = imageProperties;
@ -247,7 +237,7 @@ namespace AnimatedGif
_animationTimer = new DispatcherTimer();
_animationTimer.Tick += AnimationTimer_Tick;
_animationTimer.Interval = TimeSpan.Zero;
_animationTimer.Interval = TimeSpan.FromMilliseconds(1.0);
_animationTimer.Start();
_isAnimating = true;
@ -273,7 +263,14 @@ namespace AnimatedGif
}
var frameIndex = _currentFrameIndex;
var frameProperties = _frameProperties[frameIndex];
BitmapFrame frame = null;
if (!_frameProperties[frameIndex].HasValue)
{
frame = await _bitmapDecoder.GetFrameAsync((uint)frameIndex);
_frameProperties[frameIndex] = await RetrieveFramePropertiesAsync(frame);
}
FrameProperties frameProperties = _frameProperties[frameIndex].Value;
// Increment frame index and loop count
_currentFrameIndex++;
@ -295,7 +292,10 @@ namespace AnimatedGif
}
// Decode the frame
var frame = await _bitmapDecoder.GetFrameAsync((uint)frameIndex);
if (frame == null)
{
frame = await _bitmapDecoder.GetFrameAsync((uint)frameIndex);
}
var pixelData = await frame.GetPixelDataAsync(
BitmapPixelFormat.Bgra8,
BitmapAlphaMode.Premultiplied,
@ -309,7 +309,7 @@ namespace AnimatedGif
if (frameIndex > 0)
{
var previousFrameProperties = _frameProperties[frameIndex - 1];
var previousFrameProperties = _frameProperties[frameIndex - 1].GetValueOrDefault();
if (previousFrameProperties.ShouldDispose)
{
// Clear the pixels from the last frame
@ -567,3 +567,4 @@ namespace AnimatedGif
}
}
}

Просмотреть файл

@ -14,7 +14,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -16,7 +16,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -18,7 +18,7 @@ This sample shows:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -16,7 +16,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -16,7 +16,7 @@ which show how to use the custom template in your app
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -15,7 +15,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -15,7 +15,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -14,7 +14,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -18,7 +18,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -123,6 +123,11 @@ namespace ListViewSample.Model
return groups;
}
public override string ToString()
{
return Name;
}
#endregion
#region Helpers

Просмотреть файл

@ -17,7 +17,7 @@ Specifically, this sample demonstrates:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -14,7 +14,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -15,7 +15,7 @@ Specifically, this sample shows how to:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -9,7 +9,7 @@ This sample shows how to implement a "pull-to-refresh" feature for a scrollable
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -9,7 +9,7 @@ Showcases a UI scenario from Settings (Personalization UI) and highlights the si
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -9,7 +9,7 @@ Showcases extensible StateTriggers with a couple of different custom triggers bu
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -9,7 +9,7 @@ Showcases how to build tailored UI using multiple views that are optimized for o
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Просмотреть файл

@ -14,7 +14,7 @@ Specifically, two effects are demonstrated in this sample:
**Note** The Windows universal samples require Visual Studio 2015 to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](https://dev.windows.com)
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
To obtain information about Microsoft Visual Studio 2015 and the tools for developing Windows apps, go to [Visual Studio 2015](http://go.microsoft.com/fwlink/?LinkID=532422)

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше