Questions tagged as 'winforms'

1
answer

DateTimePicker with custom dates

I'm developing a query marking system in Windows Forms and I had the idea of including a DateTimePicker where only the dates with available places should be "clickable" by the user. Is there a way to do this?     
asked by 16.01.2017 / 00:17
1
answer

SQL Sends NULL value to a DateTime column

I have a form in VB.NET where the user informs the delivery dates and delivery forecast of the order and other information. As he does not yet have, for example, the delivery date because he has not yet been informed by the carrier. My query...
asked by 20.06.2016 / 20:59
2
answers

C # - How to close the login form (initial form of the program) after calling another form?

I've been able to do the whole database part of the login form, so if the user enters login / password with data that is in the database, he can access. But when I open the other form, the login does not close and the most I could do was hide...
asked by 30.11.2015 / 00:41
1
answer

How to open an exe inside a windows form C #

I need to open an .exe inside a Windows form in C #, how to proceed with it. I already researched the net and found the following example: [DllImport("user32.dll", EntryPoint = "SetParent")] public static extern IntPtr SetParent(IntPtr hWndChi...
asked by 17.03.2016 / 20:13
2
answers

Double click on the row of a DataGridView transports the data to a form

Good morning, everyone. Next, I have a form (query) that contains the DataGridView. And the registration form in another form. I would like to understand, how can I double-click a row in the DataGridView to send all the data in the row to...
asked by 12.11.2015 / 16:07
1
answer

Merge two Word documents

I have a problem and I would like a force, I have a project but I do not have any code to include my question. The client is requesting a button that adds 2 or more .docx files and transforms it into 1 only or sends only 1 content. I wante...
asked by 18.11.2015 / 16:32
2
answers

DateTimePicker, get first and last day of the month [closed]

How do I get the first and last day of the previous month, to fill a% on screen with%? Ex: Data Inicial 01/07/2015 Data Final 31/07/2015     
asked by 12.08.2015 / 15:12
1
answer

How to show "wait, loading data" using asynchronous programming?

How can I use async programming with Async and Await so that it appears in the middle of the "Wait for data loading" grid while searching for data in the database and populating with the DataTable in the Grid? Programming in Windows Form and...
asked by 30.04.2015 / 22:20
2
answers

Send Email Login and Password C # windows Form

I saw how to send email when the user forgets the password and put up a different code but all gave errors. I think something was missing and could anyone help me? follow the codes if (txtLogin.Text != "") { Usuario...
asked by 24.05.2015 / 16:37
1
answer

Open form maximized in full screen

I have a main form which contains all the system options and I would like to know how to open this maximized on the whole screen, if possible, adapting the different resolutions. FORM IMAGE CODE namespace Projeto_Funcionario { publi...
asked by 30.03.2015 / 02:21