Drawing toolbox ?

dotnet framework

    Next

  • 1. Visual Inheritance classic, but gets mixed up
    Hi, I'm using the following visual inheritance classic: base form with two buttons 'apply' and 'cancel' anchored to the bottom right corner. You inherit this base form and resize the inherited form, the buttons move along. At least most of the time, sometimes the buttons do not anchor to the borders of the inherited form but appear at a random other location on the form. A workaround is to remove the code this.ClientSize = new System.Drawing.Size(529, 312); from the inherited form and resize it in the designer to its original specs. Does a solution exist, instead of this workaround ? Best regards, Nico
  • 2. Upgrading DataGrid to DataGridView - CaptionText
    I am trying to upgrade some existing code to use the new DataGridView and the code makes use of the CaptionText property of the DataGrid control. What would be the equivalent in the DataGridView control?
  • 3. smart client timer download
    Got from a website: "A Smart Client app will download the DLL to the client machine. The client DLL can be refreshed on a timer or manually. At all times the client application works with the local copy." Where does the timer reside(i guess server) and does it require user to take any action in this case or it happens automatically at specified time? TIA, Sanjeev
  • 4. How do I set form equal to nothing?
    Check this out: [VS 2005 .NET 2.0] Start a new project, drop a button on form1. Add a form (form2). In the button1 click event on form1, add the following... ....... If My.Forms.Form2 Is Nothing Then My.Forms.Form2.Show() End If ....... Taken directly from sample code. This will only run once and Form2 can never be shown again. I like the idea here, but how do I get it to behave correctly?

Drawing toolbox ?

Postby JezB » Wed, 18 Aug 2004 17:56:17 GMT

I can't find a drawing toolbox in windows forms - how can I draw lines,
squares, circles etc on my form surface ?



Re: Drawing toolbox ?

Postby Bob Powell [MVP] » Wed, 18 Aug 2004 18:45:47 GMT

Go take a look at the examples in the GDI+ FAQ.

-- 
Bob Powell [MVP]
Visual C#, System.Drawing

The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers
 http://www.**--****.com/ 

Answer those GDI+ questions with the GDI+ FAQ
 http://www.**--****.com/ 

The GDI+ FAQ RSS feed:  http://www.**--****.com/ 
Windows Forms Tips and Tricks RSS:  http://www.**--****.com/ 
Bob's Blog:  http://www.**--****.com/ 













Re: Drawing toolbox ?

Postby hirf-spam-me-here » Wed, 18 Aug 2004 18:56:57 GMT

* "JezB" < XXXX@XXXXX.COM > scripsit:

There are no such controls (Line, Shape) available any more.

<URL: http://www.**--****.com/ ;

-- 
Herfried K. Wagner [MVP]
<URL: http://www.**--****.com/ ;

Re: Drawing toolbox ?

Postby JezB » Wed, 18 Aug 2004 19:49:32 GMT

All I want to do is draw a dividing line to visually separate two areas of
my form. Seems odd that I have to delve into GDI+ to do it !








Re: Drawing toolbox ?

Postby JezB » Wed, 18 Aug 2004 19:54:09 GMT

In fact I've managed to draw lines using Label controls with a height or
width of 1 and a single line border. But this isn't exactly a tidy way to do
it !








Re: Drawing toolbox ?

Postby hirf-spam-me-here » Thu, 19 Aug 2004 00:32:07 GMT

* "JezB" < XXXX@XXXXX.COM > scripsit:

See (complete thread):

<URL: http://www.**--****.com/ %40TK2MSFTNGP11.phx.gbl>

-- 
Herfried K. Wagner [MVP]
<URL: http://www.**--****.com/ ;

Similar Threads:

1.Drawing Toolbox?

I suspect it is right in front of me, but I can't seem to find it. Is there 
a toolbox with things like lines, rectangles, etc that I can drop onto a 
form in design view?
Thanks, Steve 


2.Toolbox icons changing between Choose Toolbox Items and Toolbox



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 96 guest