🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.ide.general
Article #104

Re: problem with "Use Unit..." in the menu "File"?

#104
From: 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
Technical Details
Message-ID: <12e21hyvmhole$.dlg@marcrohloff.40tude.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <420a48ec@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 165859,e0d667de71a616f1
X-Google-Attributes: gid165859,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Marc Rohloff [TeamB]" <"on request">
Subject: Re: problem with "Use Unit..." in the menu "File"?
Newsgroups: borland.public.csharpbuilder.ide.general
User-Agent: 40tude_Dialog/2.0.14.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
References: <420a48ec@newsgroups.borland.com>
Date: Wed, 9 Feb 2005 21:51:33 -0500
Message-ID: <12e21hyvmhole$.dlg@marcrohloff.40tude.net>
X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR
NNTP-Posting-Host: 4.224.231.227
X-Trace: newsgroups.borland.com 1108003733 4.224.231.227 (9 Feb 2005 18:48:53 -0800)
Lines: 17
X-Authenticated-User: mrohloff
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail