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.

5votes
2answers
176views

Information of Selected Cells from DataGridView in C#

I've created some functions to calculate summation, maximum, minimum, average and standard deviation value of selected cells from DataGridView in C#. The ...
JimmyHu's user avatar
  • 7,068
5votes
1answer
105views

Font Selector Combobox Design in C#

A font selector combobox which contains all the values from the InstalledFontCollection enumeration is created, and the font of each item is same as its name. The ...
JimmyHu's user avatar
  • 7,068
9votes
2answers
718views

Color Selector Combobox Design in C#

I am trying to create a color selector combobox which contains all the values from the KnownColor enumeration, and the background color of each item is same as its ...
JimmyHu's user avatar
  • 7,068
11votes
3answers
1kviews

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
2votes
2answers
106views

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
2votes
1answer
181views

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
-2votes
1answer
62views

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
4votes
1answer
138views

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
6votes
4answers
243views

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
3votes
2answers
543views

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
0votes
1answer
107views

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
4votes
1answer
430views

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
1vote
1answer
374views

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
5votes
1answer
433views

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
2votes
1answer
471views

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

153050per page
close