🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.csharpbuilder.ide.general
2 messages
2 total messages Started by Armando Nisacca Wed, 09 Feb 2005 17:31
problem with "Use Unit..." in the menu "File"?
#102
Author: Armando Nisacca
Date: Wed, 09 Feb 2005 17:31
5 lines
1100 bytes
I'm usin Delphi 2005 and I'm programming in c#.
I've got two forms, If I go in the menu "file" (of the IDE) "Use Unit..." is 
never enabled.
How can I see one form from another?
thanks Ermanno
Re: problem with "Use Unit..." in the menu "File"?
#104
Author: Marc Rohloff TeamB
Date: Thu, 10 Feb 2005 02:51
17 lines
1654 bytes
On Wed, 9 Feb 2005 18:31:22 +0100, Armando Nisacca wrote:

> I'm usin Delphi 2005 and I'm programming in c#.
> I've got two forms, If I go in the menu "file" (of the IDE) "Use Unit..." is 
> never enabled.
> How can I see one form from another?

Unlike Delphi you do not need to 'use' the unit for another form. You
can just refer to it directly if it has the same namespace.

If you want to use objects in another namespace then use the 'using'
keyword at the top of the file. eg:
using System.Data;

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads