WinForms is the informal term given to Windows Forms, one of the graphical application programming interface (API) included as a part of Microsoft .NET Framework. WinForms provides access to the native Microsoft Windows interface elements by wrapping the existing Windows API in managed code.

learn more… | top users | synonyms (6)

-1
votes
1answer
27 views

How to access getter function in different form?

I have two forms in one project/namespace that need to communicate with one another. Form A creates an instance of form B; and form B needs to access a value in form A (seems simple enough). I ...
0
votes
2answers
13 views

How to set the timeout for a TcpClient?

I have a TcpClient which I use to send data to a listener on a remote computer. The remote computer will sometimes be on and sometimes off. Because of this, the TcpClient will fail to connect often. I ...
2
votes
3answers
41 views

Get access to program's own directory

this is a very simple issue. Note: I am sure people have found and posted this same issue somewhere but I can't figure out the correct search terms to find it. Okay, so here is my issue. Let's say ...
0
votes
4answers
34 views

How can i get the time of the pc in format of: hours,minutes,seconds,miliseconds?

private void timer1_Tick(object sender, EventArgs e) { Image mScreenImage = new Bitmap(Screen.PrimaryScreen.Bounds.Width, ...
0
votes
0answers
13 views

which is best: implement all actions inside wizard step or just gui and actual code outside wizard steps?

I am writing wizard in winforms app, I have used simple implementation for every wizard step I have created UserControl, I control those steps by adding or removing inside Panel in a Form My question ...
0
votes
1answer
34 views

Application.OpenForms empty after minimizing from taskbar

I have a MDI parent containing many maximized MDI children. I prevent the MDI parent from closing with this code: private void OnMainFormFormClosing(...) { if (e.CloseReason == ...
0
votes
1answer
17 views

Form.ActiveForm occasionally works

I know it's poor design, but I've been transferring control of my GUI Form Class to other classes in my C# program. This has been working fine for a long time now, using: var form = Form.ActiveForm ...
0
votes
0answers
13 views

Convert text in .docx to a hyperlink in C#

I'm using data binding as a way to populate my docx file and generate word documents. One of the fields is a hyperlink. I can change the text shown by the hyperlink just fine, but cannot change the ...
0
votes
0answers
11 views

adding controls to tableLayoutPanel and rowStyles

a user clicks a browse button and selects multiple files to upload. This is done using an openFileDialog. After some checks, I want to fill a tableLayoutPanel with the files the user selected, along ...
0
votes
0answers
19 views

C#: Obtaining File Icons via Existing IconHandler

I am currently working on developing a .NET application that aids in file management. It uses a ListView control to display files located on a host machine. We have a bit of existing code to obtain ...
2
votes
1answer
20 views

Open File Dialog, One Filter for Multiple Excel Extensions?

I want to use an OpenFileDialog object to browse to an excel file. I would like to set the filter to open files with different types of excel extensions like: .xls, .xlsm, .xlsx and so on. what I am ...
-3
votes
1answer
43 views

Showing a progress bar while web browser is loading page [duplicate]

I have an application with a TextBox, WebBrowser and a "Go" button. Here's the button's click event handler: private void btnGO_Click(object sender, EventArgs e) { ...
0
votes
0answers
8 views

How do I show a YouTuber's subscriber count in Visual Basic 2012?

I want to have a form that shows a youtuber's subscriber count. I already installed the API and I got this code: Imports Google.GData.YouTube Imports Google.GData.Client Imports ...
1
vote
1answer
36 views

How to launch a C# windows form application from Outlook?

I have a Windows form application that, among other things, sends an email to users when they are assigned to an "action." In the email I want to put a link that will open the exe and pass in ...
-1
votes
2answers
36 views

How to Programmatically Sort a DataGridView by Clicking Column Header

I have a Windows Form DataGridView that I need to apply custom sorting when a particular column header is clicked, and to reverse the sorting when the column header is clicked again. I will implement ...

1 2 3 4 5 2519
15 30 50 per page