Questions tagged as 'winforms'

1
answer

Update Controls in Custom Toolbox Control

I created a "Windows Forms Toolbox Control" project and customized some controls: I'vecreatedacustomgallerysothatallofthecompany'sprogrammerscaninstallthetoolboxandmakeuseofthecontrols: According to the figure below you can see the toolbox cr...
asked by 31.03.2015 / 19:01
1
answer

How to create a variable accessible in all forms?

In my application you will have a Login system. I want to create a variable to store the id of the user that is logged in, and that it can be accessed on all other forms. I need this because in my database, each table has a field called us...
asked by 05.01.2017 / 20:11
2
answers

Changing opacity of one form through another

I need to change the opacity of the main form every time the user clicks the close button. When it clicks on this button the opacity stays in this.Opacity = .75; and opens a new form asking if it wants to close the program. Close butto...
asked by 03.01.2017 / 14:07
2
answers

Tagging photo with problem

I've made a code that labels a jpg , by typing the client's site address in the image footer. The Problem: Some photos the text is coming giant as if it were source 72px instead of source 12px Correct Photo Link Link wrong PH...
asked by 14.10.2014 / 21:23
1
answer

Questions in Windows Forms and C #

I'm trying to learn C # but I'm having a hard time understanding the file and folder hierarchy of Visual Studio 2013 Solution Explorer. I can not understand why there are two .cs files, one for the design and another for the program itse...
asked by 23.06.2015 / 21:10
2
answers

How to hide a password in C #

I want to hide my password. What I want to happen is that as long as I type the "*" is shown instead of the characters, the problem is that this happens only when I click the "Log in" button. Yes, I know this happens because the commands a...
asked by 31.05.2017 / 22:01
2
answers

Capture TextBox that called the event

I want to implement the wind GotFocus in a TextBox , so that when it gets focus, it sets the Text property to string.empty . However, I have 6 TextBox that will execute this event. How do I identify which TextB...
asked by 09.05.2017 / 02:53
2
answers

Return original formatting TextBox

I have a method, which checks if a TextBox is filled, if it is normal, if it is blank, it displays a message on the screen, and it paints the background of the TextBox in yellow, Here comes my doubt, how do I return to the default color? Curr...
asked by 28.06.2016 / 05:55
2
answers

How to read the width and height of a physical image-type file?

How to get width and height of a physical image file?     
asked by 21.01.2015 / 15:01
2
answers

Windows forms start with operating system

How do I get the user to choose whether the system (system tray c #) will start with the OS or not through the installation in WizardSetup (Visual Studio 2010)?     
asked by 06.09.2014 / 22:45