Can"t find simple drop down menu.
Can"t find simple drop down menu.
am 04.10.2007 18:54:24 von Thomas Magma
I must be blind, I am developing in MS Visual Studio 2008 Beta2 and can't
seem to find a simple drop down menu in the tool box. I see a ComboBox, a
MenuStrip and a ContextMenuStrip but no simple drop down menu. Am I blind or
just missing something?
Thanks,
Thomas
Re: Can"t find simple drop down menu.
am 04.10.2007 19:27:33 von Jeff Gaines
On 04/10/2007 in message Thomas
Magma wrote:
>I must be blind, I am developing in MS Visual Studio 2008 Beta2 and can't
>seem to find a simple drop down menu in the tool box. I see a ComboBox, a
>MenuStrip and a ContextMenuStrip but no simple drop down menu. Am I blind
>or
>just missing something?
>
>Thanks,
>Thomas
In VS2005 the MenuStrip is the simple drop down menu, haven't seen 2008 yet.
--
Jeff Gaines
Re: Can"t find simple drop down menu.
am 04.10.2007 19:58:48 von Thomas Magma
>
> In VS2005 the MenuStrip is the simple drop down menu, haven't seen 2008
> yet.
>
OK thanks Jeff I'll try playing with it. What about drawing simple shapes?
Where is that hiding? It's been frustrating coming from my old eVB
environment.
Thomas
Re: Can"t find simple drop down menu.
am 04.10.2007 23:05:27 von Jeff Gaines
On 04/10/2007 in message Thomas
Magma wrote:
>
>>
>>In VS2005 the MenuStrip is the simple drop down menu, haven't seen 2008
>>yet.
>>
>
>OK thanks Jeff I'll try playing with it. What about drawing simple shapes?
>Where is that hiding? It's been frustrating coming from my old eVB
>environment.
Persevere, C# is marvellous once you get used to it, don't be tempted to
go back to any form of BASIC!
For drawing explore:
Graphics gfx = panel1.CreateGraphics();
gfx.drawxxx
You can draw lots of things that way (substitute whatever you want to draw
on for panel1).
NB - use gfx.Dispose() when you've finished or your memory will leak :-)
--
Jeff Gaines
Re: Can"t find simple drop down menu.
am 04.10.2007 23:17:38 von Thomas Magma
>>OK thanks Jeff I'll try playing with it. What about drawing simple shapes?
>>Where is that hiding? It's been frustrating coming from my old eVB
>>environment.
>
> Persevere, C# is marvellous once you get used to it, don't be tempted to
> go back to any form of BASIC!
>
> For drawing explore:
>
> Graphics gfx = panel1.CreateGraphics();
> gfx.drawxxx
>
> You can draw lots of things that way (substitute whatever you want to draw
> on for panel1).
> NB - use gfx.Dispose() when you've finished or your memory will leak :-)
>
> --
> Jeff Gaines
I don't have a problem drawing shapes from my code, but how do I drag and
drop a shape onto a form when I'm visually programming. I don't see a
'Shape' or 'Line' button in my MVS toolbox?
Thomas
Re: Can"t find simple drop down menu.
am 04.10.2007 23:34:49 von Jeff Gaines
On 04/10/2007 in message Thomas
Magma wrote:
>I don't have a problem drawing shapes from my code, but how do I drag and
>drop a shape onto a form when I'm visually programming. I don't see a
>'Shape' or 'Line' button in my MVS toolbox?
That's right, it's an old VB thing, doesn't exist in C#.
--
Jeff Gaines
Re: Can"t find simple drop down menu.
am 05.10.2007 17:50:14 von Thomas Magma
>>I don't have a problem drawing shapes from my code, but how do I drag and
>>drop a shape onto a form when I'm visually programming. I don't see a
>>'Shape' or 'Line' button in my MVS toolbox?
>
> That's right, it's an old VB thing, doesn't exist in C#.
>
I find it hard to believe that MS removed the ability to visually draw
simple shapes, but then again, I seem to be staring into proof of that now
each and every day.
Thomas