private pictureBoxRelay_MouseClick ( object sender, MouseEventArgs e ) : void | ||
sender | object | |
e | MouseEventArgs | |
Результат | void |
private void pictureBoxRelay_MouseClick(object sender, MouseEventArgs e)
{
if (tripBounds.Contains(e.Location))
{
this.closed = false;
this.UpdateValues();
}
else if (closeBounds.Contains(e.Location))
{
this.closed = true;
this.UpdateValues();
}
}