hey
how can i put code under into nessencairy methods ?
private void btnUp_Click(object sender, EventArgs e)
{
pbxPicture.Top -=10;
}
private void btnDown_Click(object sender, EventArgs e)
{
pbxPicture.Top += 10;
}
private void btnLeft_Click(object sender, EventArgs e)
{
pbxPicture.Left -= 10;
}
private void btnRight_Click(object sender, EventArgs e)
{
pbxPicture.Left += 10;
}
private void btnUpLeft_Click(object sender, EventArgs e)
{
pbxPicture.Left -= 10;
pbxPicture.Top -= 10;
}
private void btnUpRight_Click(object sender, EventArgs e)
{
pbxPicture.Left += 10;
pbxPicture.Top -= 10;
}
private void btnDownLeft_Click(object sender, EventArgs e)
{
pbxPicture.Left -= 10;
pbxPicture.Top += 10;
}
private void btnDownRight_Click(object sender, EventArgs e)
{
pbxPicture.Left += 10;
pbxPicture.Top += 10;
}
}
}
thx Wimo

Laxmidhar SahooRank #383 · 6.6K reputationPosted Jun 1, 2020, 10:24 AM EDT
Wim BR14 reputationPosted Jun 1, 2020, 10:28 AM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jun 1, 2020, 10:31 AM EDT
Wim BR14 reputationPosted Jun 1, 2020, 10:53 AM EDT