Пример #1
0
        private void SetSelection(Lionsguard.Icon icon)
        {
            norvic.Selected = najii.Selected = peren.Selected = xhin.Selected = false;
            icon.Selected   = true;

            this.SetControlValues();

            this.RaceSelected(this, EventArgs.Empty);
        }
Пример #2
0
        private static void OnSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Icon icon = d as Icon;

            icon.SetElementValues();
        }
Пример #3
0
        private static void OnSelectedPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Icon icon = d as Icon;

            icon.GoToState(true);
        }