Пример #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
             _WCFWrapper_01 = new WCFWrapper_01();
             _WCFWrapper_02 = new WCFWrapper_02();
            //_WCFWrapper_01.SourceInfo = "net.tcp://localhost:8001/FwkService";
            //_WCFWrapper_02.SourceInfo = "net.tcp://localhost:8001/FwkService";
             wrap_provider w = comboProviders.SelectedItem as wrap_provider;
             StringBuilder str = new StringBuilder("Wrapper name: " + w.Name);
             str.AppendLine();
             str.AppendLine("SourceInfo: " + w.SourceInfo);
             str.AppendLine("WrapperProviderType: " + w.WrapperProviderType);
             str.AppendLine("ApplicationId: " + w.ApplicationId);
             textBox1.Text = str.ToString();

        }
Пример #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            _WCFWrapper_01 = new WCFWrapper_01();
            _WCFWrapper_02 = new WCFWrapper_02();
            //_WCFWrapper_01.SourceInfo = "net.tcp://localhost:8001/FwkService";
            //_WCFWrapper_02.SourceInfo = "net.tcp://localhost:8001/FwkService";
            wrap_provider w   = comboProviders.SelectedItem as wrap_provider;
            StringBuilder str = new StringBuilder("Wrapper name: " + w.Name);

            str.AppendLine();
            str.AppendLine("SourceInfo: " + w.SourceInfo);
            str.AppendLine("WrapperProviderType: " + w.WrapperProviderType);
            str.AppendLine("ApplicationId: " + w.ApplicationId);
            textBox1.Text = str.ToString();
        }