ScreenToGif.Modern.lblDelay_MouseDown C# (CSharp) Method

lblDelay_MouseDown() private method

Updates the _clicked flag or opens the contextMenu.
private lblDelay_MouseDown ( object sender, System e ) : void
sender object
e System
return void
        private void lblDelay_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left)
            {
                _clicked = true;
                _lastPosition = e.Location; //not sure if this is needed here, there is another one in the EditFrames().
            }
            else
            {
                con_tbDelay.Text = _delay.ToString();
                contextDelay.Show(lblDelay, 0, lblDelay.Height);
            }
        }
Modern