Exemple #1
0
        /// -------- FUNCTIONS --------

        // constructor
        public DogWindow()
        {
            InitializeComponent();
            image.PreviewMouseDown += new MouseButtonEventHandler(imageOnMouseDown);
            image.PreviewMouseMove += new MouseEventHandler(imageOnMouseMove);
            image.PreviewMouseUp   += new MouseButtonEventHandler(imageOnMouseUp);

            config_manager = new ConfigManager("/icons/default_dog");

            note_storage = new NoteStorage(this, "storage");
            note_storage.restore_from_disk();
        }