In WPF, how would I do the following:
Every x milliseconds, underline 3 words at a time. After x milliseconds, underline the next 3 words.
Every x milliseconds, have 3 words appear and disappear from the window?
If I were to use Windows Forms, is there still a way of doing (1) and (2) above?
Thank you
...
I'm searching for a DataGridView derrived class that show data in hierarchical way and supports DataBinding like regular DataGridView does. Do you any of this? Free?
...
Hi,
So here is my problem:
I have a panel containing another panel. We'll call them outerPanel and innerPanel. Now I want to show a third panel on top of the innerPanel when the mouse enters the innerPanel. For that third panel, I have created a custom popup based on this thread.
In InnerPanel, I have overridden the OnMouseEnter method
...
I've got a basic VB.net 2.0 application together in VisualStudio 2005.
Within a form, I've tied [enter] in several text boxes to a button. What I'd like to do is "press" the button from getField_KeyDown() to give the user a visual indication of what's happening.
With the code below, the button click work is done but the button's look ...
How do I go about changing what happens when a user clicks the close (red X) button in a Windows Forms application (in C#)?
...
In my c# application i have this small form which is used to set parameters of application. Once i set the parameters my application runs fine. when i restart the application the values of field in the parametric form are reset.
how can i store and restore the contents of the form between closing and starting of my application
...
The System.Web.UI.WebControls.TreeView class offers this event, but the Forms version of TreeView doesn't. What's the equivalent in the Forms world? I'm using AfterSelect but it doesn't seem quite right. Maybe it is in fact what I'm looking for but the documentation is a bit hazy.
...
In a program I have written users can add controls to the form and move them around and set some properties in a pseudo design mode. I want to be able to lock all these controls into one location when they press a button to switch to "data mode". How can I do this? I wanted to do be able to loop through all the controls and use the Lo...
I've inherited a VB6 project that has a Form with VB controls (Label, etc) and Windows Common controls (Treeview, ImageList, etc), which looks like an ideal candidate for a usercontrol.
I mentioned to a colleague the possibility of compiling it as an ocx ActiveX control to be used in a .NET WinForms project. They were slightly horrifie...
Hi,
I have a couple of custom user controls, which may display text, or some other element, and which are custom rendered (by overriding OnPaint). Now, normal .NET controls (such as Labels, etc), grey out, and 'look' properly disabled when the Enabled property for them is set to false. My custom components do not, and still appear very...
I have a WinForms .NET datagrid whose data source is a List<cLineItem> called lines. cLineItem is very simple class with properties like units (int), description (string) and unit amount (float).
In code, i populate the list of lines and then set the data source:
dataGridView1.DataSource = lines;
This correctly populates the grid, ho...
I am making an installer package to run two .exe file. I want to run .exe file one by one.
for that i have to make .bat file? Does anyone know how to make this .bat fie. I am using iexpress for installer package.
...
Hi,
I have a collection of MDI forms, where there are different objects (Form1,Form2 etc). Is there any fast way how to compare whather selected form (using FOR cycle for iterating through form collection) is Form1,Form2..?
Thank you!
...
I am showing a splash form by starting a new thread immediately before running my main form.
In the method that is run by this thread, I am using Application.Run as shown in Option 1 below. Is this a correct way of doing this, or are there problems waiting for me becaue I have called Application.Run twice? An alternative is Option 2, al...
Hi there,
Is there a way to display multi-line text in standard Winforms listview control?
Thanks,
Kemal
...
Hi there.
I have a .NET WinForms containing a few user controls. these controls usually contain either a RichTextBox or similar text controls (also 3rd party grid, XtraGrid suite, but those have the feature i want). I want to export the form the same way it looks to a PDF document.
I've seen several libraries and general PDF creation f...
I have a WinForms form, and would like to make it so that all text (e.g. labels, buttons) is anti-aliased. This is driving me crazy because I can't find anything on google, which either means it's so obvious or I'm way off-base.
My best idea has been to override OnPaint in my main form, but this doesn't seem to change anything.
protec...
Okay,
We have a .NET WinForms application that has several .NET dll's it depends on, running on an XP machine, that is connected to a network in a large domain.
A little story, that defines the problem.
We deployed this application on a customers machine while logged in as an admin and all worked fine.
We then logged into a lower pri...
What is the cleanest way to ask a DataGridView to return "indexes of rows that have selected cells"? This is not the same as DataGridView.SelectedRows. I don't allow Row or Column selection. So users must select blocks of cells. I just need to find out which rows have selected cells in them.
Is there some clever lambda expression I sho...
I am trying to create a very basic little client server application, but I can only get it to work locally on my own machine.
Server code:
int d = 0;
try
{
for (AdministratorPort = 8000; d < 1; AdministratorPort++)
{
IPAddress ipAddress = IPAddress.Parse("220.101.27.107");
...