private void Click_OK()
    {
        IPAndPort ip = new IPAndPort();

        ip.IPAddr = Input_IP.text;
        ip.Port   = Input_Port.text;
        dispatcher.Dispatch(ServiceConst.UpdateIPAndPort, ip);
        HideSettingPanel();
    }
Example #2
0
    private void Callback_UpdateIPAndPot(IEvent evt)
    {
        IPAndPort ip = (IPAndPort)evt.data;

        View.UpdateIPAndPort(ip.IPAddr, ip.Port);
    }