Click here to Skip to main content
15,898,036 members
Home / Discussions / C#
   

C#

 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
leppie6-Jul-03 15:15
leppie6-Jul-03 15:15 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
eggie56-Jul-03 15:44
eggie56-Jul-03 15:44 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
Daniel Turini7-Jul-03 1:24
Daniel Turini7-Jul-03 1:24 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
Leon van Wyk7-Jul-03 3:58
professionalLeon van Wyk7-Jul-03 3:58 
GeneralOutlook Plugin Pin
gek_at6-Jul-03 9:47
gek_at6-Jul-03 9:47 
GeneralRe: Outlook Plugin Pin
perlmunger7-Jul-03 12:31
perlmunger7-Jul-03 12:31 
GeneralParallel Port Pin
eggie56-Jul-03 9:08
eggie56-Jul-03 9:08 
GeneralWorking with events Pin
stonee746-Jul-03 7:23
stonee746-Jul-03 7:23 
Hi there,

I would like to notify my app if a socketconnection is broken.
I tried to use a self created event, with wich i want to notify an upper class in such a case.
The problem is i receive a unhandled exception of type 'System.MissingMethodException'...
Why? What Am i doing wrong and what means this error?

Thanks a lot,
stonee

	internal delegate void ConnectionHandler(SocketException se);<br />
............<br />
<br />
	public class Control<br />
	{<br />
	<br />
<br />
		internal event ConnectionHandler OnConnectionProblem;<br />
<br />
................<br />
<br />
<br />
	public Control() <br />
		{<br />
			OnConnectionProblem+=new ConnectionHandler(ESControl_OnConnectionProblem);<br />
....................<br />
<br />
<br />
			catch(SocketException se)<br />
			{<br />
				/<br />
				MessageBox.Show (se.Message );<br />
				try<br />
				{<br />
					OnConnectionProblem(se);<br />
				}<br />
				catch(MissingMethodException mme)<br />
				{<br />
				MessageBox.Show(mme.Message+"::"+mme.InnerException);<br />
				}

GeneralRe: Working with events Pin
Jim Stewart6-Jul-03 8:24
Jim Stewart6-Jul-03 8:24 
GeneralRe: Working with events Pin
stonee746-Jul-03 10:29
stonee746-Jul-03 10:29 
GeneralAdding multiple forms Pin
FDL5-Jul-03 23:46
FDL5-Jul-03 23:46 
GeneralRe: Adding multiple forms Pin
Nick Parker6-Jul-03 2:10
protectorNick Parker6-Jul-03 2:10 
GeneralRe: Adding multiple forms Pin
FDL8-Jul-03 11:42
FDL8-Jul-03 11:42 
GeneralRe: Adding multiple forms Pin
James T. Johnson6-Jul-03 4:12
James T. Johnson6-Jul-03 4:12 
GeneralRe: Adding multiple forms Pin
FDL8-Jul-03 11:56
FDL8-Jul-03 11:56 
GeneralDisplaying a second user control in a form Pin
frogb0x5-Jul-03 19:33
frogb0x5-Jul-03 19:33 
GeneralRe: Displaying a second user control in a form Pin
J. Dunlap5-Jul-03 19:39
J. Dunlap5-Jul-03 19:39 
GeneralRe: Displaying a second user control in a form Pin
frogb0x5-Jul-03 19:52
frogb0x5-Jul-03 19:52 
GeneralRe: Displaying a second user control in a form Pin
James T. Johnson6-Jul-03 2:39
James T. Johnson6-Jul-03 2:39 
GeneralRe: Displaying a second user control in a form Pin
frogb0x6-Jul-03 17:16
frogb0x6-Jul-03 17:16 
GeneralShowing what folders exist Pin
eggie55-Jul-03 19:18
eggie55-Jul-03 19:18 
GeneralRe: Showing what folders exist Pin
James T. Johnson6-Jul-03 2:44
James T. Johnson6-Jul-03 2:44 
GeneralRe: Showing what folders exist Pin
eggie56-Jul-03 10:13
eggie56-Jul-03 10:13 
GeneralRe: Showing what folders exist Pin
MrEyes7-Jul-03 6:38
MrEyes7-Jul-03 6:38 
GeneralRe: Showing what folders exist Pin
eggie57-Jul-03 10:54
eggie57-Jul-03 10: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.