Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Nathan Sokalski #1
Automatically inserting method & function headers from an interface that are being implemented with VB.NET
When implementing an interface in VB.NET using Visual Studio .NET 2005, it
would be nice if I could have the method/function headers inserted
automatically. Whenever we implement an event (such as Button.Click,
TextBox.TextChanged, etc.), all we have to do is select the control and
event from the dropdownlists at the top of the editor. Obviously the
interfaces (IPostBackDataHandler, ICallbackEventHandler, etc.) are not
listed there, but because some of the interfaces are used rather often and
the headers must match the ones defined in the interfaces, I would think
Visual Studio .NET 2005 would have a way to insert them. Is there a way to
do this? If so, what is it? Thanks.
--
Nathan Sokalski
[email]njsokalski@hotmail.com[/email]
[url]http://www.nathansokalski.com/[/url]
Nathan Sokalski Guest
-
#39403 [NEW]: A class can't implements interface implemented by implemented interface/classes
From: baldurien at bbnwn dot eu Operating system: Irrelevant PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug... -
Inserting flash problem with contribute(strict method)
I everyone, with contribute 3.11 it is possible to insert a flash movie without the <embed> tag ; or just modify the file location of the flash... -
CFC accessor method inserting carriage returns
I've created a bean type object called userBean. I query a Microsoft SQL Server database and populate the bean object with the data. ... -
How do I call an outer function from a class method function?
I'm sorry guys but this is a bad day for me. I tried researching this one and was totally stonewalled (see... -
Sensible Method of Inserting Records In To MySQL
Hello, I'd appreciate suggestions as I hash out my idea. Perhaps I'm going about this the wrong way. I have users using a third party windows... -
RobinS #2
Re: Automatically inserting method & function headers from an interface that are being implemented with VB.NET
Check the code snippets and see if there are any to do what
you are talking about. If not, you can create your own using
the Code Snippet editor.
To see the code snippets, type ? and hit <Tab> in the code
editor. YOu will get a menu showing a list of types of
snippets -- just drill down and see if you find one you like.
If you do, just select it and the code snippet will be
inserted.
Note that if you select with the up/down arrows, or hold
your mouse over the description of the actual snippet,
it shows a "shortcut". If you type this shortcut into
the code editor and hit <Tab>, it will insert the code
for you. For example, property is the shortcut for a
property.
Here's the link to a code snippet editor you
can use to create your own snippets. You can export
them and make them available to other developers
if you wish.
[url]http://msdn2.microsoft.com/en-us/vbasic/ms789085.aspx[/url]
Good luck.
Robin S.
-----------------------------------
"Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
news:eFV6MWTDHHA.4832@TK2MSFTNGP06.phx.gbl...> When implementing an interface in VB.NET using Visual Studio .NET 2005, it
> would be nice if I could have the method/function headers inserted
> automatically. Whenever we implement an event (such as Button.Click,
> TextBox.TextChanged, etc.), all we have to do is select the control and
> event from the dropdownlists at the top of the editor. Obviously the
> interfaces (IPostBackDataHandler, ICallbackEventHandler, etc.) are not
> listed there, but because some of the interfaces are used rather often and
> the headers must match the ones defined in the interfaces, I would think
> Visual Studio .NET 2005 would have a way to insert them. Is there a way to
> do this? If so, what is it? Thanks.
> --
> Nathan Sokalski
> [email]njsokalski@hotmail.com[/email]
> [url]http://www.nathansokalski.com/[/url]
>
RobinS Guest



Reply With Quote

