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_MouseDown(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
if(e->Button == System::Windows::Forms::MouseButtons::Left) {
mouseDown = true;
Color c;
int x = e->X + vScrollBar1->Value;
int y = e->Y + hScrollBar1->Value;
//point->Add(gcnew SchreibKoordinaten(e->X,e->Y));
zeichnen->FillRectangle(Brushes::Black, x, y, x, y);
// pictureBox1->Image = zeichnen;
}
}
private: System::Void pictureBox1_MouseMove(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
//point[anzahl_gezeichnet]->setKoord(e->X, e->Y);
if(mouseDown) {
Color c;
int x = e->X + vScrollBar1->Value;
int y = e->Y + hScrollBar1->Value;
//point->Add(gcnew SchreibKoordinaten(e->X,e->Y));
zeichnen->FillRectangle(Brushes::Black, x, y, x, y);
//pictureBox1->Image = zeichnen;
}
else {
}
}
private: System::Void pictureBox1_MouseUp(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
if(e->Button == System::Windows::Forms::MouseButtons::Left) {
if(mouseDown) {
Color c;
//point->Add(gcnew SchreibKoordinaten(e->X,e->Y));
int x = e->X + vScrollBar1->Value;
int y = e->Y + hScrollBar1->Value;
zeichnen->FillRectangle(Brushes::Black, x, y, x, y);
pictureBox1->Image = dynamic_cast<Image^>(zeichnen);
mouseDown = false;
anzahl_gezeichnet++;
}
}
}
2 Punkte:
1. Man kann Beiträge editieren und muss nicht für jeden Satz einen Post erstellen!
2. Hast du den Inhalt der Netiquette vergessen? Wenn ja, bitte nochmal nachlesen! Und dann auch dran halten
Das, was du bei deiner Anmeldung akzeptiert hast: http://www.tutorials.de/content/872-netiquette.htmlJa ok. Entschuldige bitte. Aber was ist die Netiquette?