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

AutoSize doesn't work if Control.Size < Control.MinimumSize

I have a FlowLayoutPanel docked to the top of a Form. The AutoSize Property of the panel is set to true so that the height of the panel is only as big as it needs to show the contained controls.If I...

View Article


State charting diagram in vb.net (basic visio type of program) Create a drawing

Hi, I need to develop a windows form in vb.net that allow to users create and edit a state charting diagram. My idea is similar to this...

View Article


Problem with use ListView

once i insert one data in ListView,i click the submit button ,but i can't see the inserted data in listview immediately,what can i doplease help me!

View Article

[VB2010] - about Menu Strip and Tool Strip

why when i use Menu Strip and Tool Strip the Tool Strip ins't after the Menu Strip?(what i mean is that i have the form border, then the toolbar(Tool Strip) and then the menu bar... the normal is the...

View Article

Use form data to print onto an existing paper document. *please help me!*

Hello,I am trying to write an app to calculate and print a checkstub. (payoff check)I have the calculate part working well but am having major problems with the printing part.Can anyone point me in the...

View Article


Webbrowser mshtml.dll crash ends my application

Hi,On some xp sp3 machines (fully updated) the webbrowser navigate method crashes my entire application.I use a single instance of the webbrowser controlHow can i catch this error and avoid application...

View Article

Print image group box C #

I have an image in a groupbox, which is a format that has labels and labels I assign these values​​. After I have the image I need print results. Try to capture the screen and print the capture, the...

View Article

combobox selection problem by various user preferences

I'm developing a program in vb.net that uses a form with comboboxes.   I would like for the user to have several options for selecting items in the combobox. 1.  The user drops down the combobox and...

View Article


WinForms racing condition problem - maybe because of progressbar

Description : 1) Operation is a type that can be run asynchronously. It notifies other objects through it's event namedExecuted , as follows :                   _Operation.Executed+= OperationExecuted;...

View Article


Listen to file changed in USB drive

In my .Net application I am planning to listen to the file changes in the USB device which is connected to my machine. How can I do that? will it have any performance issue?Senthil Kumar M

View Article

How to serialize MDI Child Form Properties to XML using XMLSerialization?

Good Day, I'd like to ask as to how will I be able to get the property values of my Mdi Child forms. I'm actually having a difficulty to retrieve the property values of my MDI Child Forms since I'm new...

View Article

Custom GridControl (2)

I want to develop my own cells-are-mergeble GridControl. Can I do that by inheriting from DataGridView control?

View Article

reverse string without using any C# function

hii want to reverse string just likeinput is "My Name is Khan"output is "Khan is Name My"my function ispublic sring reverse(){string str=" my name is khan";string str1=string.empty;string[]...

View Article


RichTextBox Position

I am trying to find a way to dynamically position a richtextbox within the active portion of a window.  For example, the main window of my app scrolls down and I would like the text box to...

View Article

Regarding C# winforms VS2010 - toolstrip buttons

I have two buttons with images in the tool strip in my application.When there is a mouse enter on the button, there is some default highlight color.i do not want the highlight color to be displayed.Is...

View Article


Autoscroll is not painted on a panel used inside a C# user control

The panel was used inside a C# user control and whenever resize the user control and the panel also get resized with my logic. however the autoscroll is not painted properly when i resize the user...

View Article

MouseWheel event handler

I'm trying to capture the value of Delta when i spin the mouse wheel. For this I created the simplest possible Windows Forms application in Visual C# 2010 Express. The relevant snippets of code are...

View Article


secure files and folder C#

i want to make secure Folder of audio which contains 1200 .wav file...wen i make setup or anything else help me to make secure my folder of audio....becoz wen i install software to client pc ..i dnt...

View Article

Image may be NSFW.
Clik here to view.

How to set the Region of a Windows Forms User Control that hosts WPF Control...

I have the following xaml code:<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"...

View Article

BackgroundWorkerProcess Control in Windows C#

Hello Friends,In C# Windows application , am making use of BackgroundworkerProcess control, here in the event WorkerProcess_DoWork()in this i  made to run the logic in the button1.Now how can i make...

View Article
Browsing all 12583 articles
Browse latest View live


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