Click here to Skip to main content
15,922,309 members
Home / Discussions / C#
   

C#

 
QuestionHttpWebRequest + CookieContainer Pin
FlyOnIT23-Oct-06 5:09
FlyOnIT23-Oct-06 5:09 
QuestionPort 80 Pin
-Yoyosh-23-Oct-06 5:08
-Yoyosh-23-Oct-06 5:08 
QuestionObtaining Page Rank Pin
gvanto23-Oct-06 5:00
gvanto23-Oct-06 5:00 
QuestionNot have any cell selected in a datagrid Pin
Dan Neely23-Oct-06 4:45
Dan Neely23-Oct-06 4:45 
QuestionOverride inherited delegates??? Pin
lsugirljte23-Oct-06 4:36
lsugirljte23-Oct-06 4:36 
AnswerRe: Override inherited delegates??? Pin
led mike23-Oct-06 5:17
led mike23-Oct-06 5:17 
GeneralRe: Override inherited delegates??? Pin
lsugirljte23-Oct-06 5:34
lsugirljte23-Oct-06 5:34 
AnswerRe: Override inherited delegates??? Pin
S. Senthil Kumar23-Oct-06 8:09
S. Senthil Kumar23-Oct-06 8:09 
You could try using the new keyword and redefine the event in your myMultiGridView class. For example

class GridView
{
   public event RowUpdatingDelegate RowUpdating;
}

class MyMultiGridView : GridView
{
  public new event RowUpdatingDelegate RowUpdating;
}


Now clients who subscribe to MyMultiGridView's RowUpdating event will not get notified when the base class fires the event, so you get your own RowUpdating event. Unfortunately, this only works if the client uses your class to subscribe to events. For example

GridView g = new GridView();
g.RowUpdating += ... // Won't work

MyMultiGridView g = new MyMultiGridView();
g.RowUpdating += ... // This will work.


Regards
Senthil [MVP - Visual C#]
_____________________________
My Blog | My Articles | My Flickr | WinMacro

AnswerRe: Override inherited delegates??? Pin
lsugirljte23-Oct-06 11:23
lsugirljte23-Oct-06 11:23 
QuestionGenerics: Is there a Synchronized Hashtable equivalent??? Pin
LongRange.Shooter23-Oct-06 4:08
LongRange.Shooter23-Oct-06 4:08 
AnswerRe: Generics: Is there a Synchronized Hashtable equivalent??? Pin
ednrgc23-Oct-06 4:18
ednrgc23-Oct-06 4:18 
GeneralRe: Generics: Is there a Synchronized Hashtable equivalent??? Pin
LongRange.Shooter23-Oct-06 6:55
LongRange.Shooter23-Oct-06 6:55 
Questionhow to Export DataGridView to excel in c# 2005 ? Pin
hdv21223-Oct-06 3:08
hdv21223-Oct-06 3:08 
QuestionRemoting Question Pin
Inkyskin_UK23-Oct-06 2:28
Inkyskin_UK23-Oct-06 2:28 
AnswerRe: Remoting Question Pin
LongRange.Shooter23-Oct-06 4:05
LongRange.Shooter23-Oct-06 4:05 
GeneralRe: Remoting Question Pin
Inkyskin_UK23-Oct-06 4:14
Inkyskin_UK23-Oct-06 4:14 
GeneralRe: Remoting Question Pin
LongRange.Shooter23-Oct-06 9:49
LongRange.Shooter23-Oct-06 9:49 
QuestionWndProc : on windows command ? Pin
vincent3123-Oct-06 2:22
vincent3123-Oct-06 2:22 
AnswerRe: WndProc : on windows command ? Pin
Ed.Poore23-Oct-06 4:04
Ed.Poore23-Oct-06 4:04 
AnswerRe: WndProc : on windows command ? Pin
Dave Kreskowiak23-Oct-06 4:21
mveDave Kreskowiak23-Oct-06 4:21 
QuestionRe: WndProc : on windows command ? Pin
vincent3123-Oct-06 4:37
vincent3123-Oct-06 4:37 
AnswerRe: WndProc : on windows command ? Pin
S. Senthil Kumar23-Oct-06 8:26
S. Senthil Kumar23-Oct-06 8:26 
QuestionRe: WndProc : on windows command ? Pin
vincent3124-Oct-06 3:43
vincent3124-Oct-06 3:43 
AnswerRe: WndProc : on windows command ? Pin
duanvinait25-Jan-21 20:13
duanvinait25-Jan-21 20:13 
Questionasynchrounous web methgod call Pin
Thakur Vikas23-Oct-06 1:54
Thakur Vikas23-Oct-06 1:54 

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.