Click here to Skip to main content
15,908,931 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Forms inheritance problem Pin
Łukasz Nowakowski22-May-10 1:26
Łukasz Nowakowski22-May-10 1:26 
Questionclear history in browser Pin
Rajeshwar Code- Developer21-May-10 23:21
Rajeshwar Code- Developer21-May-10 23:21 
AnswerRe: clear history in browser Pin
Abhinav S22-May-10 0:26
Abhinav S22-May-10 0:26 
QuestionAbout Keyword in .NET Pin
Isaac Gordon21-May-10 22:12
Isaac Gordon21-May-10 22:12 
AnswerRe: About Keyword in .NET Pin
DaveyM6921-May-10 22:54
professionalDaveyM6921-May-10 22:54 
AnswerRe: About Keyword in .NET Pin
OriginalGriff21-May-10 23:07
mveOriginalGriff21-May-10 23:07 
GeneralRe: About Keyword in .NET Pin
Isaac Gordon21-May-10 23:21
Isaac Gordon21-May-10 23:21 
GeneralRe: About Keyword in .NET Pin
Pete O'Hanlon21-May-10 23:58
mvePete O'Hanlon21-May-10 23:58 
You can't create your own keywords, unless you join the development team. MS has provided the ability to extend items, and this might be what you want to achieve. For instance, suppose you want all DataTables to have a Dump facility to dump the contents to a file, you could extend it using:
public static class Utility
{
  public static void Dump(this DataTable datatable)
  {
    // Code to dump the data would go here.
  }
}
This code then appears as an operation for an instance of the DataTable.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: About Keyword in .NET Pin
OriginalGriff22-May-10 0:09
mveOriginalGriff22-May-10 0:09 
GeneralRe: About Keyword in .NET Pin
harold aptroot22-May-10 0:24
harold aptroot22-May-10 0:24 
GeneralRe: About Keyword in .NET Pin
OriginalGriff22-May-10 0:35
mveOriginalGriff22-May-10 0:35 
GeneralRe: About Keyword in .NET Pin
Isaac Gordon22-May-10 0:55
Isaac Gordon22-May-10 0:55 
GeneralRe: About Keyword in .NET Pin
Pete O'Hanlon22-May-10 2:10
mvePete O'Hanlon22-May-10 2:10 
GeneralRe: About Keyword in .NET Pin
OriginalGriff22-May-10 2:24
mveOriginalGriff22-May-10 2:24 
AnswerRe: About Keyword in .NET Pin
Abhinav S22-May-10 0:28
Abhinav S22-May-10 0:28 
QuestionInserting multiple IDs in Items table but the same ID should go into MasterRequest table just once. Pin
Omar Akhtar 200921-May-10 20:51
Omar Akhtar 200921-May-10 20:51 
AnswerRe: Inserting multiple IDs in Items table but the same ID should go into MasterRequest table just once. Pin
Mohsiul Haque21-May-10 22:46
Mohsiul Haque21-May-10 22:46 
GeneralRe: Inserting multiple IDs in Items table but the same ID should go into MasterRequest table just once. Pin
Omar Akhtar 200922-May-10 1:57
Omar Akhtar 200922-May-10 1:57 
GeneralIt Works! PinPopular
Roger Wright21-May-10 18:33
professionalRoger Wright21-May-10 18:33 
GeneralRe: It Works! Pin
Luc Pattyn21-May-10 22:36
sitebuilderLuc Pattyn21-May-10 22:36 
GeneralRe: It Works! Pin
Roger Wright22-May-10 4:20
professionalRoger Wright22-May-10 4:20 
GeneralRe: It Works! Pin
Luc Pattyn22-May-10 4:30
sitebuilderLuc Pattyn22-May-10 4:30 
GeneralRe: It Works! Pin
DaveyM6921-May-10 22:46
professionalDaveyM6921-May-10 22:46 
GeneralRe: It Works! Pin
Roger Wright22-May-10 4:23
professionalRoger Wright22-May-10 4:23 
GeneralRe: It Works! Pin
Roger Wright27-May-10 16:55
professionalRoger Wright27-May-10 16:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.