Exemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            companies = new CompaniesList();
            sector = new Sector(new List<Company>());
            this.playersList = new List<Player>();
            Player player = new Player();
            player.Id = 1;
            this.playersList.Add(player);
            player = new Player();
            player.Id = 2;
            this.playersList.Add(player);
            this.conrols();
        }
Exemplo n.º 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sector"></param>
 /// <returns></returns>
 private Panel createSectorPanel(Sector sector)
 {
     Panel panel = new Panel();
     //sector name
     //array of panels company
     return panel;
 }