Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 316 Vote(s) - 3.41 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to have a Context Menu / Main Menu Strip without the ".NET Look"

#1
in my Source code packs i've released, there is a screenshot showing the Built-in Windows Context Menu even though the application has been made using the .NET Framework, why doesn't it look like this?

[Image: H-iEAEFeRkuKJwKhM6K0yQ.png]

but instead looks like this

[Image: 8xY-relFQ3aC1GEbbTVQoQ.png]

1: Go in your ToolBox window and Right Click, select "Choose Items..."
[Image: D4zijZgXQMCJooW_4O1syg.png]

When you are in the "Choose Toolbox Items" dialog, make sure you're in the ".NET Framework Components", then type "MainMenu" (for the MenuStrip) and "ContextMenu" (for the context menu), then when you found them, make sure you tick both to be able to use them

[Image: C2A8964QQtaB8NRYCyrMfQ.png]
[Image: 2NL2h6FPRZ_ephVGn1dHMw.png]

Close the dialog and your toolbox should've reloaded with the added items
[Image: ye86iftXSPCUmjZbTE6-dw.png]

And here we go, you can now use the original Context Menu & MenuStrip of Windows

Pros:
- Looks more professional
- Supports Shortcuts
- Easy & Fast creation of Items


Cons:
- No Image Support
- No Styling
- Can only have MenuItems, there is no support for Textboxes


PS: A good alternative is to use the default .NET MenuStrip and to change the RenderMode to System, it removes the gradient visible in the items & can still be restylished
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through