Questions tagged as 'winforms'

2
answers

Check for installed components

In my project I have a built-in browser so the user can access a certain site that he needs. The browser works, except that it has requirements for the C ++ 2012 library and Flash. Is there any way to find out if these components are installe...
asked by 21.12.2015 / 12:40
2
answers

C # - How to remove the Maximize, Minimize, but keep a Close button only?

I created a graphic component and wrote a command line that removed the control bar from the graphic component, but all the buttons disappeared. Is there any way to just leave the Close button? Or will I have that Form component type for an...
asked by 23.06.2015 / 21:57
1
answer

Silent installation of Postgres and creation of the base in installer

How can I embed the PostgreSQL database in my WinForms system installer? I can even put it as a prerequisite to install before the system binaries, however, I wanted to do a silent installation. I would also like to know how to create the ban...
asked by 22.09.2016 / 14:54
1
answer

How to put a background image and make it responsive?

I'm learning C #, so I'd like to know how to put a background image (and / or> background) and also remove the blue borders. I'm using Visual Studio. Ps : Some videos I saw on YouTube basically boiled into the properties of form and s...
asked by 09.05.2017 / 17:09
2
answers

How to put buttons / titles with different design / style in C #? [closed]

In C # is there any way to put eg the buttons with a different design, or the title with a different style? I want to get my program fancy.     
asked by 10.03.2014 / 15:12
1
answer

Encrypt App.Config

I'm trying to encrypt my connection string , which is in my app.config . After reading some forums, I saw that 2 methods need to be created: class proteger_app { public static void Criptografar() { Configuration confi...
asked by 26.07.2016 / 22:26
2
answers

How to change focus from one TextBox to the next?

I'm trying to change the focus of the field after the user types 2 digits. Validation is ok, but I have not yet found a method to get focus shifted. NOTE: This is a dynamic method used for multiple fields, so I can not specify on the hand whi...
asked by 09.10.2015 / 14:44
2
answers

System modulation

I'm developing a C # system with WinForms of Livestock Control for a farm, and will communicate with a scale to improve the weighing process. Some of the features are (Invoice entry, vaccination, casualties, transfers, purchases, stock). I...
asked by 26.10.2016 / 16:09
1
answer

C # - Import configuration file (.ini)

How do I import an ini configuration file so that it loads and returns a value of one key: Example: [version] code=0.3 The program will load the ini file and I select the section (in case it is 'version'), select the key (in the case it...
asked by 23.10.2014 / 02:09
1
answer

Web Api Client in Windows Forms

I'm making a client using Web Api. My site has the Web server function Api. I found this reference from Microsoft link which has an example client: static async Task RunAsync() { using (var client = new HttpClient()) { client...
asked by 05.05.2014 / 20:23