Most voted "winforms" questions
Winforms is the informal term given to Windows Forms, is a graphical interface application included as part of Microsoft . NET Framework. Winforms provides native visual access to Microsoft Windows window interface using existing Windows API in managed code.
Learn more…1,192 questions
Sort by count of
-
2
votes1
answer1354
viewsText break in Windows Reporting (RDLC) column
I have a report that has the structure below: And almost everything works properly. But when the answer text of a question is too large (there is no character limit) the entire line (of the report)…
-
2
votes0
answers186
viewsHow to use Hasmorepages on this occasion?
Well, I have a printing system here that is working perfectly. The problem I am facing is regarding the use of bool HasMorePages. I’m not sure how to implement it to print multiple pages if the…
-
2
votes1
answer91
viewsWhere can I find the Microsoft.WindowsMobile.Forms library?
I’m developing an application on Smart Device for Windows Mobile 6 in Visual Studio 2008 C#. In this application I need to use the object functions CameraCaptureDialog, because, the main goal of the…
-
2
votes2
answers1631
viewsMake a combobox take C#
I doubt to make the combobox assume a value. I have two combobox with the items 'low, medium and high' and I want that if I select low in the combobox it takes the value 0, if I select medium it…
-
2
votes1
answer430
viewsDatagridview windows Forms
I have the following question: I have one Grid which is composed of various information (id, city, zip code) and the user will select several lines in this Grid. I need to capture the selected…
-
2
votes1
answer3512
viewsAdd buttons to the Datagridview cell
I am developing a Windows Form C# activity control application for a company, however I would need to display activities such as buttons within the cell of GridView. I’ve tried to:…
-
2
votes1
answer46
viewsChange Preview text (Xtrareport)
would like to change the text of the Preview of a report Xtrareport. See image below :…
-
2
votes4
answers6715
viewsHow to clear form fields in c#?
I’m doing a project for college, I created a GroupBox and inside there’s RadioButton, Label, MaskedTexbox and TextBox. When I click the cancel button I did the cleaning of the MaskTexbox and TextBox…
-
2
votes1
answer7401
viewsOpen maximized form on full screen
I have a main form, which contains all the options of the system and I would like to know how to open this maximized on the full screen, if possible, adapting the different resolutions. IMAGE OF THE…
-
2
votes2
answers93
viewsRepeater for many lines
I have a problem in an application I am developing where I have a database with approximately 20 million lines. The problem is that the user wants to see all these 20 million lines on a single…
-
2
votes2
answers743
viewsCommunicating a Windows Service project with a Windows Form project
I just developed a Windows Service project (this will be running to check for system updates, via Clickonce). I need this Windows Service to communicate with a Form. I know that it is not possible…
-
2
votes1
answer1159
viewsSuggestion to update Windowsform application
I am developing a Windows Form application in C#, this is a slightly large application, I would like to know what technology I use to update this application on the client’s computer. I tried to…
-
2
votes1
answer1864
viewsHow to show "wait, load data" using asynchronous programming?
How can I use asynchronous programming with Async and Await so that it appears in the middle of the grid "Wait for loading data" while searching for data in the database and fill in with Datatable…
-
2
votes2
answers212
viewsIdentify file execution within a ZIP
I created an application that was made available for download within a .zip. Within the .zip has a .exe and some files needed to perform an installation. So far so good. However some users do not…
-
2
votes3
answers137
viewsDoubt in research
I have a Grid, but when I type something into the field textbox, the search is not done and nothing is displayed on Grid. Follow the code made in 4 layers: Form: private void…
-
2
votes0
answers76
viewsHow to use different language Resources in C#
The following is, by entering some tutorials I was able to create two Resources for my application, and both are working, because when you change the language in the language field of the Form…
-
2
votes1
answer115
viewsProgress within a Task
How can I modify the values of an interface control within a separate task from the main thread? Example: private void button1_Click(object sender, EventArgs e) { Task task = new Task(Processar);…
-
2
votes2
answers1060
viewsSend email Login & Password C# windows Form
I saw that I had to send e-mail when the user forgets the password and I put together different codes but all gave errors. I think there’s something missing and I wonder if someone could help me?…
-
2
votes2
answers3293
viewsDatetimepicker, get first and last day of the month
How do I take the first and last day of the previous month, to fill a DateTimePicker on screen? Ex: Data Inicial 01/07/2015 Data Final 31/07/2015…
-
2
votes1
answer124
viewsHow to set the size of a button in centimeters?
I need to place a button with height and width in centimeters, where the size is maintained if accessed in different screen resolutions. Is that possible? If so, how?
-
2
votes1
answer341
viewsHow: Fill Object Collections from Multiple Sources
I would like a help in passing values to my property private IEnumerable<OrderDetail> orderDetail;. I would like to fill it in, but I have already looked for some examples and I have not found…
-
2
votes0
answers121
viewsPerformance when drawing an image
Currently I use the Drawimage method of the Graphics class. However, the speed of drawing in the components is very slow. How can I optimize its use ? Libraries like Monogame or Opentk can perform…
-
2
votes1
answer388
viewsWindows Form within Windows Form
Besides using Splitcontainer, is there any other way to put a Form inside another form, using HTML’s iframe style? Because Splitcontainer I am not able to change the Form data inside it.
-
2
votes2
answers853
viewsDynamic Report c#
I am preparing a report with the following structure: Well so far everything is set right, I’m using C# Windows Form, using the Reportviewer component to do the report, but when it comes to getting…
-
2
votes1
answer375
viewsUsercontrol x Form - Cancel screen event after UC validation
I have a Usercontrol, which does a validation in the Validated event, and on the screen, I have the Confirm button. When I use the ALT+C shortcut, to run the button event, it will run the Validated…
-
2
votes1
answer692
viewsHow to disable keyboard in C# Windows Form?
Good Guys, I’m facing a problem with my application when I press the ALT key, I’m not expecting any kind of interaction through the keyboard, but even so exclusively this key gives this error So I…
-
2
votes1
answer634
viewsConditional formatting on a gridView
I have a gridView where it’s loaded, from my SQLServer, all bank information. My question is this. can change the color of the source when a date is less than the date of the system (for example,…
-
2
votes2
answers811
viewsHow to close splash screen?
I developed a screen of splash for my application. It is working perfectly, it opens and directs to the Form2. But I realized that by closing the Form2, I have to stop debugging through Visual…
-
2
votes3
answers352
viewsClose the panel when the mouse exits from the top
I have a Panel in a Form wherever the Panel is smaller than the Form. Here’s what I need to do: when the mouse is off Panel the same must be closed as I could do it? Note: I am trying to do this in…
-
2
votes1
answer495
viewsTask.Run locking inside a "tick" (Forms.Timer)
In my application, I created a "Timer" (System.Windows.Forms) that runs every 1 second. In the "tick" event, I placed a await Task.Run. For some reason the tick stops running after a while (because…
-
2
votes2
answers4104
viewsHow do I access and manipulate a web page in the same way that the user would access a web page?
I am planning to make a software that publishes topics in a forum. The start screen will have a menu with all categories and subcategories, when choosing one I will open in the background a link…
-
2
votes2
answers271
viewsList with large amount of items, excessive memory consumption
In my system I have a List<object>, While using the system I add items to it until I get to a certain point that the system starts to lock, to get very slow. My system can add up to forty…
-
2
votes0
answers58
viewsWhat is this error ? Disconnectedcontext
Galera blz ? I’m here programming for Windows Form with the language C# when I come across an error "Disconnectedcontext" . Well let me explain how my program works, I have several Rms in one…
-
2
votes1
answer1439
viewsHow to open an exe inside a windows form C#
I need to open a . exe inside a Windows form in C#, how to proceed with this. I already searched the net and found the following example: [DllImport("user32.dll", EntryPoint = "SetParent")] public…
-
2
votes1
answer287
viewsMerge two Word documents
I have a problem and would like a force, I have a project but I have no code to include my question. Client is requesting a button that joins 2 or more. docx files and turns into 1 only or sends to…
-
2
votes2
answers2275
viewsCircular reference between two projects
I’m working with two projects in one Solution. To use a form of Projectoa in the Projectob I made reference to the Projectoa in the Projectob, from this I have access to the Projectoa. But what if I…
-
2
votes2
answers1984
viewsC# - How to close the login form(initial program form) after calling another form?
I was able to do the entire database part of the login form, so that if the user enters login/password with data that are in the database, he can access. Only when I open the other form, the login…
-
2
votes1
answer1720
viewsHow to add columns and values in columns in a Listview at runtime?
I own a ListView listViewListaChamada and I am trying to add columns and values to the columns corresponding to my ListView listViewListaChamada, however I did not succeed. I created the function…
-
2
votes1
answer807
viewsCustom Installation Path via SETUP
When I publish the windows form application, it already generates the Setup by the visual Studio 2010 which when running, installs in "program files" in windows 7 the Installation. I would like to…
-
2
votes2
answers4495
viewsHow to disable a button and to activate it, click on another button?
I created a calculator using Windows Forms, it ran perfectly, however when clicking the operation button before the number button (to insert a value in the display) an error happens that closes my…
-
2
votes2
answers268
viewsTaking a partial name from a process
Is there any way that I can get a process that’s running under a partial name, like what happens to like in a survey SQL? 'Cause I ask this, I got one team viewer customized here for the company.…
-
2
votes1
answer4347
viewsManipulate page with Webbrowser
I’m having trouble sending values to a form via Web Browser. My goal is to make a post, IE, send the values to inputsof the form and do the submit from the same, after this open the page generated…
-
2
votes2
answers127
viewsLoading Grid data with Checkboxcolumn
I am creating a form to perform a registration for a product license. This form is used to record which solution a customer has. In the form to add a product just select product and the client. I am…
-
2
votes1
answer809
viewsTree View hierarchical Dynamic C#
I have the following situation, my select returns me 3 fields micro (son), descend(descend from the child) and macro(parent) micro and macros fields are integers and can be any number not following…
-
2
votes1
answer1627
viewsWorking with Windows Forms as designer on Linux?
On Linux (Ubuntu) it is possible to create applications with Windows Forms in the Mono or similar, using a designer such as the Visual Studio? I am facing problem because I need to develop with…
-
2
votes1
answer838
viewsWindowsforms - C# - Reportviewer - Composite object
Good afternoon, I’m starting to develop reports using Reportviewer for Desktop applications using Windowsforms (C#). I’m having problems with objects composed by others, for example: class Produto {…
-
2
votes1
answer643
viewsFormat Textbox for thousands?
I’m trying to create a Textbox to report values in thousands, the values will be for weights(kilos). I want to type the values from right to left based on the mask 0,000 and as the user type the…
-
2
votes1
answer101
viewsHow to open a form with just the name of the type
I have a DataGridView in my form, remembering that it gets the name of the Mysql database forms. I’ve tried a few ways to click the form name on DataGridView and open the same, but did not succeed.…
-
2
votes1
answer318
viewsHow to update a Treeview of C#directories
I have a Treeviewms component (the one with Multiple Selection) listing the system directories in a Form. I created an event on the Form that when F5 is pressed, this Treeview will update itself(if…
-
2
votes1
answer1272
viewsHow to delete datagridview line?
Populo the datagridView thus: dgvProdutosErp.DataSource = produtos; // produtos é uma lista I try to remove as follows: foreach (DataGridViewRow row in dgvProdutosErp.Rows) {…