• 17.04.2026, 12:27
  • S’inscrire
  • Connexion
  • Vous n’êtes pas connecté.

 

Bonjour, visiteur, bienvenue sur les forums Aqua Computer Forum. Si c’est votre première visite, nous vous invitons à consulter l’Aide. Elle vous expliquera le fonctionnement de cette page. Pour avoir accès à toutes les fonctionnalités, vous devez vous inscrire. Pour cela, veuillez utiliser le formulaire d’enregistrement, ou bien lisez plus d’informations sur la procédure d’enregistrement. Si vous êtes déjà enregistré, veuillez vous connecter.

RuffHi

Junior Member

Setting up Pages

lundi 6 novembre 2023, 20:12

Afternoon all. I have finally finished my water cooled PC and will be using it from now on. That brings Aqua-stuff back into the mix. I have been playing this morning with direct edits of the XML page files and have managed to duplicate some displays that I am using (fan speed and power information for my fans). Direct editing means that I don't have to worry about the micro pixel related placement work. All I have to do is the math :).

The bad side is that my images (fan, pump, temp, etc) refuse to load. I have the png files stored, the location in the XML looks right. What am I missing?

Code source

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<UserControl
    x:Name="this"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    mc:Ignorable="d" d:DesignHeight="200" d:DesignWidth="200">
    <Grid>
        <!--Loads an image-->
        <!--Source: path or url to image-->
        <Image               
            Source="Content/images/fans.png"
            Opacity="1.0"
            Height="Auto" 
            Width="Auto" 
            Margin="0,0,0,0"            
            Stretch="Uniform" 
            StretchDirection="Both" />
    </Grid>
</UserControl>

RuffHi

Junior Member

lundi 6 novembre 2023, 20:26

Never mind ... just added a new one using the template and it solved the (my?) issue.

Code source

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<UserControl
    x:Name="this"

<snip>

    <Grid>
        <!--Loads an image-->
        <!--Source: path or url to image-->
        <Image               
            Source="file:///C:\Program Files\aquasuite\Content/images/fans.png"
            Opacity="1.0"

<snip>

</UserControl>

Ce message a été modifié 1 fois. Dernière modification effectuée par "RuffHi" (6 novembre 2023, 21:14)

RuffHi

Junior Member

mardi 7 novembre 2023, 15:09

That said ... I do have a page that I can't access. I click on it and it locks up the program. How do I delete it if I can't get to the settings cog?

Edit: Nevermind ... you can get to the settings cog by clicking on it ... without trying to display the page.

Discussions similaires