Search results for query: *

  • Users: leorob88
  • Content: Threads
  • Order by date
  1. L

    Set desktop wallpaper

    I'm willing to fix an application i made. Basically, it sets the desktop wallpaper on windows (i'm on Win10). The only issue is when Windows restarts the wallpaper is gone and it's just black. I'm no expert and I found this code online. I'm wondering if some of you could know how to fix that...
  2. L

    Check if a menustrip is highlighted/selected

    I'm handling colors for menustrips, so, since i have a black list with white text, when an item is selected it turns azure-ish. My problem would be to read the text inside, since it's white. While you can solve this using Mouse_Enter and Mouse_Leave, this problem remains when you get to an...
  3. L

    Controls forecolor and text size glitch/issue

    I'm working on a setting for my app to change color for the controls (basically, i want to create a dark theme). I'm almost done with it but I noticed this issue. I'm changing the comboboxes draw mode from Normal to OwnerDrawFixed so I can change the backcolor and forecolor. Changing Draw Mode...
  4. L

    Prevent button flatstyle from changing color behavior

    I'm creating a form app. I'm willing to create a different theme (dark) so I made some tests for the buttons and found out it would be good to change the flatstyle to popup for the dark theme. The dark theme is ok. The problem is if the button is disabled, when I change it back to standard, the...
  5. L

    C# declare empty string[ ][ ] (array of arrays)

    Hello there, my question is simple as that. I need to declare an array of arrays which are all strings, because I need to creare some sort of "grid". I'm importing a text file with a variable number of rows, but each row will have 4 values separated by ||, (so my idea would be to use a text...
  6. L

    Get Bitmap from PictureBox drawn Region

    Hello, I'm trying to solve a problem with graphics and drawing. To start with, i define a picturebox region, then with fillrectangle i draw into that region. What i would do now is creating a Bitmap from that drawn region (because then i need to use bitmap.getpixel to check colors) but I'm...
  7. L

    Graphics overlap avoiding transparence

    Hi, I have a problem drawing in a PictureBox. To summarize and make an example: imagine you have to draw a rectangle at 0, 0 and it's 100x100 pixels; then you have to draw another rectangle 10x10 at the center (which should be at 45, 45 if i'm not mistaken) but the result shall be simply the...
  8. L

    Question Folder browsing during setup

    Hi, I'm new here and my problem is easily explained. If I create a setup project with VS2019 the graphic for the folder browsing during the setup is pretty old like it's Win95, I'd rather have one more "good-looking", perhaps one that adapts on the O.S. like the openfile dialog window. Also, one...
Back
Top Bottom