CodeCopy

September 10, 2009

Visual C# 2008 Keybinding Reference Poster

Filed under: c#,Visual Studio — sterndorff @ 17:10
Tags: ,

Visual C_Sharp 2008 Poster (pdf)

Item Templates (Visual Studio 2005+)

Filed under: c#,Visual Studio — mazzoo @ 07:45
Tags: , , , ,

Create a new file.

Follow the guidelines shown below

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace $rootnamespace$
{
public class $safeitemrootname$
{
$safeitemrootname$()
{
}
}
}

Hit File –> Export Template

Follow the wizard.

A zip file will be generated, distribute this zip file to deploy the item template to others. The file must be located at:

C:\Users\USERNAME\Documents\Visual Studio XXXX\Templates\ItemTemplates\

September 7, 2009

INotifyPropertyChanged snippet for VisualStudio

Filed under: c#,Visual Studio — sterndorff @ 17:08
Tags: , ,

This snippet needs to be put in: C:\Users\USERNAME\Documents\Visual Studio 20##\Code Snippets\Visual C#\My Code Snippets\INotifyPropertyChanged.snippet

To use it in Visual Studio, just type notifyp and TAB once. Then a property with INotifyPropertyChanged will be generated accordingly. Remember to implement INotifyPropertyChanged for your class
(more…)

Snippet galore

Filed under: c#,Visual Studio — mazzoo @ 07:13
Tags: , , ,

This snippet needs to be put in: C:\Users\USERNAME\Documents\Visual Studio 20##\Code Snippets\Visual C#\My Code Snippets\SingletonManager.snippet

To use it in Visual Studio, just type manager and TAB once. Then a singleton instance of the wanted classname will be generated accordingly.
(more…)

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.