Category "winforms"

Infragistics Selected Node

Would like to know if I am the error or I have encountered a bug. I have a grid with parents and children. I have made buttons to move the nodes from top to bot

Adding launch conditions to Microsoft Visual Studio Installer Projects (check app is running)

I'm using Microsoft Visual Studio Installer Projects for my Hybrid Widndows Forms/WPF project. I need to make sure the user has closed the Application (an older

Split an Image into different PictureBoxes

I have a Image with size 187x16 which contain 10 smaller Images in a row. I want split those Images into 10 different PictureBoxes. Original Image: Dim

Running .dtsx file via command line programmatically from a winform c#

I am new to programming. I was hoping for some help to correct the below code. I have a WinForms application using an Azure SQL database. overall I am trying to

Enabling and Disabling DataGridView button cell

I have made a DataGridView in a Windows Form with the Name serverListand then added a selection of columns then at the end of each row I have added a button cel

Is there a way to dynamically change the text of a textBox in Visual Studio with C# so that the value is a sum of values from other textboxes?

I need to have a text box that dynamically changes as values in other text boxes are being changed, and the value (would be an integer converted to string) of t

C# Winform Webbrowser not updating after document text update

Good Morning, I have a Web browser embedded within a C# winform. When loading the web-browser, it loads in a local file and displays the page with no issues. I

Textbox text disappears when transparency turned on and control loses focus

I have researched creating a custom winforms Textbox that allows a transparent background. I read the StackOverflow post: Link to post. In that post dkiefer

Check Keyboard Input Winforms

I was wondering if instead of doing this protected override void OnKeyDown(KeyEventArgs e) { if (e.KeyCode == Keys.A) Console.WriteLine("The A key

'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

I want to access root url of a Web application from a Windows forms Application. string rooturl = Billing_XML_WebTracking.WebForm1.RootUrl; string url = rootur

Placeholder in TextBox in Window Forms using VB.NET

I'm working on a Windows Forms application in VB.NET and I am currently making a login screen using labels and TextBoxes. What I need is the Placeholder in Text

Hiding particular datagridview cell in c#

I have a datagridview in windows form. Datagridview looks like below: In this, have one Checkbox column, two textbox column. My requirement is need to hide che

Add panels dynamically to form

I'm trying to add panels to a form according to the ids quantity that is received. At running, the panels are added to the form, but only the first one has the

Focus a child Control of a User Control when a combination of keys is pressed

I have a Form that contains a Panel where I placed a UserControl. I want that when the Ctrl+F Keys combination is pressed, a TextBox Control, child of my UserCo

Transparent background image for Form - Smooth edge shape for the Form

When I tried from with transparent background, it's not completely transparent. I tried two code blocks for this issue. First i tried like this code: public F

There is no "MouseButtons" information in "MOUSEMOVE" of 'winapi'

I'm trying to implement LBUTTONDOWN->MOUSEMOVE->WM_LBUTTONUP using winapi in outfocus. But the "MouseButtons" information doesn't come. I want to simulat

How to soft delete a selected row in a DataGrid View using a button

So I have a DataGridView called MyMovieDataDrid which is connected to a sql server, and I already have my IsDeleted property, and a delete repository which is s

DataGridView ScrollBars are not working after Thread

I'm setting a dataTable as data source of a datagridview. I do this on a new thread (I don't want my UI blocked while is loading data). My dilema is: the scroll

Create Visual Studio plugin to launch window form application inside visual studio(not standalone)

I have a window based tool which is currently working. I need to add this tool as a plugin/extension in visual studio. So that if user has visual studio install

Which WebView2 event/function can be use to replace ScriptNotify Webview event?

Today, I have decided to migrate WebView control to WebView2 control in a VB.net application. I have installed WebView2 from NuGet and I have changed declaratio