Esempio n. 1
0
        /// <summary> Select this label. </summary>
        public void Select()
        {
            if (!_isSelected)
            {
                foreach (Label label in _owner.Labels)
                {
                    label.Deselect();
                }

                _isSelected = true;
                OnSelected(_sourceData);
                _borderThickness = _borderThicknessSelected;
                if (_contentStyle != null)
                {
                    _contentStyle.fontStyle = FontStyle.Bold;
                }
                if (LabelEditorWindow.IsShown)
                {
                    LabelEditorWindow.Show(this);
                }
                Refresh();
            }
        }
Esempio n. 2
0
 protected void ContextEditCallback(object obj)
 {
     LabelEditorWindow.Show(this);
 }