Dropping Controls On To User Control At Design Time
Mon, 04 Aug 2008 09:15:25 -0700
I want to create a User Control that will be able to contain other
controls - and to be able to drop those other controls on to the user
control at design time.
I haven't managed to find anything by Googling - except a MSFT example
(IToolboxUserExample) which compiles/runs but doesn't actually seem to do ...
|
setting focus from a TreeView.NodeMouseClick
Sun, 03 Aug 2008 15:52:40 -0600
Hi;
I am trying to set the focus to a ComboBox when a user clicks on a
node in my tree control. I call the following code (cbValue is the
ComboBox):
bldr.cbValue.Show();
bldr.cbValue.BringToFront();
bldr.cbValue.Focus();
bldr.cbValue.SelectAll();
That does give t ...
|
Focusing multiple controls at the same time? VS autocompletion does
it!
Sun, 03 Aug 2008 14:51:59 +0200
How can I focus multiple controls at the same time?
Visual Studio intellisense is obviously able to do it:
I write a dot and a list with member suggestions pops up. Now I can
navigate with up/down keys in the list (which is showing focus
rectangle) and at the same time the text cursor in the editor is
blin ...
|
pushprinterconnections.exe
Fri, 1 Aug 2008 17:21:46 +0100
I'm trying to set up a policy on our 2008 server to roll out some printers.
I've discovered that for an XP Client I need to use
"pushprinterconnetions.exe". I've set this up as per
http://technet2.microsoft.com/windowsserver2008/en/library/9e787b7d-06e2-4d72-888d-cbb1a5ee6e751033.mspx?mfr=true
but it's not w ...
|
Anuncios Gratis www.AnunciosGratis.de
Fri, 1 Aug 2008 12:20:34 +0200
Vendo coche seat ibiza, 1999 . en buen estado, color plata, Precio ,4900 euros. Precio 4566 Euros.
Tfno: 91452123334
Puedes ver mi anuncio gratis en:
www.AnunciosGratis.de Anuncios Gratis
www.AnunciosGratis.de Anuncios Gratis
www.AnunciosGratis.de Anuncios Gratis
www.AnunciosGratis.de Anuncios Gratis
ww ...
|
Getting the TabPage of a control...
Fri, 1 Aug 2008 09:22:50 +0100
I am trying to find the tab page a certain control is on.
Basically I'm using the MSRDP ActiveX Control. On the "disconnect" event, I
want to then remove the TabPage that the relevant RDP session lived in. So,
I have the following code:
void _tsClient_OnDisconnected(object sender,
AxMSTSCLib.IMsTsc ...
|
Docing to a form with toolstrip
Thu, 31 Jul 2008 12:45:43 +0200
I use a specific application downloaded from codeproject.
When I use a custom tool from the toolbox(which is derived from
UserControl), it docs fine in the client area.
On the other hand if I use a toolstrip which is attached to any of the
client sides, I can't doc it to the toolsrip - it docs again to the clien ...
|
|
|
Preventing typing in a DataGridView cell
Wed, 30 Jul 2008 16:01:40 -0700 (PDT)
I've got a DataGridView in which I need to decide at run time, whether
or not to allow someone to type text into a particular cell (based on
a value from another cell in the same row). It appears the only event
where I can trap a keystroke event is in the DataGridView's
PreviewKeyDown event.
Fair enough. No ...
|
ComboBox - SelectIndex acting strange (for me)
Wed, 30 Jul 2008 12:12:41 -0400
I am using the ComboBox w/ 'DropDown' style (default). The user wants to
type in the name of an Item and automatically have it picked.
So, I added a TextChanged event handler and used FindStringExact( ) to check
for a match to Items in the dropdown list. If a match is found I get the
Index back and set Se ...
|
Delegate / Event Accessibility
Tue, 29 Jul 2008 05:42:09 -0700
I have a base user control that has a delegate and event declared:
public delegate void ButtonClickedEventHandler(object sender, EventArgs e);
public event ButtonClickedEventHandler ButtonClicked;
I want to derive a second control from this base user control but I want
to hide the event, it will be handle ...
|