Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
private: System::Void pictureBox1_DragEnter(Object *sender, DragEventArgs *e)
{
e->Effect = DragDropEffects::Copy;
}
private: System::Void pictureBox1_DragDrop(Object *sender, DragEventArgs *e)
{
if (e->Data->GetDataPresent(DataFormats::FileDrop))
{
Object *object = e->Data->GetData(DataFormats::FileDrop);
Array *array = (__try_cast<Array *> (object) );
String *file = (__try_cast<String *>(array->GetValue(0)));
this->pictureBox1->Image = new System::Drawing::Bitmap(file);
}
}