Пример #1
0
        void button_ServerClick(object sender, EventArgs e)
        {
            // Raise an event.

            if (SelectClick != null)
            {
                SelectClick.Invoke(this, EventArgs.Empty);
            }
        }
 private void SelectChip(View view)
 {
     if (!_selectable)
     {
         return;
     }
     _isSelected = !_isSelected;
     InitBackgroundColor();
     UpdateTextView();
     if (onSelectClickListener != null)
     {
         onSelectClickListener.OnselectClick(view, _isSelected);
     }
     SelectClick?.Invoke(this, new SelectEventArgs(view, _isSelected));
 }
 private void OnMouseTextBoxLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     SelectClick?.Invoke(sender, e);
 }