示例#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);
        }