Click here to Skip to main content
11,414,561 members (66,725 online)
Click here to Skip to main content
Add your own
alternative version

Another Screensaver with WPF

, 27 Jan 2012 CDDL
Lessons learnt from writing a screensaver with WPF
using System.Windows;
using System.Windows.Media;

namespace RZWScreenSaver {
    /// <summary>
    /// Interaction logic for DeleteDialog.xaml
    /// </summary>
    public partial class DeleteDialog{
        public DeleteDialog() {
        public DeleteDialog(ImageSource picture, string pictureName) : this() {
            previewPicture.Source = picture;
            this.pictureName.Text = pictureName;
        public bool MoveFileNeeded{ get; private set; }
        void onOk(object sender, RoutedEventArgs e){
            DialogResult = true;
        void onMoveFile(object sender, RoutedEventArgs e){
            MoveFileNeeded = true;
            DialogResult = true;

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Common Development and Distribution License (CDDL)


About the Author

Ruxo Zheng
Technical Lead
Thailand Thailand
C/C++ and C# programmer.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150427.4 | Last Updated 27 Jan 2012
Article Copyright 2009 by Ruxo Zheng
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid