예제 #1
0
        public Form1()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            addServiceCallback     = new AddServiceCallback(OnAddService);
            removeServiceCallback  = new RemoveServiceCallback(OnRemoveService);
            resolveServiceCallback = new ResolveServiceCallback(OnResolveService);

            this.Load += new System.EventHandler(this.Form1_Load);
        }
예제 #2
0
        public Form1()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            registerServiceCallback = new RegisterServiceCallback(OnRegisterService);
            addPeerCallback         = new AddPeerCallback(OnAddPeer);
            removePeerCallback      = new RemovePeerCallback(OnRemovePeer);
            resolveServiceCallback  = new ResolveServiceCallback(OnResolveService);
            resolveAddressCallback  = new ResolveAddressCallback(OnResolveAddress);
            readMessageCallback     = new ReadMessageCallback(OnReadMessage);

            this.Load += new System.EventHandler(this.Form1_Load);

            this.AcceptButton = button1;
        }
예제 #3
0
        public Form1()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            registerServiceCallback	= new RegisterServiceCallback(OnRegisterService);
            addPeerCallback			= new AddPeerCallback(OnAddPeer);
            removePeerCallback		= new RemovePeerCallback(OnRemovePeer);
            resolveServiceCallback	= new ResolveServiceCallback(OnResolveService);
            resolveAddressCallback	= new ResolveAddressCallback(OnResolveAddress);
            readMessageCallback		= new ReadMessageCallback(OnReadMessage);

            this.Load += new System.EventHandler(this.Form1_Load);

            this.AcceptButton = button1;
        }
예제 #4
0
        public Form1()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            addServiceCallback		= new AddServiceCallback(OnAddService);
            removeServiceCallback	= new RemoveServiceCallback(OnRemoveService);
            resolveServiceCallback	= new ResolveServiceCallback(OnResolveService);

            this.Load += new System.EventHandler(this.Form1_Load);
        }