示例#1
0
 public MarketBranch(string name, string country, string city, string subCity)
 {
     m_marketBranchLocation = name;
     m_country       = country;
     m_city          = city;
     m_subCity       = subCity;
     m_products      = new ObservableCollection <Product>();
     m_tcpSocketInfo = new MarketBranchServerInfo(IPAddress.Parse("127.0.0.1"), 11000);
 }
示例#2
0
 public AsynchronousClient(MarketBranchServerInfo serverInfo, UpdateEventArgs args)
 {
     this.serverInfo = serverInfo;
     updateArgs      = args;
 }