C
C#ā€¢2mo ago
/root/whoami/

Can't make MenuItem of same style as ContextMenu

https://paste.mod.gg/vvyjvtndoatj/0 - Here I have a code for a ContextMenu that expands into more subitems. However, the MenuItem box has an unchangeable style (Screenshot attached). I want to make everything have the same exact style.
BlazeBin - vvyjvtndoatj
A tool for sharing your source code with the world!
No description
35 Replies
/root/whoami/
/root/whoami/OPā€¢2mo ago
I can't even remove the separator on that lmao, someone help pls
/root/whoami/
/root/whoami/OPā€¢2mo ago
btw it's meant to look like this
No description
ero
eroā€¢2mo ago
looks like you'll need to create a custom style for the affected controls it's not trivial
/root/whoami/
/root/whoami/OPā€¢2mo ago
well, i have in fact tried in a way, but what it would do is if i set target to menuitem then it would affect literally every text and make it have a blue border and it would look ugly
ero
eroā€¢2mo ago
in that case you would need to apply the style only when the control is hovered
/root/whoami/
/root/whoami/OPā€¢2mo ago
I was thinking of making like a bunch of contextmenus and using backend code to make the next thing visible, but it just seems to work pretty bad
ero
eroā€¢2mo ago
it's been a while since i've done wpf, so i'm sure someone can elaborate (maybe you have more luck in #gui, can just link to this post). but i do remember creating resource dictionaries which contained styles in which i specifically set the style for different conditions... in case you hadn't found it yet, my first search found this reasult; https://stackoverflow.com/a/34889755/26432683
Buddy
Buddyā€¢2mo ago
We do NOT help with malware! And it is strictly forbidden by Discord ToS.
ero
eroā€¢2mo ago
aw man guy
Buddy
Buddyā€¢2mo ago
Surely
Buddy
Buddyā€¢2mo ago
Surely this would be used for good reasons .. Right?
No description
ero
eroā€¢2mo ago
this is what ticked you off, not the mention of "fodhelper"? lol
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacleā€¢2mo ago
you'd be surprised what people ask for help with here
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacleā€¢2mo ago
if you're making it for someone else how do you know what it will be used for?
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azraelā€¢2mo ago
Mmm yes, hidden RDP. Which you posted on Discord. No?
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azraelā€¢2mo ago
A screenshot for context is enough. šŸ˜†
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacleā€¢2mo ago
so you're remaking an illegal rat but this one is totally legal and you're making it for some guy on linkedin
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azraelā€¢2mo ago
How are we supposed to verify that claim?
Jimmacle
Jimmacleā€¢2mo ago
yeah, in order for this server to not be nuked by discord we have to follow TOS
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacleā€¢2mo ago
which means not helping with things like this
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azraelā€¢2mo ago
It may not be illegal, but it sure is sketchy.
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacleā€¢2mo ago
despite your claims, RATs are often used for illegal purposes so hopefully you understand where the skepticism is coming from
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Azrael
Azraelā€¢2mo ago
How can we verify that claim?
Unknown User
Unknown Userā€¢2mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacleā€¢2mo ago
even if you think it's not illegal i wouldn't be surprised if they'd use it illegally anyway what does a company need a custom built RAT for
Want results from more Discord servers?
Add your server