private void CooldownEditor_Click(object sender, RoutedEventArgs e)
        {
            var cooldownRestrictions = new CooldownRestrictionsDialog();

            cooldownRestrictions.Character = Character;
#if SILVERLIGHT
            cooldownRestrictions.Show();
#else
            ((Window)cooldownRestrictions).Show();
#endif
        }
        private void CooldownEditor_Click(object sender, RoutedEventArgs e)
        {
            var cooldownRestrictions = new CooldownRestrictionsDialog();
            cooldownRestrictions.Character = Character;
#if SILVERLIGHT
            cooldownRestrictions.Show();
#else
            ((Window)cooldownRestrictions).Show();
#endif
        }