Questions tagged as 'winforms'

1
answer

Click windows form transparent C # [closed]

I have a transparent windows form for drawing on other screens. For transparency, I've used the following code: BackColor = Color.Red; TransparencyKey = Color.Red; It worked for a while, but now it does not recognize clicks on the screen, i...
asked by 29.05.2017 / 18:38
1
answer

Many-to-Many Update with EF 6

My problem is when I try to update an entity that has a child class that in turn has other children. The structure is this: public class Diagrama { [Key] public int Numero_Diagrama { get; set; } public virtual List<Transicao>...
asked by 13.03.2017 / 03:17
1
answer

TopMost Windows Forms

I have two screens in Windows Forms that are enabled with topmost, but when the second window opens, the first one (also with top most) is underneath, but I need both windows to be over windows, but the window1 should always be on top of window2...
asked by 20.06.2017 / 22:18
2
answers

Windows form integration with html page

I have an application that is a Windows Forms that I need to integrate into an HTML page of my web application In case you have Windows Form fixed there as if the two were one thing. Is this possible?     
asked by 10.02.2017 / 19:32
1
answer

Access Restriction, in Visual Studio Project, with C #! [closed]

During my technical computer course, in the Programming module, I made a project with Windows Form! This project is linked to a database I created myself in SQL Server! It would be a "software" for medical clinic (all fictitious), from the be...
asked by 08.02.2017 / 23:09
1
answer

Databinding for JSON.NET objects: how to implement?

My application handles a lot of HTTP requests that return JSON data. I use the JSON.NET library to manipulate them. Here is a simulated and fairly brief example of the information (there are redundancies in the original data, which I can not pos...
asked by 08.01.2017 / 12:13
1
answer

Problem displaying one form inside another

I'm having trouble displaying one form inside another through a panel. The issue is that by modifying the state of the main form from WindowState == FormWindowState.Normal to WindowState == FormWindowState.Maximized , the form opene...
asked by 21.01.2017 / 16:28
2
answers

Links in strip menu

Is it possible to link to some site on the Windows Forms Strip Menu? Ihavethefollowingcodesnippetintheclickofmymenu,butitdoesnotopenthelink.privatevoidmenuSobre_Click(objectsender,EventArgse){WebBrowserwebBrowser1=newWebBrowser();webBrowser1...
asked by 27.01.2017 / 13:32
1
answer

How to use the EventArgs of events

Maybe the question was very comprehensive, but I wanted to know how to use EventArgs of some components, such as EventArgs and Button_Click . Explaining the question a little better, for example. I'm creating an applicatio...
asked by 03.11.2016 / 15:04
1
answer

Fast and continuous exchange of the background color of a Panel

I'm trying to make a panel constantly change color with the following code while (true) { panelColor.BackColor = Color.Blue; Thread.Sleep(500); panelColor.BackColor = Color.Red; Thread.Sleep(500); } The problem is that the appli...
asked by 04.10.2016 / 15:46