示例#1
0
文件: Form1.cs 项目: trobinson41/WCF
        public Form1()
        {
            InitializeComponent();

            InstanceContext callbackInstance = new InstanceContext(this);

            m_proxy = new localhost.PublisherServiceClient(callbackInstance);
        }
示例#2
0
        public Form1()
        {
            InitializeComponent();

            InstanceContext callbackInstance = new InstanceContext(this);

            m_proxy = new localhost.PublisherServiceClient(callbackInstance);

            this.Text = string.Format("Subscriber: Thread {0}", Thread.CurrentThread.GetHashCode());
        }