Click here to Skip to main content
15,886,806 members
Home / Discussions / C#
   

C#

 
GeneralRe: While Loop sucking up all processor's cpu cycles Pin
Not Active7-Apr-10 7:08
mentorNot Active7-Apr-10 7:08 
GeneralRe: While Loop sucking up all processor's cpu cycles Pin
PIEBALDconsult7-Apr-10 7:49
mvePIEBALDconsult7-Apr-10 7:49 
AnswerRe: While Loop sucking up all processor's cpu cycles Pin
kevinnicol7-Apr-10 6:59
kevinnicol7-Apr-10 6:59 
GeneralRe: While Loop sucking up all processor's cpu cycles Pin
Fayu7-Apr-10 9:11
Fayu7-Apr-10 9:11 
QuestionRe: Calling an event in a different namespace Pin
roman_s7-Apr-10 5:34
roman_s7-Apr-10 5:34 
AnswerRe: Calling an event in a different namespace [modified] Pin
Dan Mos7-Apr-10 5:39
Dan Mos7-Apr-10 5:39 
GeneralRe: Calling an event in a different namespace Pin
roman_s7-Apr-10 8:13
roman_s7-Apr-10 8:13 
AnswerRe: Calling an event in a different namespace Pin
O.Phil7-Apr-10 5:53
O.Phil7-Apr-10 5:53 
The first error tells you you try to use a method with a wrong signature.
The second error tells you the method you're trying to use is not static (i.e. you can't access it from its class, you have to use an instance of the panelMasterList to call the method).

So, if your main form holds an instance of panelMasterList, use the variable referencing this instance to call the method :

myPanelMasterList.contextDeleteMasterList_Click(sender, e);


Or make the method static in the panelMasterList Class :

public static void contextDeleteMasterList_Click(object sender, EventArgs e) {...}


But, depending on how you organized your application, there could be some more issues. This is only what I can think of regarding the informations you provided.

Kind regards.
QuestionUpdate MDI child controls (TextBox ect) from a non parent control Pin
Deneys7-Apr-10 4:12
Deneys7-Apr-10 4:12 
AnswerRe: Update MDI child controls (TextBox ect) from a non parent control Pin
Eddy Vluggen7-Apr-10 4:47
professionalEddy Vluggen7-Apr-10 4:47 
QuestionSearching words/phrases on the text file Pin
K Suresh Reddy7-Apr-10 3:54
K Suresh Reddy7-Apr-10 3:54 
AnswerRe: Searching words/phrases on the text file Pin
Eddy Vluggen7-Apr-10 5:00
professionalEddy Vluggen7-Apr-10 5:00 
QuestionEvents related to the selection of text on a multiline textbox Pin
_ASPAle_7-Apr-10 1:57
_ASPAle_7-Apr-10 1:57 
AnswerRe: Events related to the selection of text on a multiline textbox Pin
Not Active7-Apr-10 2:04
mentorNot Active7-Apr-10 2:04 
GeneralRe: Events related to the selection of text on a multiline textbox Pin
_ASPAle_7-Apr-10 7:21
_ASPAle_7-Apr-10 7:21 
AnswerRe: Events related to the selection of text on a multiline textbox Pin
Arun Jacob7-Apr-10 2:15
Arun Jacob7-Apr-10 2:15 
GeneralRe: Events related to the selection of text on a multiline textbox Pin
_ASPAle_7-Apr-10 7:18
_ASPAle_7-Apr-10 7:18 
QuestionCrystal Report with Dynamic Picture Pin
sachees1237-Apr-10 0:13
sachees1237-Apr-10 0:13 
QuestionReplacing objects, handling clones, dealing with write logs [modified] Pin
blackblizzard6-Apr-10 23:45
blackblizzard6-Apr-10 23:45 
AnswerRe: Replacing objects, handling clones, dealing with write logs Pin
Stanciu Vlad8-Apr-10 11:45
Stanciu Vlad8-Apr-10 11:45 
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
blackblizzard9-Apr-10 0:07
blackblizzard9-Apr-10 0:07 
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
Stanciu Vlad9-Apr-10 4:44
Stanciu Vlad9-Apr-10 4:44 
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
blackblizzard10-Apr-10 23:29
blackblizzard10-Apr-10 23:29 
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
Stanciu Vlad11-Apr-10 21:30
Stanciu Vlad11-Apr-10 21:30 
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
blackblizzard11-Apr-10 21:43
blackblizzard11-Apr-10 21:43 

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.