/// <summary> /// Переход к редактированию поля или открытие документа /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private async void LbTitleDocument_MouseClick(object sender, MouseEventArgs e) { if (clicked) { return; } else { clicked = true; await Task.Delay(SystemInformation.DoubleClickTime); } if (!clicked) { return; } else { clicked = false; ShowDoc.Invoke(FullName); } }
//private void activa private void CatalogItem_Enter(object sender, EventArgs e) { BackColor = UserSettings.catalogDocItem_ActiveColor;// Color.FromArgb(240, 246, 255); ShowDoc.Invoke(FullName); }