protected override void OnMouseDown(MouseEventArgs mevent)
{
if(General.MainWindow == null)
return;
if(localenabled)
{
if(clickable)
{
ismousedown = true;
General.Sounds.Play(clicksound);
this.BackColor = General.Colors[ColorIndex.ControlPressed];
this.ForeColor = General.Colors[ColorIndex.ControlPressedText];
this.Refresh();
releasetimer.Start();
}
General.MainWindow.UserActivity();
base.OnMouseDown(mevent);
}
}