Automatak.Simulator.DNP3.RelayOutstationPlugin.OutstationForm.pictureBoxRelay_MouseClick C# (CSharp) Method

pictureBoxRelay_MouseClick() private method

private pictureBoxRelay_MouseClick ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return 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();
            }
        }