Questions tagged as 'windows-forms'

2
answers

How to send information from a UserControl to a JSON file using Json.net? in C # - WindowsForms

I have a UserControl that I created dynamically from the main form class of the same project. I need to send all the information (Name, Tags, Positions etc) of that UserControl that I am creating dynamically to a JSON file. I'm using the JSON.NE...
asked by 21.06.2018 / 09:34
1
answer

Open on-screen keyboard on tablet with Windows 10

I am developing an application Windows forms with visual basic . This application will work on a tablet with Windows 10 , the problem is that when I press on textbox the touch keyboard is not displayed, it only happe...
asked by 06.07.2018 / 19:24
1
answer

How can I insert data from SQLite to my DataGridView? WindowsForms

I have the next code that is executed each time the ADD ITEM button is clicked and that creates a new row with the data entered in the textBox above in the DataGridView below. // AGREGA UN PRODUCTO private void btnAgregarItem_Cli...
asked by 18.06.2018 / 00:10
1
answer

Retrieve DateTime SLQserver in DGV VS

I have a problem when it comes to showing the time record, everything works perfectly, except when the date is 00:00 (right at midnight). Example of this case; 2018-07-26 00:00:00.000 The value recovers well in the program b...
asked by 24.07.2018 / 08:55
1
answer

How to print a very long Ticket using PrintDocument

I'm trying to print a ticket on a thermal printer, the information that the ticket must contain is enough so the ticket has a considerable length. I'm using a PrintDocument object to print the ticket, in the PrintPage event I use a Graphics obje...
asked by 10.05.2018 / 00:44
1
answer

How to add values every time when entering data to the SQL database with C # and win forms

How to add values every time I insert the database and remember the Total values of previous inserts. I want to add field Name in Total field. And when I restart the application I want you to remember the last Total. This is my class clans co...
asked by 05.05.2018 / 16:57
1
answer

Export WinForm project

I am trying to export my project winForm to an installer, or a portable one. I have tried in several ways, and what I sense is that some kind of error happens when loading the custom cursors; Cursor = GestionCursores.Create(Path.Com...
asked by 04.04.2018 / 15:23
1
answer

Problem building data from a DataSet manually C #

I have a dataset that contains a structure of 12 columns and I manually add 3 columns Entrada Parámetro , Salida Parámetro and Parámetro from another dataset , then link it to DataGridView , I am working w...
asked by 15.02.2018 / 20:55
2
answers

Move Previous / Next Record in DataGridView, C #

I am browsing the DataGridView records through the actions of the Anterior and Siguiente buttons, the current method that works correctly to scroll through each record. But I used this code for combining the same cells in...
asked by 09.02.2018 / 14:48
1
answer

how to add data to a Listview?

private void button1_Click(object sender, EventArgs e) { ListViewItem lista = new ListViewItem(textBox1.Text); lista.SubItems.Add = (textBox2.Text); lista.SubItems.Add = (textBox3.Text); listView1.Items.Add(lista); listView1....
asked by 13.06.2018 / 08:15