Skip to main content

Questions tagged [winforms]

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

6 votes
2 answers
1k views

GUI Interface for a command line program in C# Windows Forms

I am brand new to C# and this is my first time making a GUI. The program is pretty simple, since I don't have too much knowledge of GHDL. All it does is take the file paths, and generate relevant ...
blipblap's user avatar
2 votes
2 answers
96 views

Form in the Epicor ERP environment

I've written this code for use on a form in the Epicor ERP environment. The code is doing what I need, but since I'm still learning I would imagine that there are better ways of coding. I'm here ...
DaShMa's user avatar
  • 21
2 votes
1 answer
163 views

Proving that a Window Message is being sent by async/await

I asked a question on Stack Overflow and there's a discussion between @Serg, who posted an answer and @Jimi, whose comments suggest that the answer might be wrong. So I implemented the following code ...
Thomas Weller's user avatar
-2 votes
1 answer
60 views

Is it possible to simplify an event that does the same thing for every panel? [closed]

I wanted to make certain panels have their own custom border color, and the only way to accomplish this (as far as I know) is to manually subscribe every individual panel to a paint event that changes ...
byron's user avatar
  • 59
4 votes
1 answer
126 views

Is there a more performance-friendly way to check and change the colors of a WinForms app?

I'm a somewhat new programmer developing a WinForms application in C# that has the option to change the theme/colors depending on user input. Due to the complexity of the application and the amount of ...
byron's user avatar
  • 59
6 votes
4 answers
236 views

2-Player Chess in WinForms V.2 (With Separation of Concerns)

Introduction After getting initial feedback on my first working version of this Chess WinForms game here, I have used the suggestions and comments from there to come up with this new version, trying ...
Shinglington's user avatar
3 votes
2 answers
515 views

2-Player Chess in WinForms

Introduction I decided to program a two player Chess game in C# windows forms to help me to improve my programming skills and OOP skills. I have come to a working finished program (as far as I can ...
Shinglington's user avatar
0 votes
1 answer
99 views

Fill TextBox from ListBox on click

I have a form in a WinForms application that has a Textbox called txtSupplier, a button called btnSrchSuppliers, a label called <...
user10191234's user avatar
4 votes
1 answer
397 views

Bouncing balls program with speed up/speed down boxes and lines which change direction of ball

I'm new to C#, background in Ada, C. This is my second lab in a course, output works correct but I feel like I've missed something about OOP. I've asked for feedback from lab 1, but didn't get any. ...
Jackiie's user avatar
  • 53
1 vote
1 answer
339 views

WinForms Most effective way to Rearrange Custom Controls in a FlowLayoutPanel?

I am creating a video parser in C# WinForms. You select files, they get parsed then a custom control (ViewWideNarrow ) is created showing the video's name, duration and so forth, which is then added ...
user19430329's user avatar
5 votes
1 answer
421 views

Simple Ellipse Collision Mini Game

I am doing an exercise to help me understand C#and OOP. The exercise is supposed to teach me about ...
Darke's user avatar
  • 163
2 votes
1 answer
454 views

Login authentication using MVP pattern

How can I improve my login script and is there a cleaner way to get the same result? I had this project and redesigned it using MVP patten . Working with this patten is a new challenge for me. It's ...
Fatal Error's user avatar
1 vote
3 answers
1k views

Saving Multiple Lists to Database - C# Forms

I am trying to store multiple lists to a database but I'm struggling on finding a better way of doing it, as the way I am doing it now, seems to be incorrect. On my form, I have 6 different legs. Each ...
Jimmy293288's user avatar
0 votes
1 answer
106 views

Creating a new WinForm each time pressing a button in a main WinForm

I have WinForm C# application that every time you press on the green button: It opens a new WinForm window. This is the code after pressing the green button: ...
E235's user avatar
  • 237
0 votes
1 answer
190 views

How to optimize the code of my pdf generation from DGV code using iText5 & c#?

I have 2 DGV's one containing bills info & another containing credit notes info. When at least one item from both the DGV's are selected then it should generate a pdf (result1) taking data from ...
Tamal Banerjee's user avatar

15 30 50 per page
1
2 3 4 5
21