Exemplo n.º 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);
        }
Exemplo n.º 2
0
        private static void OnSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Icon icon = d as Icon;

            icon.SetElementValues();
        }
Exemplo n.º 3
0
        private static void OnSelectedPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Icon icon = d as Icon;

            icon.GoToState(true);
        }