⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 page.g.cs

📁 动画时钟示例
💻 CS
字号:
#pragma checksum "C:\Documents and Settings\Administrator\桌面\SilverlightClock\SilverlightClock\SilverlightClock_csharp\Page.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "449C214D3B2FECFFADE86D34A4CEDF87"
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:2.0.50727.3053
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interop;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Resources;
using System.Windows.Shapes;
using System.Windows.Threading;


namespace SilverlightClock {
    
    
    public partial class Page : System.Windows.Controls.UserControl {
        
        internal System.Windows.Media.Animation.Storyboard clockStoryboard;
        
        internal System.Windows.Media.Animation.DoubleAnimation hourAnimation;
        
        internal System.Windows.Media.Animation.DoubleAnimation minuteAnimation;
        
        internal System.Windows.Media.Animation.DoubleAnimation secondAnimation;
        
        internal System.Windows.Shapes.Ellipse outerCircle;
        
        internal System.Windows.Shapes.Rectangle MinutedHand;
        
        internal System.Windows.Media.RotateTransform minuteHandTransform;
        
        internal System.Windows.Shapes.Rectangle HourHand;
        
        internal System.Windows.Media.RotateTransform hourHandTransform;
        
        internal System.Windows.Shapes.Rectangle SecondHand;
        
        internal System.Windows.Media.RotateTransform secondHandTransform;
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightClock;component/Page.xaml", System.UriKind.Relative));
            this.clockStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("clockStoryboard")));
            this.hourAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(this.FindName("hourAnimation")));
            this.minuteAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(this.FindName("minuteAnimation")));
            this.secondAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(this.FindName("secondAnimation")));
            this.outerCircle = ((System.Windows.Shapes.Ellipse)(this.FindName("outerCircle")));
            this.MinutedHand = ((System.Windows.Shapes.Rectangle)(this.FindName("MinutedHand")));
            this.minuteHandTransform = ((System.Windows.Media.RotateTransform)(this.FindName("minuteHandTransform")));
            this.HourHand = ((System.Windows.Shapes.Rectangle)(this.FindName("HourHand")));
            this.hourHandTransform = ((System.Windows.Media.RotateTransform)(this.FindName("hourHandTransform")));
            this.SecondHand = ((System.Windows.Shapes.Rectangle)(this.FindName("SecondHand")));
            this.secondHandTransform = ((System.Windows.Media.RotateTransform)(this.FindName("secondHandTransform")));
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -