コード例 #1
0
        private void CooldownEditor_Click(object sender, RoutedEventArgs e)
        {
            var cooldownRestrictions = new CooldownRestrictionsDialog();

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