Questions tagged as 'winforms'

1
answer

Typing in the TextBox

I'm doing a project in visual studio and need help. I would like to know if you have how or how to do that when I type in the textbox, this that I typed in starts regardless of the position of the cursor or that it goes kinda deleting until you...
asked by 04.06.2016 / 01:36
1
answer

Open or form1 or form2 at the start of the winform program

I have a program in vb6 and it has two buttons - One mara scanner and another one to consult scanned images. I created a program in C # winform in which the project has 2 forms - one form1 for the scanner and another form2 for the queries of the...
asked by 12.07.2016 / 23:28
1
answer

Define variable in the form designer

How can I define a variable in the designer of a form? Today I define the variable for my parameter, but when I see the form it gives this warning (even with the warning, it executes normally):    The variable 'id_grid' is either undeclare...
asked by 10.07.2016 / 18:00
2
answers

A single form with multiple MDI forms or forms. Which option is most efficient in program performance?

I'm a beginner in C #. I'm developing a simple application that has multiple windows. Depending on what you need to do in the program, the user needs to open multiple windows to get to the required page. I would like to make it lighter and more...
asked by 22.03.2016 / 12:19
1
answer

Counting and accessing checked checkboxes

I need to count checked checkboxes that are in a panel and are horizontal. It's Windows form, C #. I could not format a listbox for horizontal, so it's in a panel myself. But I would like to count them and access them with a bond. I tried concat...
asked by 04.06.2015 / 22:08
2
answers

Disable ToolStripButton in form

I need to do a check and if it is true , the button is still enabled, if it is false , the button should be disabled ... How could I do this? Until now I only have the if, because I do not know how to do this: if(true) {...
asked by 30.06.2015 / 17:51
1
answer

Ribbon for Visual Studio Express 2013

How to install or activate Ribbon in Visual Studio Express 2013?     
asked by 10.03.2015 / 18:10
1
answer

Assigning ListBox values to vector

When you play the items one by one within a vector, position 0 with 0, and so on, works correctly. But the code shows a malfunction because, in the first iteration goes normal in the second of the error:    InvalidArgument = Value of '1' is n...
asked by 15.01.2015 / 17:33
1
answer

Combobox equal to Google search

How to do so that in the combobox I type letters and returns any text corresponding to those letters that I typed. Example: I have a LisItem type list in the combobox hi to all Hi to all my haters Hi to all of you Hi to all my fri...
asked by 20.03.2015 / 18:34
2
answers

Reactivate form when closing another

I have a main form and this way I click on a button and open another form , then when I open this other form I deactivate the main, until then everything well, then I wanted it when the user closed the second form , the main would resume wor...
asked by 05.11.2014 / 23:46