yatta
yatta
CC#
Created by yatta on 10/22/2024 in #help
Metro MahApps checkbox content change color when hovered.
This is the xaml code for the checkbox:
xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
<CheckBox HorizontalAlignment="Center" VerticalAlignment="Center"
IsChecked="{Binding SupressionOnOthers}"
Content="!" FontSize="24" FontWeight="Bold"
controls:CheckBoxHelper.ForegroundChecked="{Binding SupressionColor, Converter={StaticResource ColorBrushConverter}}"
ToolTip="{Binding Supression, Source={x:Static client:Loc.I}}">
</CheckBox>
xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
<CheckBox HorizontalAlignment="Center" VerticalAlignment="Center"
IsChecked="{Binding SupressionOnOthers}"
Content="!" FontSize="24" FontWeight="Bold"
controls:CheckBoxHelper.ForegroundChecked="{Binding SupressionColor, Converter={StaticResource ColorBrushConverter}}"
ToolTip="{Binding Supression, Source={x:Static client:Loc.I}}">
</CheckBox>
The property that control the checkbox content:
private bool mSupressionOnOthers;

public bool SupressionOnOthers
{
get { return mSupressionOnOthers; }
set
{
if (SetProperty(ref mSupressionOnOthers, value))
{
if (value)
SupressionColor = Color.Red;
else
SupressionColor = Color.Black;
}
}
}
private bool mSupressionOnOthers;

public bool SupressionOnOthers
{
get { return mSupressionOnOthers; }
set
{
if (SetProperty(ref mSupressionOnOthers, value))
{
if (value)
SupressionColor = Color.Red;
else
SupressionColor = Color.Black;
}
}
}
2 replies
CC#
Created by yatta on 9/27/2024 in #help
Powershell script to automate run exe file
So my suspection right now is probably the script read the action wrongly so it cant run the exe file ? This is the first time I ever scripting with powershell, I'd be very grateful if any expert could have a look at it and point out the problem or give me some suggestions to find the problem.
6 replies
CC#
Created by yatta on 9/27/2024 in #help
Powershell script to automate run exe file
No description
6 replies
CC#
Created by yatta on 9/27/2024 in #help
Powershell script to automate run exe file
In the History, there's also the record to show that, the task actually does run up on computer started:
6 replies
CC#
Created by yatta on 9/27/2024 in #help
Powershell script to automate run exe file
No description
6 replies
CC#
Created by yatta on 9/27/2024 in #help
Powershell script to automate run exe file
I also have checked for the triggered condition, it also seems fine too:
6 replies
CC#
Created by yatta on 6/20/2024 in #help
UI modification
ye i think that's why, I just figured out, turns out, when we apply mahapps, the default Background will become useless and we cant modify it, I just replaced my Background="Transparent" with controls:HeaderedControlHelper.HeaderBackground="Transparent" with controls is the mahapps and now it works pretty
3 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
:Pikachu:
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
aight, I actually have solved it, all it need was update the react version
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
i see, lemme check :Arrestbi:
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
compile ?
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
ye, i mentioned it above :Arrestbi:
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
No description
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
should it response with css code ?
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
No description
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
the stylesheet, i mean
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
all of them return 200
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
devtools is f12 on the webpage I assume ?
32 replies
CC#
Created by yatta on 3/6/2024 in #help
Frontend not working
The right picture is how the webpage suppose to look, the left one is how it looks like for now
32 replies
CC#
Created by yatta on 1/23/2024 in #help
Seeding data from csv file
basicall, i've solved my problem in this post already now
22 replies