Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
113 views

I'm working on a code editor using Windows Forms and I'm stepping into the typical "flickering" problem. However, it seems that traditional solutions do not work for me. My application uses ...
Mario Mateaș's user avatar
0 votes
0 answers
41 views

In a simple .NET 9 Winforms application, I have tried to create a custom class which is derived from ArrayEditor class, and it works only before I added the Microsoft.WinForms.Designer.SDK in my ...
Karkuvel Rajan's user avatar
0 votes
0 answers
23 views

I am putting two videos side by side in Windows Forms application and these videos start automatically when the forms are started and return to the beginning when it ends (I looped it). However, I ...
kblt's user avatar
  • 3
0 votes
1 answer
161 views

As a Minimal Reproducible Example, in order to customize the designer behavior of my UserControlEx I subclassed: Microsoft.DotNet.DesignTools.Designers.ParentControlDesigner First, I successfully ...
IV.'s user avatar
  • 9,646
0 votes
0 answers
129 views

Description: I'm developing a C# WinForms application using Visual Studio 2022, .net6.0-windows, Visual Studio Version: 17.12.4, I created the form and wrote the code. Everything was fine at first, ...
özcan özaltın's user avatar
0 votes
0 answers
83 views

In my solution, I have a helper class with these methods: public static Image ToImage(this byte[] sadrzaj) { var ms = new MemoryStream(sadrzaj); return Image.FromStream(ms); } ...
Lucyn's user avatar
  • 1
0 votes
0 answers
65 views

I'm working with a Windows Forms application where I have a main form (MainForm) with IsMdiContainer = true and FormBorderStyle = None. On the left side, I have a Panel with a MenuStrip, and at the ...
Şerif Çiçek's user avatar
1 vote
2 answers
540 views

We have a very large WinForms solution (38 projects) that targets .NET 8.0 (Windows), and it worked just fine in VS 17.11.6 but as soon as we upgraded to v17.12 we can no longer open most Forms/...
Aaron's user avatar
  • 81
0 votes
2 answers
149 views

I created a windows form using C# in Visual Studio. The form looks great all buttons, labels, tabPages…etc. all work just fine. The one issue the I have is the output folder located at “C:\Winform\bin\...
Sammie's user avatar
  • 11
-1 votes
1 answer
60 views

I am writing C# code in VS windowsforms I have a problem, I need to resize the parent window of Form1 by clicking a button in the Form2 window. The main problem is that I don't understand how to ...
Xielir's user avatar
  • 1
0 votes
0 answers
68 views

I'm trying to add to a project of a colleague which is an UI for a monitoring program. Adding new UI elements to the project or changing existing ones results in the designer recompiling the designer....
Maurice Duurinck's user avatar
-1 votes
1 answer
18 views

I have an issue in showing a timer when i come back tio my main form from another the main form have the following code public Main() { InitializeComponent(); } private void timer1_Tick(object ...
Pietro Zunino's user avatar
1 vote
1 answer
108 views

I have a WinForms application where I need to show a confirmation dialog when the form is being closed and it should close the entire application. However, the confirmation dialog appears multiple ...
riyas's user avatar
  • 13
1 vote
1 answer
169 views

Lately I'm getting a lot of messagebox popups when I'm trying to open a Form or UserControl in Designer mode. It's like any debug log message had it's output set as a messagebox, and I cannot find how ...
Michael-Jorge Gómez Campos's user avatar
-1 votes
1 answer
119 views

The code in the .Designer.cs and .resx files changes automatically when i move any interface component from the "bottom part of the Windows Forms Designer", as the Microsoft tutorial puts it....
Artika's user avatar
  • 1
2 votes
1 answer
82 views

Enviroment details: .NET 4.8 Visual Studio 2022 Designer interface (if that's what it's actually called) I've created a custom form called WeatherBox which inherits from another custom form ...
when-cowz-fly's user avatar
0 votes
0 answers
33 views

I Have done CLI invoking to my program, by these lines of codes Invoke((Action)(() => textBoxOutput.AppendText(Environment.NewLine + e.Data))) I am getting output on my GUI Output text Box, But it ...
Varun R's user avatar
1 vote
0 answers
93 views

How can I open the form designer in Visual Basic? I'm making a Windows form program using Visual Basic 2022, but I cannot find the form designer. When I press the compile button, the form I've ...
GK8777's user avatar
  • 11
0 votes
2 answers
2k views

in vs code 2002 i dont fint chart i searched on internet but i did not fint any answer! how can i to add this to tool box. I'm working on a Windows Forms application in Visual Studio ...
Eymen Bacar's user avatar
0 votes
1 answer
39 views

[enter image description here][1]I am trying open a new form inside a panel of another form. But control is not passing. I am providing the code snippet below. The code is written in C# windows form. ...
arijit_max's user avatar
-2 votes
2 answers
157 views

For some strange reason, I cannot find "ColumnCount" property for my listbox in WindowsForm (.NET Framework), in Visual Studio. When I tried to find a solution to specifying the number of ...
user1514263's user avatar
0 votes
0 answers
45 views

I want to make value data from usercontrol will be save on database where the triggers is to click save button from other form. It should be a form that contain button save and usercontrol will be ...
Yud's user avatar
  • 1
0 votes
1 answer
92 views

I made a basic calculator on visual studio 2022 c#. The calculator works perfectly but I want to know how can I input values into the text box on the calcator using the keyboard instead of clicking on ...
user24961952's user avatar
0 votes
1 answer
252 views

Let's assume I've a Form and it contains a ToolStrip. In the Form1.Designer.cs file I can see the following to lines: this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); Let's ...
Wollmich's user avatar
  • 1,684
0 votes
0 answers
45 views

My goal is to use DrawLine method to create lines. This method has arguments Pen, x1, y1, x2, y2 Pen is the pen with which the line shall be drawn (x1, y1) Start point (x2, y2) End point Here is my ...
S_P's user avatar
  • 1
0 votes
0 answers
39 views

I am creating a C# Windows Form Application which will be deployed to different areas. This application executes PowerShell Script in host computers; however, each script is stored in different areas. ...
A Guy C-L's user avatar
0 votes
0 answers
153 views

Takes too long when loading the control and the information but it is weird it just happens for one session and it happens when the function starts textcontrol.load(data, stringtype), anyone please ...
Ronald sarmiento's user avatar
-1 votes
1 answer
85 views

Firstly, this is a windows form application. As in the picture, I want the background of the Restart button to be transparent and show the colors behind it. There is no picture. I created all buttons ...
Yusuf Sevinchan's user avatar
2 votes
1 answer
1k views

We can't open WinForms forms in Designer anymore since a couple of days during which we switched from .NET 7 to .NET 8. It seems not related to the VS 2022 version as my collegue has the same problem ...
IngoB's user avatar
  • 3,039
1 vote
0 answers
67 views

I used Custom Control class to create a panel that can hold many layers of controls separately, but I needed to add an in-editor usable button like "Add Layer" or "Remove Layer". I ...
WasdNot's user avatar
  • 11
1 vote
0 answers
18 views

I have Form1 which is MdiParent and Form2 which is MdiChild. In Form1 I have sidebar which has combo box that contains language names, and buttons which switches between mdi children. When value of ...
Max_10's user avatar
  • 21
0 votes
1 answer
127 views

I'm trying to write a very simple Screen-sharing code in C# over LAN. It seems to be working well and smoothly with a 100s delay besides the screen being cut in half (or at times 30% when I switch ...
Saad's user avatar
  • 1
0 votes
0 answers
24 views

I would like to know how to select a category value from a combo box and the data according to the selection parses to a data grid view from a sql database, after that I want to click on a cell and ...
Caindecoder's user avatar
2 votes
1 answer
64 views

I am writing a program for entering words by syllable. The logic is, the user is entering part of the phrase (a syllable), and if it's correct it lights out a green color and adds a hyphen in the end, ...
sherwood's user avatar
  • 153
0 votes
0 answers
83 views

I created a local folder within the project named 'Assets' with .ico and .png icons of the program, when I assign a local file icon to the tray icon placed in the Windows Forms window and publish the ...
Caio Silva's user avatar
0 votes
1 answer
467 views

I am running Visual Studio 2019 winforms app (C#). If I recall correctly I might of been adjusting the size of a font used in a label when shortly after the form appear to zoom to approximately 3X the ...
Past Expiry's user avatar
0 votes
0 answers
49 views

I have a simple button. Whenever I change its width the designer automatically updates the height and even updates the width to a different value. The only way around this I found is to set min and ...
Piglet's user avatar
  • 29.3k
1 vote
0 answers
330 views

I open the WinForms designer and I make a simple change like changing the button text. After saving, a lot of unintended code changes occur: I have the <ForceDesignerDpiUnaware>true</...
RandomUsername's user avatar
4 votes
1 answer
2k views

I'm using Visual Studio 2022, trying to migrate some components and user controls from NET Framework 4.8 that can be added to the Windows Forms designer, to the Windows Forms Designer of a NET Core 6 ...
ElektroStudios's user avatar
0 votes
0 answers
103 views

I am trying to open the windiws explorer using c# in windows 11 but the File Explorer opens briefly and then closes without displaying the window while still showing in the task manager, please help ...
Hamza El Hammoudi's user avatar
0 votes
0 answers
109 views

I am writing the script which have two forms first form is Form1 which has 3 radio buttons , 1 multi ListBox and second is Form2. What I am trying to achieve that , after selecting desired options and ...
Sachin0312's user avatar
0 votes
0 answers
147 views

Windows Form with PowerShell - getting selected items from Listbox. I have script which take inputs from Excel and load into list box called available Clients. Then depending on requirement remove ...
Sachin0312's user avatar
0 votes
2 answers
82 views

This is a first so my apologies for any mistakes or further confusion. First of all I'm creating a small game on c# windows form where user inputs name, date of birth, and chooses avatar I used ...
Sandy 's user avatar
0 votes
2 answers
1k views

In visual studio 2022 Version 17.9.0 Preview 2.0 when opening the form designer occured this error : exception has been thrown by the target of an invocation This problem happened once before and I ...
softwarer's user avatar
-4 votes
2 answers
74 views

I am trying to make it so that when the user enters a password in the password textbox it checks its length and if it is less than 10 characters it displays an error message but it have you have a ...
Fuzz's user avatar
  • 1
-1 votes
2 answers
541 views

I'm currently working on a C# Windows Forms project and facing issues displaying a GroupBox correctly. I work in the Designer and move the different groupboxes around. I place my groupbox on the edges ...
unknownuser93's user avatar
0 votes
1 answer
1k views

I want to print out a panel in my form to a pdf file. I've tried using iText7 library as show in the code below. using System; using System.Data; using System.Windows.Forms; using iText.Kernel.Pdf; ...
Hex Heager's user avatar
1 vote
1 answer
251 views

I place my audio file called MouseClick.wav under my resources folder and I have a function in code to play it. private void playSimpleSound() { SoundPlayer simpleSound = new SoundPlayer(...
John Tan's user avatar
0 votes
0 answers
29 views

WinForms, 64-bit, show the data from a table in a scrollable grid. After much frustration (error 233, Browser not running, etc) I was able to use VS2022's Server Explorer to make a working link to my ...
Maury Markowitz's user avatar
0 votes
0 answers
91 views

There is a datagridview table in the project into which data from the sqlite database is filled. The data is entered into the database manually using the cell value changed event (like in excel). The ...
Megas's user avatar
  • 1

1
2 3 4 5
51