Пример #1
0
 //------------------------- Implement IFishServies ---------------------//
 public void Connect()
 {
     Rectangle sight = new Rectangle(_aquariumControl.Width / 4, _aquariumControl.Height / 4, _aquariumControl.Width / 2, _aquariumControl.Height / 2);
     ClientWindow window = new ClientWindow(_clientId, _aquariumControl, sight);
     _aquariumControl.AddClientWindow(window);
 }