lol
System.IO.IOException was unhandled
Message="Kan geen gegevens lezen uit de transportverbinding: De externe host heeft een verbinding verbroken."
Source="System"
StackTrace:
bij System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
bij LFS_External.InSim.InSimInterface.listen_tcp()
bij System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Threading.ThreadHelper.ThreadStart()
InSim.Send_BTN_CreateButton("Team:", "Team:", Flags.ButtonStyles.ISB_DARK + Flags.ButtonStyles.ISB_LEFT, 5, 20, 65, 20, 0, 101, NCN.UCID, 101, True)
InSim.Send_BTN_CreateButton("OK", Flags.ButtonStyles.ISB_CLICK + Flags.ButtonStyles.ISB_DARK, 5, 40, 70, 40, 103, NCN.UCID, 103, False)
InSim.Send_BTN_CreateButton("Click me", "I'm a textbox", Flags.ButtonStyles.ISB_CLICK + Flags.ButtonStyles.ISB_DARK, 10, 20, 50, 100, 10, 24, NCN.UCID, 98, True)
InSim.Send_BTN_CreateButton("Type Name here", "Type Name here", Flags.ButtonStyles.ISB_LIGHT, 5, 40, 65, 40, 20, 102, NCN.UCID, 102, True)
if (BTC.ClickID.Equals([B][U][COLOR="Red"]HERETHEID[/COLOR][/U][/B]))
{
//here your code for when you clicked, for example, when you click send /msg.
InSim.Send_MST_Message("/msg ");
}