I made a project in C# Form with FormBorderStyle=FormBorderStyle.None Resolution = 1920 x 1080. But, this project is set for 1080p only and takes it offscreen a
Need to have string comparison case insensitive for .net winforms application. It is not a problem when strings are compared in my code, but I
I have a .NET windows forms property grid which is tied to the collection of entities public class Entity { public string A { get; set; } public string B { get
I have following requirement : Allow the user to drag & drop an email from outlook to a datagrid Prepare a reply mail, and show it so the user can review a
I have a RichTextBox where the user will copy-paste from MS Word an MCQ quiz question. The correct choice would either be highlighted or with bold text (e.g. in
I started creating a role-based security system in my WinForm application so I began with Form navigation (Permission Navigation) and this is my entity's public
I am trying to build an application where security and encryption are a high concern. I am using Visual Studio 2022 and VB.NET 6.0 (I searched for 3 days now an
I create a user control like below: public partial class TestControl : UserControl { [DesignerSerializationVisibility(DesignerSerializationVisibility.Conte
I have a windows application with multiple Forms containing the same ComboBoxes. These Comboboxes have fixed items. On each Form I load the Comboboxes with thes
I have a Form which contains several ComboBoxes. I want one ComboBox of them to open the elements list when it gets the focus, both from keyboard and mouse. The
I have a ComboBox that gets filled with items from my database. I'm trying to get the ID of the item that is selected in the ComboBox, but nothing I've tried se
I'm using a richtexbox to put logs for an application of mine. I'm also using it as some sort of progress bar for a background worker. I'm not going to go in t
in one button click event i want to change form color and all control color inside the form(textbox,label,gridview,combobox) ,,so i given code like this: fo
I hook a window into a Panel using this code: SetParent(win, pnlApp.Handle); SetWindowLong(win, GWL_STYLE, WS_VISIBLE); MoveWindow(win, 0, 0, pnlApp.Width, pnlA
I know this is a minor thing but it's really annoying. I have a winform project where I've added a combobox, but the borders is like a hole in my program. If I
Is it possible to create scrollbars like in this picture? This picture was taken from this link: http://codesdirectory.blogspot.be/2013/01/wpf-scrollviewer-co
I have a C# application in which i'd like to create a file : string fileName = "test.txt"; // a sample file name // Delete the fi
I need to design a windows application which represents multiple "customers" in SQL Server. Each customer has the same data model, but it's independent. what w
We have a Windows Forms project with quite a few FlatStyle buttons. When we disable the buttons, the colors of the buttons are changed automatically Frown | :(
I'm going to show a error message in my program . I'd like my messages to be like image below, as you can see, I need a dark shadow to be shown when message