All Questions
797
questions
-1
votes
1
answer
49
views
add items in listview control from another class [duplicate]
I'm trying to add items in my listview control calling from another class.
I have a form with a listview control and some buttons. When I click on one of the buttons, a usercontrol appears with ...
0
votes
0
answers
45
views
Why is this Windows Forms Button getting small when I run the app?
I was doing a small app to show a buddy how to do a basic UI with some buttons and stuff. Thing is, everything was going fine... until it was not. Literally. I added a new button the same way I added ...
0
votes
0
answers
32
views
In Winforms, Clicking Disable button, after enable event triggers
I have 2 buttons. Search and clear.
Search takes some time, So cursor set as waiting cursor. While search loading time. I Disable Clear button.
But i clicked disabled clear button. After search ...
0
votes
1
answer
58
views
saving functions for a dynamically created button
I want to save the text and the individual button function created by the user during the execution of the program. To do this, I use Properties.Settings.Default and my created ButtonStringCollection ...
0
votes
1
answer
34
views
change button color on button click in main form and remains that button color even on form that inherited main form
I have two forms. One is Main form and another one is form2 that inherited main form.
I change button color on button click event on main form and want that color changed button on form2.
The problem ...
0
votes
1
answer
54
views
How to make it fully visible of text in Winforms in Visual Studio
Issue to Fix this
Words are not fully visible in the button text. How to make it fully visible to and clear to all?
Words are split vertically where the background color of button which is consumed ...
0
votes
0
answers
42
views
Multiple action when click on Disabled Button [C#] [duplicate]
Let's assume I have a program that when I click a button, it performs a very important action that lasts 3 minutes. The action is to be performed only once even though the button was accidentally ...
0
votes
0
answers
64
views
Why is my Windows Forms App freezing when a button is pressed to bring up a new form?
When a button (Make A Booking) is pressed to display the next window (MakeBooking) the application freezes and has to be manually stopped. Below is two code snippets for my first and second (to be ...
0
votes
0
answers
56
views
Save Button in Button to XML
I have winforms application.
There is "programmatically" done button and is Added to Controls of winform, in this button is "programmatically" done next button, and this button is ...
0
votes
0
answers
32
views
How to prevent a button with transparent background colour to get the background colour of the form that instantiates it
I have a button with transparent background colour.
The problem is that it gets the background colour of the form that instantiates it.
using System;
using System.Collections.Generic;
using System....
0
votes
1
answer
33
views
Replace MousePosition cords on dynamically created button to list Forms
Im creating a program in Win Forms c# that you can dynamically add buttons which store MousePosition.X and .Y when you release mouse Button 1.
The problem is that when I have more than 1 button ...
-2
votes
1
answer
35
views
button situation when switching between user controls at C#
in my program, I have 2 buttons(Start & Stop) in one of my user controls. what I want is that when Start Button is clicked Stop Button should be enabled and the Start button should be disabled. ...
-1
votes
1
answer
161
views
Button with rounded corners
Is it possible to program a rectangular button with rounded corners in C# version 7.3?
I tried this:
public class RoundCorneredButton : Button
{
protected override void OnPaint(PaintEventArgs e)
...
0
votes
0
answers
41
views
Highlight a button in Windows Forms
When i press a button, i start the code with Form disabling and end it with Form enabling.
Meanwhile the pressed button appears highligthed. That button executes in sequence the functions of the ...
1
vote
2
answers
186
views
Loading multiple Groupboxes in the form using the button_click event
I wish to load multiple groupboxes in the windows form application using a button_click event.
A groupbox should appear in the form each time the button is clicked.
Expected output.
I am having ...