Exemplo n.º 1
0
        public ClientControlBoard(FromClientUiEvents port)
        {
            InitializeComponent();

            // 传入客户端服务实例中创建的FromWinformEvents端口的引用
            _fromClientUiPort = port;
        }
Exemplo n.º 2
0
 public static FromClientUiEvents Instance()
 {
     if (instance == null)
     {
         instance = new FromClientUiEvents();
     }
     return(instance);
 }