Questions tagged as 'winforms'

1
answer

How to make a global event

I'm developing a system in which a user can send a message to another, (which gets saved in the database, to have a conversation history), but I would like that while the user is using other system functions , an event occurred and opened a wind...
asked by 07.05.2014 / 17:46
1
answer

Controlling to prevent the window from opening again in MDIForm

How do I check if a window has been opened? If it has been opened, bring it forward, otherwise open a new window. That is, I need to control the windows, checking them so that only one is open.     
asked by 07.09.2014 / 19:48
2
answers

How to update chart automatically every 60 seconds?

I have a project where I need to update a form every 60 seconds, and in the form there is a function to call the chart and when I execute the program, the form perfectly initializes the graph. I use the timer calling the function again to re...
asked by 07.02.2014 / 03:41
1
answer

How to split the screen with 2 Open Forms inside an MDI

Good morning, everyone. I have a question about Forms. In my application, I can open 2 forms with grids where they display information from the factory. These Grids are updated every 30 seconds, and are opened with: StartP...
asked by 04.09.2018 / 15:31
1
answer

Remove components dynamically in C #

Good night, I'm trying to solve a problem I encountered when trying to dynamically remove the picturebox I created: namespace WindowsFormsApplication8 { public partial class Form1 : Form { int count = 0;...
asked by 20.11.2017 / 23:51
1
answer

Move button controls in a Windows Forms application inside a panel container

I have a form with three button controls, they are: btnSales, btnFunctionaries, btnConfig. And they are aligned inside a Container Panel. I need these buttons to be clicked and held by the mouse pointer so that the user can place them in the pla...
asked by 06.06.2017 / 04:10
1
answer

Organizing forms inheritance - C #

I'm doing a program to sell products and I'm having a design problem. The differential of this program is that it can take two different faces: one for sale of chocolates and another for sale of fruit. The forms I organized more or less this way...
asked by 18.10.2016 / 16:16
0
answers

C # Bina with Usb Fax Modem

I would like to know a way to get the phone number of a usb fax modem, using C# . Example: I have a computer with a fax modem usb connected to a phone line, when someone calls me my system picks up the number which is meligando an...
asked by 30.05.2016 / 01:43
1
answer

Hierarchical Tree View Dynamic C #

I have the following situation, my select returns me 3 micro (child), descr (descr child) and macro fields ) micro fields and macros are integers and can be any number not following standard (when I say default I mean micro 2 for example do...
asked by 10.03.2016 / 17:45
0
answers

What is this error? DisconnectedContext

Galera blz? I'm here programming for Windows Form with C # when I run into a "DisconnectedContext" error. Well let me explain how my program works, I have several forms in a project, where I have to make the transition between these forms,...
asked by 03.10.2015 / 20:19