Game Development Reference
In-Depth Information
PortField.Enabled = false;
}
else
{
ActionButton.Text = “Connect to Proxy”;
_logicProxy = null;
TestFirstButton.Enabled = false;
TestSecondButton.Enabled = false;
TestThirdButton.Enabled = false;
PortField.Enabled = true;
}
}
private void TestFirstButtonClick(object sender, System.EventArgs e)
{
try
{
if (_logicProxy != null)
{
MessageBox.Show(_logicProxy.GetFirstAlertObjectName());
}
else
{
MessageBox.Show(“Proxy Object not Created”);
}
}
catch (System.Runtime.Remoting.RemotingException)
{
MessageBox.Show(“remoting Endpoint not Bound”);
}
catch (System.Net.Sockets.SocketException)
{
MessageBox.Show(“remoting Endpoint not Bound”);
}
}
private void TestSecondButtonClick(object sender, System.EventArgs e)
{
try
{
if (_logicProxy != null)
{
Search Nedrilad ::




Custom Search