Questions tagged as 'winforms'

1
answer

Open external application as a child form in C #

I need to call an external application through my current application, in which this external application is being opened outside of my application and I would like it to be opened as a child form of my parent form. This is my current code that...
asked by 29.10.2015 / 21:34
1
answer

Transform a content into an image

I'm creating a Windows Forms project to help my company generate automated email signatures for our contributors. I have in the case a single windows forms that contains a Tab Control, with Data and Preview. In the preview tab there is a Pict...
asked by 18.04.2016 / 16:33
1
answer

Controls do not Appear in Windows 10

After upgrading to Windows 10, the components in my forms are gone, only the cursor appears in the field. I already changed colors from the background, from the fonts, but it did not work. VisualStudio 2013, Net Framework 4.5. Print Windows 7...
asked by 17.02.2016 / 13:42
1
answer

Error converting with DuoCode using WinForms

I developed a C # application using Windows Forms, but wanted to convert to JavaScript using DuoCode. But it is giving the following errors: tryduocode.cs(7,14,7,21): error CS0234: The type or namespace name 'Windows' does not exist in the nam...
asked by 29.08.2015 / 23:12
1
answer

Program stopped responding - c # Windows Form

I'm doing a program in C # that basically does (large) queries to a MySql database. When I run the program via Visual Studio, everything happens perfectly. But when I do this by the executable, when the button that performs the queries and handl...
asked by 30.08.2015 / 00:50
1
answer

Apply filter in DataGrid filled with List without changing DataSource

Is it possible to apply filter to a DataGridView that is "filled" with a List , without changing the DataSource of the grid? Example: When I have a grid that uses a BindingSource I can apply a filter, such as meu...
asked by 18.08.2015 / 16:15
1
answer

Deploy WindowsForms with .mdf database

I made a program in Windows Forms (C #) in layers. Model DAO BLL Interface Create in the Model Project a Bank (Generator.mdf) and its Context (edmx). Now I want to publish, and how do I get the .mdf file to come with publish?...
asked by 11.08.2015 / 04:52
1
answer

What is the best way to get the RadioButton that was chosen by the user?

My program has 5 RadioButton on one of the Panel that I have not renamed and thus got Panel1 , so only one can be chosen. I created a list with all RadioButtons , after clicking a button I tried to use the code below...
asked by 13.07.2015 / 23:21
1
answer

Catching a string from a textbox when you press the Enter key [closed]

Is it possible to get a string from a textbox when the enter key is pressed? If yes, how? I would like you to leave code examples as I am quite new to this WinForms world ...     
asked by 02.09.2015 / 14:42
1
answer

Save Image c #

I'm having the following error Generic GDI + error. when trying to save the image to a specific directory. I'm using code below. string caminho=@"\.1.1.10\sistema"; Stream myStream = null; OpenFileDialog abrir = new OpenF...
asked by 17.06.2015 / 19:40