Quantcast
Channel: Windows Forms General forum
Browsing all 12583 articles
Browse latest View live

LOV

How do I create a liste of value same in Oracle forms?I need to insert a textbox and a button near , when clicking the button a popup will open to list values and description .thanks for any help or...

View Article


Change the color of checkBox within a checkListBox once it is checked

Hi,I have several checkBoxes in my checkListBox and I want to change the color of every checkBox whenever it is checked.Can anybody help me please?Thanks in advance.

View Article


How can I add a glowing effect (like a halo) around a region in WinForms?

Below is my code, where being given two ellipses (a bigger one and a smaller one), I extract their difference. I would like to add a glowing effect around this new region. I would appreciate any...

View Article

Problem overlapping 2 round images : square corners instead of round ones

In the code below, I am trying to add some kind of halo blurred effect to a rounded image.For this, I have created in Photoshop a blurry background -> "blurredBackgroundImage", which gets drawn...

View Article

Passing the parent control event to child controls.

Hi Everyone,I have a custom control which is having some child controls in it. My requirement is like when an event is attached to parent control. the child controls also should respond to the same...

View Article


Can i Hide unwanted events from the designer and intellisense just like...

Hi Everyone,I have a custom control so can i hide the unwanted events from the designer just as we hide the properties using "[Browsable(false)]"?,if we can then please suggest the code.Regards,Natiq

View Article

Scrolling ListBox via mouse clicks pauses timeSetEvent timer/callback

Found this in our C app but was able to replicate it in a simple C# WinForms app for demo purposes. We set up a timer using the multi-media timer timeSetEvent in order to have the UI drawing...

View Article

How to copy files from directory and sub-directory

Hi All,I am making one application in which user is providing the source path from where files need to be copied along with directory and sub-directory to the destination path.I want to copy those...

View Article


WS_EX_COMPOSITED and stacked Graphics.DrawImage problem on XP

Hi there,I have a form which has WS_EX_COMPOSITED style enabled and in the paint event I paint a background image using Graphics.DrawImage.Several of my own custom Controls are present on this form...

View Article


Save combobox selection in program

I have two combobox in a form with various names, which are stored in: Option Strict On Option Explicit On Public Class Form1     Private Sub Form1_Load (ByVal sender As System.Object, ByVal e As...

View Article

The Satellite Assemblies never works for my .NET application

I tried to test the localization function for my console applcation by creating an satellite assembly to host the culture resources.What i did is 1. Add a *.resx file into my project.2. using...

View Article

How to get FlowLayoutPanel to re-WrapContents now, please?

FlowLayoutPanel's WrapContents behavior is mostly working well for us... whenever it wraps, it does the right thing. The problem is when it doesn't re-compute its wrapping... We have its FlowDirection...

View Article

how to fill datagridview from a class?

I have a class filldatagrid.vb  Private Function Getdata(ByVal selectCommand As String) As DataTable        Dim conn As String = ConfigurationManager.ConnectionStrings("CnnStr").ToString()        Dim...

View Article


Drag Drop pictures, index and file name VB

HiI want to create a window form that allows the user after an open file dialog has been used to populate a window form with the picture index, picture (can be as a small tile) and file name (no...

View Article

How to get the Local Internet Time in vb.net?

Dear All, How to get the Local Internet Time in vb.net? Let c i m in Pakistan so how to get the local pakistani time in vb.net application?

View Article


how do i resize adynamicly column width?

how do i resize dynamiclly the column width of a datagridview?

View Article

how do i receive data from another form?

how do i retrieve data from a form2 in form1using get and set?

View Article


How To Make C# Open A .CHM File From A Menu Strip Button

Hello guys, I need help with some C# command that will allow users to click on a button in a menu strip that will launch a .chm help file. I have the file built and ready but in what directory for my...

View Article

Show ProgressBar while copying files

Hello All,To copy files along with the directory and sub-sirectory I have used recursive function and its working perfectly.However, now i need to show the progress while copying those files ?? So, how...

View Article

Different ComboBox in Each Row of DataGridView

 Hi, Can I have a ComboBoxColumn in a DataGridView with different items in the ComboBox of each row? For instance, suppose there's a DataGridView in a Windows Form with rows of customer info. There's a...

View Article
Browsing all 12583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>