コード例 #1
0
        public NotificationModule(String Title, String Summary) : this()
        {
            this.title   = Title;
            this.summary = Summary;

            fadeAnimate = new Animation.FadeAnimate(TimeSpan.FromSeconds(3));
            this.BeginAnimation(UserControl.OpacityProperty, fadeAnimate.FadeOut());
        }
コード例 #2
0
        public UnlockModule()
        {
            InitializeComponent();
            DataContext = this;

            accController = new Controller.AccountController();

            fadeAnimate = new Animation.FadeAnimate(TimeSpan.FromSeconds(3));
            this.BeginAnimation(UserControl.OpacityProperty, fadeAnimate.FadeIn());
        }
コード例 #3
0
        public ChangeAccountModule()
        {
            InitializeComponent();
            DataContext = this;

            accController = new Controller.AccountController();

            IdentifyCode = Md5Sha1Encrypt.MD5Hashing(DateTime.Now.ToString());

            fadeAnimate = new Animation.FadeAnimate(TimeSpan.FromSeconds(3));
            this.BeginAnimation(UserControl.OpacityProperty, fadeAnimate.FadeIn());
        }